/* Medishare DSP homepage */
.ms-home{font-family:Manrope,system-ui,sans-serif;color:var(--ms-ink)}
.ms-home p,.ms-home h1,.ms-home h2,.ms-home h3{margin:0}

/* Hero */
.ms-hero{position:relative;overflow:hidden;isolation:isolate;color:#fff;background:var(--ms-plum)}
.ms-hero-bg{position:absolute;inset:0;z-index:0;background:url("/wp-content/uploads/2026/03/2148962319.jpg") center 40%/cover no-repeat;animation:ms-zoom 30s ease-in-out infinite alternate}
.ms-hero::after{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,rgba(72,0,56,.9) 0%,rgba(72,0,56,.75) 45%,rgba(162,1,125,.25) 100%)}
.ms-hero .ms-fx{z-index:1}
.ms-hero .ms-fx::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M20 15h4v5h5v4h-5v5h-4v-5h-5v-4h5z' fill='%23ffffff'/%3E%3C/svg%3E");background-size:44px 44px;opacity:.07;-webkit-mask-image:linear-gradient(100deg,transparent 30%,#000 75%);mask-image:linear-gradient(100deg,transparent 30%,#000 75%)}
.ms-hero .ms-o1{width:520px;height:520px;background:#DD14A4;opacity:.4;right:-120px;top:-160px;animation:ms-drift1 18s ease-in-out infinite alternate}
.ms-hero .ms-o2{width:380px;height:380px;background:#A2017D;opacity:.4;right:22%;bottom:-200px;animation:ms-drift2 22s ease-in-out infinite alternate}
.ms-hero .ms-o3{width:260px;height:260px;background:#FF5CC8;left:-80px;top:30%;opacity:.25;animation:ms-drift3 26s ease-in-out infinite alternate}
.ms-hero>.ms-wrap{position:relative;z-index:2;padding-top:110px;padding-bottom:110px}
.ms-hero-inner{max-width:780px}
.ms-hero .ms-hero-title{margin:0 0 30px;font-size:clamp(46px,7vw,84px);font-weight:800;line-height:1;letter-spacing:-.02em;color:#fff}
.ms-hero .ms-eyebrow{margin:0}
.ms-hero .ms-hero-p{margin-top:22px;max-width:660px;font-size:20px;font-weight:500;line-height:1.6}
.ms-hero .ms-btns{margin-top:32px}

/* Service line */
.ms-trust{background:var(--ms-blush);border-bottom:1px solid #EFDCEA}
.ms-trust ul{list-style:none;display:flex;justify-content:center;flex-wrap:wrap;margin:0;padding:0}
.ms-trust li{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:600;line-height:1.4;color:var(--ms-plum);padding:18px 26px}
.ms-trust li svg{width:24px;height:24px;color:var(--ms-magenta);flex:none}
.ms-trust li+li{border-left:1px solid #EAD3E3}

/* Split sections */
.ms-split{position:relative;overflow:hidden;padding:100px 0}
.ms-split::before{content:"";position:absolute;width:520px;height:420px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M20 15h4v5h5v4h-5v5h-4v-5h-5v-4h5z' fill='%23A2017D'/%3E%3C/svg%3E");background-size:44px 44px;opacity:.07;pointer-events:none;-webkit-mask-image:radial-gradient(circle at center,#000 20%,transparent 70%);mask-image:radial-gradient(circle at center,#000 20%,transparent 70%)}
#for-care-homes::before{right:-80px;top:-60px}
.ms-cta::before{left:-120px;bottom:-80px}
.ms-split>.ms-wrap{position:relative;z-index:1;display:grid;grid-template-columns:1.05fr .95fr;gap:70px;align-items:center}
.ms-home .ms-h2{font-size:clamp(32px,4.2vw,45px);font-weight:700;line-height:1.1;color:var(--ms-magenta)}
.ms-rule{width:90px;height:2px;background:var(--ms-pink);margin:22px 0 26px}
.ms-home .ms-lead{margin-bottom:18px;font-size:20px;font-weight:500;line-height:1.55;color:var(--ms-magenta)}
.ms-home .ms-body{margin-bottom:14px;font-size:16px;font-weight:500;line-height:1.6;color:var(--ms-plum)}
.ms-circle{position:relative;justify-self:center;width:100%;max-width:430px;aspect-ratio:1}
.ms-circle::before{content:"";position:absolute;inset:0;border-radius:50%;background:var(--ms-magenta);transform:translate(18px,18px);z-index:0}
.ms-circle img{position:relative;z-index:1;width:100%;height:100%;object-fit:cover;border-radius:50%;box-shadow:0 20px 40px rgba(72,0,56,.18)}
.ms-cta .ms-btns{margin-top:30px}

/* Why choose */
.ms-why{position:relative;overflow:hidden;isolation:isolate;padding:100px 0 110px;color:#fff;background:linear-gradient(rgba(162,1,125,.9),rgba(162,1,125,.9)),url("/wp-content/uploads/2026/03/2148962319.jpg") center/cover var(--ms-magenta)}
.ms-why .ms-fx::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M20 15h4v5h5v4h-5v5h-4v-5h-5v-4h5z' fill='%23ffffff'/%3E%3C/svg%3E");background-size:44px 44px;opacity:.08;-webkit-mask-image:radial-gradient(ellipse at center,transparent 25%,#000 80%);mask-image:radial-gradient(ellipse at center,transparent 25%,#000 80%)}
.ms-why .ms-o1{width:560px;height:560px;background:#DD14A4;left:-160px;top:-140px;animation:ms-drift2 20s ease-in-out infinite alternate}
.ms-why .ms-o2{width:460px;height:460px;background:#480038;right:-140px;bottom:-160px;opacity:.6;animation:ms-drift1 24s ease-in-out infinite alternate}
.ms-why .ms-o3{width:300px;height:300px;background:#FF5CC8;right:30%;top:20%;opacity:.3;animation:ms-drift3 28s ease-in-out infinite alternate}
.ms-why>.ms-wrap{position:relative;z-index:2}
.ms-why-head{max-width:700px;margin:0 auto 54px;text-align:center}
.ms-home .ms-why-title{display:inline-block;background:#fff;color:var(--ms-magenta);font-size:clamp(28px,3.6vw,40px);font-weight:800;line-height:1.15;padding:8px 30px;border-radius:999px}
.ms-home .ms-why-p{margin-top:22px;font-size:18px;font-weight:500;line-height:1.6}
.ms-why-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.ms-why-card{background:#fff;color:var(--ms-plum);border-radius:12px;padding:32px 30px 34px}
.ms-card-ico{width:72px;height:72px;border-radius:50%;background:var(--ms-magenta);color:#fff;display:grid;place-items:center;margin-bottom:22px;box-shadow:0 0 0 6px #F6E3F0}
.ms-card-ico svg{width:34px;height:34px}
.ms-home .ms-why-card h3{margin-bottom:12px;font-size:21px;font-weight:700;line-height:1.25;color:var(--ms-magenta)}
.ms-home .ms-why-card p{font-size:15.5px;font-weight:500;line-height:1.6}

/* CQC */
.ms-cqc{position:relative;overflow:hidden;isolation:isolate;background:var(--ms-plum);color:#fff;padding:96px 0}
.ms-cqc .ms-fx::before{background-image:radial-gradient(rgba(255,255,255,.5) 1.2px,transparent 1.3px);background-size:20px 20px;opacity:.18;-webkit-mask-image:linear-gradient(90deg,transparent 20%,#000 100%);mask-image:linear-gradient(90deg,transparent 20%,#000 100%)}
.ms-x{position:absolute;opacity:.07;animation:ms-float 16s ease-in-out infinite alternate}
.ms-x::before,.ms-x::after{content:"";position:absolute;background:#DD14A4;border-radius:12px}
.ms-x::before{left:35%;width:30%;top:0;height:100%}
.ms-x::after{top:35%;height:30%;left:0;width:100%}
.ms-x1{width:260px;height:260px;right:-40px;top:-50px}
.ms-x2{width:120px;height:120px;right:22%;bottom:30px;animation-duration:20s;opacity:.1}
.ms-x3{width:70px;height:70px;left:6%;bottom:60px;animation-duration:14s;opacity:.12}
.ms-x4{width:170px;height:170px;left:38%;top:-70px;animation-duration:24s}
.ms-cqc>.ms-wrap{position:relative;z-index:2;display:grid;grid-template-columns:240px 1fr;gap:60px;align-items:start}
.ms-cqc-logo img{width:220px;height:auto}
.ms-home .ms-cqc-title{font-size:clamp(30px,4vw,45px);font-weight:700;line-height:1.12;color:#fff}
.ms-home .ms-cqc .ms-lead{color:#fff;font-size:19px}
.ms-home .ms-small{font-size:15.5px;font-weight:500;line-height:1.6;color:rgba(255,255,255,.82)}

@media (max-width:980px){
  .ms-split>.ms-wrap,.ms-cqc>.ms-wrap{grid-template-columns:1fr;gap:48px}
  .ms-reverse .ms-circle{order:-1}
  .ms-why-cards{grid-template-columns:1fr}
}
@media (max-width:760px){
  .ms-hero>.ms-wrap{padding-top:80px;padding-bottom:84px}
  .ms-hero::after{background:rgba(72,0,56,.82)}
  .ms-hero .ms-hero-p{font-size:17.5px}
  .ms-trust ul{flex-direction:column;align-items:flex-start;padding:10px var(--ms-gutter)}
  .ms-trust li{padding:9px 0}
  .ms-trust li+li{border-left:0}
  .ms-split{padding:76px 0}
  .ms-why{padding:76px 0 84px}
  .ms-cqc{padding:76px 0}
  .ms-circle{max-width:310px;margin-right:18px}
  .ms-home .ms-why-title{padding:8px 22px;border-radius:24px}
  .ms-why-card{padding:26px 24px 28px}
}
