* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  font-family: Arial, sans-serif;
  background: #f5f7f6;
  color: #143425;
  overflow: hidden;
}

.landing {
  position: relative;
  min-height: calc(100vh - 64px);
  width: 100%;
}

.split-panel {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none;
  transition: clip-path 220ms ease, opacity 220ms ease, transform 220ms ease, filter 220ms ease;
  opacity: 0.34;
}

.panel-left {
  clip-path: polygon(0 0, 55% 0, 45% 100%, 0 100%);
}

.panel-right {
  clip-path: polygon(55% 0, 100% 0, 100% 100%, 45% 100%);
}

.panel-logo {
  position: absolute;
  width: min(34vw, 440px);
  height: auto;
  transition: transform 220ms ease, opacity 220ms ease;
  pointer-events: none;
}

.logo-left {
  left: 9%;
  top: 22%;
}

.logo-right {
  right: 9%;
  top: 50%;
}

.divider {
  position: absolute;
  left: 50%;
  top: -10vh;
  width: 2px;
  height: 120vh;
  background: rgba(20, 52, 37, 0.14);
  transform: translateX(-50%) rotate(10deg);
  transform-origin: center;
  transition: left 220ms ease;
  pointer-events: none;
}

.landing.hover-left .panel-left {
  opacity: 1;
  clip-path: polygon(0 0, 59% 0, 49% 100%, 0 100%);
}

.landing.hover-left .panel-right {
  opacity: 0.2;
  clip-path: polygon(59% 0, 100% 0, 100% 100%, 49% 100%);
}

.landing.hover-left .logo-left {
  transform: scale(1.07);
}

.landing.hover-left .divider {
  left: 54%;
}

.landing.hover-right .panel-left {
  opacity: 0.2;
  clip-path: polygon(0 0, 51% 0, 41% 100%, 0 100%);
}

.landing.hover-right .panel-right {
  opacity: 1;
  clip-path: polygon(51% 0, 100% 0, 100% 100%, 41% 100%);
}

.landing.hover-right .logo-right {
  transform: scale(1.07);
}

.landing.hover-right .divider {
  left: 46%;
}

.footer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(20,52,37,0.06);
  padding: 10px 22px;
  z-index: 5;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-logo {
  height: 28px;
  width: auto;
  opacity: 0.78;
}

.footer-contact {
  display: flex;
  gap: 20px;
  color: #143425;
  font-size: 14px;
  opacity: 0.8;
}

@media (max-width: 900px) {
  body {
    overflow: auto;
  }

  .landing {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 52px;
    padding: 80px 24px 120px;
  }

  .split-panel {
    position: relative;
    inset: auto;
    width: min(82vw, 360px);
    opacity: 1;
    clip-path: none !important;
  }

  .panel-logo {
    position: relative;
    width: 100%;
    left: auto;
    right: auto;
    top: auto;
    transform: none !important;
  }

  .divider {
    position: relative;
    top: auto;
    left: auto !important;
    width: min(60vw, 220px);
    height: 2px;
    transform: rotate(10deg);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-contact {
    flex-direction: column;
    gap: 6px;
  }
}


/* depth / shadow effect */
.landing.hover-left .panel-left {
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.18));
  z-index: 3;
}

.landing.hover-left .panel-right {
  filter: brightness(0.92);
}

.landing.hover-right .panel-right {
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.18));
  z-index: 3;
}

.landing.hover-right .panel-left {
  filter: brightness(0.92);
}
