/* ============================================================================
   SiteLab platform section stylesheet — served at /theme/platform/sections.css.
   Driven ENTIRELY by the design-token custom properties ({{ design_css }} emits
   :root{--sl-*} per site). Never hardcode a brand value here; add a token.
   ============================================================================ */

/* ── Base ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body.sl-body {
  margin: 0;
  font-family: var(--sl-font-body);
  color: var(--sl-text);
  background: var(--sl-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.sl-body h1, .sl-body h2, .sl-body h3, .sl-body h4 {
  font-family: var(--sl-font-heading);
  line-height: 1.15;
  margin: 0 0 .5em;
}
.sl-body img { max-width: 100%; height: auto; }
.sl-body a { color: var(--sl-primary); }

.sl-container {
  max-width: var(--sl-max-w);
  margin-inline: auto;
  padding-inline: 24px;
}
.sl-section { padding-block: var(--sl-section-pad); }
.sl-section--site-header, .sl-section--divider { padding-block: 0; }
.sl-section--site-footer { padding-block: 0; }

.sl-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sl-primary);
  margin-bottom: 10px;
}
.sl-heading { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.sl-subheading { color: var(--sl-muted); max-width: 640px; margin: 0 0 1.2rem; }
.sl-center { text-align: center; }
.sl-center .sl-subheading { margin-inline: auto; }

/* Buttons */
.sl-btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: var(--sl-btn-radius);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: filter .15s ease, background .15s ease;
  font-size: 1rem;
}
.sl-btn--primary { background: var(--sl-primary); color: var(--sl-primary-contrast); }
.sl-btn--primary:hover { filter: brightness(1.08); }
.sl-btn--ghost { background: transparent; color: var(--sl-primary); border-color: var(--sl-primary); }
.sl-btn--ghost:hover { background: color-mix(in srgb, var(--sl-primary) 8%, transparent); }

/* Cards */
.sl-card {
  background: var(--sl-surface);
  border: 1px solid var(--sl-border);
  border-radius: var(--sl-radius);
  padding: 26px;
}

/* ── Site header ──────────────────────────────────────────────────────────── */
.sl-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--sl-bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sl-border);
}
.sl-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 66px;
}
.sl-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sl-font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--sl-text);
  text-decoration: none;
}
.sl-header__brand img { max-height: 40px; width: auto; }
.sl-header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.sl-header__nav a {
  padding: 7px 11px;
  border-radius: 8px;
  color: var(--sl-text);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}
/* A button-style link in the nav keeps the .sl-btn look (no nav-link padding override). */
.sl-header__nav a.sl-btn { color: var(--sl-primary-contrast); }
.sl-header__nav a.sl-btn:hover { background: var(--sl-primary); }
.sl-header__nav a:hover { background: var(--sl-surface); color: var(--sl-primary); }
.sl-header__cta { margin-left: 8px; }
.sl-header__toggle { display: none; }

/* Language switcher */
.sl-lang { position: relative; margin-left: 4px; }
.sl-lang > summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--sl-muted);
}
.sl-lang > summary::-webkit-details-marker { display: none; }
.sl-lang[open] > summary, .sl-lang > summary:hover { background: var(--sl-surface); }
.sl-lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 140px;
  background: var(--sl-bg);
  border: 1px solid var(--sl-border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, .12);
  padding: 6px;
  display: flex;
  flex-direction: column;
}
.sl-lang__menu a {
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--sl-text);
}
.sl-lang__menu a:hover { background: var(--sl-surface); }
.sl-lang__menu a.is-current { color: var(--sl-primary); font-weight: 700; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.sl-hero {
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  min-height: 420px;
}
.sl-hero--tall { min-height: 620px; }
.sl-hero--compact { min-height: 280px; }
.sl-hero__overlay {
  position: absolute;
  inset: 0;
  background: #0b1220;
}
.sl-hero__inner { position: relative; width: 100%; }
.sl-hero__content { max-width: 640px; }
.sl-hero--center { text-align: center; }
.sl-hero--center .sl-hero__content { margin-inline: auto; }
.sl-hero__heading { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.sl-hero__subheading { font-size: 1.15rem; color: var(--sl-muted); margin: 0 0 1.6rem; }
.sl-hero--on-image .sl-hero__heading,
.sl-hero--on-image .sl-hero__subheading { color: #fff; }
.sl-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.sl-hero--center .sl-hero__actions { justify-content: center; }

/* ── Rich text ────────────────────────────────────────────────────────────── */
.sl-rich-text { padding-inline: 24px; }
.sl-rich-text--narrow .sl-rich-text__body { max-width: 720px; margin-inline: auto; }

/* ── Video ────────────────────────────────────────────────────────────────── */
.sl-video { position: relative; width: 100%; margin-inline: auto; border-radius: var(--sl-radius); overflow: hidden; background: #000; }
.sl-video--narrow { max-width: 760px; }
.sl-video--wide { max-width: 960px; }
.sl-video--full { max-width: 100%; }
.sl-video--16x9 { aspect-ratio: 16 / 9; }
.sl-video--4x3 { aspect-ratio: 4 / 3; }
.sl-video--1x1 { aspect-ratio: 1 / 1; }
.sl-video--21x9 { aspect-ratio: 21 / 9; }
.sl-video > iframe, .sl-video > video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; }
.sl-rich-text__body :first-child { margin-top: 0; }

/* ── Image with text ──────────────────────────────────────────────────────── */
.sl-media-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.sl-media-text__media img {
  width: 100%;
  border-radius: var(--sl-radius);
  object-fit: cover;
}
.sl-media-text--media-right .sl-media-text__media { order: 2; }
.sl-media-text__body :first-child { margin-top: 0; }

/* ── Feature grid ─────────────────────────────────────────────────────────── */
.sl-features { display: grid; gap: 20px; }
.sl-features--2 { grid-template-columns: repeat(2, 1fr); }
.sl-features--3 { grid-template-columns: repeat(3, 1fr); }
.sl-features--4 { grid-template-columns: repeat(4, 1fr); }
.sl-feature__icon {
  font-size: 1.7rem;
  line-height: 1;
  margin-bottom: 14px;
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--sl-primary) 12%, transparent);
}
.sl-feature h3 { font-size: 1.1rem; margin-bottom: .35em; }
.sl-feature p { color: var(--sl-muted); margin: 0; }

/* ── Gallery ──────────────────────────────────────────────────────────────── */
.sl-gallery { display: grid; gap: 14px; }
.sl-gallery--2 { grid-template-columns: repeat(2, 1fr); }
.sl-gallery--3 { grid-template-columns: repeat(3, 1fr); }
.sl-gallery--4 { grid-template-columns: repeat(4, 1fr); }
.sl-gallery a { display: block; }
.sl-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--sl-radius);
}

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.sl-faq__list { max-width: 760px; display: flex; flex-direction: column; gap: 10px; }
.sl-center .sl-faq__list { margin-inline: auto; }
.sl-faq__item {
  background: var(--sl-surface);
  border: 1px solid var(--sl-border);
  border-radius: var(--sl-radius);
  padding: 0 22px;
}
.sl-faq__item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.sl-faq__item summary::-webkit-details-marker { display: none; }
.sl-faq__item summary::after { content: "+"; font-size: 1.3rem; color: var(--sl-primary); flex: none; }
.sl-faq__item[open] summary::after { content: "\2212"; }
.sl-faq__answer { padding: 0 0 18px; color: var(--sl-muted); }
.sl-faq__answer :first-child { margin-top: 0; }

/* ── Testimonials ─────────────────────────────────────────────────────────── */
.sl-quotes { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.sl-quote { display: flex; flex-direction: column; gap: 12px; }
.sl-quote__stars { color: #f59e0b; letter-spacing: 2px; }
.sl-quote__text { margin: 0; font-style: italic; }
.sl-quote__author { color: var(--sl-muted); font-weight: 600; font-size: .95rem; }

/* ── Logo strip ───────────────────────────────────────────────────────────── */
.sl-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.sl-logos img { max-height: 44px; width: auto; opacity: .75; }
.sl-logos img:hover { opacity: 1; }

/* ── CTA banner ───────────────────────────────────────────────────────────── */
.sl-cta {
  border-radius: var(--sl-radius);
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
}
.sl-cta--primary { background: var(--sl-primary); color: var(--sl-primary-contrast); }
.sl-cta--primary .sl-heading { color: var(--sl-primary-contrast); }
.sl-cta--primary p { color: color-mix(in srgb, var(--sl-primary-contrast) 82%, transparent); }
.sl-cta--primary .sl-btn--primary { background: var(--sl-primary-contrast); color: var(--sl-primary); }
.sl-cta--surface { background: var(--sl-surface); border: 1px solid var(--sl-border); }
.sl-cta p { max-width: 560px; margin: 0 auto 1.4rem; }

/* ── Contact ──────────────────────────────────────────────────────────────── */
.sl-contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
.sl-contact--form-only { grid-template-columns: 1fr; max-width: 720px; }
.sl-contact__form { display: flex; flex-direction: column; gap: 14px; }
.sl-contact__form label { font-weight: 600; font-size: .92rem; display: block; margin-bottom: 6px; }
.sl-contact__form input, .sl-contact__form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--sl-border);
  border-radius: 10px;
  background: var(--sl-bg);
  color: var(--sl-text);
  font: inherit;
}
.sl-contact__form input:focus, .sl-contact__form textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--sl-primary) 45%, transparent);
  border-color: var(--sl-primary);
}
.sl-contact__success {
  background: #ecfdf3;
  border: 1px solid #a6f4c5;
  color: #067647;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 16px;
}
.sl-contact__info { display: flex; flex-direction: column; gap: 14px; }
.sl-contact__info a { text-decoration: none; }
.sl-contact__info-row { display: flex; gap: 10px; align-items: baseline; }
.sl-contact__info-label { font-weight: 700; min-width: 84px; }

/* ── Collection list ──────────────────────────────────────────────────────── */
.sl-collection { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.sl-collection__item { display: flex; flex-direction: column; gap: 10px; }
.sl-collection__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--sl-radius) - 4px);
}
.sl-collection__item h3 { margin: 0; font-size: 1.05rem; }
.sl-collection__item p { margin: 0; color: var(--sl-muted); font-size: .95rem; }

/* ── Map ──────────────────────────────────────────────────────────────────── */
.sl-map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: var(--sl-radius);
  display: block;
}

/* ── Divider ──────────────────────────────────────────────────────────────── */
.sl-divider--s { height: 24px; }
.sl-divider--m { height: 56px; }
.sl-divider--l { height: 96px; }
.sl-divider__line { border: 0; border-top: 1px solid var(--sl-border); margin: 0 auto; max-width: var(--sl-max-w); }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.sl-footer {
  background: var(--sl-surface);
  border-top: 1px solid var(--sl-border);
  margin-top: 40px;
}
.sl-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-block: 56px;
}
/* Flex (not a fixed grid) so an unused link column leaves no dead track — the about column is wider. */
.sl-footer__col { flex: 1 1 200px; min-width: 0; }
.sl-footer__col:first-child { flex: 1.6 1 300px; }
.sl-footer__brand { font-family: var(--sl-font-heading); font-weight: 800; font-size: 1.2rem; margin-bottom: 10px; }
.sl-footer__about { color: var(--sl-muted); max-width: 380px; }
.sl-footer h4 { font-size: .92rem; text-transform: uppercase; letter-spacing: .06em; color: var(--sl-muted); }
.sl-footer__links { display: flex; flex-direction: column; gap: 8px; }
.sl-footer__links a { color: var(--sl-text); text-decoration: none; }
.sl-footer__links a:hover { color: var(--sl-primary); }
.sl-footer__bottom {
  border-top: 1px solid var(--sl-border);
  padding-block: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--sl-muted);
  font-size: .9rem;
}
/* Dark footer (background preset "dark" / a dark custom colour): keep every footer element legible. */
.sl-section.sl-bg--dark.sl-footer,
.sl-section.sl-bg--dark .sl-footer__col,
.sl-section.sl-bg--dark .sl-footer__about { color: rgba(255, 255, 255, .75); }
.sl-section.sl-bg--dark .sl-footer__brand { color: #fff; }
.sl-section.sl-bg--dark .sl-footer h4 { color: rgba(255, 255, 255, .55); }
.sl-section.sl-bg--dark .sl-footer__links a { color: rgba(255, 255, 255, .85); }
.sl-section.sl-bg--dark .sl-footer__links a:hover { color: #fff; }
.sl-section.sl-bg--dark .sl-footer__bottom { color: rgba(255, 255, 255, .5); border-color: rgba(255, 255, 255, .12); }
.sl-section.sl-bg--dark .sl-footer__bottom a { color: rgba(255, 255, 255, .6); }

/* ── Nested blocks (restrictive subsections: container / text / link / … ) ──── */
/* Wrappers carry their own display via the block's tag (span = inline, div = block);
   these rules only add safe defaults + the language-switcher chrome. */
.sl-block { min-width: 0; }
.sl-block--container { display: block; }
.sl-block--spacer { display: block; }
.sl-block--text .sl-heading { margin: 0; }
.sl-block--text p { margin: 0; }
.sl-langswitch a {
  text-decoration: none;
  color: inherit;
  opacity: .7;
  font-weight: 600;
  font-size: .9rem;
}
.sl-langswitch a:hover { opacity: 1; }
.sl-langswitch a.is-current { opacity: 1; color: var(--sl-primary); }
.sl-cart { position: relative; display: inline-flex; align-items: center; color: inherit; text-decoration: none; }
.sl-cart:hover { color: var(--sl-primary); }
.sl-cart__count {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--sl-primary);
  color: var(--sl-primary-contrast);
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

/* ── Eshop: product grid / PDP / cart ─────────────────────────────────────── */
.sl-products { display: grid; gap: 20px; }
.sl-products--2 { grid-template-columns: repeat(2, 1fr); }
.sl-products--3 { grid-template-columns: repeat(3, 1fr); }
.sl-products--4 { grid-template-columns: repeat(4, 1fr); }
.sl-product-card {
  display: flex;
  flex-direction: column;
  background: var(--sl-surface);
  border: 1px solid var(--sl-border);
  border-radius: var(--sl-radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--sl-text);
  transition: box-shadow .15s ease, transform .15s ease;
}
.sl-product-card:hover { box-shadow: 0 10px 28px rgba(16, 24, 40, .10); transform: translateY(-2px); }
.sl-product-card img, .sl-product-card__placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: color-mix(in srgb, var(--sl-primary) 8%, var(--sl-surface));
}
.sl-product-card__body { padding: 14px 16px 16px; }
.sl-product-card__body h3 { font-size: 1rem; margin: 0 0 .3em; }
.sl-product-card__price { font-weight: 700; }
.sl-product-card__price s { color: var(--sl-muted); font-weight: 400; margin-left: 8px; }

.sl-pdp__price { font-size: 1.4rem; font-weight: 800; margin: 0 0 .2em; }
.sl-pdp__compare s { color: var(--sl-muted); }
.sl-pdp__form { display: flex; flex-direction: column; gap: 16px; margin-block: 12px; }
.sl-pdp__label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.sl-pdp__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sl-pdp__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--sl-border);
  border-radius: 999px;
  background: var(--sl-bg);
  cursor: pointer;
}
.sl-pdp__chip:has(input:checked) {
  border-color: var(--sl-primary);
  background: color-mix(in srgb, var(--sl-primary) 10%, var(--sl-bg));
}
.sl-pdp__chip input { accent-color: var(--sl-primary); }
.sl-pdp__swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--sl-border); display: inline-block; }
.sl-pdp__qty {
  width: 90px;
  padding: 10px 12px;
  border: 1px solid var(--sl-border);
  border-radius: 10px;
  font: inherit;
}
.sl-pdp__description { color: var(--sl-muted); }

.sl-cart { width: 100%; border-collapse: collapse; }
.sl-cart td { padding: 12px 8px; border-bottom: 1px solid var(--sl-border); vertical-align: middle; }
.sl-cart__media img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.sl-cart__option { color: var(--sl-muted); }
.sl-cart__qty-form { display: inline-flex; align-items: center; gap: 10px; position: relative; }
.sl-cart__qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--sl-border);
  background: var(--sl-surface);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}
.sl-cart__qty-btn:hover { border-color: var(--sl-primary); color: var(--sl-primary); }
.sl-cart__total { font-weight: 700; text-align: right; }
.sl-cart__remove {
  border: 0;
  background: none;
  color: var(--sl-muted);
  font-size: 1.3rem;
  cursor: pointer;
}
.sl-cart__remove:hover { color: #dc2626; }
.sl-cart__subtotal { font-size: 1.1rem; margin-top: 16px; }
.sl-cart__discount { color: var(--sl-muted); }

/* ── Heading (generic) ────────────────────────────────────────────────────── */
.sl-heading-block--sm .sl-heading { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.sl-heading-block--lg .sl-heading { font-size: clamp(2rem, 4.4vw, 3rem); }
.sl-heading-block .sl-subheading { margin-bottom: 0; }
.sl-align--center .sl-subheading, .sl-heading-block.sl-center .sl-subheading { margin-inline: auto; }

/* ── Custom HTML (generic) ────────────────────────────────────────────────── */
.sl-custom-html--narrow { max-width: 720px; margin-inline: auto; }
.sl-custom-html :first-child { margin-top: 0; }
.sl-custom-html :last-child { margin-bottom: 0; }

/* ── Button row (generic) ─────────────────────────────────────────────────── */
.sl-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.sl-btn-row--center { justify-content: center; }
.sl-btn-row--right { justify-content: flex-end; }
.sl-btn--size-sm { padding: 8px 18px; font-size: .9rem; }
.sl-btn--size-lg { padding: 15px 34px; font-size: 1.1rem; }

/* ── Image block (generic) ────────────────────────────────────────────────── */
.sl-image-block { margin: 0; }
.sl-image-block--narrow { max-width: 560px; margin-inline: auto; }
.sl-image-block--wide { max-width: 880px; margin-inline: auto; }
.sl-image-block img { width: 100%; height: auto; display: block; }
.sl-image-block.is-rounded img { border-radius: var(--sl-radius); }
.sl-image-block__caption { color: var(--sl-muted); font-size: .9rem; margin-top: 10px; text-align: center; }

/* ── Images + text (generic) ──────────────────────────────────────────────── */
.sl-imgduo { display: grid; gap: 20px; }
.sl-imgduo--2 { grid-template-columns: repeat(2, 1fr); }
.sl-imgduo--3 { grid-template-columns: repeat(3, 1fr); }
.sl-imgduo--4 { grid-template-columns: repeat(4, 1fr); }
.sl-imgduo__item { margin: 0; }
.sl-imgduo__item img { width: 100%; height: auto; display: block; border-radius: var(--sl-radius); object-fit: cover; }
.sl-imgduo__item figcaption { color: var(--sl-muted); font-size: .9rem; margin-top: 8px; text-align: center; }
.sl-imgduo__text { margin-block: 18px; }
.sl-imgduo__text :first-child { margin-top: 0; }
.sl-imgduo__text :last-child { margin-bottom: 0; }
@media (max-width: 720px) {
  .sl-imgduo--2, .sl-imgduo--3, .sl-imgduo--4 { grid-template-columns: 1fr 1fr; }
}

/* ── Universal section style controls ─────────────────────────────────────── */
/* Reserved _-prefixed per-instance settings, applied to EVERY section's wrapper by
   SectionPageRenderer (the panel "Style" group). Layout-safe: padding/background/align only. */
.sl-section.sl-pad--none { padding-block: 0; }
.sl-section.sl-pad--s { padding-block: clamp(16px, 2vw, 28px); }
.sl-section.sl-pad--m { padding-block: clamp(28px, 3.4vw, 48px); }
.sl-section.sl-pad--l { padding-block: clamp(48px, 6vw, 88px); }
.sl-section.sl-pad--xl { padding-block: clamp(72px, 9vw, 128px); }
.sl-section.sl-bg--surface { background: var(--sl-surface); }
.sl-section.sl-bg--muted { background: color-mix(in srgb, var(--sl-primary) 6%, var(--sl-surface)); }
.sl-section.sl-bg--primary { background: var(--sl-primary); color: var(--sl-primary-contrast); }
.sl-section.sl-bg--primary :where(h1, h2, h3, h4, .sl-heading, a) { color: var(--sl-primary-contrast); }
.sl-section.sl-bg--primary .sl-subheading { color: color-mix(in srgb, var(--sl-primary-contrast) 82%, transparent); }
.sl-section.sl-bg--dark { background: #0b1220; color: #e5e7eb; }
.sl-section.sl-bg--dark :where(h1, h2, h3, h4, .sl-heading) { color: #fff; }
.sl-section.sl-align--left { text-align: left; }
.sl-section.sl-align--center { text-align: center; }
.sl-section.sl-align--center .sl-subheading, .sl-section.sl-align--center .sl-btn-row { margin-inline: auto; justify-content: center; }
.sl-section.sl-align--right { text-align: right; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .sl-features--4 { grid-template-columns: repeat(2, 1fr); }
  .sl-quotes { grid-template-columns: 1fr; }
  .sl-collection { grid-template-columns: repeat(2, 1fr); }
  .sl-products--3, .sl-products--4 { grid-template-columns: repeat(2, 1fr); }
  .sl-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .sl-section { padding-block: calc(var(--sl-section-pad) * .72); }
  .sl-media-text { grid-template-columns: 1fr; gap: 28px; }
  .sl-media-text--media-right .sl-media-text__media { order: 0; }
  .sl-features--2, .sl-features--3, .sl-features--4 { grid-template-columns: 1fr; }
  .sl-gallery--3, .sl-gallery--4 { grid-template-columns: repeat(2, 1fr); }
  .sl-collection { grid-template-columns: 1fr; }
  .sl-contact { grid-template-columns: 1fr; }
  .sl-footer__inner { grid-template-columns: 1fr; gap: 28px; }

  /* Mobile nav: CSS-only via <details> */
  .sl-header__toggle {
    display: block;
    margin-left: auto;
  }
  .sl-header__toggle summary {
    list-style: none;
    cursor: pointer;
    padding: 10px;
    font-size: 1.4rem;
    line-height: 1;
  }
  .sl-header__toggle summary::-webkit-details-marker { display: none; }
  .sl-header__nav {
    display: none;
  }
  .sl-header__toggle[open] + .sl-header__nav,
  .sl-header--open .sl-header__nav {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--sl-bg);
    border-bottom: 1px solid var(--sl-border);
    padding: 12px 24px 18px;
    gap: 2px;
  }
}

/* ── Page header / band header (page-header, process-steps, gallery-lightbox, review-form) ── */
.sl-section--page-header { background: var(--sl-surface); text-align: center; padding: 72px 0 40px; }
.sl-section--page-header h1 { margin: 0 0 .35em; }
.sl-eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--sl-primary); margin: 0 0 .5rem; }
.sl-band-header { text-align: center; margin-bottom: 2rem; }

/* ── Process steps ── */
.sl-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.sl-step { text-align: center; padding: 1rem; }
.sl-step__number { font-size: 1.6rem; font-weight: 700; color: var(--sl-primary); margin-bottom: .5rem; }

/* ── Services grid ── */
.sl-service-card { display: block; text-decoration: none; color: inherit; }
.sl-service-card__icon { font-size: 1.6rem; color: var(--sl-primary); margin-bottom: .5rem; }
.sl-service-card__link { color: var(--sl-primary); font-weight: 600; }

/* ── Reviews wall + review form ── */
.sl-reviews-avg { text-align: center; margin-bottom: 1.5rem; }
.sl-reviews-avg .stars { color: #f59e0b; font-size: 1.2rem; }
.sl-review-form { max-width: 640px; margin: 0 auto; }

/* ── Portfolio gallery (filterable lightbox) ── */
.sl-portfolio-filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 1.5rem; }
.sl-filter-pill { border: 1px solid var(--sl-border); background: transparent; border-radius: 999px; padding: .35rem 1rem; cursor: pointer; }
.sl-filter-pill.active { background: var(--sl-primary); color: #fff; border-color: var(--sl-primary); }
.sl-portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.sl-portfolio-item img, .sl-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
