/* LFM site CSS. Design responsive rules (from the design runtime) plus page-level resets. */
@media (max-width: 999px){
  [data-r-sticky]{position:static!important;top:auto!important}
  [data-r-heroveil]{background:linear-gradient(180deg,rgba(255,255,255,.93) 0%,rgba(255,255,255,.88) 65%,rgba(255,255,255,.78) 100%)!important}
}
@media (max-width: 600px){
  [data-r-pgrid="grid"]{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  [data-r-pgrid="grid"] h3,[data-r-pgrid="grid"] h4{font-size:14px!important;line-height:19px!important;overflow-wrap:anywhere}
  [data-r-hide-sm]{display:none!important}
  [data-r-inl]{left:12px!important}
  [data-r-inr]{right:12px!important}
  [data-r-stats3]>div{padding-left:10px!important;padding-right:10px!important}
  [data-r-stats3]>div:first-child{padding-left:0!important}
  [data-r-stats3]>div>span:first-child{font-size:21px!important}
  [data-r-stats3]>div>span:last-child{font-size:12px!important;line-height:16px!important}
}
img{max-width:100%}
body.lfm-design{margin:0;overflow-x:hidden}
body.lfm-design main.lfm-page{display:block;width:100%}
/* ScrollTrigger needs instant scrolling: Elementor's `html{scroll-behavior:smooth}` makes its refresh measure
 * at the wrong scroll position (pinned sections got negative starts after reload / scroll restore). */
html{scroll-behavior:auto!important}

/* Consult "Deliverables" (Benefits) rail */
section[data-cs="benefits"] [data-cs-pin]>div:first-child{flex-direction:column;align-items:stretch!important;gap:28px!important}
section[data-cs="benefits"] [data-cs-pin]>div:first-child>div:last-child{width:100%;min-width:0!important}
section[data-cs="benefits"] [data-cs-bcard]{justify-content:flex-start!important;gap:40px!important;min-height:0!important}
section[data-cs="benefits"] [data-cs-bcard]>div:last-child p{min-height:75px}
@media (max-width:1023px){section[data-cs="benefits"] [data-cs-bcard]{gap:28px!important;padding:28px!important}}
/* Static grid (reduced motion) */
section[data-cs="benefits"].lfm-cs-grid [data-cs-pin]>div:first-child>div:last-child{display:none!important}
section[data-cs="benefits"].lfm-cs-grid [data-cs-vp]{overflow:visible!important;scroll-snap-type:none!important}
section[data-cs="benefits"].lfm-cs-grid [data-cs-rail]{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));width:auto!important;max-width:1290px;margin:0 auto;padding:0 24px!important;transform:none!important;box-sizing:border-box}
section[data-cs="benefits"].lfm-cs-grid [data-cs-bcard]{width:auto!important}
@media (max-width:1023px){section[data-cs="benefits"].lfm-cs-grid [data-cs-rail]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:639px){section[data-cs="benefits"].lfm-cs-grid [data-cs-rail]{grid-template-columns:minmax(0,1fr)}}
/* ===== Responsive fixes 2026-10-20 (phone <=767, tablet 768-1024). Desktop >=1200 unchanged. ===== */
/* #1 Consultation + AMC "What is included": 1 column on phones (cards span 2 tracks on desktop) */
@media (max-width:767px){
  section[data-cs][data-screen-label="What is included"] div:has(> div.scp2){grid-template-columns:minmax(0,1fr)!important}
  section[data-cs][data-screen-label="What is included"] div:has(> div.scp2) > *{grid-column:auto!important;min-width:0}
}
/* #2 Gallery featured photo: aspect-ratio + min-height forced ~700px width on phones */
@media (max-width:767px){
  section[data-ga] [data-ga-hero]{width:100%;max-width:100%;min-width:0;aspect-ratio:4/3!important;min-height:0!important}
}
/* #3 About numbered photo grid: 2 columns (1 below 480px), first tile full width */
@media (max-width:767px){
  section[data-screen-label="Gallery"] div:has(> figure[data-ab-tile]){grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-rows:200px}
  section[data-screen-label="Gallery"] div:has(> figure[data-ab-tile]) > figure{grid-area:auto!important}
  section[data-screen-label="Gallery"] div:has(> figure[data-ab-tile]) > figure:first-child{grid-column:1 / -1!important}
}
@media (max-width:479px){
  section[data-screen-label="Gallery"] div:has(> figure[data-ab-tile]){grid-template-columns:minmax(0,1fr)!important}
}
/* #4 Contact channels: 2x2 on tablet, numbers/email on one line */
@media (min-width:768px) and (max-width:1024px){
  section[data-screen-label="Contact channels"] div[style*="minmax(min(100%, 190px)"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
section[data-screen-label="Contact channels"] a[href^="tel:"],section[data-screen-label="Contact channels"] a[href^="mailto:"]{white-space:nowrap}
/* #5 Form fields 16px (stops iOS zoom) */
@media (max-width:1024px){
  input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),select,textarea{font-size:16px!important}
}
/* #6 WhatsApp greeting hidden on phones; copyright text keeps clear of the round button without extra bottom space (updated 2026-10-27) */
.lfm-ft__legal:empty{display:none}
@media (max-width:767px){
  .lfm-chat__bubble{display:none!important}
  .lfm-ft__bar-in{padding-right:96px!important}
}
/* #7 Top-bar message hidden where it can't fit */
@media (min-width:1024px) and (max-width:1199px){
  .lfm-top__msg{display:none!important}
}
/* #8 Tap targets: >=24px (44px on phones) without moving anything */
.lfm-top a,main nav a{display:inline-block;padding-top:4px;padding-bottom:4px;margin-top:-4px;margin-bottom:-4px}
@media (max-width:767px){
  .lfm-top a,main nav a{padding-top:14px;padding-bottom:14px;margin-top:-14px;margin-bottom:-14px}
}
/* #9 No labels below 12px */
main [style*="font: 700 11px"],main [style*="font:700 11px"]{font-size:12px!important}
/* #10 Home product cards: 2x2 instead of 3 + lone "See all" (tablet / small laptop) */
@media (min-width:768px) and (max-width:1199px){
  section[data-screen-label="Product categories"] div:has(> a.scp8){grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
/* #11 Single product card full width; category hero image fills its box */
@media (max-width:767px){[data-r-pgrid]:has(> :only-child){grid-template-columns:minmax(0,1fr)!important}}
@media (max-width:1024px){
  section[data-screen-label="Category hero"] img[style*="inset: 6%"]{inset:0!important;width:100%!important;height:100%!important}
}
/* #12 Gallery: 2 photos per row on tablet */
@media (min-width:768px) and (max-width:1024px){
  section[data-screen-label="Photo gallery"] div[style*="minmax(min(100%, 340px)"]{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:32px 24px!important}
}/* Phones: long design-system buttons wrap instead of running past the edge */
@media (max-width:767px){
  main a[style*="white-space: nowrap"][style*="--font-heading"],main button[style*="white-space: nowrap"][style*="--font-heading"]{white-space:normal!important;max-width:100%;text-align:center}
}
/* #13 Home "About stats": 4 columns on desktop, 2x2 on tablet and phone (2026-10-27) */
section[data-screen-label="About stats (home)"] > div{grid-template-columns:repeat(4,minmax(0,1fr))!important}
@media (max-width:1024px){
  section[data-screen-label="About stats (home)"] > div{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:36px 24px!important}
}
@media (max-width:767px){
  section[data-screen-label="About stats (home)"]{padding:48px 0!important}
  section[data-screen-label="About stats (home)"] > div{gap:32px 16px!important;padding:0 16px!important}
  section[data-screen-label="About stats (home)"] > div > div > div > div:first-child{font-size:clamp(34px,10vw,48px)!important}
  section[data-screen-label="About stats (home)"] > div > div > div > div:last-child{font-size:14px!important;line-height:1.4!important;overflow-wrap:anywhere}
}
/* #14 Home "Trust strip": 4 columns on desktop, 2x2 on tablet and phone (2026-10-27) */
section[data-screen-label="Trust strip"] > div{grid-template-columns:repeat(4,minmax(0,1fr))!important}
section[data-screen-label="Trust strip"] > div > div{min-width:0}
@media (max-width:1024px){
  section[data-screen-label="Trust strip"] > div{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important}
}
@media (max-width:767px){
  section[data-screen-label="Trust strip"] > div{gap:24px 16px!important;padding:0 16px!important}
  section[data-screen-label="Trust strip"] > div > div{flex-direction:column!important;align-items:flex-start!important;gap:10px!important}
  section[data-screen-label="Trust strip"] > div > div > span:last-child{font-size:14px!important;line-height:20px!important;overflow-wrap:anywhere}
}
/* #15 "Request a call back" contact list: icons line up with their headings (2026-10-27).
 * wpautop leaves an empty <p> beside each icon and wraps the text lines in a <p>; neutralise both. */
section[data-screen-label="Request a call back"] div[style*="gap: 18px; align-items: flex-start"]{gap:16px!important;align-items:flex-start!important}
section[data-screen-label="Request a call back"] div[style*="gap: 18px; align-items: flex-start"] > p{display:none!important}
section[data-screen-label="Request a call back"] div[style*="gap: 18px; align-items: flex-start"] > div{flex:1 1 auto;min-width:0;padding-top:15px}
section[data-screen-label="Request a call back"] div[style*="gap: 18px; align-items: flex-start"] > div h4{line-height:26px!important}
section[data-screen-label="Request a call back"] div[style*="gap: 18px; align-items: flex-start"] > div p{margin:0!important;display:flex;flex-direction:column;gap:2px}
section[data-screen-label="Request a call back"] div[style*="gap: 18px; align-items: flex-start"] > div p:empty{display:none!important}
@media (max-width:767px){
  section[data-screen-label="Request a call back"] div[style*="padding: 42px"]{padding:28px 20px!important}
  section[data-screen-label="Request a call back"] div[style*="gap: 18px; align-items: flex-start"] > span:first-child{width:48px!important;height:48px!important;font-size:18px!important}
  section[data-screen-label="Request a call back"] div[style*="gap: 18px; align-items: flex-start"] > div{padding-top:11px}
  section[data-screen-label="Request a call back"] div[style*="gap: 18px; align-items: flex-start"] > div p span{overflow-wrap:anywhere}
}
