.home-lekala {
  position: relative;
  overflow: hidden;
  border-block: 1px solid #55442a;
  background: #080808;
  color: #f6f3eb;
}

.home-lekala__inner {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(28px, 4vw, 58px);
  max-width: 1520px;
  margin: 0 auto;
  padding: clamp(40px, 4vw, 68px) clamp(20px, 4vw, 64px);
}

.home-lekala__copy,
.home-lekala__visual { min-width: 0; }
.home-lekala__eyebrow { color: #d6b26f; font-size: 11px; font-weight: 800; line-height: 1.4; }
.home-lekala h2 { max-width: 560px; margin: 12px 0 14px; color: #f8f7f3; font-size: 44px; font-weight: 750; line-height: 1.1; letter-spacing: 0; }
.home-lekala__lead { max-width: 460px; margin: 0; color: #c8c5bf; font-size: 16px; line-height: 1.5; }
.home-lekala__parts { max-width: 460px; margin: 24px 0; padding: 0; list-style: none; border-block: 1px solid #50422e; }
.home-lekala__parts li { display: grid; grid-template-columns: 33px minmax(0,1fr); align-items: center; gap: 12px; min-width: 0; padding: 10px 0; }
.home-lekala__parts li + li { border-top: 1px solid #332c21; }
.home-lekala__parts li > div { display: grid; gap: 2px; }
.home-lekala__parts strong { color: #f4e7d0; font-size: 14px; line-height: 1.25; }
.home-lekala__parts li > div span { color: #b9b1a4; font-size: 12px; line-height: 1.35; }
.home-lekala__mark { display: grid; place-items: center; width: 33px; height: 33px; padding: 7px; border: 1px solid #584730; border-radius: 4px; color: #e3bf83; background: #19150f; }
svg.home-lekala__mark { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.home-lekala__type { padding: 0; font-size: 14px; font-weight: 750; }
.home-lekala__button { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 54px; max-width: 100%; padding: 12px 19px; border: 1px solid #e0b56f; border-radius: 4px; background: #dfbb7a; color: #17120c !important; font-size: 14px; font-weight: 800; line-height: 1.3; text-decoration: none !important; transition: background .2s, box-shadow .2s, transform .2s; }
.home-lekala__button:hover { background: #f0cf91; box-shadow: 0 0 24px #d8b16a40; transform: translateY(-2px); }
.home-lekala__button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.home-lekala__button span { flex: none; font-size: 22px; line-height: 1; }

.home-lekala__visual { display: grid; align-content: center; }
.home-lekala__visual img { display: block; }
.home-lekala__plotter.plotter-stage { position: relative; width: 100%; aspect-ratio: 2.48; max-height: 275px; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 50% 76%, #1a2822 0, #0a0e0c 48%, #080808 82%); }
.home-lekala__plotter::after { content: ""; position: absolute; z-index: 5; inset: auto 0 0; height: 14%; background: linear-gradient(transparent, #080808); pointer-events: none; }
.home-lekala__plotter .plotter-sheet { position: absolute; z-index: 2; top: 38%; right: 13%; left: 13%; height: 55%; overflow: hidden; border: 1px solid #a4d2bb7a; border-radius: 1px 1px 4px 4px; background: linear-gradient(90deg, #467c60b8, #a2d8b5d9 40%, #579d74be 75%, #3f795cb8); box-shadow: inset 0 0 18px #173f2c, 0 12px 24px #0008; transform: perspective(400px) rotateX(12deg); transform-origin: top; }
.home-lekala__plotter .plotter-sheet::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 27px, #ffffff42 28px, transparent 30px 65px); opacity: .6; }
.home-lekala__plotter .plotter-cut-lines { position: absolute; inset: 5px 0 0; width: 100%; height: 100%; opacity: .8; }
.home-lekala__plotter .plotter-cut-lines path { fill: none; stroke: #175038; stroke-width: 1.3; stroke-linejoin: round; stroke-dasharray: 3 1.5; }
.home-lekala__plotter .plotter-machine { position: absolute; z-index: 3; top: 4%; left: -1%; width: 102%; height: auto; max-width: none; filter: drop-shadow(0 12px 12px #000a); pointer-events: none; user-select: none; }
.home-lekala__plotter .plotter-brand { position: absolute; z-index: 4; top: 11%; left: 73%; width: min(10%, 80px); padding: 2px 4px; transform: translateX(-50%); border: 1px solid #a8a49a5c; border-radius: 2px; background: linear-gradient(#25292a, #111516); box-shadow: 0 1px 3px #000c, inset 0 1px #ffffff20; pointer-events: none; }
.home-lekala__plotter .plotter-brand img { width: 100%; height: auto; }
.home-lekala__plotter .plotter-carriage { position: absolute; z-index: 4; top: 14%; left: 40%; width: 20%; aspect-ratio: 1406 / 1119; pointer-events: none; }
.home-lekala__plotter .plotter-carriage img { width: 100%; height: auto; max-width: none; filter: drop-shadow(0 2px 3px #000a); }
.home-lekala__plotter .plotter-laser { position: absolute; top: 84%; left: 76%; width: 2px; height: 34px; background: linear-gradient(#95ffb1cc, #57ff8b38 72%, transparent); box-shadow: 0 0 5px 1px #79ffab, 0 0 12px #47ff9299; opacity: 1; }
.home-lekala__plotter .plotter-laser::after { content: ""; position: absolute; bottom: -2px; left: -3px; width: 8px; height: 5px; border-radius: 50%; background: #d9ffdf; box-shadow: 0 0 7px 3px #8bffc0, 0 0 16px 5px #6ceaa8b3; }
.home-lekala__plotter.is-cutting .plotter-sheet::before { animation: home-lekala-feed .6s linear infinite; }
.home-lekala__plotter.is-cutting .plotter-cut-lines { animation: home-lekala-feed 2.4s linear infinite; }
.home-lekala__plotter.is-cutting .plotter-carriage { animation: home-lekala-head 2.6s ease-in-out infinite; }

.home-lekala__demo { min-width: 0; border-top: 1px solid #59482d; }
.home-lekala__demo-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; }
.home-lekala__demo-top > span { color: #e6c481; font-size: 11px; font-weight: 800; }
.home-lekala__demo-tabs { display: inline-flex; border: 1px solid #6c5736; border-radius: 4px; overflow: hidden; }
.home-lekala [hidden] { display: none; }
.home-lekala__demo-tabs button { min-height: 38px; padding: 6px 12px; border: 0; background: #17140f; color: #ded5c6; font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; transition: background .2s, color .2s; }
.home-lekala__demo-tabs button + button { border-left: 1px solid #6c5736; }
.home-lekala__demo-tabs button[aria-selected='true'] { background: #d9b576; color: #16120d; }
.home-lekala__demo-tabs button:hover:not([aria-selected='true']) { color: #fff; background: #282017; }
.home-lekala__demo-tabs button:focus-visible,.home-lekala__drawing:focus-visible { outline: 2px solid #f0cf91; outline-offset: -3px; }
.home-lekala__drawing { position: relative; aspect-ratio: 1000/642; max-height: 430px; overflow: hidden; border: 1px solid #4a3c28; background-color: #0b0c0b; }
.home-lekala__drawing--layout { background-image: linear-gradient(#d7b87912 1px, transparent 1px), linear-gradient(90deg, #d7b87912 1px, transparent 1px); background-size: 24px 24px; }
.home-lekala__drawing::before { content: ""; position: absolute; z-index: 1; inset: 0; border-inline: 1px solid #d7b87928; pointer-events: none; }
.home-lekala__drawing--layout::after { content: ""; position: absolute; z-index: 2; top: -2px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, #edd295 30%, #f9edca 50%, #edd295 70%, transparent); box-shadow: 0 0 16px #e7bf6d8c; opacity: .6; pointer-events: none; animation: home-lekala-scan 6s ease-in-out infinite alternate; }
.home-lekala__drawing img { width: 100%; height: 100%; object-fit: contain; }
.home-lekala__drawing--layout img { padding: 9px; filter: drop-shadow(0 0 5px #e8ce9760); }
.home-lekala__demo-info { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; padding: 8px 2px; }
.home-lekala__demo-info > div { display: grid; gap: 4px; min-width: 0; }
.home-lekala__demo-info strong { color: #f7f4ea; font-size: 17px; line-height: 1.25; }
.home-lekala__demo-info div span { color: #b6b0a4; font-size: 12px; }
.home-lekala__demo-info a { display: inline-flex; gap: 12px; align-items: center; flex: none; color: #e8c482; font-size: 12px; font-weight: 800; text-decoration: none; }
.home-lekala__demo-info a:hover { color: #fff; text-decoration: underline; }

@keyframes home-lekala-feed { to { transform: translateY(28px); } }
@keyframes home-lekala-head { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(150%); } 75% { transform: translateX(-150%); } }
@keyframes home-lekala-scan { from { transform: translateY(0); } to { transform: translateY(360px); } }

@media (max-width: 980px) {
  .home-lekala__inner { grid-template-columns: 1fr; gap: 28px; }
  .home-lekala h2 { max-width: 760px; font-size: 38px; }
  .home-lekala__visual { grid-row: 2; }
}

@media (max-width: 600px) {
  .home-lekala__inner { padding: 28px 16px 30px; gap: 16px; }
  .home-lekala h2 { margin: 8px 0 10px; font-size: 29px; line-height: 1.13; }
  .home-lekala__lead { font-size: 14px; }
  .home-lekala__parts { margin: 15px 0 16px; }
  .home-lekala__parts li { padding: 7px 0; }
  .home-lekala__button { width: 100%; min-height: 46px; }
  .home-lekala__plotter.plotter-stage { aspect-ratio: 2.38; }
  .home-lekala__demo-top { flex-wrap: wrap; gap: 8px; padding: 12px 0; }
  .home-lekala__demo-tabs { width: 100%; }
  .home-lekala__demo-tabs button { flex: 1; min-height: 44px; }
  .home-lekala__demo-info { flex-wrap: wrap; min-height: 56px; }
  .home-lekala__demo-info strong { font-size: 14px; }
  .home-lekala__demo-info div span, .home-lekala__demo-info a { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-lekala__plotter.is-cutting .plotter-sheet::before,
  .home-lekala__plotter.is-cutting .plotter-cut-lines,
  .home-lekala__plotter.is-cutting .plotter-carriage,
  .home-lekala__drawing--layout::after { animation: none; }
  .home-lekala__button,.home-lekala__demo-tabs button { transition: none; }
}
