/* Closing project and updates panels, inspired by the supplied reference. */
.final-home.modern-industrial-home > .home-project-cta {
  padding: 42px 0;
  background: linear-gradient(#58d9db08 1px, transparent 1px), linear-gradient(90deg, #58d9db08 1px, transparent 1px), #06151b;
  background-size: 90px 90px;
}
.home-project-panel {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  border: 1px solid #387077;
  border-radius: 26px;
  overflow: hidden;
  background: #031519;
  box-shadow: 0 24px 65px #0005, inset 0 1px 0 #ffffff15;
}
.home-project-copy, .home-connect { position: relative; min-width: 0; padding: clamp(26px, 3.4vw, 50px); }
.home-project-copy {
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 105% 0, #e7af5155, transparent 40%), radial-gradient(ellipse at 90% 80%, #0cc9d132, transparent 55%), linear-gradient(120deg, #073239, #062027);
}
.home-project-machine {
  position: absolute;
  z-index: -1;
  right: -70px;
  bottom: 14px;
  width: 48%;
  height: 80%;
  object-fit: contain;
  opacity: .48;
  filter: drop-shadow(0 0 20px #2ce3df55);
  mask-image: linear-gradient(90deg, transparent, #000 38%);
  pointer-events: none;
}
.home-project-kicker, .home-connect-kicker {
  display: block;
  color: #5adee0;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
}
.final-home.modern-industrial-home .home-project-copy h2 { color: #f4ffff; margin: 22px 0; }
.home-project-copy h2 span {
  color: #29e1d9;
  background: linear-gradient(100deg, #12e4df 5%, #63e1c9 42%, #ffb751 95%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.home-project-panel .home-project-copy p { color: #b2c5c7; max-width: 43ch; margin: 0; }
.home-project-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.home-project-actions a {
  display: inline-flex; align-items: center; justify-content: center; gap: 20px;
  min-height: 48px; padding: 12px 18px; border: 1px solid transparent; border-radius: 10px;
  background: linear-gradient(105deg, #00e2df, #74e4c3 52%, #ffb44e);
  color: #031c23; text-decoration: none; font-weight: 700;
  box-shadow: 0 0 24px #16d6ce30; transition: filter .2s ease;
}
.home-project-actions a:last-child { background: #072b32b3; color: #eefbfc; border-color: #91d9dc; box-shadow: none; }
.home-project-actions a:hover { filter: brightness(1.15); }
.home-connect {
  border-left: 1px solid #387077;
  background: radial-gradient(ellipse at 100% 0, #d8ac4d40, transparent 34%), radial-gradient(ellipse at 65% 8%, #13c9cf30, transparent 48%), #031519;
}
.home-connect-icon {
  display: grid; place-items: center; width: 48px; height: 48px;
  border: 1px solid #81d6ca; border-radius: 14px; color: #9de5d9; margin-bottom: 22px;
  background: linear-gradient(120deg, #0bbec52e, #edb05230); box-shadow: 0 0 22px #35d8d92b;
}
.home-connect-kicker { color: #8ecfc4; }
.home-connect h3 { margin: 12px 0 16px; color: #f3ffff; }
.home-connect h3 span { color: #51dcd3; }
.final-home.modern-industrial-home .home-connect p { color: #b2c2c5; margin: 0; }
.home-connect-form { margin-top: 24px; }
.home-connect-form label { display: block; margin-bottom: 10px; color: #c0cbcd; font-size: 13px; }
.home-connect-field { display: flex; gap: 10px; }
.home-connect-field input {
  min-width: 0; width: 100%; flex: 1; padding: 14px;
  border: 1px solid #c1ba8b; border-radius: 10px; background: #06242a99; color: #f2ffff;
  font: inherit; font-size: 14px; box-shadow: 0 0 18px #c9c98e17;
}
.home-connect-field input::placeholder { color: #879fa5; }
.home-connect-field button {
  display: flex; gap: 14px; align-items: center; justify-content: center;
  min-height: 48px; padding: 14px 18px; border: 1px solid #18e0db; border-radius: 10px;
  background: #0bdcd6; color: #042128; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
}
.home-connect-field button:hover { background: #67eee5; }
.home-project-panel :is(a, input, button):focus-visible { outline: 2px solid #f6c771; outline-offset: 4px; }
.final-home.modern-industrial-home + .footer .footer-grid { margin-top: 0 !important; padding-top: 0 !important; border-top: 0; }
.final-home.modern-industrial-home + .footer { border-top: 0; }
.final-home.modern-industrial-home + .footer::before { display: none; }
body:has(.modern-industrial-home) .scroll-progress-fill { background: linear-gradient(90deg, #24bcb4, #9ce2dc); }
@media (max-width: 1000px) {
  .home-project-panel { grid-template-columns: 1fr; }
  .home-connect { border-left: 0; border-top: 1px solid #387077; }
  .home-project-machine { width: 38%; opacity: .32; right: -20px; }
}
@media (max-width: 480px) {
  .home-project-panel { border-radius: 18px; }
  .home-project-actions, .home-connect-field { flex-direction: column; }
  .home-project-machine { width: 65%; opacity: .18; }
}
@media (prefers-reduced-motion: reduce) { .home-project-actions a { transition: none; } }
