/* ==========================================================================
   Saving Faces landing template
   Ported from the approved implants mockup (clients.seopete.co.uk/saving-faces/mockup).
   Every rule is scoped to body.sf-landing, which only exists on posts with the
   "Landing page" template selected, so nothing here can reach another page.

   Sections are core blocks with sf-* class names (Advanced > Additional CSS
   class). The block patterns in /patterns carry the right classes already.
   ========================================================================== */

body.sf-landing{
  --ground:#161b27;
  --panel:#283044;
  --panel-2:#1e2536;
  --text:#f7f7f7;
  --text-2:#d5dde1;
  --muted:#a3bac3;
  --blush:#f0d9d0;
  --blush-deep:#e0ad9a;
  --accent:#e0ac99;
  --accent-hover:#f4bba6;
  --accent-ink:#010101;
  --line:#39435c;
  --line-soft:#2f3950;
  --shadow:0 1px 2px rgba(0,0,0,.35),0 18px 40px -22px rgba(0,0,0,.85);
  --r:6px;
  --gutter:clamp(18px,4cqw,48px);
  --display:"the-seasons",Georgia,"Times New Roman",serif;
  --body:"sweet-sans-pro",-apple-system,"Segoe UI",system-ui,sans-serif;
  background:var(--ground);
}

/* ---- let the sections run edge to edge: drop the theme's container, grid
   gutter and top padding for this template only ---- */
.sf-landing #inner-content{max-width:none;padding:0}
.sf-landing .wpbf-main-grid{margin-left:0}
.sf-landing .wpbf-main-grid > *{padding-left:0}
.sf-landing .wpbf-main{width:100%;max-width:none}
.sf-landing .article-header,.sf-landing .article-footer{display:none}

/* the content column is the container the layout responds to, as in the mockup */
.sf-landing .entry-content{
  container-type:inline-size;container-name:page;
  color:var(--text);font-family:var(--body);font-size:18px;line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
.sf-landing .entry-content *{box-sizing:border-box}

/* ---------- type ---------- */
.sf-landing .sf-sec :where(h1,h2,h3){font-family:var(--display);font-weight:400;margin:0;text-wrap:balance;color:var(--text);padding:0}
.sf-landing .sf-sec h1{font-size:clamp(2rem,4.6cqw + .8rem,3rem);line-height:1.14;letter-spacing:.01em}
.sf-landing .sf-sec h2{font-size:clamp(1.6rem,2.4cqw + .8rem,2.15rem);line-height:1.22;letter-spacing:.01em}
.sf-landing .sf-sec h3{font-size:.96rem;line-height:1.4;text-transform:uppercase;letter-spacing:.06em}
.sf-landing .sf-sec :where(p){margin:0}
.sf-landing .sf-sec a{color:var(--blush);text-decoration:none}
.sf-landing .sf-sec a:hover{color:var(--blush-deep)}
.sf-landing .sf-sec p a{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.sf-landing :focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:3px}

.sf-landing .sf-eyebrow{
  font-family:var(--body);font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;
  color:var(--accent);margin:0 0 14px;
}
.sf-landing .sf-lede{font-size:1.05rem;color:var(--text-2);max-width:64ch}
.sf-landing .sf-small{font-size:.74rem;color:var(--muted);line-height:1.6;letter-spacing:.03em}
.sf-landing .sf-stack,
.sf-landing .sf-stack > .wp-block-group__inner-container{display:flex;flex-direction:column;gap:20px}
.sf-landing .sf-stack p{color:var(--text-2)}
.sf-landing .sf-stack > *{margin:0}
.sf-landing .sf-stack .sf-eyebrow{margin-bottom:-6px !important}

/* ---------- sections ---------- */
/* Flow layout puts a 20px block gap between siblings; the sections set their
   own rhythm, so reset it and size the inner column instead. */
.sf-landing .entry-content > .sf-sec{
  margin:0;max-width:none;width:100%;
  /* 1120px column, centred by padding so narrower children stay left aligned */
  --col-pad:max(var(--gutter),calc((100% - 1120px) / 2));
  padding:clamp(44px,6cqw,88px) var(--col-pad);
}
/* Column and rhythm. Spacing above an element is read from --gap, so a
   component sets its own space (e.g. .sf-options{--gap:32px}) without having
   to out-rank these rules. */
/* The child theme zeroes top/bottom margins on every group and columns
   child with !important (style.css: .wp-block-group > *, .wp-block-columns > *),
   so vertical margins inside landing sections have to be !important to apply. */
.sf-landing .entry-content > .sf-sec > *{margin:var(--gap,20px) 0 0 !important}
.sf-landing .entry-content > .sf-sec > :first-child{margin-top:0 !important}
.sf-landing .entry-content > .sf-sec > .sf-eyebrow + *{margin-top:0 !important}
.sf-landing .entry-content > .sf-sec > .sf-eyebrow{margin-bottom:14px !important}
.sf-landing .sf-sec.sf-tight-top{padding-top:0}
.sf-landing .sf-sec.sf-tight-bottom{padding-bottom:clamp(28px,4cqw,52px)}

/* ---------- buttons ---------- */
.sf-landing .sf-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px !important}
.sf-landing .sf-cta .wp-block-button{margin:0}
.sf-landing .sf-cta .wp-block-button__link,
.sf-landing .sf-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;font-family:var(--body);
  font-size:.84rem;letter-spacing:.1em;text-transform:uppercase;padding:16px 26px;line-height:1.2;
  border-radius:var(--r);border:1px solid transparent;cursor:pointer;text-decoration:none;
  background:var(--accent);color:var(--accent-ink);
  transition:background .18s ease,color .18s ease,border-color .18s ease;
}
.sf-landing .sf-cta .wp-block-button__link:hover,
.sf-landing .sf-btn-primary:hover{background:var(--accent-hover);color:var(--accent-ink)}
.sf-landing .sf-cta .sf-btn-ghost .wp-block-button__link,
.sf-landing .sf-btn-ghost{border-color:var(--muted);color:var(--text);background:transparent}
.sf-landing .sf-cta .sf-btn-ghost .wp-block-button__link:hover,
.sf-landing .sf-btn-ghost:hover{border-color:var(--blush);color:var(--blush);background:transparent}

/* ---------- images ---------- */
.sf-landing .sf-shot{
  position:relative;border-radius:var(--r);overflow:hidden;background:var(--panel);
  border:1px solid var(--line-soft);aspect-ratio:4/5;margin:0;
}
.sf-landing .sf-shot img{width:100%;height:100%;object-fit:cover;display:block;max-width:none}

/* ==========================================================================
   HERO: full bleed photo sitting behind the transparent nav.
   --sf-navh is set by landing.js from the real header (0 when the header is
   not transparent, which is the case on phones).
   ========================================================================== */
.sf-landing .entry-content > .sf-hero{
  position:relative;overflow:hidden;background:var(--panel-2);
  padding-top:calc(var(--sf-navh,122px) + clamp(48px,7cqw,104px));
  padding-bottom:clamp(40px,6cqw,88px);
}
.sf-landing .sf-hero > .sf-hero-bg{position:absolute;inset:0;z-index:0;margin:0;max-width:none}
.sf-landing .sf-hero-bg img{width:100%;height:100%;object-fit:cover;object-position:74% 42%;display:block;max-width:none}
.sf-landing .sf-hero-bg::after{
  content:"";position:absolute;inset:0;
  background:
    linear-gradient(180deg,rgba(22,27,39,.72) 0%,rgba(22,27,39,.40) 36%,rgba(22,27,39,.66) 80%,var(--ground) 100%),
    linear-gradient(90deg,rgba(22,27,39,.90) 0%,rgba(22,27,39,.74) 34%,rgba(22,27,39,.22) 68%,rgba(22,27,39,.10) 100%);
}
.sf-landing .sf-hero > .sf-hero-in{position:relative;z-index:2;display:grid;gap:32px;grid-template-columns:1fr;margin-top:0}
.sf-landing .sf-hero-in > *{margin:0}
@container page (min-width:900px){
  .sf-landing .sf-hero > .sf-hero-in{grid-template-columns:1.08fr .92fr;align-items:end;gap:clamp(28px,4cqw,56px)}
  .sf-landing .sf-hero-in > .sf-price-card{justify-self:start}
}
.sf-landing .sf-hero h1 .sf-loc{
  display:block;font-family:var(--body);font-size:.72rem;letter-spacing:.3em;
  text-transform:uppercase;color:var(--blush);margin-bottom:18px;
}
.sf-landing .sf-hero .sf-lede{font-size:1.08rem;margin-top:20px !important;color:#e8eef0}
.sf-landing .sf-trust{
  display:flex;flex-wrap:wrap;gap:10px 24px;margin:28px 0 0 !important;padding:22px 0 0;list-style:none;
  border-top:1px solid rgba(247,247,247,.22);font-size:.74rem;color:#c3ced3;
  letter-spacing:.1em;text-transform:uppercase;
}
.sf-landing .sf-trust li{margin:0;padding:0}
.sf-landing .sf-trust strong{color:var(--blush);font-weight:400}
.sf-landing .sf-price-card{
  background:rgba(22,27,39,.82);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  border:1px solid var(--line);border-radius:var(--r);padding:18px 20px;
  display:flex;align-items:center;gap:16px;
}
.sf-landing .sf-price-card > *{margin:0}
.sf-landing .sf-fig{
  font-family:var(--display);font-size:2rem;line-height:1;color:var(--blush);
  font-variant-numeric:tabular-nums;white-space:nowrap;
}
.sf-landing .sf-price-card .sf-cap{font-size:.72rem;color:var(--muted);line-height:1.5;letter-spacing:.03em}

/* On a phone the copy would sit over the whole photo and bury the treatment
   shot, so below 900 the hero stacks: copy, price, then the photo. */
@container page (max-width:899px){
  .sf-landing .entry-content > .sf-hero{
    display:flex;flex-direction:column;gap:clamp(24px,5cqw,34px);
    overflow:visible;padding-bottom:clamp(30px,6cqw,52px);
  }
  .sf-landing .sf-hero > .sf-hero-in{order:1;display:block;width:100%}
  .sf-landing .sf-hero > .sf-hero-bg{
    position:relative;order:2;aspect-ratio:4/3;border-radius:var(--r);
    overflow:hidden;border:1px solid var(--line-soft);width:100%;margin:0;
  }
  .sf-landing .sf-hero-bg::after{background:linear-gradient(180deg,rgba(22,27,39,0) 45%,rgba(22,27,39,.30) 100%)}
  .sf-landing .sf-hero .sf-price-card{margin-top:26px !important}
}

/* ==========================================================================
   Icons. Line drawings from the mockup, applied with a class on the card so
   editors pick an icon without touching SVG. Colour comes from the accent.
   ========================================================================== */
.sf-landing [class*="sf-ico-"]::before{
  content:"";display:block;flex:none;background:var(--accent);
  -webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat;
}
.sf-landing .sf-ico-single{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='16' y='6' width='16' height='21' rx='6'/%3E%3Cpath d='M7 30h34'/%3E%3Cpath d='M20.8 33.0 h6.4 l-1.3 9.2 c-.2 1.7 -3.6 1.7 -3.8 0 z'/%3E%3Cpath d='M21.4 36.2 h5.2'/%3E%3Cpath d='M21.8 39.2 h4.5'/%3E%3Cpath d='M22.1 42.2 h3.8'/%3E%3C/svg%3E")}
.sf-landing .sf-ico-several{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='9' width='11' height='17' rx='4.5'/%3E%3Crect x='18.5' y='7' width='11' height='19' rx='4.5'/%3E%3Crect x='32' y='9' width='11' height='17' rx='4.5'/%3E%3Cpath d='M4 29h40'/%3E%3Cpath d='M7.3 32.0 h6.4 l-1.3 8.4 c-.2 1.7 -3.6 1.7 -3.8 0 z'/%3E%3Cpath d='M7.9 35.2 h5.2'/%3E%3Cpath d='M8.2 38.2 h4.5'/%3E%3Cpath d='M8.6 41.2 h3.8'/%3E%3Cpath d='M34.3 32.0 h6.4 l-1.3 8.4 c-.2 1.7 -3.6 1.7 -3.8 0 z'/%3E%3Cpath d='M34.9 35.2 h5.2'/%3E%3Cpath d='M35.2 38.2 h4.5'/%3E%3Cpath d='M35.6 41.2 h3.8'/%3E%3C/svg%3E")}
.sf-landing .sf-ico-arch{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 9c0 21 6.4 32 16 32s16-11 16-32h-6.6c0 17-3.4 25.4-9.4 25.4S14.6 26 14.6 9z'/%3E%3Cpath d='M8 16h6.6M8.7 23h6.2M11.2 30l6-1.4M16.4 37l4.2-4.6M24 41v-6.6M31.6 37l-4.2-4.6M36.8 30l-6-1.4M39.3 23h-6.2M40 16h-6.6'/%3E%3C/svg%3E")}
.sf-landing .sf-ico-four{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 14h36'/%3E%3Cpath d='M7 18h6l-1 16q-2 4 -4 0z'/%3E%3Cpath d='M7.5 23h5M7.5 28h5'/%3E%3Cpath d='M16.3 18h6l-1 16q-2 4 -4 0z'/%3E%3Cpath d='M16.8 23h5M16.8 28h5'/%3E%3Cpath d='M25.6 18h6l-1 16q-2 4 -4 0z'/%3E%3Cpath d='M26.1 23h5M26.1 28h5'/%3E%3Cpath d='M35 18h6l-1 16q-2 4 -4 0z'/%3E%3Cpath d='M35.5 23h5M35.5 28h5'/%3E%3C/svg%3E")}
.sf-landing .sf-ico-heart{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 42s-14-8.4-14-19a8 8 0 0 1 14-5.3A8 8 0 0 1 38 23c0 10.6-14 19-14 19z'/%3E%3C/svg%3E")}
.sf-landing .sf-ico-tooth{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 12c0-4 3.5-6 7-5 2.5.8 5.5.8 8 0 3.5-1 7 1 7 5l-.8 10c-.4 6-1.8 13-3.7 18-.6 1.6-2.4 1.5-2.7-.3L26.5 31h-5l-1.3 8.7c-.3 1.8-2.1 1.9-2.7.3-1.9-5-3.3-12-3.7-18z'/%3E%3C/svg%3E")}
.sf-landing .sf-ico-shield{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 6l14 6v11c0 9-6 15.5-14 19-8-3.5-14-10-14-19V12z'/%3E%3Cpath d='M18 24l4.5 4.5L31 20'/%3E%3C/svg%3E")}
.sf-landing .sf-ico-smile{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 14s1.5 2 4 2 4-2 4-2M9 9.5h.01M15 9.5h.01'/%3E%3C/svg%3E")}
.sf-landing .sf-ico-gum{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 17c0-5 3-9 8-9s8 4 8 9'/%3E%3Cpath d='M8 17v-3M12 17v-5M16 17v-3'/%3E%3C/svg%3E")}

/* ---------- options strip ---------- */
.sf-landing .sf-options{display:grid;gap:16px;grid-template-columns:1fr;--gap:32px}
@container page (min-width:720px){.sf-landing .sf-options{grid-template-columns:repeat(3,1fr)}}
.sf-landing .sf-option{
  background:var(--panel);border:1px solid var(--line-soft);border-radius:var(--r);
  padding:22px 20px 24px;display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;
  transition:border-color .2s ease;margin:0;
}
.sf-landing .sf-option > *{margin:0}
.sf-landing .sf-option:hover{border-color:var(--blush-deep)}
.sf-landing .sf-option::before{width:80px;height:80px;margin-block:6px 2px}
.sf-landing .sf-option h3{color:var(--blush)}
.sf-landing .sf-n{font-size:.68rem;letter-spacing:.18em;text-transform:uppercase;color:var(--muted)}

/* ---------- bands (copy beside a photo) ---------- */
.sf-landing .sf-band{display:grid;gap:clamp(24px,4cqw,52px);align-items:center;grid-template-columns:1fr}
.sf-landing .sf-band > .wp-block-column{margin:0;min-width:0}
@container page (min-width:900px){
  .sf-landing .sf-band{grid-template-columns:1fr 1fr;align-items:stretch}
  .sf-landing .sf-band.sf-flip > .wp-block-column:last-child{order:-1}
  /* portrait source photos: let the image take the height of the copy */
  .sf-landing .sf-band .sf-shot{aspect-ratio:auto;min-height:360px;height:100%}
}

/* ---------- full arch ---------- */
.sf-landing .sf-fa-top{display:grid;gap:clamp(24px,4cqw,52px);grid-template-columns:1fr;align-items:center}
.sf-landing .sf-fa-top > .wp-block-column{margin:0;min-width:0}
.sf-landing .sf-fa-top .sf-stack p{max-width:72ch}
.sf-landing .sf-shot.sf-wide{aspect-ratio:3/2;background:#000}
@container page (min-width:900px){.sf-landing .sf-fa-top{grid-template-columns:1.05fr .95fr}}
.sf-landing .sf-pull{
  --gap:clamp(36px,5cqw,64px);font-family:var(--display);font-size:clamp(1.35rem,1.8cqw + .8rem,1.85rem);line-height:1.35;
  color:var(--blush);text-wrap:balance;
  padding-top:clamp(28px,3cqw,40px);border-top:1px solid var(--line-soft);
}
.sf-landing .sf-sub{color:var(--text-2);--gap:14px}
.sf-landing .sf-points{display:grid;gap:22px;grid-template-columns:1fr;--gap:30px}
.sf-landing .sf-point{display:grid;grid-template-columns:64px 1fr;column-gap:18px;align-items:start;margin:0}
.sf-landing .sf-point > *{grid-column:2;margin:0}
.sf-landing .sf-point::before{
  grid-column:1;grid-row:1 / span 2;width:64px;height:64px;border-radius:50%;
  border:1px solid var(--blush-deep);background:none;-webkit-mask:none;mask:none;
}
/* the circle is the border; the icon sits inside it on a second layer */
.sf-landing .sf-point{position:relative}
.sf-landing .sf-point::after{
  content:"";position:absolute;left:15px;top:15px;width:34px;height:34px;background:var(--accent);
  -webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat;
}
.sf-landing .sf-point h3{color:var(--blush);margin:4px 0 6px !important}
.sf-landing .sf-point p{font-size:.88rem;color:var(--text-2)}
@container page (min-width:640px){.sf-landing .sf-points{grid-template-columns:1fr 1fr;gap:26px 32px}}
@container page (min-width:1040px){
  .sf-landing .sf-points{grid-template-columns:repeat(4,1fr);gap:0}
  .sf-landing .sf-point{grid-template-columns:1fr;row-gap:0;padding-inline:24px;border-left:1px solid var(--line-soft)}
  .sf-landing .sf-point > *{grid-column:1}
  .sf-landing .sf-point::before{grid-row:auto;margin-bottom:14px}
  .sf-landing .sf-point::after{left:39px}
  .sf-landing .sf-point:first-child{padding-left:0;border-left:0}
  .sf-landing .sf-point:first-child::after{left:15px}
}
.sf-landing .sf-panel{
  display:grid;gap:clamp(22px,3.5cqw,44px);grid-template-columns:1fr;align-items:center;
  background:var(--panel);border:1px solid var(--line-soft);border-radius:var(--r);
  padding:clamp(16px,2.4cqw,28px);
}
.sf-landing .sf-panel{--gap:clamp(40px,5cqw,64px)}
.sf-landing .sf-panel > .wp-block-column{margin:0;min-width:0}
.sf-landing .sf-panel .sf-shot{aspect-ratio:3/2}
@container page (min-width:900px){.sf-landing .sf-panel{grid-template-columns:.9fr 1.1fr}}

/* ---------- before / after (landing.js builds the handle) ---------- */
.sf-landing .sf-ba{
  position:relative;border-radius:var(--r);overflow:hidden;border:1px solid var(--line);
  background:var(--panel);aspect-ratio:var(--ba-ratio,1600/432);touch-action:pan-y;user-select:none;--split:50%;
  --gap:30px;
}
.sf-landing .sf-ba > figure{position:absolute;inset:0;margin:0;max-width:none}
.sf-landing .sf-ba > figure img{width:100%;height:100%;object-fit:cover;display:block;max-width:none}
.sf-landing .sf-ba > figure:nth-of-type(2){clip-path:inset(0 0 0 var(--split))}
/* before the script runs (or if it fails) show the two images stacked */
.sf-landing .sf-ba:not(.is-ready){aspect-ratio:auto;display:grid;gap:2px}
.sf-landing .sf-ba:not(.is-ready) > figure{position:static;clip-path:none}
.sf-landing .sf-ba-chip{
  position:absolute;top:14px;z-index:4;font-family:var(--body);font-size:.62rem;
  letter-spacing:.24em;text-transform:uppercase;padding:8px 14px;border-radius:99px;
}
.sf-landing .sf-ba-chip-b{left:14px;background:rgba(22,27,39,.85);color:var(--muted);border:1px solid var(--line)}
.sf-landing .sf-ba-chip-a{right:14px;background:var(--blush);color:var(--accent-ink)}
.sf-landing .sf-ba-bar{
  position:absolute;top:0;bottom:0;left:var(--split);width:2px;background:var(--blush);
  z-index:5;pointer-events:none;transform:translateX(-1px);
}
.sf-landing .sf-ba-knob{
  position:absolute;top:50%;left:var(--split);z-index:6;width:44px;height:44px;
  margin:-22px 0 0 -22px;border-radius:50%;background:var(--blush);color:var(--accent-ink);
  display:grid;place-items:center;pointer-events:none;box-shadow:var(--shadow);font-size:.72rem;
}
.sf-landing .sf-ba-range{
  position:absolute;inset:0;z-index:7;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize;
  -webkit-appearance:none;appearance:none;
}
.sf-landing .sf-ba-range:focus-visible ~ .sf-ba-bar{box-shadow:0 0 0 3px var(--accent)}

/* ---------- benefit cards ---------- */
.sf-landing .sf-cards{display:grid;gap:16px;grid-template-columns:1fr;--gap:34px}
@container page (min-width:640px){.sf-landing .sf-cards{grid-template-columns:1fr 1fr}}
@container page (min-width:1040px){.sf-landing .sf-cards{grid-template-columns:repeat(4,1fr)}}
.sf-landing .sf-card{
  background:var(--panel);border:1px solid var(--line-soft);border-radius:var(--r);
  padding:26px 22px;display:flex;flex-direction:column;gap:12px;margin:0;
}
.sf-landing .sf-card > *{margin:0}
.sf-landing .sf-card::before{width:32px;height:32px}
.sf-landing .sf-card p{font-size:.88rem;color:var(--text-2)}
.sf-landing .sf-card h3{color:var(--blush)}

/* ---------- process: blush band, numbered rail ---------- */
.sf-landing .entry-content > .sf-process{background:var(--blush);color:var(--accent-ink)}
.sf-landing .sf-process :is(h2,h3){color:var(--accent-ink)}
/* #633b2d not #8a5c48: 7.0:1 on the blush ground. Do not lighten. */
.sf-landing .sf-process .sf-eyebrow{color:#633b2d}
.sf-landing .sf-steps{display:grid;gap:0;grid-template-columns:1fr;--gap:40px;counter-reset:sfstep}
.sf-landing .sf-step{
  position:relative;display:grid;align-content:start;grid-template-columns:48px 1fr;
  column-gap:18px;row-gap:10px;padding-bottom:36px;margin:0;counter-increment:sfstep;
}
.sf-landing .sf-step > *{grid-column:2;margin:0;min-width:0}
.sf-landing .sf-step::before{
  content:"0" counter(sfstep);grid-column:1;grid-row:1;
  width:48px;height:48px;border-radius:50%;display:grid;place-items:center;
  background:#633b2d;color:var(--blush);font-family:var(--display);font-size:1.15rem;
  font-variant-numeric:lining-nums tabular-nums;position:relative;z-index:1;
}
.sf-landing .sf-step::after{content:"";position:absolute;left:23px;top:48px;bottom:0;width:2px;background:rgba(99,59,45,.28)}
.sf-landing .sf-step:last-child{padding-bottom:0}
.sf-landing .sf-step:last-child::after{display:none}
.sf-landing .sf-step-art{margin-bottom:4px !important}
.sf-landing .sf-step-art svg{display:block;width:100%;height:auto}
.sf-landing .sf-step .sf-num{font-size:.68rem;letter-spacing:.22em;text-transform:uppercase;color:#633b2d}
.sf-landing .sf-step p{color:#3a3733;font-size:.92rem}
@container page (min-width:820px){
  .sf-landing .sf-steps{grid-template-columns:repeat(3,1fr);column-gap:28px;--gap:48px}
  .sf-landing .sf-step{grid-template-columns:1fr;row-gap:10px;padding-bottom:0}
  .sf-landing .sf-step > *{grid-column:1}
  .sf-landing .sf-step::before{margin-bottom:12px}
  .sf-landing .sf-step::after{left:48px;right:-28px;top:23px;bottom:auto;width:auto;height:2px}
}

/* ---------- finance ---------- */
.sf-landing .sf-finance{
  background:var(--panel);border:1px solid var(--line-soft);border-radius:var(--r);
  padding:clamp(24px,4cqw,52px);display:grid;gap:30px;grid-template-columns:1fr;align-items:center;
}
.sf-landing .sf-finance > .wp-block-column{margin:0;min-width:0}
@container page (min-width:880px){.sf-landing .sf-finance{grid-template-columns:1.15fr .85fr}}
.sf-landing .sf-fin-fig{
  font-family:var(--display);font-size:clamp(2.8rem,6cqw,4.2rem);line-height:1;
  color:var(--blush);font-variant-numeric:tabular-nums;
}
.sf-landing .sf-finance .sf-cta{margin-top:8px !important}

/* ---------- reviews ---------- */
.sf-landing .sf-google{display:inline-flex;align-items:center;gap:9px}
.sf-landing .sf-google::before,
.sf-landing .sf-quote::after{
  content:"";width:15px;height:15px;flex:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23FFC107' d='M43.6 20.1H42V20H24v8h11.3C33.7 32.7 29.2 36 24 36c-6.6 0-12-5.4-12-12s5.4-12 12-12c3.1 0 5.8 1.2 7.9 3.1l5.7-5.7C34 6.1 29.3 4 24 4 13 4 4 13 4 24s9 20 20 20 20-9 20-20c0-1.3-.1-2.6-.4-3.9z'/%3E%3Cpath fill='%23FF3D00' d='M6.3 14.7l6.6 4.8C14.7 15.1 19 12 24 12c3.1 0 5.8 1.2 7.9 3.1l5.7-5.7C34 6.1 29.3 4 24 4 16.3 4 9.7 8.3 6.3 14.7z'/%3E%3Cpath fill='%234CAF50' d='M24 44c5.2 0 9.9-2 13.4-5.2l-6.2-5.2C29.2 35.1 26.7 36 24 36c-5.2 0-9.6-3.3-11.3-8l-6.5 5C9.5 39.6 16.2 44 24 44z'/%3E%3Cpath fill='%231976D2' d='M43.6 20.1H42V20H24v8h11.3c-.8 2.2-2.2 4.2-4.1 5.6l6.2 5.2C37 39.2 44 34 44 24c0-1.3-.1-2.6-.4-3.9z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.sf-landing .sf-rail{
  display:flex;gap:16px;overflow-x:auto;padding:6px 0 26px;scroll-snap-type:x mandatory;--gap:28px;
}
.sf-landing .sf-rail::-webkit-scrollbar{height:5px}
.sf-landing .sf-rail::-webkit-scrollbar-thumb{background:var(--line);border-radius:99px}
.sf-landing .sf-quote{
  position:relative;flex:0 0 min(340px,82cqw);scroll-snap-align:start;background:var(--panel);
  border:1px solid var(--line-soft);border-radius:var(--r);padding:24px 22px;
  display:flex;flex-direction:column;gap:14px;margin:0;
}
.sf-landing .sf-quote > *{margin:0}
/* five stars top left, Google mark top right */
.sf-landing .sf-quote::before{content:"\2605\2605\2605\2605\2605";color:var(--accent);font-size:.8rem;letter-spacing:.2em;line-height:17px}
.sf-landing .sf-quote::after{position:absolute;right:22px;top:25px;width:17px;height:17px}
.sf-landing .sf-quote p{font-size:.9rem;color:var(--text-2)}
.sf-landing .sf-quote .sf-who{margin-top:auto !important;font-size:.82rem;color:var(--text)}
.sf-landing .sf-quote .sf-who + .sf-when{margin-top:-12px !important;color:var(--muted);font-size:.72rem;letter-spacing:.06em}

/* ---------- FAQ: Rank Math block kept for its schema, restyled ---------- */
.sf-landing .sf-faq .rank-math-block{--gap:30px;max-width:840px;border-top:1px solid var(--line-soft)}
.sf-landing .sf-faq .rank-math-list-item{border-bottom:1px solid var(--line-soft);margin:0;padding:0;background:none}
.sf-landing .sf-faq .rank-math-question{
  cursor:pointer;margin:0;padding:20px 44px 20px 0;position:relative;
  font-family:var(--body);font-size:.98rem;line-height:1.5;color:var(--text);
  text-transform:none;letter-spacing:0;background:none;border:0;
}
.sf-landing .sf-faq .rank-math-question:hover{color:var(--blush)}
/* the theme draws its own + marker; the chevron below replaces it */
.sf-landing .sf-faq .rank-math-question::before{content:none;display:none}
.sf-landing .sf-faq .rank-math-question::after{
  content:"";position:absolute;right:10px;top:50%;width:9px;height:9px;
  border-right:1.5px solid var(--accent);border-bottom:1.5px solid var(--accent);
  transform:translateY(-70%) rotate(45deg);transition:transform .2s ease;background:none;
}
.sf-landing .sf-faq .rank-math-question.active::after{transform:translateY(-30%) rotate(225deg)}
.sf-landing .sf-faq .rank-math-answer{color:var(--text-2);font-size:.92rem;max-width:68ch;padding:0 0 22px}
.sf-landing .sf-faq .rank-math-answer:not(.active){display:none}
.sf-landing .sf-faq .rank-math-answer p{margin:0}

/* ---------- contact custom section (site wide, restyled here only) ---------- */
.sf-landing .wpbf-custom-section-contact > .dh-row{
  background-image:none !important;background-color:var(--panel-2);
  border-top:1px solid var(--line-soft);padding:clamp(44px,6cqw,88px) var(--gutter);
  margin:0;max-width:none;width:100%;
}
.sf-landing .wpbf-custom-section-contact .overlay{display:none}
.sf-landing .wpbf-custom-section-contact .acf-innerblocks-container{
  max-width:640px;margin-inline:auto;background:var(--ground);border:1px solid var(--line);
  border-radius:var(--r);padding:clamp(22px,3cqw,34px);
}
.sf-landing .wpbf-custom-section-contact h2{
  font-family:var(--display);font-weight:400;font-size:clamp(1.6rem,2.4cqw + .8rem,2.15rem);
  line-height:1.22;color:var(--text);text-align:left;margin:0 0 8px;
}
.sf-landing .wpbf-custom-section-contact .gform_wrapper label,
.sf-landing .wpbf-custom-section-contact .gform_wrapper .gfield_label{
  font-family:var(--body);font-size:.68rem;letter-spacing:.18em;text-transform:uppercase;
  color:var(--muted);font-weight:400;
}
.sf-landing .wpbf-custom-section-contact .gform_wrapper :is(input[type=text],input[type=tel],input[type=email],textarea,select){
  font-family:var(--body);font-size:1rem;color:var(--text);background:var(--panel);
  border:1px solid var(--line);border-radius:var(--r);padding:13px 14px;
}
.sf-landing .wpbf-custom-section-contact .gform_wrapper :is(input,textarea,select):focus{border-color:var(--accent);outline:none}
.sf-landing .wpbf-custom-section-contact .gform_button{
  font-family:var(--body);font-size:.84rem;letter-spacing:.1em;text-transform:uppercase;
  padding:16px 26px;border-radius:var(--r);border:0;background:var(--accent);color:var(--accent-ink);cursor:pointer;
}
.sf-landing .wpbf-custom-section-contact .gform_button:hover{background:var(--accent-hover)}
.sf-landing .wpbf-custom-section-contact p{font-size:.74rem;color:var(--muted);letter-spacing:.03em}

/* ---------- accreditation logos (existing Logos block) ---------- */
.sf-landing .sf-accred{background:var(--ground);border-top:1px solid var(--line-soft)}
.sf-landing .entry-content > .sf-accred{padding-block:clamp(28px,4cqw,44px)}
.sf-landing .sf-accred .logos-block{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px}
.sf-landing .sf-accred .logo-image{
  background:#f7f7f7;border-radius:var(--r);padding:12px 18px;margin:0;
  display:grid;place-items:center;height:62px;width:auto;flex:0 0 auto;
}
.sf-landing .sf-accred .logo-image img{max-height:38px;width:auto;max-width:130px;object-fit:contain;display:block}

/* ---------- sticky call bar on phones ---------- */
.sf-mobile-cta{display:none}
body.sf-landing .sf-mobile-cta{
  position:sticky;bottom:0;z-index:45;display:flex;gap:10px;
  padding:10px 14px;background:rgba(22,27,39,.96);border-top:1px solid var(--line);
}
.sf-landing .sf-mobile-cta .sf-btn{flex:1;padding:15px 8px;font-size:.72rem}
/* lift the site's WhatsApp button clear of the bar on phones; the plugin
   positions it with an inline style, hence !important */
@media (max-width:759px){body.sf-landing #whatsapp-float-button{bottom:84px !important}}
@media (min-width:760px){body.sf-landing .sf-mobile-cta{display:none}}

@media (prefers-reduced-motion:reduce){.sf-landing *{transition:none !important;animation:none !important}}

/* ---------- password-protected landing pages (review links) ---------- */
.sf-landing .post-password-form{
  max-width:460px;margin:calc(var(--sf-navh,122px) + clamp(48px,7vw,104px)) auto clamp(64px,8vw,120px);
  padding:clamp(24px,3vw,36px);background:var(--panel);border:1px solid var(--line);border-radius:var(--r);
  color:var(--text-2);font-family:var(--body);font-size:.95rem;line-height:1.6;
}
.sf-landing .post-password-form p{margin:0}
.sf-landing .post-password-form p:empty{display:none}
.sf-landing .post-password-form p + p{margin-top:18px}
.sf-landing .post-password-form label{
  display:flex;flex-direction:column;gap:7px;font-size:.68rem;letter-spacing:.18em;
  text-transform:uppercase;color:var(--muted);
}
.sf-landing .post-password-form input[type=password]{
  width:100%;font-family:var(--body);font-size:1rem;letter-spacing:normal;text-transform:none;color:var(--text);
  background:var(--ground);border:1px solid var(--line);border-radius:var(--r);padding:13px 14px;margin:0;
}
.sf-landing .post-password-form input[type=password]:focus{border-color:var(--accent);outline:none}
.sf-landing .post-password-form input[type=submit]{
  margin-top:14px;font-family:var(--body);font-size:.84rem;letter-spacing:.1em;text-transform:uppercase;
  padding:14px 26px;border-radius:var(--r);border:0;background:var(--accent);color:var(--accent-ink);cursor:pointer;
}
.sf-landing .post-password-form input[type=submit]:hover{background:var(--accent-hover)}
/* the enquiry form belongs to the page, not the password screen */
.sf-landing .post-password-form ~ .wpbf-custom-section-contact{display:none}
