/* ===== Our Patient Care Process: Premium Timeline ===== */
.ehpc,.ehpc *{box-sizing:border-box}
.ehpc{position:relative;isolation:isolate;overflow:hidden;padding-block:clamp(72px,9vw,50px);background:linear-gradient(180deg,#f4f6fc 0%,#fff 48%,#f4f6fc 100%);color:var(--elite-navy);font-family:var(--elite-font)}
.ehpc a{text-decoration:none}.ehpc ol{list-style:none;margin:0;padding:0}.ehpc p,.ehpc h2,.ehpc h3,.ehpc h4{margin:0}

/* Background accents */
.ehpc-bg{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.ehpc-blob{position:absolute;border-radius:50%}
.ehpc-blob-a{right:-14vw;top:2%;width:44vw;height:44vw;background:radial-gradient(circle,#ff6f0a1c 0%,transparent 68%)}
.ehpc-blob-b{left:-16vw;top:46%;width:46vw;height:46vw;background:radial-gradient(circle,#212b5c14 0%,transparent 68%)}
.ehpc-dots{position:absolute;inset:0;background-image:radial-gradient(#212b5c17 1.2px,transparent 1.2px);background-size:30px 30px;-webkit-mask-image:linear-gradient(180deg,#000,transparent 24%,transparent 76%,#000);mask-image:linear-gradient(180deg,#000,transparent 24%,transparent 76%,#000)}

/* Head */
.ehpc-head{max-width:1080px;margin:0 auto;text-align:center}
.ehpc-kicker{display:inline-flex;align-items:center;gap:12px;margin-bottom:18px;padding:9px 18px;color:var(--elite-orange);text-transform:uppercase;letter-spacing:2.5px;font-size:14px;font-weight:700;border:1px solid #ff6f0a40;border-radius:999px;background:#fff4ec}
.ehpc-kicker i{width:9px;height:9px;border-radius:50%;background:var(--elite-orange);box-shadow:0 0 0 4px #ff6f0a33}
.ehpc h2{font-size:clamp(34px,4vw,60px);line-height:1.08;letter-spacing:-.5px;font-weight:700;color:var(--elite-navy)}
.ehpc h2 em,.ehpc-sub h3 em{font-style:normal;background:linear-gradient(90deg,#ff8d43,#ff6f0a);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.ehpc-text{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:0 clamp(28px,5vw,72px);max-width:1040px;margin:30px auto 0;text-align:left}
.ehpc-text:before{content:"";position:absolute;left:50%;top:4px;bottom:4px;width:1px;background:linear-gradient(180deg,transparent,#212b5c33,transparent)}
.ehpc-text p{font-family:Arial,sans-serif;font-size:15px;line-height:1.8;color:#4b5375}
.ehpc-text strong{color:var(--elite-navy)}

/* Sub heading row */
.ehpc-sub{display:flex;align-items:center;gap:20px;margin:clamp(56px,7vw,96px) 0 clamp(40px,5vw,66px)}
.ehpc-sub h3{flex:none;font-size:clamp(26px,2.8vw,40px);line-height:1.12;font-weight:700;color:var(--elite-navy)}
.ehpc-line{flex:1;height:2px;border-radius:2px;background:linear-gradient(90deg,#ff6f0a,#212b5c1f 60%,transparent)}
.ehpc-total{flex:none;padding:8px 18px;border-radius:40px;background:#fff;border:1px solid #e9ecf6;font-size:14px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:#6b7390;box-shadow:0 8px 20px #212b5c0f}

/* Timeline rail (top and bottom are measured by JS) */
.ehpc-tl{--prog:0;position:relative}
.ehpc-rail{position:absolute;z-index:0;left:50%;top:var(--rt,0px);bottom:var(--rb,0px);width:4px;margin-left:-2px;border-radius:4px;background:repeating-linear-gradient(180deg,#212b5c29 0 8px,transparent 8px 14px)}
.ehpc-fill{position:absolute;left:0;top:0;width:100%;height:calc(var(--prog)*100%);border-radius:4px;background:linear-gradient(180deg,#ff8d43,#ff6f0a);box-shadow:0 0 14px #ff6f0a80}
.ehpc-fill:after{content:"";position:absolute;left:50%;bottom:-8px;width:16px;height:16px;margin-left:-8px;border-radius:50%;background:#fff;border:3px solid var(--elite-orange);box-shadow:0 0 0 5px #ff6f0a26,0 0 16px #ff6f0a;opacity:0;transition:opacity .3s}
.ehpc-tl.is-run .ehpc-fill:after{opacity:1}

/* Steps */
.ehpc-steps{position:relative;z-index:1;display:grid;gap:clamp(30px,3.6vw,54px)}
.ehpc-step{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 84px minmax(0,1fr);align-items:center}
.ehpc-card{grid-column:1;grid-row:1;position:relative}
.ehpc-step.is-right .ehpc-card{grid-column:3}

/* Connector from card to node */
.ehpc-card:after{content:"";position:absolute;top:50%;right:-42px;width:42px;height:2px;margin-top:-1px;background:#212b5c26;transition:background .5s}
.ehpc-step.is-right .ehpc-card:after{right:auto;left:-42px}
.ehpc-step.is-on .ehpc-card:after{background:var(--elite-orange)}

/* Node */
.ehpc-node{position:relative;z-index:2;grid-column:2;grid-row:1;justify-self:center;width:66px;height:66px;border-radius:50%;display:grid;place-items:center;background:#fff;border:3px solid #dfe3f1;color:#9aa1bd;font-size:22px;font-weight:700;box-shadow:0 10px 26px #212b5c1a;transition:opacity .6s,transform .6s cubic-bezier(.3,1.6,.5,1),background .5s,color .5s,border-color .5s,box-shadow .5s}
.ehpc-node b{font-weight:700;line-height:1}
.ehpc-node:before{content:"";position:absolute;inset:-9px;border-radius:50%;border:1.5px dashed var(--elite-orange);opacity:0;transition:opacity .5s}
.ehpc-node:after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid var(--elite-orange);opacity:0;pointer-events:none}
.is-on>.ehpc-node{background:linear-gradient(135deg,#ff8d43,#ff6f0a);border-color:#fff;color:#fff;box-shadow:0 0 0 6px #ff6f0a26,0 14px 30px #ff6f0a66}
.is-on>.ehpc-node:before{opacity:1;animation:ehpcSpin 14s linear infinite}
.is-current>.ehpc-node:after{animation:ehpcPulse 2s ease-out infinite}
@keyframes ehpcSpin{to{transform:rotate(360deg)}}
@keyframes ehpcPulse{0%{transform:scale(1);opacity:.8}100%{transform:scale(1.7);opacity:0}}

/* Card */
.ehpc-in{position:relative;overflow:hidden;padding:clamp(24px,2.6vw,34px) clamp(24px,2.8vw,36px);border-radius:28px;background:#fff;border:1px solid #e9ecf6;box-shadow:0 12px 34px #212b5c14;transition:transform .45s cubic-bezier(.2,.7,.2,1),box-shadow .45s,border-color .45s,background .45s}
.ehpc-in:before{content:"";position:absolute;left:clamp(24px,2.8vw,36px);top:0;width:44px;height:4px;border-radius:0 0 6px 6px;background:var(--elite-orange);transition:width .5s cubic-bezier(.2,.7,.2,1)}
.ehpc-in:after{content:"";position:absolute;right:-60px;bottom:-60px;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle,#ff6f0a1f,transparent 70%);pointer-events:none}
.ehpc-ghost{position:absolute;right:20px;top:10px;font-size:58px;line-height:1;font-weight:700;color:transparent;-webkit-text-stroke:1.5px #212b5c1a;pointer-events:none;user-select:none;transition:.45s}
.ehpc-top{display:flex;align-items:center;gap:16px;margin-bottom:18px}
.ehpc-ico{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,#ff8d43,#ff6f0a);color:#fff;font-size:22px;box-shadow:0 12px 24px #ff6f0a4d;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.ehpc-tag{padding:6px 14px;border-radius:30px;background:#fff4ec;border:1px solid #ff6f0a33;color:var(--elite-orange);font-size:13px;font-weight:700;letter-spacing:2px;text-transform:uppercase}
.ehpc h4{margin-bottom:10px;padding-right:50px;font-size:clamp(21px,1.9vw,26px);line-height:1.2;font-weight:700;color:var(--elite-navy)}
.ehpc-in p{font-family:Arial,sans-serif;font-size:15px;line-height:1.75;color:#4b5375}
.ehpc-in strong{color:var(--elite-navy)}
.ehpc-in:hover{transform:translateY(-6px);box-shadow:0 26px 54px #212b5c2b}
.ehpc-in:hover:before{width:calc(100% - clamp(48px,5.6vw,72px))}
.ehpc-in:hover .ehpc-ico{transform:rotate(-8deg) scale(1.06)}
.is-current .ehpc-in{border-color:#ff6f0a59;background:linear-gradient(135deg,#fff 45%,#fff6ef);box-shadow:0 28px 60px #ff6f0a24,0 12px 34px #212b5c14}
.is-current .ehpc-ghost{-webkit-text-stroke-color:#ff6f0a80}

/* End node + buttons */
.ehpc-end{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:18px;margin-top:clamp(34px,4vw,54px);text-align:center}
.ehpc-node-end{grid-column:auto;width:78px;height:78px;font-size:30px;border-width:4px}
.ehpc-end-text{max-width:440px;font-size:clamp(19px,1.8vw,24px);line-height:1.35;font-weight:700;color:var(--elite-navy)}
.ehpc-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:14px}
.ehpc-call{display:inline-flex;align-items:center;gap:12px;padding:12px 28px 12px 12px;color:var(--elite-navy)!important;font-size:17px;font-weight:700;line-height:1;white-space:nowrap;border:1.5px solid #212b5c33;border-radius:40px;background:#fff;box-shadow:0 8px 22px #212b5c14;transition:.35s}
.ehpc-call span{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--elite-orange);color:#fff;font-size:14px}
.ehpc-call:hover{background:var(--elite-navy);color:#fff!important;border-color:var(--elite-navy)}

/* Scroll reveal (only when JS adds .is-js) */
.ehpc.is-js .ehpc-rv{opacity:0;transform:translateY(30px);transition:opacity .85s cubic-bezier(.2,.7,.2,1),transform .85s cubic-bezier(.2,.7,.2,1);transition-delay:calc(var(--i,0)*.09s)}
.ehpc.is-js .ehpc-rv.is-in{opacity:1;transform:none}
.ehpc.is-js .ehpc-step .ehpc-card{opacity:0;transform:translateX(-52px);transition:opacity .9s cubic-bezier(.2,.7,.2,1) .12s,transform .9s cubic-bezier(.2,.7,.2,1) .12s}
.ehpc.is-js .ehpc-step.is-right .ehpc-card{transform:translateX(52px)}
.ehpc.is-js .ehpc-step.is-in .ehpc-card{opacity:1;transform:none}
.ehpc.is-js .ehpc-step .ehpc-node,.ehpc.is-js .ehpc-end .ehpc-node{opacity:0;transform:scale(.4)}
.ehpc.is-js .ehpc-step.is-in .ehpc-node,.ehpc.is-js .ehpc-end.is-in .ehpc-node{opacity:1;transform:none}
.ehpc.is-js .ehpc-end-text,.ehpc.is-js .ehpc-actions{opacity:0;transform:translateY(24px);transition:opacity .8s cubic-bezier(.2,.7,.2,1) .2s,transform .8s cubic-bezier(.2,.7,.2,1) .2s}
.ehpc.is-js .ehpc-end.is-in .ehpc-end-text,.ehpc.is-js .ehpc-end.is-in .ehpc-actions{opacity:1;transform:none}

/* ===== Responsive: single-column timeline with the line on the left ===== */
@media(max-width:991px){
  .ehpc-text{grid-template-columns:1fr;gap:16px}
  .ehpc-text:before{display:none}
  .ehpc-rail{left:30px}
  .ehpc-step{grid-template-columns:60px minmax(0,1fr)}
  .ehpc-node{grid-column:1;width:56px;height:56px;font-size:19px}
  .ehpc-card,.ehpc-step.is-right .ehpc-card{grid-column:2}
  .ehpc-card:after,.ehpc-step.is-right .ehpc-card:after{right:auto;left:-18px;width:18px}
  .ehpc-end{align-items:flex-start;text-align:left;padding-left:2px}
  .ehpc-node-end{width:56px;height:56px;font-size:23px;border-width:3px}
  .ehpc-actions{justify-content:flex-start}
  .ehpc.is-js .ehpc-step .ehpc-card,.ehpc.is-js .ehpc-step.is-right .ehpc-card{transform:translateX(34px)}
}
@media(max-width:767px){
  .ehpc-kicker{font-size:11px;letter-spacing:2px;padding:8px 14px}
  .ehpc h2{font-size:clamp(30px,8.4vw,42px)}
  .ehpc-text{margin-top:22px}
  .ehpc-text p{line-height:1.7}
  .ehpc-sub{gap:14px;margin:50px 0 34px}
  .ehpc-line{display:none}
  .ehpc-total{margin-left:auto;padding:6px 14px;font-size:12px}
  .ehpc-rail{left:24px}
  .ehpc-step{grid-template-columns:48px minmax(0,1fr)}
  .ehpc-node{width:46px;height:46px;font-size:16px;border-width:2px}
  .ehpc-node:before{inset:-6px}
  .ehpc-card:after,.ehpc-step.is-right .ehpc-card:after{left:-12px;width:12px}
  .ehpc-in{padding:22px 18px 22px;border-radius:24px}
  .ehpc-in:before{left:18px}
  .ehpc-ghost{font-size:42px;right:14px}
  .ehpc-top{margin-bottom:14px;gap:12px}
  .ehpc-ico{width:48px;height:48px;font-size:19px;border-radius:15px}
  .ehpc-tag{font-size:11px;padding:5px 12px}
  .ehpc h4{font-size:20px;padding-right:34px}
  .ehpc-in p{line-height:1.65}
  .ehpc-node-end{width:46px;height:46px;font-size:19px}
  .ehpc-end{padding-left:1px}
  .ehpc-actions .eh-cta,.ehpc-call{font-size:15px}
}
@media(max-width:480px){
  .ehpc-actions{flex-direction:column;align-items:stretch;width:100%}
  .ehpc-actions .eh-cta,.ehpc-call{justify-content:center;width:100%}
}
@media(prefers-reduced-motion:reduce){
  .ehpc *{animation:none!important}
  .ehpc.is-js .ehpc-rv,.ehpc.is-js .ehpc-step .ehpc-card,.ehpc.is-js .ehpc-step .ehpc-node,.ehpc.is-js .ehpc-end .ehpc-node,.ehpc.is-js .ehpc-end-text,.ehpc.is-js .ehpc-actions{opacity:1;transform:none;transition:none}
}