.hk-pergola-pilot {
  background: var(--ast-global-color-5, #fff);
  color: var(--ast-global-color-3, #26303a);
}
.hk-pergola-wrap {
  max-width: 1280px;
  margin-inline: auto;
  padding: clamp(36px, 6vw, 84px) clamp(20px, 4vw, 48px);
}
.hk-pergola-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.hk-pergola-intro h1 {
  font-size: clamp(2.6rem, 5.3vw, 5.15rem);
  line-height: 1;
  letter-spacing: -.052em;
  margin: 0 0 .28em;
}
.hk-pergola-lead {
  max-width: 40ch;
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
}
.hk-pergola-photo { margin: 0; }
.hk-pergola-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 22px;
}
.hk-pergola-photo figcaption { margin-top: .55rem; font-size: .85rem; }
.hk-pergola-quote, .hk-pergola-position {
  padding: clamp(18px, 3vw, 34px);
  background: var(--ast-global-color-4, #f5f6f7);
  border-radius: 22px;
}
.hk-pergola-quote { scroll-margin-top: 100px; }
.hk-pergola-quote h2, .hk-pergola-mechanics h2 { margin: 0 0 .45em; }
.hk-pergola-quote form { display: grid; gap: .75rem; }
.hk-pergola-quote form label { display: grid; gap: .3rem; font-size: .95rem; }
.hk-pergola-quote input:not([type="checkbox"]), .hk-pergola-quote textarea {
  width: 100%;
  border-radius: 8px;
}
.hk-pergola-quote label.hk-pergola-consent {
  grid-template-columns: auto 1fr;
  align-items: baseline;
}
.hk-pergola-quote a { text-decoration: underline; }
.hk-pergola-quote button { justify-self: start; }
.hk-pergola-quote .hk-form-status { margin: 0; }
.hk-pergola-mechanics { padding-top: clamp(40px, 7vw, 88px); }
.hk-pergola-positions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.hk-pergola-position p { margin: .6rem 0 0; }
.hk-pergola-diagram {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  height: 70px;
  max-width: 240px;
  margin-bottom: 16px;
  border-inline: 3px solid currentColor;
  padding-inline: 6px;
}
.hk-pergola-diagram i {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: currentColor;
  transform: rotate(var(--hk-lama-angle, 0deg));
}
.hk-pergola-tilted { --hk-lama-angle: -35deg; }
.hk-pergola-open { --hk-lama-angle: -72deg; }
.hk-pergola-detail { max-width: 710px; margin-top: 24px; }
.hk-pergola-detail img { object-fit: contain; background: var(--ast-global-color-4, #f5f6f7); }
@media (max-width: 760px) {
  .hk-pergola-grid, .hk-pergola-positions { grid-template-columns: 1fr; }
}

.hk-glass-systems {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
}
.hk-glass-systems .hk-pergola-position {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: .75rem;
}
.hk-glass-systems .hk-pergola-position p { margin: 0; }

.hk-awning-catalogue img {
  object-fit: contain;
  object-position: center;
}

.hk-screen-installation img { object-fit: contain; }
