:root {
  --navy: #08253a;
  --navy-2: #103c55;
  --blue: #147ea3;
  --cyan: #68bfd6;
  --sky: #eaf6fa;
  --yellow: #ffc928;
  --ink: #102a3c;
  --muted: #607785;
  --white: #fff;
  --line: #d6e5eb;
  --radius: 20px;
  --shadow: 0 22px 60px rgba(4, 32, 50, .13);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-150%); background: var(--yellow); padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { transform: none; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: clamp(68px, 9vw, 120px) 0; }
.section--soft { background: var(--sky); }
.section--dark { color: white; background: var(--navy); }
.section-label { margin: 0 0 12px; color: var(--blue); font-size: .78rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.section--dark .section-label { color: var(--cyan); }
.section-title { max-width: 820px; margin: 0; font-size: clamp(2rem, 4vw, 4rem); line-height: 1.04; letter-spacing: -.045em; }
.section-lead { max-width: 720px; margin: 22px 0 0; color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.25rem); }
.section--dark .section-lead { color: #bcd1db; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 10; color: white; border-bottom: 1px solid rgba(255,255,255,.16); }
.nav { min-height: 76px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 42px; aspect-ratio: 1; border-radius: 12px; color: var(--navy); background: var(--yellow); font-size: .8rem; }
.brand-logo { width: 112px; height: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.14)); }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a { color: inherit; text-decoration: none; font-size: .9rem; font-weight: 650; }
.nav-links a:hover { color: var(--yellow); }
.nav-toggle { display: none; margin-left: auto; color: white; background: transparent; border: 1px solid rgba(255,255,255,.35); border-radius: 10px; padding: 8px 11px; }

.hero { position: relative; min-height: 760px; overflow: hidden; color: white; background: var(--navy); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 28%, rgba(83,173,203,.38), transparent 34%), linear-gradient(135deg, rgba(11,51,74,.2), rgba(2,19,31,.82)); }
.hero-grid { position: relative; z-index: 1; min-height: 760px; padding: 150px 0 72px; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(390px, .98fr); align-items: center; gap: 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; color: var(--cyan); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 30px; height: 3px; background: var(--yellow); }
.hero h1 { margin: 0; max-width: 720px; font-size: clamp(3rem, 6vw, 6.3rem); line-height: .94; letter-spacing: -.065em; }
.hero-copy { max-width: 680px; margin: 26px 0 0; color: #d0e0e7; font-size: clamp(1.05rem, 2vw, 1.35rem); }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.badges li { padding: 9px 13px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: rgba(255,255,255,.08); font-size: .78rem; font-weight: 750; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 0; border-radius: 12px; color: var(--navy); background: var(--yellow); text-decoration: none; font-weight: 600; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,201,40,.22); }
.button--ghost { color: white; background: transparent; border: 1px solid rgba(255,255,255,.35); }
.button--dark { color: white; background: var(--navy); }
.button--wide { width: 100%; }
.price-card { width: fit-content; margin-top: 34px; padding: 18px 22px; color: var(--navy); background: white; border-left: 6px solid var(--yellow); border-radius: 4px 16px 16px 4px; box-shadow: var(--shadow); }
.price-card span, .price-card small { display: block; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.price-card strong { display: block; font-size: clamp(1.8rem, 3.5vw, 3rem); line-height: 1.05; }
.hero-visual { position: relative; }
.hero-visual::after { content: ""; position: absolute; inset: 12% 3% 2%; z-index: -1; border-radius: 50%; background: rgba(81,181,210,.18); filter: blur(34px); }
.hero-visual img { filter: drop-shadow(0 24px 28px rgba(0,0,0,.28)); }
.hero-workshop { display: none; }

.stats { position: relative; z-index: 2; margin-top: -36px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: white; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 28px; border-right: 1px solid var(--line); }
.stat:last-child { border: 0; }
.stat strong { display: block; color: var(--navy); font-size: clamp(1.5rem, 3vw, 2.7rem); line-height: 1; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: .86rem; }

.kit-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.kit-section { position: relative; isolation: isolate; overflow: hidden; background: #fff; }
.kit-section::before { content: ""; position: absolute; z-index: -2; top: -22%; right: -10%; width: min(80vw, 1040px); height: 145%; background: url("assets/palletizer-layout.png") center / contain no-repeat; opacity: .24; filter: saturate(.8) contrast(1.14); transform: rotate(-6deg) scale(1.06); transform-origin: center; }
.kit-section::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.90) 30%, rgba(255,255,255,.40) 65%, rgba(255,255,255,.72) 100%); }
.kit-section > .container { position: relative; z-index: 1; }
.kit-card { grid-column: span 2; min-height: 200px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 10px 35px rgba(12,52,74,.06); }
.kit-card:nth-child(-n+2) { grid-column: span 3; }
.kit-number { display: inline-grid; place-items: center; width: 50px; height: 50px; margin-bottom: 30px; border-radius: 10px; color: var(--navy); background: var(--yellow); font-weight: 800; }
.kit-card h3 { margin: 0 0 10px; font-size: 1.15rem; }
.kit-card p { margin: 0; color: var(--muted); font-size: .92rem; }

.value-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 38px; align-items: center; }
.value-panel { padding: clamp(28px, 5vw, 58px); border-radius: 24px; background: white; box-shadow: var(--shadow); }
.value-panel strong { display: block; color: var(--blue); font-size: clamp(2.4rem, 5vw, 5rem); line-height: 1; letter-spacing: -.06em; }
.value-panel p { margin: 18px 0 28px; color: var(--muted); }
.checks { display: grid; gap: 15px; margin: 32px 0 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 36px; color: #d3e2e8; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: var(--navy); background: var(--yellow); font-weight: 900; }

.compare-wrap { margin-top: 42px; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; background: white; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th { color: white; background: var(--navy); font-size: .82rem; letter-spacing: .04em; }
.compare th:nth-child(2) { color: var(--navy); background: var(--yellow); }
.compare tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 750; }
.compare td:nth-child(2) { color: #0b7294; font-weight: 750; background: #f2fbfd; }

.benefits { margin-top: 42px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefit { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.benefit-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 30px; border-radius: 12px; color: var(--navy); background: var(--yellow); font-weight: 900; }
.benefit h3 { margin: 0 0 8px; font-size: 1rem; }
.benefit p { margin: 0; color: var(--muted); font-size: .9rem; }

.options-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: center; }
.options-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 32px 0 0; padding: 0; list-style: none; }
.options-list li { min-height: 86px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(255,255,255,.05); }
.option-icon { flex: 0 0 48px; width: 48px; height: 48px; padding: 5px; border-radius: 13px; background: rgba(255,255,255,.96); box-shadow: 0 8px 22px rgba(0,0,0,.16); }
.options-list span { font-size: .9rem; font-weight: 700; line-height: 1.25; }
.options-visual { padding: 20px; border: 1px solid rgba(255,255,255,.14); border-radius: 24px; background: rgba(255,255,255,.05); }
.options-visual--line { padding: 10px; overflow: hidden; background: white; box-shadow: 0 24px 60px rgba(0,0,0,.22); }
.options-visual--line img { width: 100%; height: auto; border-radius: 16px; }

.cta { padding: 64px 0; background: var(--yellow); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cta h2 { margin: 0; font-size: clamp(2.2rem, 4.5vw, 4.8rem); line-height: .98; letter-spacing: -.055em; }
.cta p { max-width: 540px; margin: 20px 0 0; color: #3f4d52; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 22px; border-radius: 18px; background: white; box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--ink); font-size: .82rem; font-weight: 850; line-height: 1.3; }
.field input, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 13px; color: var(--ink); background: white; }
.field textarea { min-height: 84px; resize: vertical; }
.form-note { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .7rem; }
.form-status { grid-column: 1 / -1; min-height: 1.4em; margin: 0; color: #08708f; font-weight: 700; }
.form-status.is-error { color: #b42318; }
.form-status.is-success { color: #087443; }
.lead-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.site-footer { padding: 30px 0; color: #aac1cb; background: #041a2a; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-row p { margin: 0; font-size: .82rem; }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand img { width: 82px; height: auto; }

/* Variant 2: technical split layout */
.v2 { --yellow: #e79a72; --blue: #8650bd; --cyan: #1497d0; }
.v2 .hero { background: #061b2b; }
.v2 .hero-grid { grid-template-columns: .82fr 1.18fr; }
.v2 .hero-visual { order: -1; align-self: stretch; display: flex; align-items: stretch; margin: -150px 0 -72px calc((100vw - min(100vw - 40px, var(--max))) / -2); padding: 0; overflow: hidden; background: #092d43; clip-path: polygon(0 0, 94% 0, 77% 100%, 0 100%); }
.v2 .hero-visual::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(4,24,38,.10), rgba(4,24,38,.28) 58%, rgba(4,24,38,.72)), linear-gradient(0deg, rgba(4,24,38,.50), transparent 44%); }
.v2 .hero-visual::after { inset: 0; z-index: 1; border-radius: 0; background: linear-gradient(145deg, rgba(20,126,163,.20), transparent 52%); filter: none; }
.v2 .hero-visual .hero-schematic { display: none; }
.v2 .hero-visual .hero-workshop { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 61% center; filter: brightness(.76) saturate(.82) contrast(1.08); }
.v2 .hero h1 { font-size: clamp(2.8rem, 5vw, 5.5rem); }
.v2 .button:not(.button--ghost):not(.button--dark) { color: white; background: linear-gradient(135deg, #7f49bd, #b96ea4 55%, #e69b72); }
.v2 .button:not(.button--ghost):not(.button--dark):hover { box-shadow: 0 12px 30px rgba(127,73,189,.32); }
.v2 .price-card { border-left-color: #8650bd; }
.v2 .price-card { transform: rotate(-1deg); }
.v2 .stats { margin-top: 0; background: var(--yellow); }
.v2 .stats-grid { box-shadow: none; border-radius: 0; background: transparent; }
.v2 .stat { border-color: rgba(8,37,58,.2); }
.v2 .kit-card { border-radius: 2px 18px 18px 2px; border-left: 5px solid var(--yellow); }
.v2 .section--soft { background: #eff7f8; }
.v2 .benefit { background: var(--navy); border: 0; color: white; }
.v2 .benefit p { color: #bcd1db; }
.v2 .cta { color: white; background: linear-gradient(135deg, #7041ae, #a85d9d 52%, #e79a72); }
.v2 .cta .section-label, .v2 .cta p { color: rgba(255,255,255,.86); }
.v2 .lead-form .field label { color: #241832; }
.v2 .lead-form .form-note { color: var(--muted); }
.v2 .lead-form .form-status { color: #08708f; }
.v2 .lead-form .form-status.is-error { color: #b42318; }
.v2 .lead-form .form-status.is-success { color: #087443; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { position: absolute; left: 20px; right: 20px; top: 68px; display: none; align-items: stretch; flex-direction: column; padding: 20px; border-radius: 16px; color: white; background: rgba(5,28,44,.98); box-shadow: var(--shadow); }
  .nav-links.is-open { display: flex; }
  .hero-grid, .v2 .hero-grid { grid-template-columns: 1fr; padding-top: 136px; }
  .hero-visual { max-width: 680px; margin-inline: auto; }
  .v2 .hero-visual { order: 0; min-height: 430px; margin: 0 -20px -72px; padding: 0; clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%); }
  .v2 .hero-visual .hero-workshop { object-position: 61% center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .value-grid, .options-grid, .cta-grid { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .kit-section::before { top: 2%; right: -28%; width: 115vw; height: 80%; opacity: .17; transform: rotate(-8deg); }
  .kit-section::after { background: linear-gradient(180deg, rgba(255,255,255,.90), rgba(255,255,255,.55) 48%, rgba(255,255,255,.88)); }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 64px 0; }
  .hero, .hero-grid { min-height: auto; }
  .hero-grid { padding-bottom: 64px; }
  .hero h1, .v2 .hero h1 { font-size: clamp(2.7rem, 14vw, 4.6rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .price-card { width: 100%; }
  .stats { margin-top: 0; }
  .stats .container { width: 100%; }
  .stats-grid { border-radius: 0; }
  .stat { padding: 22px 18px; }
  .kit-grid { grid-template-columns: 1fr; }
  .kit-card, .kit-card:nth-child(-n+2) { grid-column: auto; }
  .benefits, .options-list { grid-template-columns: 1fr; }
  .lead-form { grid-template-columns: 1fr; padding: 18px; }
  .field { grid-column: 1; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
