/* FullMark v7: second document corrections only.
   Existing assets, palette, page copy and application scripts remain in place. */

/* The three marked joins: cardboard -> bubble wrap -> tape -> categories.
   Only photographic edges fade to the existing ground; content is not faded. */
body.fm-home-page.fm-premium #popular-prices {
  background:linear-gradient(180deg,transparent calc(100% - 88px),#131615 100%),linear-gradient(90deg,rgba(19,22,21,.96),rgba(19,22,21,.72) 58%,rgba(19,22,21,.28)),url('studio/cardboard.webp') right center/cover no-repeat #131615!important;
}
body.fm-home-page.fm-premium #calculator {
  background:linear-gradient(180deg,#131615 0px,transparent 88px,transparent calc(100% - 88px),#131615 100%),linear-gradient(90deg,rgba(19,22,21,.97) 0%,rgba(19,22,21,.84) 48%,rgba(19,22,21,.30)),url('studio/v4-bubble.webp') right center/cover no-repeat #131615!important;
}
body.fm-home-page.fm-premium #services {
  background:linear-gradient(180deg,#131615 0px,transparent 88px,transparent calc(100% - 88px),#131615 100%),linear-gradient(90deg,#131615 0%,rgba(19,22,21,.98) 42%,rgba(19,22,21,.58)),url('studio/v4-tape.webp') right center/cover no-repeat #131615!important;
}
body.fm-home-page.fm-premium #works {
  border-top:0!important;
  background:linear-gradient(180deg,#131615 0px,transparent 88px),linear-gradient(90deg,rgba(19,22,21,.97),rgba(19,22,21,.94) 48%,rgba(19,22,21,.68)),url('studio/v6-categories.webp') right center/cover no-repeat #131615!important;
}

/* Restore the actual steel beams from the same photograph, not a drawn frame. */
body.fm-home-page.fm-premium #fulfillment-models { position:relative; isolation:isolate; }
body.fm-home-page.fm-premium #fulfillment-models > .container { position:relative; z-index:1; }
body.fm-home-page.fm-premium #fulfillment-models::before,
body.fm-home-page.fm-premium #fulfillment-models::after {
  content:''!important;
  display:block!important;
  position:absolute;
  inset-inline:0;
  z-index:0;
  height:28px;
  pointer-events:none;
  background-image:linear-gradient(90deg,rgba(19,22,21,.56),rgba(19,22,21,.40)),url('studio/container-ribs.webp');
  background-repeat:no-repeat;
  background-size:auto,max(100%,1920px) auto;
}
body.fm-home-page.fm-premium #fulfillment-models::before { top:0; background-position:center,center top; }
body.fm-home-page.fm-premium #fulfillment-models::after { bottom:0; background-position:center,center bottom; }

/* Previous two-column comparison: left explanation, right images, no outer matte. */
body.fm-home-page.fm-premium #before-after .compare-wrap {
  grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)!important;
  align-items:stretch;
  gap:46px!important;
}
body.fm-home-page.fm-premium #before-after .compare-copy {
  display:flex!important;
  flex-direction:column;
  justify-content:space-between;
  align-items:stretch;
  gap:26px;
  padding:28px!important;
  background:rgba(19,22,21,.96)!important;
  border-radius:6px!important;
}
body.fm-home-page.fm-premium #before-after .compare-points { grid-template-columns:minmax(0,1fr)!important; gap:10px!important; }
body.fm-home-page.fm-premium #before-after .compare-points > div { padding:14px 16px!important; border-radius:6px!important; background:#1d2420!important; font-weight:500!important; }
body.fm-home-page.fm-premium #before-after .gallery-controls { align-self:flex-start; justify-self:start; }
body.fm-home-page.fm-premium #before-after .slider-card { --fm-v7-stage-height:clamp(520px,44vw,640px); justify-self:center; width:min(100%,calc(var(--fm-v7-stage-height) * .8))!important; min-width:0; padding:0!important; border:0!important; border-radius:0!important; background:none!important; box-shadow:none!important; }
body.fm-home-page.fm-premium #before-after .slider-box { height:var(--fm-v7-stage-height)!important; max-height:none!important; border:0!important; border-radius:0!important; background:transparent!important; aspect-ratio:auto!important; }
body.fm-home-page.fm-premium #before-after :is(.before-layer,.after-layer) { padding:0!important; background:transparent!important; }
body.fm-home-page.fm-premium #before-after .compare-photo { object-fit:contain!important; object-position:center; background:none!important; transform:none!important; }
body.fm-home-page.fm-premium #before-after .compare-caption { left:0; right:0; bottom:0; padding:12px 14px!important; border-radius:0!important; }

/* The heading can paint its complete glyphs; one quiet field groups the terms. */
body.fm-home-page.fm-premium #guarantees .security { overflow:visible!important; border-radius:0!important; }
body.fm-home-page.fm-premium #guarantees .security-head { overflow:visible!important; }
body.fm-home-page.fm-premium #guarantees .security-head h2 { padding:4px 2px 2px!important; line-height:1.16!important; overflow:visible!important; }
body.fm-home-page.fm-premium #guarantees .security-grid { padding:30px!important; gap:30px 40px!important; border-radius:6px!important; background:rgba(27,36,29,.96)!important; }
body.fm-home-page.fm-premium #guarantees .security-card { min-height:0!important; height:auto!important; }
body.fm-home-page.fm-premium #guarantees .security-card b { margin:0 0 10px!important; }
body.fm-home-page.fm-premium #guarantees .security-card span { display:block; margin:0!important; }

/* Keep every answer open, but give each question a clear reading surface. */
body.fm-home-page.fm-premium #faq .accordion { gap:18px 24px!important; }
body.fm-home-page.fm-premium #faq .faq-item { padding:24px!important; border-radius:6px!important; background:rgba(29,36,32,.97)!important; }
body.fm-home-page.fm-premium #faq .faq-item > h3 { margin:0 0 12px!important; font-size:24px!important; line-height:1.3!important; }
body.fm-home-page.fm-premium #faq .faq-a { font-size:17px!important; line-height:1.65!important; }
body.fm-home-page.fm-premium #faq .faq-item:last-child { grid-column:1 / -1; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:start; gap:24px; }
body.fm-home-page.fm-premium #faq .faq-item:last-child > h3 { margin:0!important; }

@media(max-width:1100px) {
  body.fm-home-page.fm-premium #before-after .compare-wrap { grid-template-columns:minmax(0,1fr)!important; gap:28px!important; }
  body.fm-home-page.fm-premium #before-after .compare-copy { gap:24px; }
}
@media(max-width:600px) {
  body.fm-home-page.fm-premium #calculator { background-image:linear-gradient(180deg,#131615 0px,transparent 88px,transparent calc(100% - 88px),#131615 100%),linear-gradient(90deg,rgba(19,22,21,.97),rgba(19,22,21,.72)),url('studio/v4-bubble.webp')!important; }
  body.fm-home-page.fm-premium #works { background-image:linear-gradient(180deg,#131615 0px,transparent 88px),linear-gradient(90deg,rgba(19,22,21,.96),rgba(19,22,21,.88)),url('studio/v6-categories.webp')!important; }
  body.fm-home-page.fm-premium #fulfillment-models::before,
  body.fm-home-page.fm-premium #fulfillment-models::after { height:20px; background-size:auto,1493px auto; }
  body.fm-home-page.fm-premium #before-after .compare-copy { padding:22px!important; }
  body.fm-home-page.fm-premium #before-after .slider-card { --fm-v7-stage-height:clamp(420px,125vw,520px); }
  body.fm-home-page.fm-premium #before-after .slider-box { height:auto!important; aspect-ratio:.8!important; }
  body.fm-home-page.fm-premium #before-after .scene-label { top:46px!important; }
  body.fm-home-page.fm-premium #before-after .compare-caption { padding:12px!important; }
  body.fm-home-page.fm-premium #guarantees .security-grid { padding:24px!important; gap:26px!important; }
  body.fm-home-page.fm-premium #faq .faq-item { padding:22px 20px!important; }
  body.fm-home-page.fm-premium #faq .faq-item > h3 { font-size:22px!important; }
  body.fm-home-page.fm-premium #faq .faq-a { font-size:16px!important; }
  body.fm-home-page.fm-premium #faq .faq-item:last-child { display:block; }
  body.fm-home-page.fm-premium #faq .faq-item:last-child > h3 { margin-bottom:12px!important; }
}
