/* ============================================================
   CONLUXS Homepage Redesign V2 — Clean Candidate Stylesheet
   Single clean stylesheet (no layered patches).
   Built from approved V1 visual direction, consolidated.
   ============================================================ */

:root {
  --home-dark: #0b1216;
  --home-paper: #f6f7f5;
  --home-lime: var(--signal, #d7ff3f);
  --home-max: 1220px;
}

.home-v2 {
  margin: 0;
  background: var(--home-paper);
  color: #111820;
  font-family: Inter, Arial, sans-serif;
}

.home-shell {
  width: min(calc(100% - 48px), var(--home-max));
  margin: auto;
}

/* ---------- Utility bar ---------- */
.home-utility {
  background: #05090b;
  color: #c8d0d2;
  font-size: 12px;
}
.home-utility .home-shell {
  min-height: 34px;
  display: flex;
  gap: 24px;
  align-items: center;
}
.home-utility a {
  color: inherit;
  text-decoration: none;
}
.home-utility__quote {
  margin-left: auto;
  color: var(--home-lime) !important;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 10px;
}

/* ---------- Header ---------- */
.home-header {
  position: absolute;
  z-index: 5;
  top: 34px;
  width: 100%;
  background: linear-gradient(#071014e8, transparent);
}
.home-header__inner {
  height: 84px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.home-brand img {
  display: block;
  width: 144px;
  height: auto;
}
.home-nav {
  margin-left: auto;
}
.home-nav .site-nav__list {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.home-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.home-nav [aria-current="page"] {
  color: var(--home-lime);
  border-bottom: 2px solid var(--home-lime);
  padding-bottom: 12px;
}

/* ---------- Buttons ---------- */
.home-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--home-lime);
  color: #0b1216 !important;
  padding: 15px 20px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid var(--home-lime);
}
.home-button--small {
  padding: 12px 16px;
}
.home-button--ghost {
  background: transparent;
  color: inherit !important;
  border-color: currentColor;
}

/* ---------- Hero ---------- */
.home-hero {
  min-height: 640px;
  position: relative;
  background: #071014;
  isolation: isolate;
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.home-hero__image,
.home-hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-hero__veil {
  background: linear-gradient(90deg, rgba(3, 8, 10, 0.97) 0%, rgba(3, 8, 10, 0.82) 43%, rgba(3, 8, 10, 0.25) 74%, rgba(3, 8, 10, 0.28));
}
.home-hero__content {
  position: relative;
  z-index: 1;
  padding-top: 92px;
  max-width: 1220px;
  transform: translateY(-18px);
}
.home-eyebrow {
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: #7ea20a;
  margin: 0 0 15px;
}
.home-hero h1 {
  font-size: clamp(42px, 4.8vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.055em;
  margin: 0;
  max-width: 730px;
}
.home-hero__copy {
  font-size: 16px;
  line-height: 1.65;
  max-width: 500px;
  color: #dce3e3;
  margin: 24px 0 28px;
}
.home-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.home-hero .home-button {
  padding: 17px 23px;
  min-height: 52px;
}
.home-hero .home-button--ghost {
  color: #fff !important;
}

/* ---------- Value strip ---------- */
.home-values {
  position: relative;
  z-index: 2;
  margin: -48px auto 0;
  background: #fff;
  border: 1px solid #e8ece9;
  box-shadow: 0 18px 38px #07101424;
  width: min(calc(100% - 48px), 1160px);
}
.home-values__grid {
  padding: 28px 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  text-align: center;
  gap: 15px;
}
.home-values i {
  color: #89aa13;
  font-size: 22px;
  display: block;
  margin-bottom: 8px;
}
.home-values strong,
.home-values span {
  display: block;
}
.home-values strong {
  font-size: 13px;
}
.home-values span {
  font-size: 12px;
  color: #667176;
}

/* ---------- Sections ---------- */
.home-section {
  padding: 94px 0;
}
.home-section__head {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: end;
  gap: 50px;
  margin-bottom: 40px;
}
.home-section h2,
.home-partners h2,
.home-footer h2 {
  font-size: clamp(32px, 3.4vw, 49px);
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin: 0;
}
.home-section__head > div > p {
  line-height: 1.7;
  color: #546068;
  max-width: 440px;
  margin: 0 0 18px;
}
.home-text-link,
.home-service-card a {
  color: #6e9500;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}

/* ---------- How We Help cards ---------- */
.home-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.home-service-card {
  background: #fff;
  box-shadow: 0 7px 22px #07101413;
}
.home-service-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
}
.home-service-card > div {
  padding: 25px;
}
.home-service-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  letter-spacing: -0.03em;
}
.home-service-card p {
  min-height: 50px;
  color: #5a666c;
  font-size: 14px;
  line-height: 1.55;
}

/* ---------- Product Categories (dark) ---------- */
.home-products {
  background: #0b1216;
  color: #fff;
}
.home-products .home-section__head > div > p {
  color: #bac5c8;
}
.home-products .home-button--ghost {
  color: #fff !important;
}
.home-product-card {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  background: #101b20;
  color: #fff;
  text-decoration: none;
  border: 1px solid #324046;
}
.home-product-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 0.3s;
}
.home-product-card:hover img {
  transform: scale(1.04);
}
.home-product-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 25%, #091216e8 82%);
}
.home-product-card span {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 22px;
}
.home-product-card h3 {
  font-size: 21px;
  margin: 0 0 7px;
}
.home-product-card p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  max-width: 260px;
  color: #d6dfe1;
}
.home-product-card b {
  position: absolute;
  right: 0;
  bottom: 0;
  background: var(--home-lime);
  color: #111;
  padding: 12px 16px;
  font-size: 20px;
  line-height: 1;
}

/* ---------- Why Choose ---------- */
.home-why {
  background: #fff;
}
.home-why__grid {
  display: grid;
  grid-template-columns: 0.95fr 2fr;
  gap: 72px;
}
.home-why__points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.home-why__points > div {
  border-top: 2px solid #dce4db;
  padding-top: 16px;
}
.home-why__points i {
  color: #739700;
  font-size: 28px;
}
.home-why__points h3 {
  font-size: 16px;
  margin: 14px 0 8px;
}
.home-why__points p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #5c676b;
  margin: 0;
}

/* ---------- Partners ---------- */
.home-partners {
  text-align: center;
  background: var(--home-paper);
  padding: 54px 0;
}
.home-partners__row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
  filter: grayscale(1);
  opacity: 0.72;
}
.home-partners__row img {
  width: 120px;
  height: 75px;
  object-fit: contain;
}

/* ---------- Footer ---------- */
.home-footer {
  background: #091216;
  color: #d6dfe1;
  padding: 48px 0 18px;
}
.home-footer__cta {
  border: 1px solid #314047;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-bottom: 50px;
}
.home-footer__cta h2 {
  font-size: 28px;
  margin: 0;
}
.home-footer__cta p:not(.home-eyebrow) {
  font-size: 13px;
  max-width: 470px;
  color: #bdc7c9;
}
.home-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 35px;
}
.home-footer__logo {
  width: 145px;
  height: auto;
}
.home-footer p,
.home-footer a {
  font-size: 13.5px;
  line-height: 1.65;
  color: #bdc7c9;
  text-decoration: none;
}
.home-footer h3 {
  font-size: 13px;
  color: #fff;
  margin: 10px 0 13px;
}
.home-footer__grid a {
  display: block;
  margin: 5px 0;
}
.home-social {
  display: flex;
  gap: 13px;
  margin-top: 14px;
}
.home-social a {
  font-size: 16px;
}
.home-footer__base {
  border-top: 1px solid #26343a;
  margin-top: 35px;
  padding-top: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #8e9ca0;
}
.home-footer__base a {
  font-size: 12px;
}

/* ---------- Brochure form (dark footer adaptation) ---------- */
.home-footer .brochure-block {
  margin-top: 20px;
}
.home-footer .brochure-block__title {
  font-size: 13px;
  color: #fff;
  margin: 0 0 10px;
}
.home-footer .brochure-form__input {
  background: #0d1519;
  border-color: #314047;
  color: #fff;
}
.home-footer .brochure-form__input::placeholder {
  color: #8e9ca0;
}

/* ---------- Responsive ---------- */
@media (max-width: 850px) {
  .home-utility span,
  .home-utility__quote,
  .home-button--small {
    display: none;
  }
  .home-header {
    top: 34px;
  }
  .home-menu {
    margin-left: auto;
    display: block;
  }
  .home-v2 .home-nav {
    display: none;
  }
  .home-v2 .home-nav.is-open {
    display: block;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: #0b1216;
    padding: 22px;
  }
  .home-v2 .home-nav .site-nav__list {
    display: grid;
    gap: 18px;
  }
  .home-v2 .home-nav a {
    display: block;
    min-height: auto;
    border-bottom: none;
    padding: 4px 0;
  }
  .home-hero {
    min-height: 600px;
  }
  .home-hero__content {
    padding-top: 90px;
    transform: translateY(-8px);
  }
  .home-values {
    margin: 0;
    width: 100%;
  }
  .home-values__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-section {
    padding: 62px 0;
  }
  .home-section__head,
  .home-why__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .home-card-grid {
    grid-template-columns: 1fr;
  }
  .home-product-card {
    min-height: 345px;
  }
  .home-why__points {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-footer__cta,
  .home-footer__grid {
    grid-template-columns: 1fr;
    display: grid;
  }
  .home-footer__base {
    gap: 12px;
    flex-direction: column;
  }
  .home-partners__row {
    overflow: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
  }
  .home-partners__row img {
    flex: 0 0 105px;
  }
}

@media (max-width: 520px) {
  .home-shell {
    width: min(calc(100% - 32px), var(--home-max));
  }
  .home-utility .home-shell {
    gap: 13px;
    font-size: 10px;
  }
  .home-utility .home-shell a {
    white-space: nowrap;
  }
  .home-hero h1 {
    font-size: 43px;
    line-height: 1.06;
  }
  .home-hero__copy {
    font-size: 14px;
  }
  .home-hero .home-button {
    min-height: 50px;
  }
  .home-button {
    width: 100%;
    justify-content: center;
  }
  .home-hero__actions {
    display: grid;
  }
  .home-values__grid {
    padding: 24px 8px;
  }
  .home-values strong {
    font-size: 12px;
  }
  .home-values span {
    font-size: 11px;
  }
  .home-section h2 {
    font-size: 34px;
  }
  .home-why__points {
    grid-template-columns: 1fr;
  }
  .home-why__points > div {
    padding-top: 13px;
  }
  .home-footer__cta {
    padding: 22px;
  }
  .home-footer__cta h2 {
    font-size: 26px;
  }
}
