/* ===== migration additions (AEO/SEO sections, breadcrumb, form, video) – set --msm-red to the brand colour ===== */
:root{--msm-red:#da251c;--msm-dark:#333;--msm-grey:#666;--msm-bg:#f5f5f5}
.msm-aeo{background:#fff;padding:60px 0}
.msm-aeo-row{width:80%;max-width:1080px;margin:auto}
.msm-aeo-head{text-align:center;margin-bottom:22px}
.msm-aeo-kicker{display:block;color:var(--msm-red);font-family:'Roboto',Helvetica,Arial,sans-serif;font-weight:700;font-size:14px;letter-spacing:1px;text-transform:uppercase;margin-bottom:6px}
.msm-aeo-title{font-family:'ZCOOL XiaoWei',Georgia,"Times New Roman",serif;font-size:30px;line-height:1.3;color:#000;padding:0}
.msm-aeo-answer{max-width:860px;margin:0 auto 22px;text-align:center;font-size:16px;line-height:1.8;color:var(--msm-grey)}
.msm-aeo-answer strong{color:var(--msm-dark);font-weight:600}
.msm-aeo-links{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-bottom:50px}
.msm-aeo-links a{background:var(--msm-red);color:#fff;padding:10px 20px;font-size:14px;font-weight:600;letter-spacing:.5px;text-transform:uppercase;border-radius:2px;transition:background .2s}
.msm-aeo-links a:hover,.msm-aeo-links a:focus{background:#b01d15}
.msm-faq{max-width:900px;margin:auto}
.msm-faq-item{border:1px solid #e5e5e5;border-left:4px solid var(--msm-red);background:#fff;margin-bottom:12px;border-radius:2px}
.msm-faq-item summary{cursor:pointer;list-style:none;padding:16px 48px 16px 20px;position:relative}
.msm-faq-item summary::-webkit-details-marker{display:none}
.msm-faq-item summary::after{content:'+';position:absolute;right:20px;top:50%;transform:translateY(-50%);font-size:24px;color:var(--msm-red);font-weight:700}
.msm-faq-item[open] summary::after{content:'–'}
.msm-faq-item summary h3{font-size:17px;font-weight:600;color:var(--msm-dark);padding:0;margin:0;display:inline}
.msm-faq-item p{padding:0 20px 18px;margin:0;color:var(--msm-grey);font-size:15px;line-height:1.7}
.msm-nap{background:var(--msm-bg)}
.msm-nap-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.msm-nap-grid>div{background:#fff;padding:24px;border-top:3px solid var(--msm-red)}
.msm-nap-grid h3{font-size:18px;color:var(--msm-red);padding-bottom:8px}
.msm-nap-grid p{font-size:15px;line-height:1.8;color:var(--msm-grey)}
.msm-nap-grid a{color:var(--msm-dark)}
.msm-breadcrumb{background:#f7f7f7;border-bottom:1px solid #eee}
.msm-bc-inner{width:80%;max-width:1080px;margin:auto;padding:10px 0}
.msm-breadcrumb ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;font-size:13px}
.msm-breadcrumb li+li::before{content:'›';margin:0 8px;color:#999}
.msm-breadcrumb a{color:var(--msm-red)}
.msm-breadcrumb li[aria-current]{color:#555}
/* lite YouTube (videos load only on click – faster page) */
.msm-yt{position:relative;display:block;aspect-ratio:16/9;background:#000 center/cover no-repeat;cursor:pointer;overflow:hidden}
.msm-yt img{width:100%;height:100%;object-fit:cover;display:block;opacity:.9}
.msm-yt::after{content:'';position:absolute;left:50%;top:50%;width:68px;height:48px;transform:translate(-50%,-50%);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 48'%3E%3Cpath d='M66.5 7.7a8.5 8.5 0 0 0-6-6C55.3.3 34 .3 34 .3s-21.3 0-26.5 1.4a8.5 8.5 0 0 0-6 6C.1 12.9.1 24 .1 24s0 11.1 1.4 16.3a8.5 8.5 0 0 0 6 6C12.7 47.7 34 47.7 34 47.7s21.3 0 26.5-1.4a8.5 8.5 0 0 0 6-6C67.9 35.1 67.9 24 67.9 24s0-11.1-1.4-16.3z' fill='%23da251c'/%3E%3Cpath d='M45 24 27 14v20' fill='%23fff'/%3E%3C/svg%3E") center/contain no-repeat}
.msm-yt iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
/* form */
.msm-hp{position:absolute!important;left:-9999px!important;height:0;overflow:hidden}
.msm-form-msg{padding:14px 18px;margin:10px 0 18px;border-radius:2px;font-size:15px}
.msm-ok{background:#e8f6ec;border-left:4px solid #2e9e4f;color:#1d5e30}
.msm-err{background:#fdecea;border-left:4px solid var(--msm-red);color:#8a1d15}
.gfield_error input,.gfield_error textarea{border-color:var(--msm-red)!important}
@media(max-width:980px){.msm-nap-grid{grid-template-columns:1fr}.msm-aeo-row,.msm-bc-inner{width:90%}.msm-aeo-title{font-size:24px}.msm-aeo{padding:40px 0}}
/* ---- AEO blocks v3 ---- */
.msm-definition{max-width:860px;margin:-8px auto 22px;text-align:center;font-size:15px;color:var(--msm-grey);font-style:italic}
.msm-answer{padding:40px 0 30px}
.msm-glance{background:var(--msm-bg)}
.msm-glance-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:18px}
.msm-glance-grid li{background:#fff;text-align:center;padding:22px 12px;border-bottom:3px solid var(--msm-red)}
.msm-stat{display:block;font-size:32px;font-weight:700;color:var(--msm-red);line-height:1.2}
.msm-stat-label{display:block;font-size:14px;color:var(--msm-dark);text-transform:uppercase;letter-spacing:.5px;margin-top:6px}
.msm-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;counter-reset:s}
.msm-steps li{background:#fff;border:1px solid #eee;padding:26px 20px 20px;position:relative;text-align:center}
.msm-step-no{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:var(--msm-red);color:#fff;font-weight:700;font-size:18px;margin-bottom:10px}
.msm-steps h3,.msm-why-grid h3{font-size:17px;color:var(--msm-dark);padding-bottom:6px}
.msm-steps p,.msm-why-grid p{font-size:14px;line-height:1.7;color:var(--msm-grey)}
.msm-trust{background:var(--msm-bg)}
.msm-trust-list{list-style:none;margin:0 auto 24px;padding:0;max-width:900px;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px 24px}
.msm-trust-list li{padding-left:28px;position:relative;font-size:15px;line-height:1.7;color:var(--msm-dark)}
.msm-trust-list li::before{content:'✓';position:absolute;left:0;top:0;color:var(--msm-red);font-weight:700}
.msm-trust-logos{display:flex;flex-wrap:wrap;gap:24px;justify-content:center;align-items:center}
.msm-trust-logos img{height:60px;width:auto;object-fit:contain;filter:grayscale(.2)}
.msm-why-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}
.msm-why-grid li{border-top:3px solid var(--msm-red);background:#fff;padding:20px;box-shadow:0 2px 10px rgba(0,0,0,.05)}
/* theme list styles (Divi/Elementor) must not leak into AEO blocks */
.msm-aeo ul,.msm-aeo ol{list-style:none!important;padding:0!important;margin-left:0!important}
.msm-aeo li{list-style:none!important}.msm-aeo li::marker{content:''}
.msm-aeo ul li::before{color:var(--msm-red)}

/* ===== GEM Skin Centre - brand tokens taken from the old theme CSS ===== */
:root{
  --msm-red:#b5002d;          /* old theme primary (237 occurrences in rendered home page) */
  --msm-accent:#dd8500;
  --msm-dark:#553737;
  --msm-grey:#666;
}
/* AEO blocks inherit the old theme's typography instead of the kit defaults */
.msm-aeo{background:#fff;padding:70px 0}
.msm-aeo-kicker{font-family:'Raleway',Helvetica,Arial,sans-serif}
.msm-aeo-title{font-family:'Josefin Sans','Raleway',Georgia,serif;color:var(--msm-dark);font-weight:600}
.msm-aeo-answer{font-family:'Open Sans',Helvetica,Arial,sans-serif}
.msm-aeo-answer a{color:var(--msm-red);font-weight:600;text-decoration:none}
.msm-aeo-answer a:hover,.msm-aeo-answer a:focus{text-decoration:underline}
.msm-aeo-links a{font-family:'Raleway',Helvetica,Arial,sans-serif;text-decoration:none}
.msm-aeo-links a:hover,.msm-aeo-links a:focus{background:var(--msm-dark)}
.msm-faq-item summary h3{font-family:'Josefin Sans','Raleway',Georgia,serif;color:var(--msm-dark)}
.msm-nap-grid h3{font-family:'Josefin Sans','Raleway',Georgia,serif;color:var(--msm-red)}
.msm-nap-grid a{color:var(--msm-dark);text-decoration:none}
.msm-nap-grid a:hover,.msm-nap-grid a:focus{color:var(--msm-red);text-decoration:underline}

/* ===== enquiry / appointment form (replaces Contact Form 7 + reCAPTCHA) ===== */
.msm-form-msg.msm-ok{background:#e8f6ec;border-left:4px solid #2e7d32;color:#1b5e20}
.msm-form-msg.msm-err{background:#fdecea;border-left:4px solid var(--msm-red);color:#8c0022}
.msm-form .wpcf7-form-control{width:100%}
.msm-form label{display:block;width:100%}
.msm-form .msm-field-err input,.msm-form .msm-field-err textarea{border:1px solid var(--msm-red)!important;background:#fff8f9}
.msm-form .msm-req{color:var(--msm-red)}
.msm-form .wpcf7-submit{cursor:pointer}
.msm-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Contact page hero. The theme sets this row to background-repeat:repeat with
   background-size:auto, which only ever worked because the old Contact Form 7 form was
   short enough (row 477px, roughly the image height). The rebuilt form is taller - it
   gained a Phone field and a real textarea instead of a one-line Message input - so the
   photo started tiling down the row. Cover + no-repeat makes it height-independent.
   This is the only row on the site with a repeating background that the rebuild grew. */
.vc_custom_1540283059956{
  background-repeat:no-repeat!important;
  background-size:cover!important;
  background-position:center center!important;
}

/* ===== optional extras approved at the gate ===== */
.msm-wa{position:fixed;right:18px;bottom:18px;z-index:9998;width:54px;height:54px;border-radius:50%;
  background:#25d366 center/30px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.5 14.4c-.3-.2-1.9-.9-2.2-1-.3-.1-.5-.2-.7.1-.2.3-.8 1-.9 1.2-.2.2-.3.2-.6.1-.3-.2-1.3-.5-2.4-1.5-.9-.8-1.4-1.7-1.6-2-.2-.3 0-.5.1-.6.1-.1.4-.5.5-.7.1-.2.2-.3.3-.5.1-.2 0-.4 0-.5 0-.1-.7-1.6-.9-2.2-.2-.6-.4-.5-.6-.5h-.6c-.2 0-.5.1-.8.4-.3.3-1 1-1 2.4s1 2.8 1.2 3c.1.2 2 3.1 4.9 4.2 2.4.9 2.9.8 3.4.7.5-.1 1.6-.7 1.9-1.3.2-.7.2-1.2.2-1.3-.1-.2-.2-.3-.2-.3zM12 2a10 10 0 0 0-8.5 15.3L2 22l4.8-1.4A10 10 0 1 0 12 2z'/%3E%3C/svg%3E");
  box-shadow:0 2px 10px rgba(0,0,0,.3)}
.msm-wa span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.msm-callbar{display:none}
@media(max-width:767px){
  .msm-callbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:9999}
  .msm-callbar a{flex:1;text-align:center;padding:13px 4px;font:600 14px/1.2 'Raleway',Helvetica,Arial,sans-serif;
    color:#fff;background:var(--msm-red);text-decoration:none;letter-spacing:.3px}
  .msm-callbar a+a{border-left:1px solid rgba(255,255,255,.3);background:var(--msm-dark)}
  .msm-wa{bottom:62px;width:48px;height:48px}
  body{padding-bottom:46px}
}
