.loong-home,
.loong-home * {
  box-sizing: border-box;
}

.loong-home {
  --lh-blue: #0b4aa2;
  --lh-blue-dark: #061a33;
  --lh-blue-deep: #031326;
  --lh-green: #78c91f;
  --lh-green-dark: #5aa90b;
  --lh-ink: #102033;
  --lh-muted: #637083;
  --lh-line: #dce4ec;
  --lh-soft: #f3f7fa;
  overflow: hidden;
  color: var(--lh-ink);
  background: #fff;
  font-family: "Poppins", Arial, sans-serif;
}

.lh-shell {
  width: min(calc(100% - 80px), 1440px);
  margin: 0 auto;
}

.lh-section {
  padding: 112px 0;
}

.lh-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-transform: uppercase;
}

.lh-kicker span {
  width: 42px;
  height: 2px;
  background: var(--lh-green);
}

.lh-kicker--dark {
  color: var(--lh-blue);
}

.lh-heading {
  margin-bottom: 54px;
}

.lh-heading h2 {
  max-width: 860px;
  margin: 0;
  color: var(--lh-ink);
  font-size: 52px;
  font-weight: 600;
  line-height: 1.12;
}

.lh-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  align-items: end;
  gap: 80px;
}

.lh-heading--split > p,
.lh-heading--center > p,
.lh-factory__intro p {
  margin: 0;
  color: var(--lh-muted);
  font-size: 16px;
  line-height: 1.8;
}

.lh-heading--center {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.lh-heading--center .lh-kicker {
  justify-content: center;
}

.lh-heading--center h2 {
  margin-right: auto;
  margin-left: auto;
}

.lh-heading--center > p {
  max-width: 720px;
  margin: 24px auto 0;
}

.lh-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.lh-button i {
  font-size: 19px;
}

.lh-button:hover {
  transform: translateY(-2px);
}

.lh-button--primary {
  color: #061323;
  background: var(--lh-green);
}

.lh-button--primary:hover {
  color: #061323;
  background: #8cda35;
}

.lh-button--line {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.04);
}

.lh-button--line:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.lh-button--dark {
  color: #fff;
  background: var(--lh-blue-dark);
}

.lh-button--dark:hover {
  color: #fff;
  background: var(--lh-blue);
}

.lh-hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 700px;
  max-height: none;
  overflow: hidden;
  background: var(--lh-blue-deep);
  isolation: isolate;
}

.lh-hero__image,
.lh-applications > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lh-hero__image {
  object-position: center center;
  animation: lh-hero-scale 12s ease-out both;
}

@keyframes lh-hero-scale {
  from { transform: scale(1.04); }
  to { transform: scale(1); }
}

.lh-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 15, 29, 0.96) 0%, rgba(4, 21, 42, 0.8) 34%, rgba(5, 26, 50, 0.18) 65%, rgba(3, 16, 31, 0.12) 100%);
}

.lh-hero__shade::after {
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(0deg, rgba(2, 13, 26, 0.7), transparent);
  content: "";
}

.lh-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  align-items: center;
  padding-top: 122px;
  padding-bottom: 42px;
}

.lh-hero__copy {
  width: min(690px, 52%);
}

.lh-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 72px;
  font-weight: 600;
  line-height: 1.04;
}

.lh-hero__lead {
  max-width: 640px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.8;
}

.lh-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.lh-hero__proof {
  display: flex;
  gap: 0;
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
}

.lh-hero__proof li {
  display: grid;
  min-width: 142px;
  gap: 3px;
  padding: 0 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.lh-hero__proof li:first-child {
  padding-left: 0;
  border-left: 0;
}

.lh-hero__proof strong {
  color: #fff;
  font-size: 21px;
  font-weight: 600;
}

.lh-hero__proof span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.lh-hero__scroll {
  position: absolute;
  z-index: 3;
  right: 40px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  transform: rotate(-90deg) translateX(100%);
  transform-origin: right bottom;
}

.lh-hero__scroll span {
  width: 34px;
  height: 1px;
  background: var(--lh-green);
}

.lh-categories {
  background: #fff;
}

.lh-capabilities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 42px;
  border-top: 1px solid var(--lh-line);
  border-bottom: 1px solid var(--lh-line);
}

.lh-capabilities > div {
  display: flex;
  min-height: 88px;
  align-items: center;
  gap: 16px;
  padding: 18px 26px;
  border-left: 1px solid var(--lh-line);
}

.lh-capabilities > div:first-child {
  border-left: 0;
}

.lh-capabilities i {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  color: #fff;
  background: var(--lh-blue);
  border-radius: 4px;
  font-size: 22px;
}

.lh-capabilities span {
  color: var(--lh-ink);
  font-size: 14px;
  font-weight: 600;
}

.lh-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--lh-line);
  border-left: 1px solid var(--lh-line);
}

.lh-category-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: inherit;
  border-right: 1px solid var(--lh-line);
  border-bottom: 1px solid var(--lh-line);
  background: #fff;
}

.lh-category-card__media {
  position: relative;
  aspect-ratio: 1.45 / 1;
  overflow: hidden;
  background: var(--lh-soft);
}

.lh-category-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(2, 20, 39, 0.5));
  content: "";
}

.lh-category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.lh-category-card:hover .lh-category-card__media img {
  transform: scale(1.045);
}

.lh-category-card__media > span {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 600;
}

.lh-category-card__body {
  position: relative;
  min-height: 116px;
  padding: 22px 54px 22px 22px;
}

.lh-category-card__body h3 {
  min-height: 42px;
  margin: 0;
  color: var(--lh-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.lh-category-card__body p {
  margin: 8px 0 0;
  color: var(--lh-muted);
  font-size: 12px;
}

.lh-category-card__body i {
  position: absolute;
  right: 20px;
  bottom: 24px;
  color: var(--lh-blue);
  font-size: 20px;
  transition: transform 180ms ease;
}

.lh-category-card:hover .lh-category-card__body i {
  transform: translate(3px, -3px);
}

.lh-section-link {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
}

.lh-section-link a,
.lh-factory__intro a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--lh-blue);
  font-size: 14px;
  font-weight: 600;
}

.lh-section-link i,
.lh-factory__intro i {
  font-size: 19px;
  transition: transform 180ms ease;
}

.lh-section-link a:hover i,
.lh-factory__intro a:hover i {
  transform: translateX(4px);
}

.lh-factory {
  color: #fff;
  background: var(--lh-blue-deep);
}

.lh-heading--factory {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: end;
  gap: 80px;
}

.lh-heading--factory h2,
.lh-factory__intro p {
  color: #fff;
}

.lh-factory__intro p {
  color: rgba(255, 255, 255, 0.68);
}

.lh-factory__intro a {
  margin-top: 24px;
  color: var(--lh-green);
}

.lh-factory-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 285px 285px 230px;
  gap: 14px;
}

.lh-factory-shot {
  position: relative;
  min-width: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #0a233f;
}

.lh-factory-shot--1 { grid-column: 1 / 8; grid-row: 1 / 3; }
.lh-factory-shot--2 { grid-column: 8 / 13; grid-row: 1; }
.lh-factory-shot--3 { grid-column: 8 / 13; grid-row: 2; }
.lh-factory-shot--4 { grid-column: 1 / 5; grid-row: 3; }
.lh-factory-shot--5 { grid-column: 5 / 9; grid-row: 3; }
.lh-factory-shot--6 { grid-column: 9 / 13; grid-row: 3; }

.lh-factory-shot::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(0deg, rgba(1, 12, 25, 0.88), transparent);
  content: "";
}

.lh-factory-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.lh-factory-shot:hover img {
  transform: scale(1.035);
}

.lh-factory-shot figcaption {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.lh-factory-shot figcaption > span {
  padding-top: 3px;
  color: var(--lh-green);
  font-size: 12px;
  font-weight: 600;
}

.lh-factory-shot h3 {
  margin: 0;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.lh-factory-shot p {
  max-width: 520px;
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.55;
}

.lh-factory-shot--4 p,
.lh-factory-shot--5 p,
.lh-factory-shot--6 p {
  display: none;
}

.lh-factory-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.lh-factory-metrics > div {
  display: grid;
  gap: 5px;
  padding: 26px 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.lh-factory-metrics > div:first-child {
  border-left: 0;
}

.lh-factory-metrics strong {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.lh-factory-metrics span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.lh-products {
  background: var(--lh-soft);
}

.lh-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.lh-product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e0e7ed;
  border-radius: 6px;
  background: #fff;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.lh-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(8, 31, 58, 0.12);
}

.lh-product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1.15 / 1;
  overflow: hidden;
  background: #fff;
}

.lh-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  transition: transform 420ms ease;
}

.lh-product-card:hover .lh-product-card__media img {
  transform: scale(1.035);
}

.lh-product-card__media > span {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 9px;
  color: #fff;
  background: var(--lh-blue);
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.lh-product-card__media > i {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--lh-green-dark);
  border-radius: 4px;
  font-size: 19px;
}

.lh-product-card__body {
  min-height: 180px;
  padding: 22px;
  border-top: 1px solid #edf1f4;
}

.lh-product-card__body > p {
  margin: 0 0 9px;
  color: var(--lh-blue);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.lh-product-card h3 {
  min-height: 66px;
  margin: 0;
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.48;
}

.lh-product-card h3 a {
  display: -webkit-box;
  overflow: hidden;
  color: var(--lh-ink);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.lh-product-card__meta {
  display: flex;
  min-height: 42px;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #edf1f4;
}

.lh-product-card__meta span {
  color: var(--lh-muted);
  font-size: 11px;
  line-height: 1.4;
}

.lh-product-card__meta span:first-child {
  color: var(--lh-blue-dark);
  font-weight: 600;
}

.lh-applications {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: #fff;
  background: var(--lh-blue-deep);
}

.lh-applications > img {
  object-position: center center;
}

.lh-applications__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 18, 34, 0.16) 0%, rgba(3, 18, 34, 0.18) 43%, rgba(3, 18, 34, 0.92) 70%, rgba(3, 18, 34, 0.98) 100%);
}

.lh-applications__inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 760px;
  align-items: center;
  justify-content: flex-end;
  padding: 90px 0;
}

.lh-applications__copy {
  width: 47%;
  max-width: 650px;
}

.lh-applications h2 {
  margin: 0;
  color: #fff;
  font-size: 52px;
  font-weight: 600;
  line-height: 1.12;
}

.lh-applications__copy > p:not(.lh-kicker) {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.8;
}

.lh-applications ul {
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.lh-applications li {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: start;
  gap: 15px;
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.lh-applications li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.lh-applications li > i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--lh-green);
  border: 1px solid rgba(120, 201, 31, 0.5);
  border-radius: 4px;
  font-size: 22px;
}

.lh-applications li span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 1.65;
}

.lh-applications li strong {
  display: block;
  margin-bottom: 2px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.lh-process {
  background: #fff;
}

.lh-process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--lh-line);
  border-left: 1px solid var(--lh-line);
  list-style: none;
}

.lh-process-grid li {
  position: relative;
  min-height: 310px;
  padding: 28px 24px;
  border-right: 1px solid var(--lh-line);
  border-bottom: 1px solid var(--lh-line);
  background: #fff;
  transition: color 220ms ease, background-color 220ms ease;
}

.lh-process-grid li:hover {
  color: #fff;
  background: var(--lh-blue-dark);
}

.lh-process-grid li > span {
  display: block;
  color: #9aa7b4;
  font-size: 12px;
  font-weight: 600;
}

.lh-process-grid li > i {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 44px 0 30px;
  place-items: center;
  color: #fff;
  background: var(--lh-blue);
  border-radius: 4px;
  font-size: 28px;
  transition: color 220ms ease, background-color 220ms ease;
}

.lh-process-grid li:hover > i {
  color: #07172a;
  background: var(--lh-green);
}

.lh-process-grid h3 {
  margin: 0;
  color: var(--lh-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  transition: color 220ms ease;
}

.lh-process-grid p {
  margin: 13px 0 0;
  color: var(--lh-muted);
  font-size: 12px;
  line-height: 1.65;
  transition: color 220ms ease;
}

.lh-process-grid li:hover h3,
.lh-process-grid li:hover p,
.lh-process-grid li:hover > span {
  color: #fff;
}

.lh-process__cta {
  display: flex;
  min-height: 128px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 36px;
  padding: 30px 38px;
  border-left: 4px solid var(--lh-green);
  background: var(--lh-soft);
}

.lh-process__cta > div {
  display: grid;
  gap: 6px;
}

.lh-process__cta span {
  color: var(--lh-muted);
  font-size: 13px;
}

.lh-process__cta strong {
  color: var(--lh-ink);
  font-size: 22px;
  font-weight: 600;
}

.lh-js .lh-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.lh-js .lh-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Customer service is still rendered by sidebar-kf.php; only its homepage appearance changes. */
body .cs-section.cs-section {
  margin: 0 !important;
  padding: 104px 0 !important;
  background: #eef4f8 !important;
}

body .cs-section .cs-eyebrow {
  color: var(--lh-blue) !important;
}

body .cs-section .cs-title {
  color: var(--lh-ink) !important;
  font-size: 48px !important;
}

body .cs-section .cs-subtitle {
  color: var(--lh-muted) !important;
}

body .cs-section .cs-card {
  border-radius: 6px !important;
  box-shadow: 0 14px 32px rgba(8, 31, 58, 0.08) !important;
}

@media (max-width: 1280px) {
  .lh-shell {
    width: min(calc(100% - 56px), 1180px);
  }

  .lh-section {
    padding: 92px 0;
  }

  .lh-hero h1 {
    font-size: 58px;
  }

  .lh-heading h2,
  .lh-applications h2 {
    font-size: 44px;
  }

  .lh-heading--split,
  .lh-heading--factory {
    gap: 48px;
  }

  .lh-category-card__body h3 {
    font-size: 14px;
  }

  .lh-process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lh-process-grid li {
    min-height: 280px;
  }
}

/* Keep all hero content below the fixed desktop header on shorter screens. */
@media (min-width: 981px) and (max-height: 820px) {
  .lh-hero__inner {
    padding-top: 112px;
    padding-bottom: 28px;
  }

  .lh-hero h1 {
    font-size: 56px;
    line-height: 1.02;
  }

  .lh-kicker {
    margin-bottom: 16px;
  }

  .lh-hero__lead {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.65;
  }

  .lh-actions {
    margin-top: 24px;
  }

  .lh-hero__proof {
    margin-top: 30px;
  }
}

@media (max-width: 980px) and (min-width: 701px) {
  .lh-shell {
    width: calc(100% - 40px);
  }

  .lh-hero {
    height: 100vh;
    height: 100svh;
    min-height: 760px;
    max-height: none;
  }

  .lh-hero__inner {
    padding-top: 92px;
    padding-bottom: 36px;
  }

  .lh-hero__image {
    object-position: 62% center;
  }

  .lh-hero__shade {
    background: linear-gradient(90deg, rgba(3, 15, 29, 0.95) 0%, rgba(4, 21, 42, 0.76) 58%, rgba(5, 26, 50, 0.3) 100%);
  }

  .lh-hero__copy {
    width: 68%;
  }

  .lh-hero h1 {
    font-size: 48px;
  }

  .lh-heading--split,
  .lh-heading--factory {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .lh-capabilities,
  .lh-category-grid,
  .lh-product-grid,
  .lh-factory-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lh-capabilities > div:nth-child(3),
  .lh-factory-metrics > div:nth-child(3) {
    border-left: 0;
  }

  .lh-factory-grid {
    grid-template-rows: 420px repeat(2, 240px);
  }

  .lh-factory-shot--1 { grid-column: 1 / 13; grid-row: 1; }
  .lh-factory-shot--2 { grid-column: 1 / 7; grid-row: 2; }
  .lh-factory-shot--3 { grid-column: 7 / 13; grid-row: 2; }
  .lh-factory-shot--4 { grid-column: 1 / 5; grid-row: 3; }
  .lh-factory-shot--5 { grid-column: 5 / 9; grid-row: 3; }
  .lh-factory-shot--6 { grid-column: 9 / 13; grid-row: 3; }

  .lh-applications__shade {
    background: rgba(3, 18, 34, 0.75);
  }

  .lh-applications__copy {
    width: 65%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lh-hero__image,
  .lh-js .lh-reveal,
  .lh-category-card__media img,
  .lh-product-card,
  .lh-product-card__media img,
  .lh-factory-shot img {
    animation: none;
    transition: none;
  }
}
