/* Quicka Studio front styles — full-bleed sections, wide inner content */
.qs-page {
  color: var(--qs-text, #f3f6f5);
  font-family: var(--qs-font-body, system-ui, sans-serif);
  width: 100%;
  max-width: none;
  background: var(--qs-bg, transparent);
}
.qs-wrap {
  width: min(var(--qs-content-max, 1600px), calc(100% - (var(--qs-gutter, 2.5rem) * 2)));
  margin-inline: auto;
}
body.qs-layout-full { --qs-content-max: 100%; --qs-gutter: clamp(1rem, 3vw, 3rem); }
body.qs-layout-wide { --qs-content-max: 1600px; --qs-gutter: clamp(1rem, 2.5vw, 2.5rem); }
body.qs-layout-boxed { --qs-content-max: 1180px; --qs-gutter: 1.25rem; }

.qs-section { padding: 2.75rem 0; width: 100%; }
.qs-section--hero { padding: 0; }
.qs-section-title { font-family: var(--qs-font-heading, Georgia, serif); font-size: clamp(1.5rem, 2.5vw, 2rem); margin: 0 0 .75rem; }
.qs-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.qs-link { color: var(--qs-primary, #0b3d2e); font-weight: 600; text-decoration: none; }
.qs-btn { display: inline-block; padding: .7rem 1.15rem; border-radius: var(--qs-button-radius, 4px); text-decoration: none; font-weight: 600; border: 0; cursor: pointer; }
.qs-btn--brand { background: var(--qs-primary, #0b3d2e); color: #fff; }
.qs-btn--accent { background: var(--qs-accent, #c45c26); color: #fff; }
.qs-empty { padding: 1.5rem; border: 1px dashed #c9c2b8; color: #6b655c; }

.qs-hero {
  position: relative;
  width: 100%;
  min-height: min(72vh, 720px);
  display: grid;
  place-items: end stretch;
  overflow: hidden;
  color: #fff;
}
.qs-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qs-hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,12,11,.72) 0%, rgba(8,12,11,.35) 52%, rgba(8,12,11,.12) 100%),
    linear-gradient(0deg, rgba(8,12,11,.55), transparent 58%);
}
.qs-hero__content { position: relative; z-index: 1; padding: 3.5rem 0 4.25rem; }
.qs-hero__brand { letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; opacity: .9; margin: 0 0 .5rem; }
.qs-hero__title { font-family: var(--qs-font-heading, Georgia, serif); font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.05; margin: 0 0 .75rem; }
.qs-hero__text { max-width: 34rem; margin: 0 0 1.25rem; font-size: 1.05rem; }

.qs-card-grid, .qs-product-grid, .qs-gallery, .qs-quotes { display: grid; gap: 1rem; }
.qs-card-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.qs-card { text-decoration: none; color: inherit; }
.qs-card__media { display: block; aspect-ratio: 1; overflow: hidden; background: #e8e2d8; border-radius: 6px; }
.qs-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qs-card__label { display: block; margin-top: .55rem; font-weight: 600; }

.qs-cta { text-align: center; padding: 1rem 0; }
.qs-text--center { text-align: center; }
.qs-text--right { text-align: right; }
.qs-image img { width: 100%; height: auto; display: block; border-radius: 6px; }
.qs-caption { color: #6b655c; font-size: .92rem; }
.qs-divider { border: 0; border-top: 1px solid #d8d1c7; margin: 0; }
.qs-faq__item { border-bottom: 1px solid #e4ddd3; padding: .75rem 0; }
.qs-faq__item summary { cursor: pointer; font-weight: 600; }
.qs-faq__a { margin-top: .5rem; color: #3d4541; }
.qs-form label { display: block; font-weight: 600; }
.qs-form input, .qs-form textarea { width: 100%; max-width: 28rem; margin-top: .35rem; padding: .55rem .65rem; border: 1px solid #cfc7bc; border-radius: 4px; }
.qs-form--inline { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.qs-form--inline input { max-width: 16rem; margin: 0; }
.qs-form-msg--ok { color: #0b3d2e; font-weight: 600; }
.qs-form-msg--err { color: #8a1f11; font-weight: 600; }
.qs-map iframe { width: 100%; height: 100%; border: 0; border-radius: 6px; }
.qs-video__frame { position: relative; padding-top: 56.25%; }
.qs-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.qs-gallery { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.qs-gallery__item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; display: block; }
.qs-quotes { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.qs-quote { margin: 0; padding: 1.1rem; background: #fff; border: 1px solid #e4ddd3; border-radius: 8px; }
.qs-quote cite { display: block; margin-top: .75rem; font-style: normal; font-weight: 600; color: var(--qs-primary, #0b3d2e); }
.qs-product-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.qs-product { background: #fff; border: 1px solid #e4ddd3; border-radius: 8px; padding: .75rem; display: grid; gap: .4rem; }
.qs-product img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.qs-header-strip { display: flex; gap: 1rem; justify-content: space-between; align-items: center; padding: .75rem 0; font-size: .95rem; }
.qs-footer-block { padding: 1rem 0 2rem; }

@media (max-width: 780px) {
  .qs-hide-mobile { display: none !important; }
}
@media (min-width: 781px) {
  .qs-hide-desktop { display: none !important; }
}

/* Lightbox */
.qs-lightbox { position: fixed; inset: 0; z-index: 99999; background: rgba(0,0,0,.86); display: grid; place-items: center; padding: 1rem; }
.qs-lightbox img { max-width: min(96vw, 1100px); max-height: 90vh; object-fit: contain; }
.qs-lightbox__close { position: absolute; top: 1rem; right: 1rem; color: #fff; background: transparent; border: 0; font-size: 1.5rem; cursor: pointer; }
