/* MAS UK footer v1 – matches the homepage landing design (scoped to .masFoot) */
footer.masFoot{--ft-ink:#14201c;--ft-text:#3b4742;--ft-muted:#66726d;--ft-line:#e3e8e6;--ft-soft:#f5f8f7;--ft-brand:#0b7a5c;--ft-dark:#0a3a2d;--ft-red:#e5383b;
  position:relative;margin:0;padding:0;background:var(--ft-soft)!important;background-image:none!important;color:var(--ft-text);font-size:15px;line-height:1.6;text-align:left;z-index:1}
footer.masFoot::before,footer.masFoot::after{display:none!important;content:none!important;background:none!important}
footer.masFoot *,footer.masFoot *::before,footer.masFoot *::after{box-sizing:border-box}
footer.masFoot ul{list-style:none;margin:0;padding:0}
footer.masFoot p{margin:0}
footer.masFoot a{text-decoration:none;transition:color .2s}

/* admin-managed CTA strip */
footer.masFoot .ftCtaWrap{padding:40px 0 0}
footer.masFoot .ftCta{background:var(--ft-dark);color:#fff;border-radius:20px;padding:24px 28px}
footer.masFoot .ftCta .form-group{margin:0}
footer.masFoot .ftCta a{color:#fff}

/* blog categories */
footer.masFoot .ftBlogCats{padding:40px 0 0}
footer.masFoot .ftCatList{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
footer.masFoot .ftCatList a{display:inline-block;padding:7px 14px;border:1px solid var(--ft-line);border-radius:999px;background:#fff;font-size:14px;font-weight:600;color:var(--ft-ink)}
footer.masFoot .ftCatList a:hover{border-color:var(--ft-brand);color:var(--ft-brand)}

/* main grid */
footer.masFoot .ftMain{padding:clamp(48px,6vw,72px) 0 clamp(36px,5vw,56px);border-top:1px solid var(--ft-line)}
footer.masFoot .ftCtaWrap + .ftMain,footer.masFoot .ftBlogCats + .ftMain{border-top:0}
footer.masFoot .ftGrid{display:grid;grid-template-columns:minmax(240px,1.4fr) repeat(4,minmax(0,1fr)) minmax(240px,1.2fr);gap:32px}
footer.masFoot .ftHead{font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--ft-brand);margin:0 0 16px}
footer.masFoot .ftCol li{margin:0 0 10px}
footer.masFoot .ftCol a,footer.masFoot .ftLinkBtn{font-size:15px;color:var(--ft-text);cursor:pointer}
footer.masFoot .ftCol a:hover,footer.masFoot .ftLinkBtn:hover{color:var(--ft-brand)}

/* brand column */
footer.masFoot .ftLogo img{height:44px;width:auto;display:block}
footer.masFoot .ftIntro{font-size:14.5px;color:var(--ft-text);margin:16px 0 18px;max-width:320px}
footer.masFoot .ftTrust{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}
footer.masFoot .ftTrust a{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--ft-line);border-radius:10px;padding:8px 10px}
footer.masFoot .ftTrust img{height:20px;width:auto;display:block}
footer.masFoot .ftTrust span{font-size:13px;font-weight:800;color:var(--ft-ink)}
footer.masFoot .ftSocial{display:flex;gap:10px}
footer.masFoot .ftSocial a{width:38px;height:38px;border-radius:50%;background:#fff;border:1px solid var(--ft-line);display:flex;align-items:center;justify-content:center}
footer.masFoot .ftSocial a:hover{border-color:var(--ft-brand)}
footer.masFoot .ftSocial .icon{width:17px;height:17px;fill:var(--ft-ink)}

/* contact column */
footer.masFoot .ftContact{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
footer.masFoot .ftBtn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 22px;border-radius:10px;background:var(--ft-red);color:#fff!important;font-weight:700;box-shadow:0 8px 18px -10px rgba(229,56,59,.7)}
footer.masFoot .ftBtn:hover{background:#c42a2d}
footer.masFoot .ftWa,footer.masFoot .ftMail{font-size:14px;font-weight:600;color:var(--ft-brand)!important;word-break:break-word}
footer.masFoot .ftNote{font-size:13px;color:var(--ft-muted)}

/* bottom bar */
footer.masFoot .ftBottom{background:var(--ft-dark)!important;color:rgba(255,255,255,.78);padding:22px 0 26px;margin:0}
footer.masFoot .ftBottomRow{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.12)}
footer.masFoot .ftBottomRow p{font-size:14px;color:rgba(255,255,255,.85)}
footer.masFoot .ftLegal{display:flex;flex-wrap:wrap;gap:20px}
footer.masFoot .ftLegal a{font-size:14px;color:rgba(255,255,255,.85)}
footer.masFoot .ftLegal a:hover{color:#fff}
footer.masFoot .ftDisclaimer{font-size:12.5px;line-height:1.6;color:rgba(255,255,255,.6);margin-top:14px}
footer.masFoot .ftDisclaimer strong{color:rgba(255,255,255,.85)}

/* focus */
footer.masFoot a:focus-visible,footer.masFoot .ftLinkBtn:focus-visible{outline:3px solid var(--ft-brand);outline-offset:2px;border-radius:6px}

/* responsive */
@media (max-width:1199px){
  footer.masFoot .ftGrid{grid-template-columns:repeat(3,minmax(0,1fr))}
  footer.masFoot .ftBrand{grid-column:1 / -1}
  footer.masFoot .ftIntro{max-width:560px}
}
@media (max-width:767px){
  footer.masFoot .ftGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}
  footer.masFoot .ftContact{grid-column:1 / -1}
  footer.masFoot .ftBottomRow{flex-direction:column;align-items:flex-start}
}

/* ---- v1.1 overrides: neutralise theme footer rules (font-size, line-height, logo, icons) ---- */
footer.masFoot,footer.masFoot p,footer.masFoot li,footer.masFoot a,footer.masFoot span{font-family:inherit}
footer.masFoot .ftGrid{grid-template-columns:minmax(260px,300px) repeat(4,minmax(150px,1fr)) minmax(250px,280px)!important;gap:28px 32px!important}
footer.masFoot .ftHead{font-size:12px!important;line-height:1.4!important;margin:0 0 16px!important;padding:0!important}
footer.masFoot .ftCol li{margin:0 0 9px!important;padding:0!important;line-height:1.45!important;float:none!important;width:auto!important;background:none!important;border:0!important}
footer.masFoot .ftCol li::before,footer.masFoot .ftCol li::after{display:none!important;content:none!important}
footer.masFoot .ftCol a,footer.masFoot .ftLinkBtn{display:inline-block!important;font-size:15px!important;line-height:1.45!important;padding:0!important;margin:0!important;white-space:normal!important}
footer.masFoot .ftLogo{display:inline-block;max-width:240px}
footer.masFoot .ftLogo img{width:220px!important;max-width:100%!important;height:auto!important;display:block}
footer.masFoot .ftIntro{font-size:14.5px!important;line-height:1.6!important}
footer.masFoot .ftTrust li,footer.masFoot .ftSocial li{margin:0!important;padding:0!important;float:none!important}
footer.masFoot .ftSocial a{position:relative;padding:0!important}
footer.masFoot .ftSocial .icon{position:static!important;margin:0!important;width:16px!important;height:16px!important;display:block!important;top:auto!important;left:auto!important;fill:var(--ft-ink)!important}
footer.masFoot .ftWa,footer.masFoot .ftMail{font-size:14px!important;line-height:1.4!important;overflow-wrap:anywhere}
footer.masFoot .ftBtn{font-size:15px!important;line-height:1!important}
footer.masFoot .ftDisclaimer{font-size:12.5px!important;line-height:1.6!important}
footer.masFoot .ftBottomRow p,footer.masFoot .ftLegal a{font-size:14px!important;line-height:1.5!important}
@media (max-width:1199px){
  footer.masFoot .ftGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media (max-width:767px){
  footer.masFoot .ftGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:28px 20px!important}
}

/* ---- v1.2: brand column removed, logo moved into "Get in touch" ---- */
footer.masFoot .ftGrid{grid-template-columns:repeat(4,minmax(150px,1fr)) minmax(250px,290px)!important}
footer.masFoot .ftContact .ftLogo{margin:0 0 4px}
footer.masFoot .ftContact .ftBtn{margin-top:4px}
@media (max-width:1199px){ footer.masFoot .ftGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important} }
@media (max-width:767px){ footer.masFoot .ftGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important} footer.masFoot .ftContact{grid-column:1 / -1} }

/* ---- v1.3: footer CTA (green) ---- */
footer.masFoot .ftCtaWrap{padding:clamp(40px,5vw,64px) 0 0!important}
footer.masFoot .ftCta{background:linear-gradient(140deg,#0a3a2d 0%,#0b6a50 100%)!important;border-radius:24px!important;padding:clamp(32px,4vw,52px) clamp(20px,4vw,48px)!important;text-align:center;color:#fff}
footer.masFoot .ftCtaTitle{font-size:clamp(24px,2.8vw,34px)!important;line-height:1.2!important;font-weight:800!important;color:#fff!important;margin:0 0 12px!important}
footer.masFoot .ftCtaText{font-size:clamp(16px,1.4vw,18px)!important;line-height:1.6!important;color:rgba(255,255,255,.82)!important;max-width:620px;margin:0 auto 24px!important}
footer.masFoot .ftCtaBtns{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
footer.masFoot .ftCtaBtns a{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 30px;border-radius:10px;font-size:16px!important;font-weight:700;line-height:1!important;color:#fff!important;transition:background .2s,transform .2s}
footer.masFoot .ftCtaBtns a:hover{transform:translateY(-1px)}
footer.masFoot .ftCtaBook{background:#e5383b;box-shadow:0 10px 22px -10px rgba(229,56,59,.8)}
footer.masFoot .ftCtaBook:hover{background:#c42a2d}
footer.masFoot .ftCtaWa{background:#25d366}
footer.masFoot .ftCtaWa:hover{background:#1fb457}
@media (max-width:640px){ footer.masFoot .ftCtaBtns a{flex:1 1 100%} }

/* ---- v1.4: five equal footer columns + CTA matching the homepage CTA box ---- */
footer.masFoot .ftGrid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:32px!important}
footer.masFoot .ftContact{grid-column:auto!important}
footer.masFoot .ftCtaWrap{padding:clamp(40px,5vw,64px) 0 0!important}
footer.masFoot .ftCta{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:14px;width:100%;margin:0 auto;border-radius:24px!important;padding:clamp(28px,4vw,48px)!important}
footer.masFoot .ftCtaTitle{font-size:clamp(24px,2.6vw,32px)!important;font-weight:800!important;margin:0!important}
footer.masFoot .ftCtaText{max-width:560px;margin:0!important;font-size:clamp(16px,1.4vw,18px)!important}
footer.masFoot .ftCtaBtns{margin-top:8px}
footer.masFoot .ftCtaBtns a{min-height:50px!important;padding:0 26px!important;border-radius:10px!important}
@media (max-width:1199px){ footer.masFoot .ftGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important} }
@media (max-width:767px){ footer.masFoot .ftGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:28px 20px!important} footer.masFoot .ftContact{grid-column:1 / -1!important} }
