/* Homepage content only. Load after premium.css and refinement-shell.css.
   Disclosure visibility stays native to <details>; no new animation. */

/* The hero now follows its content after the demo panel was relocated. */
@media(min-width:601px) {
  body.fm-premium:not(.fm-inner-page) .hero.hero-v3 { min-height:0!important; display:block!important; }
  body.fm-premium:not(.fm-inner-page) .fm-hero-photograph { height:100%!important; }
}

/* FBS/FBO: remove the remaining decorative title underline. */
body.fm-premium:not(.fm-inner-page) #fulfillment-models h2 span { background:none!important; box-shadow:none!important; text-decoration:none!important; }
body.fm-premium:not(.fm-inner-page) #fulfillment-models h2 span::after { content:none!important; }

/* Packing photo and copy are separate blocks supplied by the coordinator. */
body.fm-premium:not(.fm-inner-page) .services-grid { grid-template-columns:minmax(0,1.06fr) minmax(0,1fr)!important; align-items:start!important; gap:36px!important; }
body.fm-premium:not(.fm-inner-page) .services-grid > * { min-width:0; }
body.fm-premium:not(.fm-inner-page) .service-main { display:block!important; min-height:0!important; padding:0!important; overflow:visible!important; background:none!important; }
body.fm-premium:not(.fm-inner-page) .service-visual { display:block; margin:0; aspect-ratio:16/10; overflow:hidden; border-radius:6px; background:var(--fm-surface); }
body.fm-premium:not(.fm-inner-page) .service-visual :is(picture,img) { display:block; width:100%; height:100%; }
body.fm-premium:not(.fm-inner-page) .service-visual img { object-fit:cover; object-position:52% 50%; }
body.fm-premium:not(.fm-inner-page) .service-copy { position:static; padding:22px 0 0; background:none; }
body.fm-premium:not(.fm-inner-page) .service-copy h3 { max-width:30ch!important; margin:0 0 12px!important; font-size:28px!important; line-height:1.2!important; }
body.fm-premium:not(.fm-inner-page) .service-copy p { margin:0!important; color:var(--fm-muted)!important; font-size:16px!important; line-height:1.6!important; font-weight:400!important; }
body.fm-premium:not(.fm-inner-page) .service-copy .included { display:flex; flex-wrap:wrap; gap:8px 18px!important; margin:18px 0 0!important; }
body.fm-premium:not(.fm-inner-page) .service-copy .included span { padding:0!important; min-height:0; background:none!important; border:0!important; border-radius:0!important; font-size:12px!important; line-height:1.5!important; font-weight:500!important; }
body.fm-premium:not(.fm-inner-page) .service-cards { display:grid!important; grid-template-columns:minmax(0,1fr)!important; align-content:start!important; gap:0!important; }
body.fm-premium:not(.fm-inner-page) .service-card { min-height:0!important; height:auto!important; padding:22px 0!important; }
body.fm-premium:not(.fm-inner-page) .service-card:first-child { padding-top:0!important; }
body.fm-premium:not(.fm-inner-page) .service-card h3 { max-width:30ch!important; margin:0 0 10px!important; font-size:24px!important; line-height:1.22!important; }
body.fm-premium:not(.fm-inner-page) .service-card p { max-width:62ch; margin:0!important; font-size:15px!important; line-height:1.6!important; font-weight:400!important; }
body.fm-premium:not(.fm-inner-page) .service-flow-panel { margin-top:24px!important; padding:20px!important; }
body.fm-premium:not(.fm-inner-page) :is(.service-flow-head,.service-flow-visual) { margin-bottom:14px!important; }
body.fm-premium:not(.fm-inner-page) .service-flow-stages { gap:12px!important; }
body.fm-premium:not(.fm-inner-page) .service-flow-stages b { font-size:12px!important; line-height:1.5; }
body.fm-premium:not(.fm-inner-page) .custom-service { margin-top:28px!important; padding:22px 26px!important; }
body.fm-premium:not(.fm-inner-page) .custom-service span { font-weight:400!important; }

/* Expansion remains visible, with lime reserved for direct interaction. */
body.fm-premium:not(.fm-inner-page) .fm-photo-grid .fm-photo-expand { background:var(--fm-surface)!important; color:var(--fm-ink)!important; }
body.fm-premium:not(.fm-inner-page) .fm-photo-grid a:focus-visible .fm-photo-expand { background:var(--fm-accent)!important; color:var(--fm-dark)!important; }
@media(hover:hover) and (pointer:fine) {
  body.fm-premium:not(.fm-inner-page) .fm-photo-grid a:hover .fm-photo-expand { background:var(--fm-accent)!important; color:var(--fm-dark)!important; }
}

/* The six reviews remain in two lists; the second is in native details. */
body.fm-premium:not(.fm-inner-page) .reviews { display:grid!important; grid-template-columns:minmax(250px,.85fr) minmax(0,2.4fr)!important; align-items:start!important; gap:36px!important; }
body.fm-premium:not(.fm-inner-page) .rating-card { min-height:0!important; height:auto!important; padding:0!important; align-self:start; background:none!important; border-radius:0!important; }
body.fm-premium:not(.fm-inner-page) .rating-card h2 { margin:0 0 18px!important; font-size:28px!important; line-height:1.2!important; }
body.fm-premium:not(.fm-inner-page) .rating-card p { max-width:62ch; margin:0!important; font-size:15px!important; line-height:1.65!important; font-weight:400!important; }
body.fm-premium:not(.fm-inner-page) .review-proof { display:flex!important; gap:28px!important; margin:24px 0!important; padding:0!important; }
body.fm-premium:not(.fm-inner-page) .review-proof > div { flex:1 1 0; min-width:0; padding:0!important; background:none!important; border:0!important; border-radius:0!important; }
body.fm-premium:not(.fm-inner-page) .review-proof b { color:var(--fm-ink)!important; font-size:28px!important; line-height:1.2!important; font-weight:500!important; }
body.fm-premium:not(.fm-inner-page) .review-proof span { margin-top:8px; font-size:13px!important; line-height:1.5; font-weight:400!important; }
body.fm-premium:not(.fm-inner-page) .review-actions { display:grid; gap:10px!important; }
body.fm-premium:not(.fm-inner-page) .review-grid { display:block!important; min-width:0; }
body.fm-premium:not(.fm-inner-page) :is(.review-grid > .fm-review-list,.fm-more-reviews[open] > .fm-review-list) { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
body.fm-premium:not(.fm-inner-page) .review-card { display:flex!important; flex-direction:column; min-width:0; min-height:0!important; height:auto!important; padding:22px!important; gap:18px!important; }
body.fm-premium:not(.fm-inner-page) .review-head { display:flex; flex-direction:column; align-items:flex-start; gap:8px; }
body.fm-premium:not(.fm-inner-page) .review-card h3 { max-width:28ch; margin:0!important; font-size:22px!important; line-height:1.22!important; }
body.fm-premium:not(.fm-inner-page) .review-chip { max-width:100%; padding:0!important; font-size:12px!important; line-height:1.5; font-weight:400!important; overflow-wrap:anywhere; }
body.fm-premium:not(.fm-inner-page) .review-row { margin:0!important; padding:0!important; }
body.fm-premium:not(.fm-inner-page) .review-row small { display:block; margin:0 0 6px!important; font-size:12px!important; line-height:1.4!important; font-weight:500!important; text-transform:none!important; letter-spacing:0!important; }
body.fm-premium:not(.fm-inner-page) .review-row p { max-width:65ch; margin:0!important; font-size:14px!important; line-height:1.6!important; font-weight:400!important; }
body.fm-premium:not(.fm-inner-page) .review-row p.quote { color:var(--fm-ink)!important; font-size:15px!important; font-weight:600!important; }
body.fm-premium:not(.fm-inner-page) .review-author { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:8px 12px; margin-top:auto!important; padding-top:4px!important; font-size:12px!important; line-height:1.5; }
body.fm-premium:not(.fm-inner-page) .review-author b { font-weight:400!important; }
body.fm-premium:not(.fm-inner-page) .review-button { color:var(--fm-muted)!important; font-size:12px!important; font-weight:500!important; text-decoration:underline; text-underline-offset:3px; }

/* Disclosure visibility stays native; the chevron changes instantly. */
body.fm-premium:not(.fm-inner-page) :is(.fm-more-reviews,.fm-demo-panel) { margin-top:24px; border-top:1px solid var(--line); background:none; }
body.fm-premium:not(.fm-inner-page) :is(.fm-more-reviews,.fm-demo-panel) > summary { display:flex; justify-content:space-between; align-items:center; gap:24px; min-height:56px; padding:18px 0; list-style:none; color:var(--fm-ink); font:500 16px/1.5 'Manrope',sans-serif; cursor:pointer; }
body.fm-premium:not(.fm-inner-page) :is(.fm-more-reviews,.fm-demo-panel) > summary::-webkit-details-marker { display:none; }
body.fm-premium:not(.fm-inner-page) :is(.fm-more-reviews,.fm-demo-panel) > summary::marker { content:''; }
body.fm-premium:not(.fm-inner-page) :is(.fm-more-reviews,.fm-demo-panel) > summary::after { content:''; width:9px; height:9px; margin:-4px 4px 0 0; flex:0 0 9px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); }
body.fm-premium:not(.fm-inner-page) :is(.fm-more-reviews,.fm-demo-panel)[open] > summary::after { margin-top:4px; transform:rotate(225deg); }
body.fm-premium:not(.fm-inner-page) :is(.fm-more-reviews,.fm-demo-panel)[open] > summary { margin-bottom:8px; }
body.fm-premium:not(.fm-inner-page) .fm-demo-panel > summary { display:block; position:relative; padding-right:30px; }
body.fm-premium:not(.fm-inner-page) .fm-demo-panel > summary span { display:block; margin-top:4px; color:var(--fm-muted); font-size:13px; font-weight:400; }
body.fm-premium:not(.fm-inner-page) .fm-demo-panel > summary::after { position:absolute; top:50%; right:4px; }
body.fm-premium:not(.fm-inner-page) .fm-demo-note { max-width:70ch; margin:0 0 18px; color:var(--fm-muted); font-size:14px; font-weight:400; }
body.fm-premium:not(.fm-inner-page) .fm-demo-panel > .dashboard { margin:0!important; padding:22px!important; background:var(--fm-surface)!important; }
body.fm-premium:not(.fm-inner-page) .fm-demo-panel .dash-head { margin-bottom:18px!important; padding-bottom:14px!important; }
body.fm-premium:not(.fm-inner-page) .fm-demo-panel .dash-head h2 { font-size:20px!important; }
body.fm-premium:not(.fm-inner-page) .fm-demo-panel .dash-shell { gap:24px!important; }
body.fm-premium:not(.fm-inner-page) .fm-demo-panel .percent { font-size:36px!important; line-height:1.1!important; }
body.fm-premium:not(.fm-inner-page) .fm-demo-panel .mini { min-height:0!important; padding:12px 0!important; }
body.fm-premium:not(.fm-inner-page) .fm-demo-panel .mini b { font-size:20px!important; }
body.fm-premium:not(.fm-inner-page) .fm-demo-panel .key-line { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:baseline; gap:8px!important; }
body.fm-premium:not(.fm-inner-page) .fm-demo-panel :is(.key-line,.key-line b) { font-size:13px!important; line-height:1.5!important; }
body.fm-premium:not(.fm-inner-page) .fm-demo-panel .fm-route-block { margin-top:18px!important; padding-top:14px!important; }
body.fm-premium:not(.fm-inner-page) .fm-demo-panel .fm-shipment-card__text span { color:var(--fm-muted)!important; }

/* Map dimensions keep the coordinator's existing consent handling intact. */
body.fm-premium:not(.fm-inner-page) .fm-contact-map { margin-top:32px; }
body.fm-premium:not(.fm-inner-page) .fm-contact-map .map-card { position:relative; height:300px!important; min-height:300px!important; max-height:none!important; border-radius:6px!important; overflow:hidden; }
body.fm-premium:not(.fm-inner-page) .fm-contact-map .map-card iframe { display:block; width:100%!important; height:100%!important; border:0; }
body.fm-premium:not(.fm-inner-page) .fm-contact-map .fm-external-placeholder { min-height:0!important; padding:24px!important; }

@media(max-width:1100px) {
  body.fm-premium:not(.fm-inner-page) .reviews { grid-template-columns:1fr!important; gap:28px!important; }
  body.fm-premium:not(.fm-inner-page) .rating-card { max-width:680px; }
  body.fm-premium:not(.fm-inner-page) .review-actions { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:900px) {
  body.fm-premium:not(.fm-inner-page) .services-grid { grid-template-columns:1fr!important; gap:28px!important; }
  body.fm-premium:not(.fm-inner-page) .service-visual { aspect-ratio:16/9; }
  body.fm-premium:not(.fm-inner-page) .service-cards { grid-template-columns:repeat(2,minmax(0,1fr))!important; column-gap:28px!important; }
  body.fm-premium:not(.fm-inner-page) .service-card:nth-child(2) { padding-top:0!important; }
  body.fm-premium:not(.fm-inner-page) :is(.review-grid > .fm-review-list,.fm-more-reviews[open] > .fm-review-list) { grid-template-columns:1fr; }
  body.fm-premium:not(.fm-inner-page) .review-head { flex-direction:row; justify-content:space-between; align-items:baseline; gap:18px; }
}
@media(max-width:600px) {
  body.fm-premium:not(.fm-inner-page) .service-visual { aspect-ratio:4/3; }
  body.fm-premium:not(.fm-inner-page) .service-copy { padding-top:20px; }
  body.fm-premium:not(.fm-inner-page) .service-copy h3 { font-size:25px!important; }
  body.fm-premium:not(.fm-inner-page) .service-copy .included { gap:8px 16px!important; margin-top:16px!important; }
  body.fm-premium:not(.fm-inner-page) .service-cards { grid-template-columns:minmax(0,1fr)!important; gap:0!important; }
  body.fm-premium:not(.fm-inner-page) .service-card { padding:20px 0!important; }
  body.fm-premium:not(.fm-inner-page) .service-card:nth-child(2) { padding-top:20px!important; }
  body.fm-premium:not(.fm-inner-page) .service-card h3 { font-size:23px!important; }
  body.fm-premium:not(.fm-inner-page) .service-flow-panel { padding:18px!important; }
  body.fm-premium:not(.fm-inner-page) .service-flow-stages { gap:8px!important; }
  body.fm-premium:not(.fm-inner-page) .service-flow-stages b { font-size:11px!important; }
  body.fm-premium:not(.fm-inner-page) .custom-service { padding:22px!important; }
  body.fm-premium:not(.fm-inner-page) .rating-card h2 { font-size:25px!important; }
  body.fm-premium:not(.fm-inner-page) .review-card { gap:16px!important; }
  body.fm-premium:not(.fm-inner-page) .review-head { flex-direction:column; gap:8px; }
  body.fm-premium:not(.fm-inner-page) .review-card h3 { font-size:21px!important; }
  body.fm-premium:not(.fm-inner-page) .review-row p { font-size:15px!important; }
  body.fm-premium:not(.fm-inner-page) .review-row p.quote { font-size:16px!important; }
  body.fm-premium:not(.fm-inner-page) .review-actions { grid-template-columns:1fr; }
  body.fm-premium:not(.fm-inner-page) :is(.fm-more-reviews,.fm-demo-panel) > summary { gap:18px; font-size:15px; }
  body.fm-premium:not(.fm-inner-page) .fm-demo-panel > .dashboard { padding:20px!important; }
  body.fm-premium:not(.fm-inner-page) .fm-demo-panel .dash-shell { grid-template-columns:1fr!important; gap:20px!important; }
  body.fm-premium:not(.fm-inner-page) .fm-contact-map { margin-top:24px; }
  body.fm-premium:not(.fm-inner-page) .fm-contact-map .map-card { height:240px!important; min-height:240px!important; }
}
