/* =========================================================
   30HX Landing Section — scoped styles
   Every rule lives under .hxc30-landing so it cannot leak
   into, or be affected by, the host page's global styles.
   ========================================================= */

.hxc30-landing,
.hxc30-landing * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.hxc30-landing {
  background: #060b13;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  overflow-x: hidden;
}

.hxc30-landing img {
  display: block;
  max-width: 100%;
}

.hxc30-container {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- INTRO ---------- */

.hxc30-intro {
  padding: 120px 0 60px;
}

.hxc30-intro-copy {
  max-width: 1100px;
  margin: 0 auto 80px;
  text-align: center;
  font-size: clamp(14px, 1.6vw, 20px);
  line-height: 1.5;
  color: #fff;
}

.hxc30-pill-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(10px, 1.6vw, 32px);
  margin-bottom: 90px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

.hxc30-pill {
  flex: 0 1 155px;
  width: clamp(88px, 11vw, 155px);
  height: clamp(100px, 14vw, 165px);
  min-width: 0;
  border: 1px solid #2c2c2c;
  border-radius: 15px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.06) 100%),
    linear-gradient(90deg, #0d131f 0%, #0d131f 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.2vw, 16px);
  padding: clamp(10px, 1.4vw, 16px) 8px;
  text-align: center;
  scroll-snap-align: start;
}

.hxc30-pill img {
  height: clamp(34px, 4.6vw, 60px);
  width: auto;
  object-fit: contain;
}

.hxc30-pill img.hxc30-pill-img-ashrae {
  height: clamp(28px, 3.8vw, 50px);
}

.hxc30-pill img.hxc30-pill-icon-tank {
  height: clamp(38px, 5.2vw, 68px);
}

.hxc30-pill span {
  font-size: clamp(9px, 1vw, 12.7px);
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.hxc30-chiller-diagram {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.hxc30-chiller-diagram img:first-child {
  width: 100%;
}

.hxc30-diagram-marker {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transform: translate(-50%, calc(-100% - 14px)) scale(0.85);
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(.16,.84,.44,1), transform 0.6s cubic-bezier(.16,.84,.44,1);
}

.hxc30-diagram-marker.hxc30-visible {
  opacity: 1;
  transform: translate(-50%, calc(-100% - 14px)) scale(1);
}

.hxc30-marker-label {
  order: 1;
  background: rgba(6, 11, 19, 0.85);
  border: 1px solid rgba(69, 171, 255, 0.5);
  color: #fff;
  font-size: clamp(10px, 1.1vw, 13px);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 5px 12px;
  border-radius: 20px;
  backdrop-filter: blur(2px);
}

.hxc30-marker-line {
  order: 2;
  width: 1px;
  height: 14px;
  background: rgba(69, 171, 255, 0.7);
}

.hxc30-marker-dot {
  order: 3;
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #45abff;
  box-shadow: 0 0 0 4px rgba(69, 171, 255, 0.2);
}

.hxc30-marker-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(69, 171, 255, 0.6);
  animation: hxc30-marker-pulse 2.2s ease-out infinite;
}

.hxc30-diagram-marker.hxc30-visible .hxc30-marker-dot::after {
  animation-play-state: running;
}

.hxc30-diagram-marker:not(.hxc30-visible) .hxc30-marker-dot::after {
  animation-play-state: paused;
}

@keyframes hxc30-marker-pulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

@media (max-width: 700px) {
  .hxc30-pill-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    overflow-x: visible;
    scroll-snap-type: none;
  }
  .hxc30-pill {
    width: 100%;
    height: 140px;
  }
}

@media (max-width: 600px) {
  .hxc30-marker-label {
    font-size: 10px;
    padding: 4px 9px;
  }
}

/* ---------- INSTALLATION ---------- */

.hxc30-installation {
  position: relative;
  width: 100%;
  min-height: 720px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hxc30-installation-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;   /* anchor left so the workers/equipment never get cropped */
  position: absolute;
  inset: 0;
}

.hxc30-installation-copy {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 90px 6vw 90px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: left;
}

.hxc30-accent-bar {
  width: 100px;
  height: 8px;
  background: #45abff;
  margin-bottom: 30px;
}

.hxc30-installation-copy h2 {
  font-size: clamp(26px, 3.2vw, 48px);
  font-weight: 600;
  line-height: 1.2;
  color: #21314c;
  width: 650px;
  max-width: 100%;
  margin-bottom: 20px;
}

.hxc30-installation-copy p {
  font-size: clamp(15px, 1.6vw, 24px);
  color: #18212f;
  width: 650px;
  max-width: 100%;
  line-height: 1.4;
}

/* Mid resolutions: the right wall area is narrower, so keep the copy compact
   and pinned to the right so it sits over the empty wall — not over the workers. */
@media (min-width: 701px) and (max-width: 1100px) {
  .hxc30-installation-copy { padding-right: 3vw; }
  .hxc30-installation-copy h2 {
    width: min(38vw, 650px);
    font-size: clamp(22px, 3vw, 40px);
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.75);
  }
  .hxc30-installation-copy p {
    width: min(38vw, 650px);
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.7);
  }
}

@media (max-width: 700px) {
  .hxc30-installation-copy {
    align-items: flex-start;
    text-align: left;
    background: rgba(6,11,19,0.55);
  }
  .hxc30-installation-copy h2,
  .hxc30-installation-copy p {
    color: #fff;
    text-shadow: none;
  }
}

/* ---------- BENEFITS (row inside the installation section) ---------- */

.hxc30-benefits-row {
  position: relative;
  z-index: 1;
  margin-top: auto;              /* push the cards to the bottom of the section */
  width: 100%;
  max-width: 1560px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 40px 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hxc30-benefit-card {
  background: rgba(9, 16, 28, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.hxc30-benefit-card:hover {
  transform: translateY(-6px);
  background: rgba(14, 24, 40, 0.8);
  border-color: rgba(69, 171, 255, 0.4);
}

.hxc30-benefit-card h3 {
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hxc30-benefit-card p {
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 900px) {
  .hxc30-benefits-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .hxc30-benefits-row { grid-template-columns: 1fr; }
}

/* ---------- COMPRESSOR TECH ---------- */

.hxc30-compressor-tech {
  position: relative;
  padding: 100px 0 120px;
  overflow: hidden;
}

.hxc30-tech-inner {
  position: relative;
  z-index: 1;
}

.hxc30-tech-title {
  text-align: center;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 600;
  margin-bottom: 20px;
}

.hxc30-tech-title span {
  background: #17479e;
  padding: 4px 14px;
  border-radius: 4px;
  display: inline-block;
}

.hxc30-tech-subtitle {
  text-align: center;
  font-size: clamp(15px, 1.6vw, 24px);
  color: #d7dbe2;
  max-width: 900px;
  margin: 0 auto 70px;
}

.hxc30-tech-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1640 / 1328;
}

.hxc30-tech-glow {
  position: absolute;
  left: 37.56%;
  top: 14.15%;
  width: 62.44%;
  height: 70.2%;
  transform: translate(0, -50%);
  background: radial-gradient(circle, rgba(69,171,255,0.35) 0%, rgba(69,171,255,0) 70%);
  z-index: 0;
}

.hxc30-tech-photo {
  position: absolute;
  left: 37.56%;
  top: 0;
  width: 62.44%;
  z-index: 1;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.9s cubic-bezier(.16,.84,.44,1), transform 0.9s cubic-bezier(.16,.84,.44,1);
}

.hxc30-tech-photo.hxc30-visible {
  opacity: 1;
  transform: scale(1);
}

.hxc30-tech-feature {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 4%;
  z-index: 2;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(.16,.84,.44,1), transform 0.7s cubic-bezier(.16,.84,.44,1);
}

.hxc30-tech-feature.hxc30-visible {
  opacity: 1;
  transform: translateY(0);
}

.hxc30-tech-feature img {
  width: clamp(52px, 8%, 112px);
  height: clamp(52px, 8%, 112px);
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

.hxc30-tech-feature:hover img {
  transform: scale(1.08);
}

.hxc30-tech-feature p {
  font-size: clamp(12px, 1.3vw, 20px);
  line-height: 1.4;
  color: #fff;
}

@media (max-width: 800px) {
  .hxc30-tech-canvas {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .hxc30-tech-glow {
    display: none;
  }
  .hxc30-tech-photo,
  .hxc30-tech-feature {
    position: static;
    width: 100%;
    max-width: 100% !important;
    left: auto;
    top: auto;
  }
  .hxc30-tech-photo {
    order: -1;
    max-width: 420px;
    margin: 0 auto 12px;
  }
  .hxc30-tech-feature {
    gap: 20px;
  }
  .hxc30-tech-feature img {
    width: 64px;
    height: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hxc30-tech-feature,
  .hxc30-tech-photo {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .hxc30-diagram-marker {
    transition: none;
    opacity: 1;
    transform: translate(-50%, calc(-100% - 14px));
  }
  .hxc30-marker-dot::after {
    animation: none;
  }
}
