:root {
  --cyan: #08bff5;
  --champagne: #e5bd70;
  --line: rgba(99, 205, 242, 0.22);
}
* {
  box-sizing: border-box;
}
body.slide-system {
  background: #001b29;
  color: #f5fbff;
}
.slide-system em {
  font-style: normal;
  color: var(--cyan);
}
.slide-system .system-breadcrumbs {
  position: relative;
  z-index: 5;
}
.system-hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: linear-gradient(120deg, #001b29, #052f43);
}
.system-hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(90px, 10vw, 150px) clamp(28px, 7vw, 110px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.system-hero-copy h1 {
  font-size: clamp(52px, 6vw, 92px);
  line-height: 0.94;
  letter-spacing: -0.055em;
  margin: 15px 0 27px;
}
.system-hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  color: #bfd3dc;
  font-size: 17px;
  line-height: 1.75;
}
.system-hero-art {
  position: relative;
  background: radial-gradient(circle at 50% 48%, #f4f7f6, #c9d5d5);
}
.system-hero-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #001b29 0, transparent 25%);
}
.system-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hst-premium .system-hero,
.smart-premium .system-hero {
  display: block;
  min-height: 820px;
  background: #001b29;
}
.hst-premium .system-hero-copy,
.smart-premium .system-hero-copy {
  min-height: 820px;
  max-width: 780px;
}
.hst-premium .hst-lifestyle-hero,
.smart-premium .smart-lifestyle-hero {
  position: absolute;
  inset: 0;
  background: #001b29;
}
.hst-premium .hst-lifestyle-hero::after,
.smart-premium .smart-lifestyle-hero::after {
  background: linear-gradient(
    90deg,
    rgba(0, 18, 29, 0.98) 0%,
    rgba(0, 24, 37, 0.82) 38%,
    rgba(0, 22, 34, 0.12) 75%
  );
}
.hst-premium .hst-lifestyle-hero img,
.smart-premium .smart-lifestyle-hero img {
  object-fit: cover;
  object-position: center;
}
.smart-premium .smart-lifestyle-hero img {
  object-position: center;
}
.family-visuals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.family-visuals article {
  padding: 18px 18px 30px;
  background: linear-gradient(180deg, #07364e, #032438);
  border: 1px solid var(--line);
}
.family-visuals article > div {
  height: 380px;
  margin-bottom: 25px;
  background: radial-gradient(circle, #f7f9f8, #cbd7d8);
  overflow: hidden;
}
.family-visuals img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.family-visuals h3 {
  font-size: clamp(24px, 2.3vw, 36px);
  margin: 10px 0 0;
}
.hst-panorama {
  position: relative;
  min-height: 720px;
  overflow: hidden;
}
.hst-panorama > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hst-panorama::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 18, 29, 0.93),
    rgba(0, 22, 34, 0.08)
  );
}
.hst-panorama > div {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 185px clamp(28px, 7vw, 110px);
}
.hst-panorama h2 {
  font-size: clamp(50px, 5.8vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin: 15px 0 25px;
}
.hst-panorama p:not(.eyebrow) {
  max-width: 560px;
  color: #c3d7df;
  line-height: 1.7;
}
.hero-specs {
  position: absolute;
  z-index: 3;
  left: clamp(28px, 7vw, 110px);
  right: clamp(28px, 7vw, 110px);
  bottom: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(0, 26, 40, 0.86);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.hero-specs span {
  padding: 17px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  color: #84a7b6;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-specs span:last-child {
  border: 0;
}
.hero-specs b {
  display: block;
  color: white;
  font-size: 17px;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 4px;
}
.slide-system .section {
  padding-top: 84px;
  padding-bottom: 84px;
}
.system-intro {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(45px, 8vw, 120px);
}
.system-intro h2,
.mechanism h2,
.system-cta h2 {
  font-size: clamp(40px, 4.6vw, 70px);
  line-height: 1.03;
  letter-spacing: -0.04em;
  margin: 12px 0;
}
.system-intro > div:last-child > p {
  color: #acc5d0;
  line-height: 1.8;
  font-size: 15px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin-top: 32px;
}
.feature-grid article {
  position: relative;
  min-height: 260px;
  padding: 28px;
  background: linear-gradient(180deg, #07364e, #032438);
  border: 1px solid var(--line);
  transition: 0.23s;
}
.feature-grid article:hover {
  transform: translateY(-4px);
  border-color: var(--champagne);
}
.feature-grid svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: #dcecf1;
  stroke-width: 2;
}
.feature-grid svg .accent {
  stroke: var(--champagne);
}
.feature-grid span {
  display: block;
  margin-top: 24px;
  color: #78dafa;
  font-size: 9px;
  letter-spacing: 0.12em;
}
.feature-grid h3 {
  font-size: 21px;
  margin: 10px 0;
}
.feature-grid p {
  color: #9fb9c5;
  font-size: 12px;
  line-height: 1.65;
}
.mechanism {
  background: linear-gradient(120deg, #062f45, #001823);
  border-block: 1px solid var(--line);
}
.mechanism-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(35px, 6vw, 90px);
  align-items: center;
}
.mechanism-media {
  min-height: 520px;
  background: #e8eeee;
}
.mechanism-media img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: contain;
}
.mechanism-copy p {
  color: #abc4cf;
  line-height: 1.75;
}
.mechanism-copy ul {
  list-style: none;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.mechanism-copy li {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #b9ced7;
}
.system-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.system-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: center;
}
.system-cta p {
  color: #abc4cf;
  max-width: 700px;
}
.system-cta-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.system-cta .secondary-link {
  padding: 15px 20px;
  border: 1px solid var(--cyan);
  color: #bfeeff;
}
.related-systems {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.related-systems a {
  padding: 24px;
  background: #042b3e;
  border: 1px solid var(--line);
  transition: 0.2s;
}
.related-systems a:hover,
.related-systems a[aria-current] {
  border-color: var(--champagne);
  transform: translateY(-2px);
}
.related-systems small {
  display: block;
  color: #78dafa;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.related-systems strong {
  font-size: 19px;
}
@media (max-width: 1000px) {
  .system-hero {
    grid-template-columns: 1fr;
  }
  .system-hero-art {
    min-height: 430px;
  }
  .system-hero-copy {
    padding-bottom: 160px;
  }
  .hero-specs {
    grid-template-columns: 1fr 1fr;
  }
  .system-intro,
  .mechanism-inner,
  .system-cta {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .system-cta-links {
    justify-content: flex-start;
  }
  .hst-premium .system-hero,
  .hst-premium .system-hero-copy,
  .smart-premium .system-hero,
  .smart-premium .system-hero-copy {
    min-height: 720px;
  }
}
@media (max-width: 620px) {
  .system-hero {
    min-height: auto;
  }
  .system-hero-copy {
    padding: 85px 20px 190px;
  }
  .system-hero-art {
    min-height: 320px;
  }
  .hero-specs {
    left: 18px;
    right: 18px;
  }
  .hero-specs span {
    padding: 12px;
  }
  .feature-grid,
  .related-systems {
    grid-template-columns: 1fr;
  }
  .mechanism-media,
  .mechanism-media img {
    min-height: 350px;
    height: 350px;
  }
  .slide-system .section {
    padding: 60px 20px;
  }
  .hst-premium .system-hero,
  .hst-premium .system-hero-copy,
  .smart-premium .system-hero,
  .smart-premium .system-hero-copy {
    min-height: 760px;
  }
  .hst-panorama {
    min-height: 590px;
  }
  .hst-panorama > div {
    padding: 125px 20px;
  }
  .family-visuals {
    grid-template-columns: 1fr;
  }
  .family-visuals article > div {
    height: 290px;
  }
}

/* AP05: scoped feature-card correction; HST keeps its existing rules. */
@media (min-width:1001px) and (max-width:1151px){
  .slide-system[data-profile-system="PSK Patio"] .system-intro .feature-grid,
  .slide-system[data-profile-system="Smart-slide / NEO"] .system-intro .feature-grid{
    grid-template-columns:repeat(2,1fr);
  }
}
