/* ==========================================================================
   Medi4u — home page sections
   Existing sections are styled structurally (their old inline styles were removed);
   new sections use m4-* classes.
   ========================================================================== */

.m4-sec { position: relative; padding: clamp(64px, 7.5vw, 104px) 0; }
.m4 .section-badge {
  display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: .74rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal-d); background: none; padding: 0; border: 0; border-radius: 0; margin-bottom: 16px;
}
.m4 .section-badge::before { content: ""; width: 26px; height: 2px; background: var(--orange); border-radius: 2px; }
.m4-dark .section-badge { color: var(--teal-b); }
.m4 .section-title { font-family: var(--f-display); font-weight: 600; color: var(--ink); font-size: clamp(2rem, 1.2rem + 2.6vw, 3.2rem); line-height: 1.08; letter-spacing: -.022em; text-wrap: balance; }
.m4 .btn-enhanced { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; border: 1.5px solid transparent; transition: background .25s, color .25s, border-color .25s, box-shadow .25s; }
.m4 .btn-enhanced.primary { background: var(--ink); color: #fff; }
.m4 .btn-enhanced.primary:hover { background: var(--teal-d); color: #fff; box-shadow: 0 14px 28px -14px rgba(0, 119, 108, .8); }
.m4 .btn-enhanced.secondary { background: transparent; color: var(--ink); border-color: rgba(10, 35, 38, .28); }
.m4 .btn-enhanced.secondary:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ============================ HERO ============================ */
.m4-hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: calc(100svh - var(--nav-h)); padding: clamp(36px, 5vw, 76px) 0 clamp(56px, 7vw, 96px); }
.m4-hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.m4-hero-glow { position: absolute; width: 900px; height: 900px; right: -300px; top: -340px; border-radius: 50%; background: radial-gradient(circle at 45% 45%, rgba(0, 150, 136, .22), rgba(0, 150, 136, 0) 62%); }
.m4-hero-bg::after { content: ""; position: absolute; width: 620px; height: 620px; left: -260px; bottom: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 90, 34, .13), rgba(240, 90, 34, 0) 65%); }
.m4-hero-grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(10, 35, 38, .16) 1px, transparent 1.3px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 75% at 78% 38%, #000, transparent 72%); mask-image: radial-gradient(ellipse 60% 75% at 78% 38%, #000, transparent 72%); }
.m4-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(32px, 5vw, 80px); align-items: center; width: 100%; }
.m4-hero-copy > * { animation: m4-rise .9s var(--ease-out) both; }
.m4-hero-copy > :nth-child(1) { animation-delay: .05s; } .m4-hero-copy > :nth-child(2) { animation-delay: .14s; }
.m4-hero-copy > :nth-child(3) { animation-delay: .24s; } .m4-hero-copy > :nth-child(4) { animation-delay: .34s; } .m4-hero-copy > :nth-child(5) { animation-delay: .44s; }

.m4-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 13px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--ink); box-shadow: var(--sh-1); margin-bottom: 26px; }
.m4-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.m4-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--teal); animation: m4-ping 2.2s ease-out infinite; }
.m4-hero-title { font-family: var(--f-display); font-weight: 600; color: var(--ink); font-size: clamp(2.2rem, 1rem + 3vw, 3.45rem); line-height: 1.06; letter-spacing: -.028em; margin-bottom: 24px; text-wrap: balance; font-optical-sizing: auto; }
.m4-hero-title .highlight-text { color: var(--teal-d); background: linear-gradient(transparent 66%, rgba(0, 150, 136, .2) 66%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .06em; }
.m4-hero-title .gradient-text { font-style: italic; font-weight: 500; color: var(--orange-d); }
.m4-hero-sub { font-size: clamp(1.02rem, .96rem + .3vw, 1.18rem); line-height: 1.7; color: var(--muted); max-width: 54ch; margin-bottom: 32px; }
.m4-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.m4-hero-cta .m4-btn { height: 54px; padding: 0 28px; }
.m4-hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.m4-stat-n { font-family: var(--f-display); font-size: clamp(1.9rem, 1.4rem + 1.2vw, 2.5rem); font-weight: 600; line-height: 1; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.m4-stat-n sup { font-size: .5em; color: var(--orange-d); vertical-align: top; position: relative; top: .1em; margin-left: 2px; }
.m4-stat-l { font-family: var(--f-mono); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }

/* hero visual */
.m4-hero-visual { position: relative; width: 100%; aspect-ratio: 1 / .94; min-height: 420px; }
.m4-vis-blob { position: absolute; inset: 7% -2% 0 10%; background: var(--paper-2); border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; animation: m4-morph 16s ease-in-out infinite alternate; }
@keyframes m4-morph { to { border-radius: 58% 42% 46% 54% / 55% 52% 48% 45%; transform: rotate(4deg) scale(1.03); } }
.m4-window { position: absolute; left: 5%; right: 7%; top: 9%; bottom: 11%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--sh-2); overflow: hidden; animation: m4-rise 1s .3s var(--ease-out) both; }
.m4-win-bar { display: flex; align-items: center; gap: 6px; padding: 0 16px; height: 40px; border-bottom: 1px solid var(--line); background: #fbfaf6; flex-shrink: 0; }
.m4-win-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.m4-win-bar i:nth-child(1) { background: #f0866a; } .m4-win-bar i:nth-child(2) { background: #f2c669; } .m4-win-bar i:nth-child(3) { background: #7dcab9; }
.m4-win-title { margin-left: 12px; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.m4-win-body { flex: 1; display: grid; grid-template-columns: 54px 1fr; min-height: 0; }
.m4-win-side { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 0; border-right: 1px solid var(--line); background: #fbfaf6; }
.m4-win-side i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #8b979a; font-size: .8rem; }
.m4-win-side i.on { background: var(--teal); color: #fff; }
.m4-win-main { display: flex; flex-direction: column; gap: 12px; padding: 16px; min-width: 0; min-height: 0; }
.m4-win-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.m4-sk { display: block; height: 9px; border-radius: 6px; background: var(--paper-2); }
.m4-sk.w60 { width: 150px; height: 11px; background: var(--ink); opacity: .85; margin-bottom: 7px; } .m4-sk.w35 { width: 90px; }
.m4-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--teal-50); color: var(--teal-d); font-size: .68rem; font-weight: 700; white-space: nowrap; }
.m4-tag i { font-size: .6rem; }
.m4-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.m4-kpi { padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.m4-kpi span { display: block; font-family: var(--f-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.m4-kpi b { display: block; height: 7px; border-radius: 6px; background: var(--paper-2); overflow: hidden; }
.m4-kpi b::after { content: ""; display: block; height: 100%; width: var(--w, 60%); border-radius: 6px; background: var(--teal); transform-origin: 0 50%; animation: m4-grow 1.4s .9s var(--ease-out) both; }
.m4-kpi:nth-child(2) b::after { background: var(--orange); }
@keyframes m4-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.m4-chart { flex: 1; min-height: 64px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px 4px; background: linear-gradient(#fff, #fbfaf6); }
.m4-chart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.m4-chart .ln { fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: m4-draw 2.2s 1s var(--ease-out) forwards; }
.m4-chart .ln2 { stroke: var(--orange); stroke-width: 1.8; stroke-dasharray: 1; animation-delay: 1.3s; opacity: .85; }
.m4-chart .ar { fill: url(#m4g); opacity: 0; animation: m4-fade 1s 2s ease forwards; }
@keyframes m4-draw { to { stroke-dashoffset: 0; } }
.m4-rows { display: flex; flex-direction: column; gap: 8px; }
.m4-row { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 11px; }
.m4-av { width: 24px; height: 24px; border-radius: 50%; background: var(--teal-l); flex-shrink: 0; }
.m4-row:nth-child(2) .m4-av { background: var(--orange-50); }
.m4-row .m4-sk { flex: 1; }
.m4-st { font-size: .62rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--teal-50); color: var(--teal-d); }
.m4-row:nth-child(2) .m4-st { background: var(--orange-50); color: var(--orange-d); }

.m4-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-2); animation: m4-rise .9s var(--ease-out) both, m4-float 6s ease-in-out infinite; }
.m4-chip-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--teal); color: #fff; font-size: .95rem; flex-shrink: 0; }
.m4-chip h6 { font-size: .88rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.m4-chip p { font-size: .76rem; color: var(--muted); margin-top: 2px; line-height: 1.35; }
.m4-chip-1 { left: -3%; top: 1%; animation-delay: .9s, 1.8s; }
.m4-chip-2 { right: -2%; top: 40%; animation-delay: 1.05s, 2.6s; }
.m4-chip-2 .m4-chip-ic { background: var(--orange-d); }
.m4-chip-3 { left: 3%; bottom: 0; animation-delay: 1.2s, 3.4s; }
.m4-chip-3 .m4-chip-ic { background: var(--ink); }
@keyframes m4-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }

@media (max-width: 991px) {
  .m4-hero { min-height: 0; }
  .m4-hero-inner { grid-template-columns: 1fr; }
  .m4-hero-visual { max-width: 620px; margin: 8px auto 0; }
}
@media (max-width: 640px) {
  .m4-hero-visual { aspect-ratio: auto; min-height: 0; display: flex; flex-direction: column; gap: 12px; }
  .m4-vis-blob { display: none; }
  .m4-window { position: relative; inset: auto; height: 340px; }
  .m4-chip { position: relative; inset: auto !important; animation: m4-rise .9s var(--ease-out) both; }
  .m4-hero-cta .m4-btn { flex: 1 1 100%; }
  .m4-hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
  .m4-win-side { display: none; } .m4-win-body { grid-template-columns: 1fr; }
}

/* ============================ TRUST MARQUEE ============================ */
.m4-trust { background: #fff; border-block: 1px solid var(--line); padding: 28px 0 30px; overflow: hidden; }
.m4-trust-label { text-align: center; font-family: var(--f-mono); font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.m4-marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); overflow: hidden; }
.m4-marquee-track { display: flex; width: max-content; animation: m4-marq 52s linear infinite; }
.m4-marquee:hover .m4-marquee-track { animation-play-state: paused; }
.m4-marquee-set { display: flex; gap: 56px; padding: 0 28px; margin: 0; list-style: none; }
.m4-marquee-set li { display: flex; align-items: center; gap: 12px; white-space: nowrap; font-size: .8rem; font-weight: 600; letter-spacing: .09em; color: var(--ink); }
.m4-mono-c { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-50); border: 1.5px solid var(--teal); color: var(--teal-d); font-family: var(--f-mono); font-size: .7rem; font-weight: 600; letter-spacing: 0; }
.m4-marquee-set li:nth-child(3n+2) .m4-mono-c { background: var(--orange-50); border-color: var(--orange); color: var(--orange-d); }
@keyframes m4-marq { to { transform: translateX(-50%); } }

/* ============================ PRODUCTS ============================ */
.m4-products .row { counter-reset: pc; }
.m4-products .row > div { counter-increment: pc; }
.m4-products .row > div > div { position: relative; height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .45s var(--ease-out), box-shadow .45s, border-color .3s; }
.m4-products .row > div > div:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: var(--teal); }
.m4-products .row > div > div > div:first-child { padding: 26px 26px 24px; background: var(--teal-50); border-bottom: 1px solid var(--line); }
.m4-products .row > div > div > div:first-child > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 22px; }
.m4-products .row > div > div > div:first-child > div:first-child > div { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: #fff; border: 1px solid var(--teal-l); color: var(--teal-d); font-size: 1.1rem; transition: background .3s, color .3s, transform .45s var(--ease-out); }
.m4-products .row > div > div:hover > div:first-child > div:first-child > div { background: var(--teal); color: #fff; transform: rotate(-6deg) scale(1.05); }
.m4-products .row > div > div > div:first-child > div:first-child > span { font-family: var(--f-mono); font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--teal); color: var(--teal-d); background: #fff; text-align: right; line-height: 1.25; }
.m4-products .row > div > div > div:first-child > h3 { font-family: var(--f-display); font-size: 1.7rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); line-height: 1.12; margin-bottom: 10px; }
.m4-products .row > div > div > div:first-child > h3::before { content: counter(pc, decimal-leading-zero); display: block; font-family: var(--f-mono); font-size: .7rem; font-weight: 600; letter-spacing: .14em; color: var(--orange-d); margin-bottom: 8px; }
.m4-products .row > div > div > div:first-child > p { font-size: .9rem; line-height: 1.6; color: var(--muted); }
.m4-products .row > div > div > div:last-child { padding: 24px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.m4-products ul { list-style: none; margin: 0 0 26px; padding: 0; flex: 1; display: flex; flex-direction: column; gap: 11px; }
.m4-products li { display: flex; align-items: flex-start; gap: 11px; font-size: .9rem; line-height: 1.45; color: var(--text); }
.m4-products li span { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-d); font-size: .55rem; }
.m4-products .row > div > div > div:last-child > a { display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink); font-weight: 600; font-size: .9rem; text-decoration: none; transition: background .25s, color .25s, border-color .25s; }
.m4-products .row > div > div > div:last-child > a:hover { background: var(--ink); color: #fff; }
/* the Connector card is the paid offer: inverted */
.m4-products .row > div:nth-child(4) > div { background: var(--ink); border-color: var(--ink); }
.m4-products .row > div:nth-child(4) > div > div:first-child { background: var(--ink-2); border-color: var(--line-d); }
.m4-products .row > div:nth-child(4) > div > div:first-child > div:first-child > div { background: var(--ink); border-color: var(--line-d); color: var(--teal-b); }
.m4-products .row > div:nth-child(4) > div > div:first-child > div:first-child > span { background: var(--orange-d); border-color: var(--orange-d); color: #fff; }
.m4-products .row > div:nth-child(4) > div > div:first-child > h3 { color: #fff; }
.m4-products .row > div:nth-child(4) > div > div:first-child > h3::before { color: var(--orange); }
.m4-products .row > div:nth-child(4) > div > div:first-child > p { color: rgba(255, 255, 255, .7); }
.m4-products .row > div:nth-child(4) li { color: rgba(255, 255, 255, .86); }
.m4-products .row > div:nth-child(4) li span { background: rgba(54, 201, 182, .16); color: var(--teal-b); }
.m4-products .row > div:nth-child(4) > div > div:last-child > a { background: var(--orange-d); border-color: var(--orange-d); color: #fff; }
.m4-products .row > div:nth-child(4) > div > div:last-child > a:hover { background: var(--orange); border-color: var(--orange); }
.m4-products .row > div:nth-child(4) > div:hover { border-color: var(--orange); }
.m4-products .container > div:last-child { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px 18px 28px; background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.m4-products .container > div:last-child > div { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; }
.m4-products .container > div:last-child > div span { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.m4-products .container > div:last-child > div span:first-child { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.m4-products .container > div:last-child > div i { color: var(--teal); }
.m4-products .container > div:last-child > a { display: inline-flex; align-items: center; height: 46px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .9rem; text-decoration: none; transition: background .25s; }
.m4-products .container > div:last-child > a:hover { background: var(--teal-d); }

/* ============================ BENEFITS (What is ABDM) ============================ */
.m4-benefits { background: #fff; border-block: 1px solid var(--line); }
.m4-benefits .row.g-4:not(.text-center) > div > div { height: 100%; padding: 30px 28px 32px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; transition: transform .45s var(--ease-out), box-shadow .45s, background .3s, border-color .3s; }
.m4-benefits .row.g-4:not(.text-center) > div > div:hover { transform: translateY(-5px); background: #fff; box-shadow: var(--sh-2); border-color: var(--teal-l); }
.m4-benefits .row.g-4:not(.text-center) > div > div > div:first-child { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 24px; background: var(--teal); color: #fff; font-size: 1.35rem; transition: background .3s, transform .45s var(--ease-out); }
.m4-benefits .row.g-4:not(.text-center) > div > div:hover > div:first-child { background: var(--orange-d); transform: rotate(-6deg); }
.m4-benefits .row.g-4:not(.text-center) > div > div > div:last-child > div:first-child { font-family: var(--f-mono); font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-d); margin-bottom: 10px; }
.m4-benefits .row.g-4:not(.text-center) > div > div h3 { font-family: var(--f-display); font-size: 1.4rem; font-weight: 600; letter-spacing: -.015em; color: var(--ink); line-height: 1.2; margin-bottom: 12px; }
.m4-benefits .row.g-4:not(.text-center) > div > div p { font-size: .94rem; line-height: 1.7; color: var(--muted); }
.m4-benefits .container > div:last-child { margin-top: 36px; padding: clamp(28px, 4vw, 44px) clamp(16px, 3vw, 40px); border-radius: 28px; background: var(--ink); position: relative; overflow: hidden; }
.m4-benefits .container > div:last-child::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 150, 136, .4), transparent 65%); }
.m4-benefits .container > div:last-child > .row { position: relative; row-gap: 26px; }
.m4-benefits .container > div:last-child .row > div { text-align: left !important; padding-left: clamp(14px, 2.4vw, 32px); border-left: 1px solid var(--line-d); }
.m4-benefits .container > div:last-child .row > div > div:first-child { font-family: var(--f-display); font-size: clamp(2.1rem, 1.6rem + 1.6vw, 3.1rem); font-weight: 600; line-height: 1; letter-spacing: -.02em; color: #fff; font-variant-numeric: lining-nums; }
.m4-benefits .container > div:last-child .row > div > div:last-child { font-family: var(--f-mono); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-b); margin-top: 12px; }

/* ============================ WHO WE SERVE ============================ */
.m4-verticals { background: var(--paper); }
.m4-verticals .row.g-4 > div > div { position: relative; height: 100%; padding: 26px 24px 28px; background: #fff; border: 1px solid var(--line); border-radius: 20px; transition: transform .4s var(--ease-out), box-shadow .4s, border-color .3s; overflow: hidden; }
.m4-verticals .row.g-4 > div > div::after { content: "\f061"; font-family: "Font Awesome 5 Free", "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: 20px; top: 24px; font-size: .8rem; color: var(--orange-d); opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .3s var(--ease-out); }
.m4-verticals .row.g-4 > div > div:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: var(--teal); }
.m4-verticals .row.g-4 > div > div:hover::after { opacity: 1; transform: none; }
.m4-verticals .row.g-4 > div > div > div:first-child { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; background: var(--teal-50); color: var(--teal-d); font-size: 1.05rem; transition: background .3s, color .3s; }
.m4-verticals .row.g-4 > div > div:hover > div:first-child { background: var(--teal); color: #fff; }
.m4-verticals h6 { font-size: 1.02rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; line-height: 1.3; }
.m4-verticals .row.g-4 > div > div p { font-size: .88rem; line-height: 1.65; color: var(--muted); }
.m4-verticals .container > .text-center { margin-top: 44px !important; }
.m4-verticals .container > .text-center a { display: inline-flex; align-items: center; height: 54px; padding: 0 30px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; transition: background .25s, box-shadow .25s; }
.m4-verticals .container > .text-center a:hover { background: var(--teal-d); color: #fff; box-shadow: 0 14px 28px -14px rgba(0, 119, 108, .8); }

/* ============================ ABDM SERVICES ============================ */
.m4-abdm { background: #fff; border-top: 1px solid var(--line); }
.m4-abdm .row.mb-4 > div > div { height: 100%; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; transition: box-shadow .45s, border-color .3s, transform .45s var(--ease-out); }
.m4-abdm .row.mb-4 > div > div:hover { box-shadow: var(--sh-2); border-color: var(--teal-l); transform: translateY(-4px); }
.m4-abdm .row.mb-4 > div > div > div:first-child { padding: 30px 30px 24px; background: var(--teal-50); border-bottom: 1px solid var(--line); }
.m4-abdm .row.mb-4 > div > div > div:first-child > div:first-child { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.m4-abdm .row.mb-4 > div > div > div:first-child > div:first-child > div:first-child { width: 58px; height: 58px; flex-shrink: 0; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: var(--teal-b); font-size: 1.25rem; transition: transform .45s var(--ease-out), background .3s; }
.m4-abdm .row.mb-4 > div > div:hover > div:first-child > div:first-child > div:first-child { transform: rotate(-6deg) scale(1.06); background: var(--teal-d); color: #fff; }
.m4-abdm .row.mb-4 > div > div > div:first-child > div:first-child > div:last-child > div { display: inline-block; font-family: var(--f-mono); font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--orange-50); color: var(--orange-d); border: 1px solid rgba(240, 90, 34, .3); margin-bottom: 8px; }
.m4-abdm .row.mb-4 h3 { font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -.018em; line-height: 1.15; color: var(--ink); }
.m4-abdm .row.mb-4 > div > div > div:first-child > p { font-size: .94rem; line-height: 1.65; color: var(--muted); }
.m4-abdm .row.mb-4 > div > div > div:last-child { padding: 6px 30px 26px; flex: 1; display: flex; flex-direction: column; }
.m4-abdm .row.mb-4 > div > div > div:last-child > div { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.m4-abdm .row.mb-4 > div > div > div:last-child > div > div:first-child { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--teal-d); font-size: .82rem; }
.m4-abdm .row.mb-4 > div > div > div:last-child > div > div:last-child > div:first-child { font-weight: 700; font-size: .95rem; color: var(--ink); margin-bottom: 3px; }
.m4-abdm .row.mb-4 > div > div > div:last-child > div > div:last-child > div:last-child { font-size: .87rem; line-height: 1.6; color: var(--muted); }
.m4-abdm .row.mb-4 > div > div > div:last-child > div:last-child { border: 0; padding: 22px 0 0; margin-top: auto; }
.m4-abdm .row.mb-4 > div > div > div:last-child > div:last-child a { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 3px; transition: gap .3s var(--ease), color .2s; }
.m4-abdm .row.mb-4 > div > div > div:last-child > div:last-child a:hover { gap: 16px; color: var(--teal-d); }
/* compliance panel */
.m4-abdm .container > div:last-child { position: relative; overflow: hidden; margin-top: 28px; padding: clamp(28px, 4vw, 52px); border-radius: 30px; background: var(--ink); color: #fff; }
.m4-abdm .container > div:last-child::before { content: ""; position: absolute; width: 640px; height: 640px; left: -240px; bottom: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 150, 136, .38), transparent 65%); pointer-events: none; }
.m4-abdm .container > div:last-child > div:not(.row) { display: none; }
.m4-abdm .container > div:last-child > .row { position: relative; row-gap: 28px; }
.m4-abdm .container > div:last-child .col-lg-4 > div:first-child { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; background: var(--teal); color: #fff; font-size: 1.3rem; }
.m4-abdm .container > div:last-child .col-lg-4 > div:nth-child(2) { font-family: var(--f-mono); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.m4-abdm .container > div:last-child .col-lg-4 h3 { font-family: var(--f-display); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 600; color: #fff; line-height: 1.15; letter-spacing: -.018em; margin-bottom: 14px; }
.m4-abdm .container > div:last-child .col-lg-4 p { color: rgba(255, 255, 255, .72); font-size: .96rem; line-height: 1.7; margin-bottom: 24px; }
.m4-abdm .container > div:last-child .col-lg-4 a { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none; transition: background .25s, color .25s; }
.m4-abdm .container > div:last-child .col-lg-4 a:hover { background: var(--orange-d); color: #fff; }
.m4-abdm .container > div:last-child .col-lg-8 .row > div > div { height: 100%; padding: 22px; border: 1px solid var(--line-d); border-radius: 20px; background: rgba(255, 255, 255, .045); transition: background .3s, border-color .3s, transform .4s var(--ease-out); }
.m4-abdm .container > div:last-child .col-lg-8 .row > div > div:hover { background: rgba(255, 255, 255, .09); border-color: rgba(54, 201, 182, .5); transform: translateY(-3px); }
.m4-abdm .container > div:last-child .col-lg-8 .row > div > div > div { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.m4-abdm .container > div:last-child .col-lg-8 .row > div > div > div > div:first-child { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: rgba(54, 201, 182, .14); color: var(--teal-b); font-size: .9rem; }
.m4-abdm .container > div:last-child .col-lg-8 .row > div > div > div > div:last-child { font-weight: 700; font-size: .98rem; color: #fff; line-height: 1.3; }
.m4-abdm .container > div:last-child .col-lg-8 .row > div > div > p { font-size: .88rem; line-height: 1.65; color: rgba(255, 255, 255, .66); }

/* ============================ PROCESS (new) ============================ */
.m4-process { background: var(--paper); }
.m4-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; counter-reset: st; }
.m4-steps::before { content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 2px; background: var(--line); }
.m4-steps::after { content: ""; position: absolute; left: 28px; top: 28px; height: 2px; width: calc((100% - 56px) * var(--p, 0)); background: linear-gradient(90deg, var(--teal), var(--orange)); transition: width .15s linear; }
.m4-step { position: relative; padding-top: 0; counter-increment: st; }
.m4-step-n { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 26px; background: var(--paper); border: 2px solid var(--line); color: var(--ink); font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; transition: background .5s, color .5s, border-color .5s, transform .5s var(--ease-out); }
.m4-step.is-in .m4-step-n { background: var(--ink); border-color: var(--ink); color: #fff; }
.m4-step:hover .m4-step-n { background: var(--orange-d); border-color: var(--orange-d); transform: scale(1.08); }
.m4-step-card { height: calc(100% - 82px); padding: 26px 24px 28px; background: #fff; border: 1px solid var(--line); border-radius: 20px; transition: box-shadow .4s, transform .4s var(--ease-out), border-color .3s; }
.m4-step:hover .m4-step-card { box-shadow: var(--sh-2); transform: translateY(-4px); border-color: var(--teal-l); }
.m4-step-ic { color: var(--teal-d); font-size: 1.2rem; margin-bottom: 16px; }
.m4-step h3 { font-family: var(--f-display); font-size: 1.28rem; font-weight: 600; letter-spacing: -.012em; line-height: 1.2; color: var(--ink); margin-bottom: 10px; }
.m4-step p { font-size: .92rem; line-height: 1.65; color: var(--muted); }
.m4-process-note { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; padding: 20px 26px; border-radius: 20px; background: var(--teal-50); border: 1px solid var(--teal-l); }
.m4-process-note b { font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; color: var(--ink); }
.m4-process-note span { font-size: .94rem; color: var(--muted); }
.m4-process-note .m4-btn { margin-left: auto; }
@media (max-width: 991px) {
  .m4-steps { grid-template-columns: 1fr; gap: 0; }
  .m4-steps::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; }
  .m4-steps::after { left: 27px; top: 28px; width: 2px; height: calc((100% - 56px) * var(--p, 0)); background: linear-gradient(var(--teal), var(--orange)); }
  .m4-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; padding-bottom: 22px; }
  .m4-step-n { margin-bottom: 0; }
  .m4-step-card { height: auto; }
}

/* ============================ ENGAGEMENT MODELS / PRICING (new) ============================ */
.m4-plans { background: #fff; border-block: 1px solid var(--line); }
.m4-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.m4-plan { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; background: var(--paper); border: 1px solid var(--line); border-radius: 26px; transition: transform .45s var(--ease-out), box-shadow .45s; }
.m4-plan:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.m4-plan-tag { font-family: var(--f-mono); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-d); margin-bottom: 14px; }
.m4-plan h3 { font-family: var(--f-display); font-size: 1.7rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.12; color: var(--ink); margin-bottom: 12px; }
.m4-plan > p { font-size: .94rem; line-height: 1.65; color: var(--muted); margin-bottom: 24px; }
.m4-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding: 18px 0; margin-bottom: 22px; border-block: 1px solid var(--line); }
.m4-price-n { font-family: var(--f-display); font-size: clamp(2.5rem, 2rem + 1.4vw, 3.3rem); font-weight: 600; line-height: 1; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: lining-nums; }
.m4-price-n small { font-size: .5em; font-weight: 500; margin-right: 3px; color: var(--orange-d); }
.m4-price-u { font-size: .85rem; color: var(--muted); font-weight: 500; }
.m4-plan ul { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.m4-plan li { display: flex; gap: 12px; font-size: .93rem; line-height: 1.5; color: var(--text); }
.m4-plan li i { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-d); font-size: .55rem; }
.m4-plan .m4-btn { width: 100%; }
.m4-plan-feat { background: var(--ink); border-color: var(--ink); color: #fff; overflow: hidden; }
.m4-plan-feat::before { content: ""; position: absolute; width: 420px; height: 420px; right: -150px; top: -210px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 90, 34, .35), transparent 65%); pointer-events: none; }
.m4-plan-feat .m4-plan-tag { color: var(--orange); }
.m4-plan-feat h3 { color: #fff; } .m4-plan-feat > p { color: rgba(255, 255, 255, .72); }
.m4-plan-feat .m4-price { border-color: var(--line-d); }
.m4-plan-feat .m4-price-n { color: #fff; } .m4-plan-feat .m4-price-n small { color: var(--orange); } .m4-plan-feat .m4-price-u { color: rgba(255, 255, 255, .66); }
.m4-plan-feat li { color: rgba(255, 255, 255, .88); } .m4-plan-feat li i { background: rgba(54, 201, 182, .16); color: var(--teal-b); }
@media (min-width: 992px) { .m4-plan-feat { margin-block: -16px; padding-block: 50px 46px; } }
@media (max-width: 991px) { .m4-plan-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ============================ MID CTA ============================ */
.m4-cta { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 96px) 0; background: var(--teal-d); color: #fff; }
.m4-cta > div:first-child { display: none; }
.m4-cta::before { content: ""; position: absolute; right: -120px; top: 50%; width: 560px; height: 560px; translate: 0 -50%; border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(255, 255, 255, .13) 0 1px, transparent 1px 34px); }
.m4-cta::after { content: ""; position: absolute; left: -160px; bottom: -280px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 90, 34, .38), transparent 65%); }
.m4-cta .container { position: relative; z-index: 1; }
.m4-cta .col-lg-7 > div:first-child { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #bff0e8; margin-bottom: 18px; }
.m4-cta .col-lg-7 > div:first-child span:first-child { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(240, 90, 34, .3); animation: m4-pulse 2s ease-in-out infinite; }
@keyframes m4-pulse { 50% { box-shadow: 0 0 0 9px rgba(240, 90, 34, 0); } }
.m4-cta h2 { font-family: var(--f-display); font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem); font-weight: 600; letter-spacing: -.022em; line-height: 1.1; color: #fff; margin-bottom: 16px; text-wrap: balance; }
.m4-cta .col-lg-7 > p { color: rgba(255, 255, 255, .86); font-size: 1.05rem; line-height: 1.7; margin-bottom: 26px; max-width: 60ch; }
.m4-cta .col-lg-7 > div:last-child { display: flex; flex-wrap: wrap; gap: 10px; }
.m4-cta .col-lg-7 > div:last-child span { padding: 8px 15px; border-radius: 999px; font-size: .84rem; font-weight: 600; color: #fff; border: 1px solid rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .08); }
.m4-cta .col-lg-4 { text-align: left !important; }
@media (min-width: 992px) { .m4-cta .col-lg-4 { text-align: right !important; } }
.m4-cta .col-lg-4 a { display: inline-flex; align-items: center; height: 60px; padding: 0 34px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: 1rem; text-decoration: none; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .5); transition: background .25s, color .25s, transform .3s var(--ease-out); }
.m4-cta .col-lg-4 a:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }
.m4-cta .col-lg-4 p { margin-top: 14px; font-size: .86rem; color: rgba(255, 255, 255, .78); }

/* ============================ ABOUT ============================ */
.m4-about { background: var(--paper); overflow: hidden; }
.m4-about .about-background-enhanced { display: none; }
.m4-about .enhanced-image-wrapper { position: relative; padding: 0 0 46px 0; max-width: 560px; margin-inline: auto; }
.m4-about .image-decoration-bg { position: absolute; inset: 28px -18px 14px 28px; background: var(--orange-50); border: 1px solid var(--line); border-radius: 28px; }
.m4-about .image-frame { position: relative; border-radius: 28px; overflow: hidden; background: var(--teal-50); box-shadow: var(--sh-2); }
.m4-about .about-main-image { display: block; width: 100%; height: auto; transition: transform 1.2s var(--ease-out); }
.m4-about .image-frame:hover .about-main-image { transform: scale(1.04); }
.m4-about .image-overlay { position: absolute; left: 16px; bottom: 16px; padding: 8px 15px; border-radius: 999px; background: rgba(10, 35, 38, .8); color: #fff; font-size: .78rem; font-weight: 600; backdrop-filter: blur(6px); }
.m4-about .image-overlay i { display: none; }
.m4-about .overlay-content { display: flex; align-items: center; }
.m4-about .floating-stats { position: absolute; right: -14px; bottom: 0; display: flex; gap: 12px; }
.m4-about .stat-card { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh-2); animation: m4-float 6s ease-in-out infinite; }
.m4-about .stat-card:nth-child(2) { animation-delay: 1.6s; }
.m4-about .stat-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-d); }
.m4-about .stat-info { display: flex; flex-direction: column; line-height: 1.1; }
.m4-about .stat-number { font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; color: var(--ink); }
.m4-about .stat-label { font-family: var(--f-mono); font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.m4-about .floating-badge { position: absolute; top: 18px; right: -10px; display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--orange-d); color: #fff; font-size: .8rem; font-weight: 600; rotate: 3deg; box-shadow: 0 14px 28px -12px rgba(199, 64, 13, .8); }
.m4-about .enhanced-about-content .section-title { margin-bottom: 20px; }
.m4-about .about-description { font-size: 1.04rem; line-height: 1.75; color: var(--muted); margin-bottom: 28px; }
.m4-about .expertise-grid { margin-bottom: 30px; }
.m4-about .expertise-card { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.m4-about .expertise-card:last-child { border-bottom: 1px solid var(--line); }
.m4-about .expertise-icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-d); transition: background .3s, color .3s; }
.m4-about .expertise-card:hover .expertise-icon { background: var(--teal); color: #fff; }
.m4-about .expertise-content h6 { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.m4-about .expertise-content p { font-size: .9rem; color: var(--muted); line-height: 1.55; }
.m4-about .about-metrics { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin-bottom: 30px; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.m4-about .metric-item { padding: 20px 14px; border-right: 1px solid var(--line); }
.m4-about .metric-item:last-child { border-right: 0; }
.m4-about .metric-number { font-family: var(--f-display); font-size: 1.7rem; font-weight: 600; line-height: 1; color: var(--teal-d); letter-spacing: -.02em; }
.m4-about .metric-label { font-family: var(--f-mono); font-size: .58rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 9px; line-height: 1.4; }
.m4-about .about-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 992px) { .m4-about .enhanced-image-wrapper { position: sticky; top: calc(var(--nav-h) + 32px); } }
@media (max-width: 575px) { .m4-about .metric-item { padding: 16px 10px; } .m4-about .metric-number { font-size: 1.4rem; } .m4-about .floating-stats { right: 0; } .m4-about .stat-card { padding-right: 12px; } .m4-about .stat-card:nth-child(2) { display: none; } }

/* ============================ WHY MEDI4U (dark) ============================ */
.m4-dark { background: var(--ink); color: #fff; overflow: hidden; }
.m4-why { background: var(--ink); }
.m4-why::before { content: ""; position: absolute; width: 760px; height: 760px; left: 50%; top: -420px; translate: -50% 0; border-radius: 50%; background: radial-gradient(circle, rgba(0, 150, 136, .24), transparent 62%); pointer-events: none; }
.m4-why .container { position: relative; }
.m4-why .row { counter-reset: wy; }
.m4-why .row > div { counter-increment: wy; }
.m4-why .row > div > div { position: relative; height: 100%; padding: 32px 28px 34px; border: 1px solid var(--line-d); border-radius: 24px; background: rgba(255, 255, 255, .035); transition: background .35s, border-color .35s, transform .45s var(--ease-out); overflow: hidden; }
.m4-why .row > div > div::after { content: counter(wy, decimal-leading-zero); position: absolute; right: 24px; top: 22px; font-family: var(--f-mono); font-size: .72rem; font-weight: 600; letter-spacing: .12em; color: var(--orange); }
.m4-why .row > div > div:hover { background: rgba(255, 255, 255, .075); border-color: rgba(54, 201, 182, .55); transform: translateY(-5px); }
.m4-why-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 26px; background: rgba(54, 201, 182, .13); border: 1px solid rgba(54, 201, 182, .3); color: var(--teal-b); font-size: 1.25rem; transition: background .3s, color .3s, transform .45s var(--ease-out); }
.m4-why .row > div > div:hover .m4-why-ic { background: var(--teal-b); color: var(--ink); transform: rotate(-6deg); }
.m4-why h6 { font-family: var(--f-display); font-size: 1.28rem; font-weight: 600; letter-spacing: -.012em; line-height: 1.25; color: #fff; margin-bottom: 12px; }
.m4-why .row > div > div p { font-size: .93rem; line-height: 1.7; color: rgba(255, 255, 255, .7); }

/* ============================ STANDARDS & STACK MARQUEE (new) ============================ */
.m4-stack { background: var(--ink-2); padding: clamp(40px, 5vw, 64px) 0; overflow: hidden; border-top: 1px solid var(--line-d); }
.m4-stack-label { text-align: center; font-family: var(--f-mono); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-b); margin-bottom: 28px; padding-inline: var(--gut); }
.m4-stack .m4-marquee { margin-bottom: 14px; }
.m4-stack .m4-marquee:last-child { margin-bottom: 0; }
.m4-stack .m4-marquee-track { animation-duration: 60s; }
.m4-stack .m4-marquee.rev .m4-marquee-track { animation-direction: reverse; animation-duration: 70s; }
.m4-stack .m4-marquee-set { gap: 14px; padding: 0 7px; }
.m4-chipx { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line-d); background: rgba(255, 255, 255, .04); color: #fff; font-size: .92rem; font-weight: 600; white-space: nowrap; transition: background .25s, border-color .25s; }
.m4-chipx::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-b); }
.m4-marquee-set li:nth-child(3n) .m4-chipx::before { background: var(--orange); }
.m4-chipx:hover { background: rgba(255, 255, 255, .1); border-color: var(--teal-b); }
.m4-stack .m4-marquee-set li { display: block; font-size: inherit; }

/* ============================ ECOSYSTEM ============================ */
.m4-eco { background: var(--paper); }
.m4-eco .ecosystem-background { display: none; }
.m4-eco .ecosystem-header { position: sticky; top: calc(var(--nav-h) + 28px); }
.m4-eco .ecosystem-title { font-family: var(--f-display); font-size: clamp(2.1rem, 1.4rem + 2.4vw, 3.2rem); font-weight: 600; letter-spacing: -.022em; line-height: 1.06; color: var(--ink); margin-bottom: 14px; }
.m4-eco .ecosystem-description { font-size: 1.04rem; color: var(--muted); line-height: 1.7; margin-bottom: 36px; }
.m4-eco .ecosystem-visual { position: relative; width: 190px; height: 190px; display: grid; place-items: center; }
.m4-eco .ecosystem-visual::before, .m4-eco .ecosystem-visual::after { content: ""; position: absolute; border-radius: 50%; border: 1.5px dashed var(--teal); opacity: .55; animation: m4-spin 26s linear infinite; }
.m4-eco .ecosystem-visual::before { inset: 0; }
.m4-eco .ecosystem-visual::after { inset: 28px; border-color: var(--orange); animation-direction: reverse; animation-duration: 18s; }
@keyframes m4-spin { to { transform: rotate(360deg); } }
.m4-eco .central-hub { position: relative; z-index: 1; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--teal-b); font-size: 1.5rem; box-shadow: 0 18px 36px -14px rgba(10, 35, 38, .6); }
.m4-eco .ecosystem-grid-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.m4-eco .ecosystem-card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; min-height: 190px; padding: 28px 16px; background: #fff; border: 1px solid var(--line); border-radius: 22px; transition: transform .45s var(--ease-out), box-shadow .45s, border-color .3s; }
.m4-eco .ecosystem-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: var(--teal); }
.m4-eco .card-icon-wrapper { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-d); font-size: 1.5rem; transition: background .3s, color .3s, transform .45s var(--ease-out); }
.m4-eco .ecosystem-card:hover .card-icon-wrapper { background: var(--teal); color: #fff; transform: scale(1.08); }
.m4-eco .ecosystem-card h6 { font-size: .96rem; font-weight: 700; line-height: 1.35; color: var(--ink); }
.m4-eco .card-connector { display: none; }
@media (max-width: 991px) { .m4-eco .ecosystem-header { position: static; margin-bottom: 36px; } .m4-eco .ecosystem-grid-container { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .m4-eco .ecosystem-card { min-height: 160px; } }

/* ============================ TESTIMONIALS ============================ */
.m4-quotes { background: #fff; border-block: 1px solid var(--line); }
.m4-quotes .row > div > div { position: relative; height: 100%; display: flex; flex-direction: column; padding: 34px 30px 30px; background: var(--paper); border: 1px solid var(--line); border-radius: 26px; transition: transform .45s var(--ease-out), box-shadow .45s; }
.m4-quotes .row > div > div:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.m4-quotes .row > div > div::before { content: "\201C"; position: absolute; right: 26px; top: 6px; font-family: var(--f-display); font-size: 6.5rem; line-height: 1; color: var(--teal-l); pointer-events: none; }
.m4-quotes .row > div > div > div:first-child { color: var(--orange); letter-spacing: 3px; font-size: .95rem; margin-bottom: 20px; }
.m4-quotes .row > div > div > p { flex: 1; font-family: var(--f-display); font-size: 1.1rem; line-height: 1.62; font-weight: 400; color: var(--ink); margin-bottom: 28px; font-optical-sizing: auto; }
.m4-quotes .row > div > div > div:last-child { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.m4-quotes .row > div > div > div:last-child > div:first-child { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--teal-b); font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; flex-shrink: 0; }
.m4-quotes .row > div > div > div:last-child > div:last-child > div:first-child { font-weight: 700; color: var(--ink); font-size: .95rem; }
.m4-quotes .row > div > div > div:last-child > div:last-child > div:last-child { font-size: .82rem; color: var(--muted); margin-top: 2px; }
@media (min-width: 992px) { .m4-quotes .row > div:nth-child(2) > div { margin-top: 36px; height: calc(100% - 36px); } }

/* ============================ IMPLEMENTATION GUIDE / MILESTONES ============================ */
.m4-guide { background: var(--ink-2); }
.m4-guide .integration-background { display: none; }
.m4-guide::before { content: ""; position: absolute; width: 700px; height: 700px; left: -260px; bottom: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 90, 34, .18), transparent 65%); pointer-events: none; }
.m4-guide .container { position: relative; }
.m4-guide .integration-content .section-title { color: #fff; margin-bottom: 20px; }
.m4-guide .integration-description { color: rgba(255, 255, 255, .74); font-size: 1.04rem; line-height: 1.75; margin-bottom: 30px; }
.m4-guide .integration-benefits { display: flex; flex-direction: column; gap: 12px; }
.m4-guide .benefit-item { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid var(--line-d); border-radius: 18px; background: rgba(255, 255, 255, .04); }
.m4-guide .benefit-item i { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: rgba(54, 201, 182, .14); color: var(--teal-b); }
.m4-guide .benefit-item span { color: rgba(255, 255, 255, .88); font-size: .95rem; line-height: 1.5; }
.m4-guide .milestone-header p { font-family: var(--f-mono); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-b); margin-bottom: 22px; }
.m4-guide .milestone-timeline { position: relative; display: flex; flex-direction: column; gap: 14px; }
.m4-guide .milestone-timeline::before { content: ""; position: absolute; left: 47px; top: 40px; bottom: 40px; width: 2px; background: repeating-linear-gradient(var(--orange) 0 6px, transparent 6px 12px); opacity: .7; }
.m4-guide .milestone-item { position: relative; display: grid; grid-template-columns: 54px 1fr 30px; align-items: center; gap: 18px; padding: 22px 22px 22px 20px; border: 1px solid var(--line-d); border-radius: 20px; background: #12393d; transition: border-color .3s, transform .4s var(--ease-out), background .3s; }
.m4-guide .milestone-item:hover { border-color: rgba(54, 201, 182, .55); transform: translateX(6px); background: #154146; }
.m4-guide .milestone-number { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-d); color: #fff; font-family: var(--f-display); font-size: 1.4rem; font-weight: 600; box-shadow: 0 0 0 6px rgba(240, 90, 34, .18); }
.m4-guide .milestone-content h6 { font-family: var(--f-mono); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.m4-guide .milestone-content p { color: rgba(255, 255, 255, .88); font-size: .95rem; line-height: 1.55; }
.m4-guide .milestone-icon { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(54, 201, 182, .16); color: var(--teal-b); font-size: .7rem; }

/* ============================ INSIGHTS / BLOG (new) ============================ */
.m4-insights { background: var(--paper); }
.m4-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.m4-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .45s var(--ease-out), box-shadow .45s, border-color .3s; }
.m4-post:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: var(--teal-l); color: inherit; }
.m4-post-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--teal-50); }
.m4-post-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease-out); }
.m4-post:hover .m4-post-img img { transform: scale(1.06); }
.m4-post-cat { position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--f-mono); font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.m4-post-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.m4-post-meta { display: flex; gap: 10px; font-family: var(--f-mono); font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.m4-post h3 { font-family: var(--f-display); font-size: 1.28rem; font-weight: 600; letter-spacing: -.012em; line-height: 1.28; color: var(--ink); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.m4-post p { font-size: .9rem; line-height: 1.65; color: var(--muted); margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.m4-post-more { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem; color: var(--ink); transition: gap .3s var(--ease), color .2s; }
.m4-post:hover .m4-post-more { gap: 16px; color: var(--teal-d); }
.m4-insights-all { margin-top: 36px; text-align: center; }
@media (max-width: 991px) { .m4-posts { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ============================ FAQ ============================ */
.m4-faq { background: #fff; border-top: 1px solid var(--line); }
.m4-faq .col-lg-10 { flex: 0 0 100%; max-width: 100%; }
.m4-faq .col-lg-10 > div { counter-reset: q; border-bottom: 1px solid var(--line); }
.m4-faq .col-lg-10 > div > div { counter-increment: q; position: relative; display: grid; grid-template-columns: 72px 1fr; column-gap: 8px; padding: 30px 0 30px 0; border-top: 1px solid var(--line); transition: background .3s, padding .35s var(--ease-out); }
.m4-faq .col-lg-10 > div > div::before { content: counter(q, decimal-leading-zero); grid-row: 1 / span 2; font-family: var(--f-mono); font-size: .8rem; font-weight: 600; letter-spacing: .1em; color: var(--orange-d); padding-top: 8px; }
.m4-faq .col-lg-10 > div > div:hover { padding-left: 10px; background: linear-gradient(90deg, var(--teal-50), transparent 70%); }
.m4-faq h3 { font-family: var(--f-display); font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); font-weight: 600; letter-spacing: -.012em; line-height: 1.3; color: var(--ink); margin-bottom: 12px; max-width: 46ch; }
.m4-faq .col-lg-10 > div > div p { font-size: .98rem; line-height: 1.8; color: var(--muted); max-width: 78ch; }
.m4-faq .col-lg-10 > div > div p strong { color: var(--ink); font-weight: 700; }
@media (max-width: 575px) { .m4-faq .col-lg-10 > div > div { grid-template-columns: 44px 1fr; } }

/* ============================ CONTACT ============================ */
.m4-contact { background: var(--ink); }
.m4-contact::before { content: ""; position: absolute; width: 820px; height: 820px; right: -300px; top: -360px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 150, 136, .3), transparent 64%); pointer-events: none; }
.m4-contact::after { content: ""; position: absolute; width: 560px; height: 560px; left: -240px; bottom: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 90, 34, .2), transparent 65%); pointer-events: none; }
.m4-contact .contact-background { display: none; }
.m4-contact .container { position: relative; z-index: 1; }
.m4-contact .m4-head .section-title { color: #fff; }
.m4-contact .modern-contact-form { padding: clamp(26px, 3.4vw, 42px); background: var(--paper); border-radius: 28px; box-shadow: var(--sh-2); }
.m4-contact .modern-contact-form .form-header { margin-bottom: 26px; }
.m4-contact .modern-contact-form .form-header h3 { font-family: var(--f-display); font-size: 1.8rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.m4-contact .modern-contact-form .form-header p { color: var(--muted); font-size: .95rem; margin-top: 6px; }
.m4-contact .info-card { display: flex; align-items: center; gap: 18px; padding: 20px 22px; margin-bottom: 14px; border: 1px solid var(--line-d); border-radius: 20px; background: rgba(255, 255, 255, .045); transition: background .3s, border-color .3s, transform .4s var(--ease-out); }
.m4-contact .info-card:hover { background: rgba(255, 255, 255, .09); border-color: rgba(54, 201, 182, .5); transform: translateX(6px); }
.m4-contact .info-icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: 16px; display: grid; place-items: center; background: var(--teal); color: #fff; font-size: 1.05rem; }
.m4-contact .response-card .info-icon { background: var(--orange-d); }
.m4-contact .info-content h5 { font-family: var(--f-mono); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-b); margin-bottom: 4px; }
.m4-contact .info-content p { font-family: var(--f-display); font-size: 1.4rem; font-weight: 600; letter-spacing: -.01em; color: #fff; line-height: 1.2; }
.m4-contact .info-content span { display: block; font-size: .84rem; color: rgba(255, 255, 255, .62); margin-top: 3px; }
.m4-contact .contact-visual { margin: 30px auto 0; max-width: 270px; rotate: -2.5deg; border-radius: 18px; overflow: hidden; border: 6px solid #fff; box-shadow: var(--sh-2); transition: rotate .5s var(--ease-out), transform .5s var(--ease-out); }
.m4-contact .contact-visual:hover { rotate: 0deg; transform: scale(1.03); }
.m4-contact .contact-image { display: block; width: 100%; height: auto; }

/* ============================ TRUST BADGES ============================ */
.m4-badges { background: var(--paper-2); border-top: 1px solid var(--line); padding: 22px 0; }
.m4-badges .row { gap: 6px 22px; }
.m4-badges .col-auto:nth-child(even) { display: none; }
.m4-badges span { display: inline-flex; align-items: center; gap: 9px; font-size: .84rem; font-weight: 600; color: var(--ink); }
.m4-badges i { color: var(--teal); font-size: .95rem; }

@media (max-width: 767px) { .m4-products .container > div:last-child { padding: 20px; } }

.m4-price-text { font-size: clamp(1.8rem, 1.5rem + 1vw, 2.3rem); letter-spacing: -.02em; }
.m4-faq .col-lg-10 > div > div p a { color: var(--teal-d); text-decoration: underline; text-decoration-color: rgba(0, 150, 136, .4); text-underline-offset: 3px; }
.m4-faq .col-lg-10 > div > div p a:hover { color: var(--orange-d); }
