/* LuxBMI / three official divisions. Existing midnight-indigo, gold, cyan design unchanged.
   Scope only newly introduced sections and the three-column service grids. */
.lux-three-division-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.lux-three-division-grid .lux-service-card { min-width: 0; }
.lux-three-division-grid h3 { text-wrap: balance; }
.lux-three-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.lux-three-detail { scroll-margin-top: 110px; min-width: 0; }
.lux-three-detail ul { margin-bottom: 24px; }
.lux-three-detail__cta { margin-top: auto; display: inline-flex; }
/* Four real items, not the retired seven-item grid. A centered, compact
   panel removes the empty desktop space without changing the hero artwork. */
@media (min-width: 1081px) {
  .lux-home .lux-hero-services {
    width: min(100%, 1000px);
    max-width: 1000px;
    margin-inline: auto;
    grid-template-columns: minmax(205px, 1.13fr) repeat(3, minmax(170px, 1fr));
    gap: 12px;
  }
}
.lux-three-work-intro {
  max-width: 1020px;
  margin: 0 0 22px;
  font-size: 1.04rem;
  color: #bdcfe3;
  line-height: 1.65;
}
.lux-three-process {
  position: relative;
  background: linear-gradient(145deg, #030f24 2%, #071c3c 65%, #06152c 100%);
  padding: clamp(70px, 7vw, 112px) 0;
}
.lux-three-process__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 0; margin: 36px 0 0;
}
.lux-three-process__steps li {
  padding: 24px 19px;
  border-radius: 18px;
  background: rgba(8, 30, 61, .88);
  border: 1px solid rgba(121, 220, 255, .19);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.lux-three-process__steps span {
  display: block; color: #f6b91f; font-weight: 800;
  letter-spacing: .12em; margin-bottom: 12px;
}
.lux-three-process__steps strong {
  display: block; color: #f4f8ff; font-size: 1.16rem;
  margin-bottom: 10px;
}
.lux-three-process__steps p { color: #bdcfe3; font-size: .96rem; line-height: 1.55; }
.lux-three-client-proof {
  position: relative;
  padding: 60px 0;
  background: linear-gradient(120deg, #061a38, #05132b);
  border-top: 1px solid rgba(217,179,102,.2);
  border-bottom: 1px solid rgba(121,220,255,.15);
}
.lux-three-client-proof__inner {
  display: flex; justify-content: space-between; align-items: center; gap: 30px;
}
.lux-three-client-proof__inner > div { max-width: 820px; }
.lux-three-client-proof h2 {
  color: #fff; margin-bottom: 10px;
  font-size: clamp(1.65rem, 2.5vw, 2.4rem);
}
.lux-three-client-proof p:not(.lux-eyebrow) { color: #baccde; line-height: 1.55; }
.lux-three-client-proof__inner > a { flex-shrink: 0; }
.lux-three-portfolio-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin: 24px 0 34px;
}
.lux-three-portfolio-lanes > a,
.lux-three-portfolio-lanes > article {
  min-width: 0; display: block;
  padding: 23px;
  border: 1px solid rgba(121,220,255,.22);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(10,39,77,.88), rgba(4,17,39,.96));
  color: #eff8ff;
}
.lux-three-portfolio-lanes > a:hover,
.lux-three-portfolio-lanes > a:focus-visible {
  border-color: rgba(246,185,31,.64);
  box-shadow: 0 0 0 2px rgba(246,185,31,.1);
}
.lux-three-portfolio-lanes strong, .lux-three-portfolio-lanes h3 {
  display: block; font-size: 1.1rem; margin: 0 0 11px; color:#f7faff;
}
.lux-three-portfolio-lanes span { display: block; font-size: .88rem; color: #a8c9e5; }
.lux-three-portfolio-lanes--large { grid-template-columns: repeat(2, minmax(0,1fr)); }
.lux-three-portfolio-lanes--large article { padding: 30px; scroll-margin-top: 105px; }
.lux-three-portfolio-lanes--large p { color: #b9cce2; line-height: 1.6; margin-bottom: 20px; }
.lux-three-portfolio-upcoming { border-top: 1px solid rgba(121,220,255,.11); }
.lux-three-schedule {
  display: flex; gap: 20px; align-items: center; justify-content: space-between;
  margin-top: 22px; padding: 20px 26px;
  border: 1px solid rgba(121,220,255,.22); border-radius: 16px;
  background: rgba(8,30,61,.65);
}
.lux-three-schedule p { color: #c5d7e9; margin:0; line-height:1.5; }
.lux-three-schedule strong { color:#f8fbff; }
.lux-three-schedule .lux-button { flex-shrink: 0; }
.lux-three-detail-grid li { line-height:1.55; }
@media (max-width: 1100px) {
  .lux-three-process__steps { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .lux-three-detail-grid { grid-template-columns: 1fr; }
  .lux-three-division-grid { grid-template-columns: 1fr; }
  .lux-three-portfolio-lanes { grid-template-columns: 1fr; }
  .lux-three-portfolio-lanes--large { grid-template-columns: 1fr; }
  .lux-three-client-proof__inner, .lux-three-schedule { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 700px) {
  .lux-three-process__steps { grid-template-columns: 1fr; }
  .lux-three-process__steps li { padding: 20px 22px; }
  .lux-three-client-proof { padding: 44px 0; }
  .lux-three-schedule { padding: 18px; }
}

/* Center the third service on the final mobile row without altering the design. */
@media (max-width: 620px) {
  .lux-home .lux-hero-services > .lux-hero-service-chip:last-child {
    grid-column: 1 / -1;
    width: min(100%, 280px);
    justify-self: center;
  }
}

/* Schedule option appears only after a successful inquiry. */
.lux-review-confirmation__schedule {
  margin: 12px auto 18px;
  width: fit-content;
  max-width: 100%;
  text-align: center;
}
