/* ===== Page 3: Innovaties & Werven ===== */

main > h1{
  font-family: "Cardo", serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 10px auto 6px;
  width: min(1120px, 92vw);
}

/* ===== Sectie 1: Innovatieribbon ===== */
.inno-track{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: clamp(12px, 2vw, 18px);
  overflow-x: auto;
  padding: 6px 12px 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.inno-card{
  scroll-snap-align: start;
  min-width: 300px;
  max-width: 350px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  padding: 10px;
  position: relative;
}
.inno-card::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(80px 30px at 20% 20%, rgba(226,179,77,.12), transparent 60%),
              radial-gradient(100px 40px at 80% 70%, rgba(77,179,226,.12), transparent 60%);
  opacity: .0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.inno-card:hover::after,
.inno-card:focus-within::after{ opacity: .8; }
.inno-card figcaption{ color: var(--muted); font-size: .92rem; padding-top: 6px; }
.inno-hint{ font-size: .82rem; color: var(--muted); text-align: right; margin-top: 6px; }

/* ===== Sectie 2: Hybrid weave ===== */
.hw-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(14px, 2.4vw, 26px);
  align-items: start;
}
.weave-plate{
  position: relative; height: 220px; border-radius: var(--radius-xl);
  border: 1px solid var(--line); overflow: clip;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  box-shadow: var(--shadow-md);
}
.weave-plate .warp,
.weave-plate .weft{
  position: absolute; inset: 0;
  background-size: 28px 28px;
  opacity: .75;
  animation: weaveMove 6s ease-in-out infinite alternate;
}
.weave-plate .warp{
  background-image: linear-gradient(90deg, rgba(255,255,255,.15) 10px, transparent 10px);
  mix-blend-mode: screen;
}
.weave-plate .weft{
  background-image: linear-gradient(0deg, rgba(255,255,255,.12) 10px, transparent 10px);
  animation-delay: .6s;
  mix-blend-mode: screen;
}
@keyframes weaveMove{
  0%{ transform: translateX(0) translateY(0); }
  100%{ transform: translateX(6px) translateY(-6px); }
}
.hw-copy h3{ margin: 0 0 6px; font-family: "Cardo", serif; }
.hw-copy p{ margin: 0; color: var(--muted); }
.hw-fig figcaption{ color: var(--muted); font-size: .92rem; padding-top: 6px; }

/* ===== Sectie 3: Clean propulsion ===== */
.cp-grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: clamp(14px, 2.4vw, 26px);
  align-items: start;
  position: relative;
}
.energy-line{
  grid-column: 1 / -1;
  position: relative; height: 18px; border-radius: 999px; margin: 8px 0 12px;
  background:
    linear-gradient(90deg, rgba(77,179,226,.28), rgba(226,179,77,.28)),
    repeating-linear-gradient(90deg, transparent 0 40px, rgba(255,255,255,.1) 40px 42px);
  overflow: clip; box-shadow: inset 0 0 12px rgba(0,0,0,.45);
}
.energy-line .pulse{
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle, #fff, #9ee7ff 60%, transparent 70%);
  animation: energyPulse 2.6s linear infinite;
}
.energy-line .pulse:nth-child(1){ left: 18%; animation-delay: 0s; }
.energy-line .pulse:nth-child(2){ left: 48%; animation-delay: .5s; }
.energy-line .pulse:nth-child(3){ left: 78%; animation-delay: 1.0s; }
@keyframes energyPulse{
  0%{ box-shadow: 0 0 0 0 rgba(77,179,226,0); transform: translate(-50%, -50%) scale(1); }
  50%{ box-shadow: 0 0 22px 6px rgba(77,179,226,.25); transform: translate(-50%, -50%) scale(1.14); }
  100%{ box-shadow: 0 0 0 0 rgba(77,179,226,0); transform: translate(-50%, -50%) scale(1); }
}
.cp-copy h3{ margin: 0 0 6px; font-family: "Cardo", serif; }
.cp-copy p{ margin: 0; color: var(--muted); }
.cp-fig figcaption{ color: var(--muted); font-size: .92rem; padding-top: 6px; }

/* ===== Responsive (1–3) ===== */
@media (max-width: 992px){
  .hw-grid{ grid-template-columns: 1fr; }
  .cp-grid{ grid-template-columns: 1fr; }
}
/* ===== Sectie 4: Yard automation ===== */
.ya-grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: clamp(14px, 2.4vw, 26px);
  align-items: start;
}
.station-lane{
  grid-column: 1 / -1;
  position: relative; height: 24px; border-radius: 999px; margin: 8px 0 12px;
  background:
    linear-gradient(90deg, rgba(77,179,226,.28), rgba(226,179,77,.28)),
    repeating-linear-gradient(90deg, transparent 0 40px, rgba(255,255,255,.1) 40px 42px);
  overflow: clip; box-shadow: inset 0 0 12px rgba(0,0,0,.45);
}
.station{
  position: absolute; top: -26px; transform: translateX(-50%);
  font-size: .82rem; color: var(--muted);
}
.s1{ left: 8%; } .s2{ left: 32%; } .s3{ left: 62%; } .s4{ left: 90%; }
.agv{
  --t: 0; /* 0..1 — прогресс, меняется из JS */
  position: absolute; top: 50%;
  width: 20px; height: 12px; border-radius: 6px;
  transform: translate(-50%, -50%);
  left: calc(8% + var(--t) * 82%); /* движемся от первой станции к последней */
  background: linear-gradient(180deg, #fff, #e6f1ff);
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}

/* ===== Sectie 5: Modular build ===== */
.mb-grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: clamp(14px, 2.4vw, 26px);
  align-items: start;
}
.module-stack{
  list-style: none; padding: 0; margin: 0 0 10px 0;
  grid-column: 1 / -1;
  position: relative; height: 180px;
}
.mod{
  position: absolute; left: 8%; right: 8%;
  height: 52px; border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  display: grid; place-items: center; color: var(--ink);
  transform: translateX(-12px); opacity: 0;
}
.mod span{ font-weight: 600; }
.m1{ top: 10px; }
.m2{ top: 64px; }
.m3{ top: 118px; }
/* появление по очереди */
.modular-build.is-live .m1{ animation: slideIn .7s cubic-bezier(.2,.9,.2,1) forwards; }
.modular-build.is-live .m2{ animation: slideIn .7s cubic-bezier(.2,.9,.2,1) .12s forwards; }
.modular-build.is-live .m3{ animation: slideIn .7s cubic-bezier(.2,.9,.2,1) .24s forwards; }
@keyframes slideIn{
  to{ transform: translateX(0); opacity: 1; }
}

/* ===== Sectie 6: Smart sensing ===== */
.ss-grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: clamp(14px, 2.4vw, 26px);
  align-items: start;
}
.healthbar{
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 8px; margin: 8px 0 12px;
}
.healthbar .cell{
  height: 14px; border-radius: 999px; background: rgba(255,255,255,.1);
  box-shadow: inset 0 0 12px rgba(0,0,0,.35);
  position: relative; overflow: hidden;
}
.healthbar .cell::before{
  content:""; position: absolute; inset: 0; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--brand));
  transition: width 900ms cubic-bezier(.2,.9,.2,1);
}

/* Responsive 4–6 */
@media (max-width: 992px){
  .ya-grid, .mb-grid, .ss-grid{ grid-template-columns: 1fr; }
  .station{ display: none; } /* подписи станций мешают на узких экранах */
}
/* ===== Sectie 7: Twin & planning ===== */
.tp-grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: clamp(14px, 2.4vw, 26px);
  align-items: start;
}
.gantt{
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 10px 12px 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  position: relative;
}
.gantt .cursor{
  --x: 0%; /* 0..100 — JS */
  position: absolute; top: 8px; bottom: 8px; width: 2px;
  left: var(--x);
  background: linear-gradient(180deg, var(--brand), var(--accent));
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(226,179,77,.35);
  pointer-events: none;
}
.gantt .row{
  display: grid; grid-template-columns: 160px 1fr; align-items: center;
  gap: 12px; margin-bottom: 8px;
}
.gantt .label{ font-weight: 600; color: var(--ink); }
.gantt .bar{
  position: relative; display: block; height: 12px; border-radius: 999px;
  background: rgba(255,255,255,.1); overflow: hidden;
}
.gantt .bar::before{
  content:""; position: absolute; inset: 0; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--brand));
  transition: width 1200ms cubic-bezier(.2,.9,.2,1);
  box-shadow: inset 0 0 16px rgba(0,0,0,.25);
}
.tp-fig figcaption{ color: var(--muted); font-size: .92rem; padding-top: 6px; }

/* ===== Sectie 8: Immersive training ===== */
.it-grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: clamp(14px, 2.4vw, 26px);
  align-items: start;
}
.vr-visor{
  grid-column: 1 / -1;
  height: 180px; border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(220px 80px at 30% 50%, rgba(77,179,226,.18), transparent 70%),
    radial-gradient(220px 80px at 70% 50%, rgba(226,179,77,.18), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 200ms linear;
  position: relative; overflow: hidden;
}
.vr-visor .reticle{
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7);
  animation: breathe 2.4s ease-in-out infinite;
}
@keyframes breathe{
  0%,100%{ transform: translate(-50%, -50%) scale(.9); opacity:.8; }
  50%{ transform: translate(-50%, -50%) scale(1.05); opacity:1; }
}
.it-fig figcaption{ color: var(--muted); font-size: .92rem; padding-top: 6px; }

/* ===== Sectie 9: Safety drones ===== */
.sd-grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: clamp(14px, 2.4vw, 26px);
  align-items: start;
}
.drone-map{
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
}
.drone-svg{ width: 100%; height: auto; display: block; }
.sd-fig figcaption{ color: var(--muted); font-size: .92rem; padding-top: 6px; }

/* Responsive 7–9 */
@media (max-width: 992px){
  .tp-grid, .it-grid, .sd-grid{ grid-template-columns: 1fr; }
  .gantt .row{ grid-template-columns: 120px 1fr; }
}
/* ===== Sectie 10: Data platform ===== */
.dp-grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: clamp(14px, 2.4vw, 26px);
  align-items: start;
}
.data-bus{
  grid-column: 1 / -1;
  position: relative; height: 18px; border-radius: 999px; margin: 8px 0 10px;
  background:
    linear-gradient(90deg, rgba(77,179,226,.28), rgba(226,179,77,.28)),
    repeating-linear-gradient(90deg, transparent 0 40px, rgba(255,255,255,.1) 40px 42px);
  overflow: clip; box-shadow: inset 0 0 12px rgba(0,0,0,.45);
}
.pkt{
  position: absolute; top: 50%; transform: translate(-50%,-50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle, #fff, #b9e7ff 60%, transparent 70%);
  animation: pktRun 3s linear infinite;
}
.pkt:nth-child(1){ left: 8%; animation-delay: 0s; }
.pkt:nth-child(2){ left: 22%; animation-delay: .3s; }
.pkt:nth-child(3){ left: 36%; animation-delay: .6s; }
.pkt:nth-child(4){ left: 50%; animation-delay: .9s; }
.pkt:nth-child(5){ left: 64%; animation-delay: 1.2s; }
.pkt:nth-child(6){ left: 78%; animation-delay: 1.5s; }
@keyframes pktRun{
  to{ transform: translate(calc(-50% - 120px), -50%); }
}

.kpi-cards{
  grid-column: 1 / -1;
  list-style: none; padding: 0; margin: 0 0 8px 0;
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(12px, 2vw, 20px);
}
.kpi{
  border: 1px solid var(--line); border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  padding: 12px; text-align: center;
}
.kpi .label{ display:block; color: var(--ink); margin-bottom: 6px; font-weight: 600; }
.kpi .val{
  display:inline-block; min-width: 2ch; font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--brand);
}
.kpi .unit{ margin-left: 2px; color: var(--ink); }
.dp-fig figcaption{ color: var(--muted); font-size: .92rem; padding-top: 6px; }

/* ===== Sectie 11: Circular care ===== */
.cc-grid{
  display: grid; grid-template-columns: 1.1fr 1fr 1fr;
  gap: clamp(14px, 2.4vw, 26px); align-items: start;
}
.circle-meter{
  grid-column: 1 / -1; position: relative; height: 180px;
  display: grid; place-items: center;
}
.circle-meter .ring{
  --deg: 0deg; /* заполняем из JS */
  width: 180px; height: 180px; border-radius: 50%;
  background:
    conic-gradient(var(--brand) var(--deg), rgba(255,255,255,.08) 0 360deg);
  mask: radial-gradient(circle at 50% 50%, transparent 62px, black 63px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.circle-meter .meter-val{
  position: absolute; font-weight: 700; color: var(--ink);
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
}
.cc-fig figcaption{ color: var(--muted); font-size: .92rem; padding-top: 6px; }

/* ===== Sectie 12: Quay ops ===== */
.qo-grid{
  display: grid; grid-template-columns: 1.1fr 1fr 1fr;
  gap: clamp(14px, 2.4vw, 26px); align-items: start;
}
.gantry{
  grid-column: 1 / -1; position: relative; height: 160px;
  border: 1px solid var(--line); border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  overflow: clip;
}
.gantry .rail{
  position: absolute; left: 8%; right: 8%; top: 42%;
  height: 4px; background: rgba(255,255,255,.2); border-radius: 4px;
}
.gantry .trolley{
  --t: 0; /* 0..1 scroll-позиция */
  position: absolute; top: 42%; left: calc(8% + var(--t) * 84%);
  width: 56px; height: 16px; transform: translate(-50%, -50%);
  background: linear-gradient(180deg, #fff, #e7f0ff);
  border-radius: 6px; box-shadow: 0 6px 16px rgba(0,0,0,.35);
}
.gantry .hook{
  position: absolute; left: 50%; top: 100%;
  width: 2px; height: 44px; transform: translateX(-50%);
  background: rgba(255,255,255,.6);
}
.gantry .box{
  position: absolute; left: 50%; top: calc(100% + 44px);
  width: 36px; height: 22px; transform: translate(-50%, -50%);
  border-radius: 4px;
  background: linear-gradient(180deg, #ffd27a, #e6b85e);
  animation: bounce 1.6s ease-in-out infinite;
}
@keyframes bounce{
  0%,100%{ transform: translate(-50%, -50%) translateY(0); }
  50%{ transform: translate(-50%, -50%) translateY(6px); }
}

/* Responsive 10–12 */
@media (max-width: 992px){
  .dp-grid, .cc-grid, .qo-grid{ grid-template-columns: 1fr; }
  .kpi-cards{ grid-template-columns: 1fr; }
}
/* ===== Sectie 13: Additive print ===== */
.ap-grid{
  display: grid; grid-template-columns: 1.1fr 1fr 1fr;
  gap: clamp(14px, 2.4vw, 26px); align-items: start;
}
.print-bed{
  grid-column: 1 / -1;
  position: relative; height: 200px; border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  overflow: clip;
}
.print-bed .nozzle{
  position: absolute; top: 14%; left: 8%;
  width: 14px; height: 14px; border-radius: 4px;
  background: linear-gradient(180deg, #fff, #e6f0ff);
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.print-bed .layers{ position: absolute; left: 8%; right: 8%; bottom: 10%; top: 30%; }
.print-bed .layer{
  position: absolute; left: 0; right: 0; height: 8px;
  background: linear-gradient(90deg, var(--accent), var(--brand));
  border-radius: 6px;
  width: 0%;
}

/* ===== Sectie 14: Supply resilience ===== */
.sr-grid{
  display: grid; grid-template-columns: 1.1fr 1fr 1fr;
  gap: clamp(14px, 2.4vw, 26px); align-items: start;
}
.network-card{
  grid-column: 1 / -1;
  border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: 10px; background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
}
.network-svg{ width: 100%; height: auto; display: block; }
.sr-fig figcaption{ color: var(--muted); font-size: .92rem; padding-top: 6px; }

/* ===== Sectie 15: Ergonomie heat ===== */
.es-grid{
  display: grid; grid-template-columns: 1.1fr 1fr 1fr;
  gap: clamp(14px, 2.4vw, 26px); align-items: start;
}
.ergo-heat{
  grid-column: 1 / -1;
  border: 1px solid var(--line); border-radius: var(--radius-xl);
  height: 180px; position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
}
.ergo-heat .cells{
  position: absolute; inset: 10px; display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(8, 1fr);
  gap: 6px;
}
.ergo-heat .cells span{
  display: block; border-radius: 6px;
  background: rgba(255,255,255,.06);
  transition: background 300ms ease;
}
.ergo-heat .cells span.on{
  background: radial-gradient(circle, rgba(226,179,77,.75), rgba(226,179,77,.15) 60%, rgba(255,255,255,.06) 61%);
  box-shadow: 0 0 16px rgba(226,179,77,.25);
}

.es-fig figcaption{ color: var(--muted); font-size: .92rem; padding-top: 6px; }

/* ===== Sectie 16: Showcase & partners ===== */
.sp-grid{
  display: grid; grid-template-columns: 1.1fr 1fr 1fr;
  gap: clamp(14px, 2.4vw, 26px); align-items: start;
}
.ribbon-shine{
  position: relative;
}
.ribbon-shine::after{
  content:"";
  position:absolute; left:-10%; right:-10%; top: 100%;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), transparent 40%, var(--accent));
  opacity: .35;
}
.sp-fig figcaption{ color: var(--muted); font-size: .92rem; padding-top: 6px; }
.sp-copy h3{ margin: 0 0 6px; font-family: "Cardo", serif; }
.sp-copy p{ margin: 0; color: var(--muted); }

/* Responsive 13–16 */
@media (max-width: 992px){
  .ap-grid, .sr-grid, .es-grid, .sp-grid{ grid-template-columns: 1fr; }
}
