/*
Theme Name: HeuMed Partners Dynamic Content Platform
Theme URI: https://humedpartners.com/
Author: HeuMed Partners
Description: Premium Arabic WordPress block theme for HeuMed Partners with full internal site, brochure-aligned services, dynamic content platform, knowledge hubs, media library, products, programs, events, experts, case studies and mobile-first RTL UX.
Version: 7.2.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: heumed-v72
License: Proprietary
*/
:root{--hmh-navy:#0B2D5B;--hmh-deep:#071F42;--hmh-teal:#009E9A;--hmh-teal2:#2CC7BE;--hmh-ice:#F5FAFB;--hmh-ivory:#FBF8F2;--hmh-line:#DFE8ED;--hmh-text:#16253D;--hmh-muted:#647286;--hmh-white:#fff;--hmh-ar:"Tajawal","Noto Sans Arabic",system-ui,sans-serif;--hmh-en:"Inter",Arial,sans-serif;--hmh-radius:16px;--hmh-shadow:0 14px 36px rgba(11,45,91,.07)}
html{scroll-behavior:smooth}body{margin:0;direction:rtl;text-align:right;font-family:var(--hmh-ar);color:var(--hmh-text);background:#fff}*,*:before,*:after{box-sizing:border-box}img,svg{max-width:100%;height:auto}a{color:inherit}.hmh-shell{width:min(100% - 28px,1280px);margin-inline:auto}.hmh-section{padding:62px 0}.hmh-kicker{font-family:var(--hmh-en);font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;font-weight:800;color:var(--hmh-teal)}.hmh-title{font-size:clamp(2rem,8.5vw,3rem);line-height:1.28;letter-spacing:-.022em;color:var(--hmh-navy);margin:.45rem 0 1rem}.hmh-lead{font-size:1rem;line-height:1.95;color:var(--hmh-muted);max-width:820px}.hmh-section-head{text-align:right;margin-bottom:28px}.hmh-section-head-inline{display:flex;flex-direction:column;gap:12px}.hmh-center{text-align:center;margin-top:28px}.hmh-text-link{text-decoration:none;color:var(--hmh-teal);font-weight:800}.hmh-btn{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;text-decoration:none!important;min-height:50px;padding:.86rem 1.2rem;border-radius:10px;font-weight:800;transition:.2s;border:1px solid transparent}.hmh-btn:hover{transform:translateY(-2px)}.hmh-btn-primary{background:linear-gradient(90deg,var(--hmh-teal),#00B3AA);color:#fff;box-shadow:0 12px 28px rgba(0,158,154,.18)}.hmh-btn-outline{border-color:rgba(11,45,91,.18);color:var(--hmh-navy);background:#fff}.hmh-btn-ghost{border-color:rgba(255,255,255,.4);color:#fff;background:transparent}.hmh-actions{display:flex;flex-direction:column;gap:10px;margin-top:22px}.hmh-actions .hmh-btn{width:100%}
.hmh-header{position:sticky;top:0;z-index:80;background:rgba(255,255,255,.985);backdrop-filter:blur(14px);border-bottom:1px solid rgba(11,45,91,.07);box-shadow:0 5px 18px rgba(11,45,91,.025)}.hmh-header-inner{min-height:78px;display:flex;align-items:center;gap:12px}.hmh-brand{display:flex;align-items:center;text-decoration:none;min-width:0;margin-left:auto;gap:10px}.hmh-brand img{width:205px;display:block;flex:0 0 auto}.hmh-brand-copy{display:none}.hmh-menu-toggle{display:block;border:1px solid var(--hmh-line);background:#fff;border-radius:10px;width:46px;height:46px;font-size:1.25rem;color:var(--hmh-navy);flex:0 0 auto}.hmh-nav{display:none;position:absolute;right:14px;left:14px;top:82px;background:#fff;border:1px solid var(--hmh-line);border-radius:14px;box-shadow:0 22px 55px rgba(11,45,91,.14);padding:14px;flex-direction:column;align-items:stretch}.hmh-nav.is-open{display:flex}.hmh-nav a{text-decoration:none;font-size:.98rem;font-weight:750;color:var(--hmh-navy);padding:12px;border-radius:8px}.hmh-nav a:hover{background:var(--hmh-ice);color:var(--hmh-teal)}.hmh-mobile-cta{background:var(--hmh-teal)!important;color:#fff!important;text-align:center}.hmh-header-actions{display:none}
.hmh-hero{background:linear-gradient(180deg,#fff 0%,#F7FBFC 100%);border-bottom:1px solid var(--hmh-line);overflow:hidden}.hmh-hero-grid{display:grid;grid-template-columns:1fr;gap:26px;padding:44px 0 34px}.hmh-hero-copy{display:flex;flex-direction:column;justify-content:center}.hmh-hero h1{font-size:clamp(2.25rem,10vw,3.25rem);line-height:1.24;letter-spacing:-.035em;margin:.5rem 0 1rem;color:var(--hmh-navy)}.hmh-hero h1 strong{color:var(--hmh-teal);font-weight:800}.hmh-hero p{font-size:1rem;line-height:1.9;color:var(--hmh-muted);max-width:720px;margin:0}.hmh-hero-visual{position:relative;border-radius:20px;overflow:hidden;min-height:260px;box-shadow:0 18px 44px rgba(11,45,91,.11)}.hmh-hero-visual img{width:100%;height:100%;object-fit:cover;object-position:center}.hmh-hero-visual-overlay{position:absolute;inset:0;background:linear-gradient(120deg,rgba(11,45,91,.05),rgba(0,158,154,.08))}.hmh-hero-proof{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.hmh-hero-proof span{font-family:var(--hmh-en);font-size:.7rem;letter-spacing:.05em;font-weight:800;color:var(--hmh-navy);padding:7px 10px;border:1px solid var(--hmh-line);border-radius:999px;background:#fff}
.hmh-services{background:#fff}.hmh-services-grid{display:grid;grid-template-columns:1fr;gap:14px}.hmh-service{border:1px solid var(--hmh-line);border-radius:16px;background:#fff;padding:22px;box-shadow:0 10px 26px rgba(11,45,91,.04)}.hmh-service-no{font-family:var(--hmh-en);font-size:.74rem;color:var(--hmh-teal);font-weight:800}.hmh-service h3{font-size:1.18rem;line-height:1.55;color:var(--hmh-navy);margin:10px 0 7px}.hmh-service p{color:var(--hmh-muted);line-height:1.82;margin:0 0 14px}.hmh-service a{text-decoration:none;color:var(--hmh-teal);font-weight:800}
.hmh-why{background:var(--hmh-ice)}.hmh-split{display:grid;grid-template-columns:1fr;gap:34px}.hmh-timeline{display:grid;gap:10px}.hmh-timeline>div{background:#fff;border:1px solid var(--hmh-line);border-radius:14px;padding:17px 18px;display:grid;grid-template-columns:42px 1fr;gap:2px 12px;align-items:start}.hmh-timeline small{font-family:var(--hmh-en);font-weight:800;color:var(--hmh-teal);grid-row:1/3}.hmh-timeline b{color:var(--hmh-navy);font-size:1rem}.hmh-timeline span{color:var(--hmh-muted);font-size:.86rem;line-height:1.65}
.hmh-systemic{background:#fff}.hmh-system-grid{display:grid;grid-template-columns:1fr;gap:34px}.hmh-system-message{margin-top:18px;border-right:4px solid var(--hmh-teal);padding:10px 14px;background:var(--hmh-ice);font-weight:800;color:var(--hmh-navy)}.hmh-system-cards{display:grid;grid-template-columns:1fr;gap:12px}.hmh-mini{background:#fff;border:1px solid var(--hmh-line);border-radius:14px;padding:18px}.hmh-mini small{font-family:var(--hmh-en);font-weight:800;color:var(--hmh-teal)}.hmh-mini b{display:block;color:var(--hmh-navy);margin:5px 0}.hmh-mini span{color:var(--hmh-muted);font-size:.88rem}
.hmh-solutions{background:var(--hmh-ivory)}.hmh-solution-grid{display:grid;grid-template-columns:1fr;gap:14px}.hmh-solution-grid article{background:#fff;border:1px solid #EAE4D9;border-radius:16px;padding:22px}.hmh-solution-grid small{font-family:var(--hmh-en);font-weight:800;color:var(--hmh-teal)}.hmh-solution-grid h3{color:var(--hmh-navy);margin:8px 0}.hmh-solution-grid p{color:var(--hmh-muted);line-height:1.8;margin:0}
.hmh-leadership{background:linear-gradient(180deg,#F7FBFC,#fff)}.hmh-leadership-grid{display:grid;grid-template-columns:1fr;gap:28px}.hmh-expertise{background:#fff;border:1px solid var(--hmh-line);border-radius:18px;padding:22px;box-shadow:var(--hmh-shadow)}.hmh-credential{padding-bottom:18px;border-bottom:1px solid var(--hmh-line)}.hmh-credential b{display:block;color:var(--hmh-navy);font-size:1.14rem;margin-bottom:6px}.hmh-credential span{color:var(--hmh-muted);font-size:.9rem}.hmh-expertise-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.hmh-expertise-tags span{padding:8px 10px;border-radius:999px;background:var(--hmh-ice);color:var(--hmh-navy);font-weight:700;font-size:.82rem}
.hmh-operating{background:var(--hmh-deep);color:#fff}.hmh-operating .hmh-title{color:#fff}.hmh-operating .hmh-kicker{color:#6AE1DA}.hmh-operating-grid{display:grid;grid-template-columns:1fr;gap:12px}.hmh-operating-grid article{border:1px solid rgba(255,255,255,.14);border-radius:14px;padding:20px;background:rgba(255,255,255,.03)}.hmh-operating-grid span{font-family:var(--hmh-en);color:#5DE4DD;font-size:.75rem;font-weight:800}.hmh-operating-grid h3{margin:8px 0;color:#fff}.hmh-operating-grid p{margin:0;color:rgba(255,255,255,.72);line-height:1.7}.hmh-model-line{margin-top:18px;padding:12px 14px;border-radius:10px;background:rgba(255,255,255,.05);font-family:var(--hmh-en);font-size:.68rem;line-height:1.7;color:rgba(255,255,255,.65);direction:ltr;text-align:center}
.hmh-insights{background:#fff}.hmh-insight-grid{display:grid;grid-template-columns:1fr;gap:14px}.hmh-insight{border:1px solid var(--hmh-line);border-radius:16px;padding:22px;background:#fff}.hmh-insight-featured{background:linear-gradient(180deg,#F3FBFA,#fff);border-color:#BFE9E5}.hmh-insight small{color:var(--hmh-teal);font-weight:800}.hmh-insight h3{font-size:1.18rem;color:var(--hmh-navy);line-height:1.55;margin:8px 0}.hmh-insight p{color:var(--hmh-muted);line-height:1.8}.hmh-insight a{text-decoration:none;color:var(--hmh-teal);font-weight:800}
.hmh-guides-secondary{background:var(--hmh-ice)}.hmh-guide-mini-grid{display:grid;grid-template-columns:1fr;gap:10px}.hmh-guide-mini-grid article{display:grid;grid-template-columns:42px 1fr;align-items:center;gap:12px;background:#fff;border:1px solid var(--hmh-line);border-radius:14px;padding:16px}.hmh-guide-mini-grid span{font-family:var(--hmh-en);color:var(--hmh-teal);font-weight:800}.hmh-guide-mini-grid h3{font-size:1rem;line-height:1.55;color:var(--hmh-navy);margin:0}
.hmh-trust{padding:26px 0;border-top:1px solid var(--hmh-line);border-bottom:1px solid var(--hmh-line);background:#fff}.hmh-trust-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--hmh-line);border:1px solid var(--hmh-line);border-radius:12px;overflow:hidden}.hmh-trust-grid>div{background:#fff;padding:17px 12px;text-align:center;color:var(--hmh-navy);font-weight:800;font-size:.85rem}
.hmh-lead-capture{background:var(--hmh-ivory)}.hmh-lead-box{display:grid;grid-template-columns:1fr;gap:28px}.hmh-privacy-note{font-size:.82rem;color:var(--hmh-muted);margin-top:12px}.hmh-lead-form{display:grid;grid-template-columns:1fr;gap:12px;background:#fff;border:1px solid #EAE4D9;border-radius:18px;padding:20px;box-shadow:0 18px 40px rgba(11,45,91,.06)}.hmh-lead-form label{display:grid;gap:6px;color:var(--hmh-navy);font-weight:700;font-size:.88rem}.hmh-lead-form input,.hmh-lead-form select,.hmh-lead-form textarea{width:100%;border:1px solid #D8E1E6;border-radius:10px;padding:12px 13px;font:inherit;background:#fff;color:var(--hmh-text);min-height:46px}.hmh-lead-form textarea{resize:vertical}.hmh-lead-form input:focus,.hmh-lead-form select:focus,.hmh-lead-form textarea:focus{outline:3px solid rgba(0,158,154,.14);border-color:var(--hmh-teal)}
.hmh-final{background:#fff}.hmh-final-box{background:linear-gradient(112deg,#071F42,#0B2D5B 62%,#075B63);border-radius:20px;padding:30px 24px;color:#fff}.hmh-final .hmh-title{color:#fff;margin-bottom:.4rem}.hmh-final p{color:rgba(255,255,255,.76);line-height:1.8}
.hmh-footer{background:#06182F;color:rgba(255,255,255,.7);padding:48px 0 22px}.hmh-footer-grid{display:grid;grid-template-columns:1fr;gap:26px}.hmh-footer-logo{width:240px;filter:brightness(0) invert(1);margin-bottom:14px}.hmh-footer h3{color:#fff;font-size:1rem}.hmh-footer a{display:block;color:rgba(255,255,255,.72);text-decoration:none;margin:8px 0}.hmh-footer a:hover{color:#62E2DA}.hmh-copy{border-top:1px solid rgba(255,255,255,.1);margin-top:28px;padding-top:18px;font-size:.82rem}.hmh-copy span{display:block;margin-top:8px}
.hmh-page-hero{background:linear-gradient(180deg,#fff,#F5FAFB);padding:58px 0;border-bottom:1px solid var(--hmh-line)}.hmh-page-hero h1{font-size:clamp(2.4rem,9vw,4rem);line-height:1.2;color:var(--hmh-navy);margin:.3rem 0 1rem}.hmh-page-grid{display:grid;grid-template-columns:1fr;gap:36px}.hmh-content{font-size:1.03rem;line-height:2}.hmh-sidebar{background:var(--hmh-ice);padding:22px;border-radius:16px;height:max-content}.hmh-contact-grid,.hmh-post-grid{display:grid;grid-template-columns:1fr;gap:16px}.hmh-contact-card,.hmh-post-card{border:1px solid var(--hmh-line);border-radius:16px;padding:22px;background:#fff}.hmh-notice{padding:14px 16px;border-radius:12px;background:#fff7e8;border:1px solid #f2d29b;color:#6e5425}
@media(min-width:640px){.hmh-shell{width:min(100% - 40px,1280px)}.hmh-section{padding:76px 0}.hmh-actions{flex-direction:row}.hmh-actions .hmh-btn{width:auto}.hmh-services-grid{grid-template-columns:repeat(2,1fr)}.hmh-system-cards,.hmh-solution-grid,.hmh-operating-grid,.hmh-insight-grid,.hmh-guide-mini-grid{grid-template-columns:repeat(2,1fr)}.hmh-trust-grid{grid-template-columns:repeat(4,1fr)}.hmh-lead-form{grid-template-columns:1fr 1fr}.hmh-full{grid-column:1/-1}.hmh-footer-grid{grid-template-columns:repeat(2,1fr)}.hmh-section-head-inline{flex-direction:row;align-items:end;justify-content:space-between}.hmh-insight-featured{grid-column:span 2}}
@media(min-width:900px){.hmh-header-inner{min-height:94px;gap:20px}.hmh-brand{gap:14px}.hmh-brand img{width:300px}.hmh-brand-copy{display:block;border-right:1px solid rgba(11,45,91,.16);padding-right:14px;font-size:.75rem;font-weight:800;color:var(--hmh-navy);line-height:1.4;max-width:160px}.hmh-menu-toggle{display:none}.hmh-nav{display:flex;position:static;background:transparent;border:0;box-shadow:none;padding:0;flex-direction:row;align-items:center;gap:18px}.hmh-nav a{font-size:.88rem;padding:8px 0}.hmh-nav a:hover{background:transparent;color:var(--hmh-teal)}.hmh-mobile-cta{display:none}.hmh-header-actions{display:flex;margin-right:auto}.hmh-header-cta{min-height:46px;padding:.78rem 1.1rem}.hmh-hero-grid{grid-template-columns:1.08fr .92fr;gap:54px;align-items:center;padding:70px 0 62px}.hmh-hero h1{font-size:clamp(3.2rem,5vw,4.7rem);max-width:760px}.hmh-hero p{font-size:1.12rem}.hmh-hero-visual{min-height:470px}.hmh-services-grid{grid-template-columns:repeat(3,1fr)}.hmh-split,.hmh-system-grid,.hmh-leadership-grid,.hmh-lead-box{grid-template-columns:1fr 1fr;gap:58px;align-items:center}.hmh-timeline{gap:12px}.hmh-solution-grid,.hmh-operating-grid{grid-template-columns:repeat(4,1fr)}.hmh-insight-grid{grid-template-columns:1.5fr 1fr 1fr}.hmh-insight-featured{grid-column:auto}.hmh-guide-mini-grid{grid-template-columns:repeat(3,1fr)}.hmh-footer-grid{grid-template-columns:1.4fr 1fr 1fr 1fr}.hmh-page-grid{grid-template-columns:minmax(0,1fr) 320px}.hmh-contact-grid{grid-template-columns:1fr 1fr}.hmh-post-grid{grid-template-columns:repeat(3,1fr)}.hmh-copy{display:flex;justify-content:space-between;gap:20px}.hmh-copy span{display:inline;margin:0}.hmh-final-box{padding:54px 58px;display:flex;align-items:center;justify-content:space-between;gap:40px}}
@media(min-width:1180px){.hmh-brand img{width:320px}.hmh-brand-copy{font-size:.8rem}.hmh-nav{gap:22px}.hmh-nav a{font-size:.92rem}.hmh-header-cta{padding:.82rem 1.25rem}.hmh-hero-grid{gap:68px}.hmh-hero-visual{min-height:510px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hmh-btn{transition:none}}

/* =========================================================
   HeuMed Partners v5 — FINAL MOBILE-FIRST POLISH
   Primary targets: 360px / 390px
   ========================================================= */

.hmh-brand{
  display:grid;
  grid-template-columns:auto 1fr;
  grid-template-rows:auto auto auto;
  column-gap:10px;
  row-gap:0;
  align-items:center;
  margin-left:auto;
  min-width:0;
}
.hmh-brand-logo{
  grid-row:1/4;
  grid-column:1;
  width:148px!important;
  max-width:148px;
  height:auto;
  display:block;
}
.hmh-brand-ar{
  grid-column:2;
  grid-row:2;
  color:var(--hmh-navy);
  font-size:.78rem;
  line-height:1.15;
  font-weight:800;
  white-space:nowrap;
}
.hmh-brand-tagline{
  grid-column:2;
  grid-row:3;
  color:var(--hmh-muted);
  font-size:.56rem;
  line-height:1.25;
  font-weight:600;
  white-space:nowrap;
}
.hmh-brand-copy{display:none!important}

.hmh-header-inner{min-height:76px;padding-block:6px}
.hmh-menu-toggle{width:48px;height:48px;border-radius:12px;font-size:1.28rem}
.hmh-nav{top:78px}

.hmh-section{padding:44px 0}
.hmh-section-head{margin-bottom:20px}
.hmh-title{font-size:clamp(1.85rem,8vw,2.35rem);line-height:1.22;margin:.35rem 0 .75rem}
.hmh-lead{font-size:.96rem;line-height:1.78}
.hmh-kicker{font-size:.64rem;letter-spacing:.1em}
.hmh-center{margin-top:20px}

/* HERO — compact, conversion-first on mobile */
.hmh-hero-grid{gap:18px;padding:28px 0 26px}
.hmh-hero h1{font-size:clamp(2.15rem,9.2vw,2.75rem);line-height:1.16;letter-spacing:-.025em;margin:.35rem 0 .7rem}
.hmh-hero p{font-size:.96rem;line-height:1.72}
.hmh-actions{margin-top:16px;gap:9px}
.hmh-actions .hmh-btn{min-height:50px;border-radius:12px}
.hmh-hero-proof{margin-top:14px;gap:6px}
.hmh-hero-proof span{font-size:.62rem;padding:6px 8px}
.hmh-hero-visual{display:none}

/* SERVICES — compact scan-friendly cards */
.hmh-services-grid{gap:10px}
.hmh-service{padding:17px 18px;border-radius:14px;box-shadow:0 7px 20px rgba(11,45,91,.035)}
.hmh-service h3{font-size:1.04rem;line-height:1.45;margin:6px 0 5px}
.hmh-service p{font-size:.88rem;line-height:1.65;margin:0 0 9px}
.hmh-service a{font-size:.9rem}
.hmh-service-no{font-size:.68rem}

/* WHY / TIMELINE */
.hmh-split{gap:24px}
.hmh-timeline{gap:8px}
.hmh-timeline>div{padding:13px 14px;border-radius:12px;grid-template-columns:34px 1fr;gap:1px 9px}
.hmh-timeline b{font-size:.95rem}
.hmh-timeline span{font-size:.8rem;line-height:1.45}

/* SYSTEMIC PROBLEM */
.hmh-system-grid{gap:24px}
.hmh-system-message{margin-top:13px;padding:9px 12px;font-size:.9rem}
.hmh-system-cards{gap:9px}
.hmh-mini{padding:14px 15px;border-radius:12px}
.hmh-mini b{margin:3px 0;font-size:.96rem}
.hmh-mini span{font-size:.8rem}

/* SOLUTIONS */
.hmh-solution-grid{gap:10px}
.hmh-solution-grid article{padding:16px 17px;border-radius:14px}
.hmh-solution-grid h3{font-size:1rem;margin:5px 0}
.hmh-solution-grid p{font-size:.84rem;line-height:1.6}
.hmh-solution-grid small{font-size:.68rem}

/* LEADERSHIP */
.hmh-leadership-grid{gap:20px}
.hmh-expertise{padding:18px;border-radius:15px}
.hmh-credential{padding-bottom:13px}
.hmh-credential b{font-size:1rem}
.hmh-credential span{font-size:.8rem}
.hmh-expertise-tags{gap:6px;margin-top:13px}
.hmh-expertise-tags span{font-size:.74rem;padding:7px 9px}

/* OPERATING MODEL */
.hmh-operating-grid{gap:9px}
.hmh-operating-grid article{padding:15px 16px;border-radius:12px}
.hmh-operating-grid h3{font-size:1rem;margin:5px 0}
.hmh-operating-grid p{font-size:.82rem;line-height:1.55}
.hmh-model-line{margin-top:13px;padding:10px;font-size:.61rem;line-height:1.55}

/* INSIGHTS */
.hmh-insight-grid{gap:10px}
.hmh-insight{padding:16px 17px;border-radius:14px}
.hmh-insight h3{font-size:1.03rem;line-height:1.45;margin:5px 0}
.hmh-insight p{font-size:.84rem;line-height:1.6;margin:.4rem 0 .7rem}
.hmh-insight small{font-size:.7rem}

/* GUIDES — deliberately secondary */
.hmh-guide-mini-grid{gap:8px}
.hmh-guide-mini-grid article{grid-template-columns:34px 1fr;padding:13px 14px;border-radius:12px;gap:8px}
.hmh-guide-mini-grid h3{font-size:.9rem;line-height:1.45}

/* TRUST */
.hmh-trust{padding:20px 0}
.hmh-trust-grid>div{padding:14px 8px;font-size:.78rem;line-height:1.45}

/* LEAD CAPTURE — progressive disclosure */
.hmh-lead-box{gap:20px}
.hmh-lead-form{gap:10px;padding:17px;border-radius:15px}
.hmh-lead-form input,.hmh-lead-form select,.hmh-lead-form textarea{min-height:48px;padding:11px 12px}
.hmh-optional{border:1px solid var(--hmh-line);border-radius:11px;background:var(--hmh-ice);overflow:hidden}
.hmh-optional summary{cursor:pointer;padding:12px 13px;color:var(--hmh-navy);font-weight:800;list-style:none}
.hmh-optional summary::-webkit-details-marker{display:none}
.hmh-optional summary:after{content:'+';float:left;color:var(--hmh-teal);font-family:var(--hmh-en);font-size:1.1rem}
.hmh-optional[open] summary:after{content:'−'}
.hmh-optional-grid{display:grid;gap:10px;padding:0 12px 12px}

/* FINAL CTA */
.hmh-final-box{padding:24px 18px;border-radius:18px}
.hmh-final p{font-size:.9rem;line-height:1.65;margin-bottom:0}

/* FOOTER — compact but authoritative */
.hmh-footer{padding:36px 0 18px}
.hmh-footer-grid{gap:20px}
.hmh-footer-logo{width:210px;margin-bottom:6px}
.hmh-footer-brand strong{display:block;color:#fff;font-size:1rem;margin-bottom:2px}
.hmh-footer-brand>span{display:block;color:#67DCD5;font-size:.76rem;font-weight:700;margin-bottom:10px}
.hmh-footer-brand p{font-size:.82rem;line-height:1.7;margin:0;max-width:420px}
.hmh-footer h3{font-size:.9rem;margin-bottom:8px}
.hmh-footer a{font-size:.85rem;margin:6px 0}
.hmh-copy{margin-top:20px;padding-top:14px;font-size:.74rem}

@media(max-width:390px){
  .hmh-shell{width:min(100% - 24px,1280px)}
  .hmh-brand-logo{width:138px!important;max-width:138px}
  .hmh-brand-ar{font-size:.74rem}
  .hmh-brand-tagline{font-size:.52rem}
  .hmh-menu-toggle{width:46px;height:46px}
  .hmh-hero h1{font-size:2.08rem}
  .hmh-title{font-size:1.78rem}
  .hmh-service{padding:15px 16px}
  .hmh-section{padding:40px 0}
}

@media(min-width:640px){
  .hmh-brand-logo{width:190px!important;max-width:190px}
  .hmh-brand-ar{font-size:.85rem}
  .hmh-brand-tagline{font-size:.62rem}
  .hmh-hero-visual{display:block;min-height:320px}
  .hmh-section{padding:64px 0}
}

@media(min-width:900px){
  .hmh-header-inner{min-height:100px;padding-block:8px}
  .hmh-brand{grid-template-columns:auto 1fr;column-gap:14px}
  .hmh-brand-logo{width:245px!important;max-width:245px}
  .hmh-brand-ar{font-size:.98rem}
  .hmh-brand-tagline{font-size:.72rem}
  .hmh-nav{gap:16px}
  .hmh-nav a{font-size:.86rem}
  .hmh-hero-grid{padding:58px 0 54px;gap:48px}
  .hmh-hero h1{font-size:clamp(3rem,4.5vw,4.25rem);line-height:1.16}
  .hmh-hero p{font-size:1.05rem;line-height:1.8}
  .hmh-hero-visual{min-height:420px}
  .hmh-section{padding:76px 0}
  .hmh-service{padding:22px}
  .hmh-operating-grid article{padding:20px}
  .hmh-final-box{padding:46px 50px}
  .hmh-footer-logo{width:250px}
}

@media(min-width:1180px){
  .hmh-brand-logo{width:275px!important;max-width:275px}
  .hmh-brand-ar{font-size:1rem}
  .hmh-brand-tagline{font-size:.74rem}
  .hmh-nav{gap:20px}
}


/* =========================================================
   HeuMed Partners v5.1 — HEADER + HERO FINAL POLISH
   Locked target: 360px / 390px mobile-first
   ========================================================= */

/* One coherent brand lockup: EN logo, Arabic name, descriptor */
.hmh-brand{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:1px!important;
  width:225px!important;
  max-width:calc(100vw - 92px)!important;
  margin-left:auto!important;
  text-decoration:none!important;
}
.hmh-brand-logo{
  width:198px!important;
  max-width:100%!important;
  height:auto!important;
  display:block!important;
  margin:0!important;
}
.hmh-brand-ar{
  display:block!important;
  width:100%!important;
  color:var(--hmh-navy)!important;
  font-size:.77rem!important;
  line-height:1.18!important;
  font-weight:800!important;
  text-align:right!important;
  white-space:nowrap!important;
  padding-inline-start:2px!important;
}
.hmh-brand-tagline{
  display:block!important;
  width:100%!important;
  color:var(--hmh-muted)!important;
  font-size:.54rem!important;
  line-height:1.24!important;
  font-weight:650!important;
  text-align:right!important;
  white-space:nowrap!important;
  padding-inline-start:2px!important;
}
.hmh-header-inner{
  min-height:82px!important;
  padding-block:6px!important;
  gap:10px!important;
}
.hmh-menu-toggle{
  width:48px!important;
  height:48px!important;
  border-radius:12px!important;
  flex:0 0 48px!important;
}
.hmh-nav{top:84px!important}

/* Mobile hero: shorter, stronger, earlier CTA */
.hmh-hero-grid{
  padding:24px 0 22px!important;
  gap:14px!important;
}
.hmh-hero h1{
  font-size:clamp(1.98rem,8.55vw,2.42rem)!important;
  line-height:1.13!important;
  letter-spacing:-.022em!important;
  margin:.28rem 0 .62rem!important;
}
.hmh-hero p{
  font-size:.92rem!important;
  line-height:1.64!important;
  max-width:36rem!important;
}
.hmh-actions{
  margin-top:14px!important;
  gap:8px!important;
}
.hmh-actions .hmh-btn{
  min-height:50px!important;
  padding:.78rem 1rem!important;
}
.hmh-hero .hmh-actions .hmh-btn-outline{
  min-height:46px!important;
  padding:.68rem 1rem!important;
  background:rgba(255,255,255,.78)!important;
}

/* 2x2 proof grid: no clipped pills on 360/390 */
.hmh-hero-proof{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:7px!important;
  margin-top:12px!important;
  width:100%!important;
}
.hmh-hero-proof span{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  width:100%!important;
  padding:7px 6px!important;
  font-size:.66rem!important;
  line-height:1.2!important;
  text-align:center!important;
  white-space:nowrap!important;
}

/* Keep image out of primary mobile conversion viewport */
.hmh-hero-visual{display:none!important}

@media (max-width:390px){
  .hmh-shell{width:min(100% - 22px,1280px)!important}
  .hmh-brand{width:218px!important;max-width:calc(100vw - 84px)!important}
  .hmh-brand-logo{width:188px!important}
  .hmh-brand-ar{font-size:.73rem!important}
  .hmh-brand-tagline{font-size:.51rem!important}
  .hmh-header-inner{min-height:80px!important}
  .hmh-menu-toggle{width:46px!important;height:46px!important;flex-basis:46px!important}
  .hmh-nav{top:82px!important}
  .hmh-hero-grid{padding:22px 0 20px!important}
  .hmh-hero h1{font-size:1.92rem!important;line-height:1.12!important}
  .hmh-hero p{font-size:.9rem!important;line-height:1.6!important}
}

@media (min-width:640px){
  .hmh-brand{width:250px!important;max-width:none!important}
  .hmh-brand-logo{width:220px!important}
  .hmh-brand-ar{font-size:.82rem!important}
  .hmh-brand-tagline{font-size:.59rem!important}
  .hmh-header-inner{min-height:88px!important}
  .hmh-hero-grid{padding:38px 0 34px!important;gap:26px!important}
  .hmh-hero h1{font-size:clamp(2.55rem,6vw,3.25rem)!important;line-height:1.14!important}
  .hmh-hero p{font-size:1rem!important;line-height:1.72!important}
  .hmh-hero-proof{display:flex!important;flex-wrap:wrap!important;width:auto!important}
  .hmh-hero-proof span{width:auto!important;padding:7px 10px!important}
  .hmh-hero-visual{display:block!important;min-height:320px!important}
}

@media (min-width:900px){
  .hmh-header-inner{min-height:100px!important;padding-block:8px!important;gap:18px!important}
  .hmh-brand{width:300px!important;align-items:flex-start!important}
  .hmh-brand-logo{width:270px!important}
  .hmh-brand-ar{font-size:.92rem!important}
  .hmh-brand-tagline{font-size:.67rem!important}
  .hmh-nav{top:auto!important}
  .hmh-hero-grid{padding:56px 0 50px!important;gap:48px!important}
  .hmh-hero h1{font-size:clamp(3rem,4.45vw,4.2rem)!important;line-height:1.15!important}
  .hmh-hero p{font-size:1.05rem!important;line-height:1.78!important}
  .hmh-hero-visual{min-height:420px!important}
}

@media (min-width:1180px){
  .hmh-brand{width:322px!important}
  .hmh-brand-logo{width:292px!important}
  .hmh-brand-ar{font-size:.96rem!important}
  .hmh-brand-tagline{font-size:.7rem!important}
}


/* =========================================================
   HeuMed Partners v5.2 — FINAL MOBILE PREMIUM POLISH PASS
   Scope: visual refinement only; architecture/content locked.
   ========================================================= */

/* Section rhythm and heading control */
.hmh-section{padding-block:52px}
.hmh-section-head{margin-bottom:22px}
.hmh-kicker{display:inline-block;font-size:.64rem;line-height:1.2;letter-spacing:.14em;margin-bottom:2px}
.hmh-title{font-size:clamp(1.86rem,7.8vw,2.75rem);line-height:1.22;max-width:18ch;text-wrap:balance;margin:.38rem 0 .78rem}
.hmh-lead{font-size:.96rem;line-height:1.78;max-width:42rem}
.hmh-section-head .hmh-lead{margin-bottom:0}

/* Hero line breaks and first-screen efficiency */
.hmh-hero-grid{padding-block:20px 18px!important;gap:12px!important}
.hmh-hero h1{font-size:clamp(1.9rem,8.2vw,2.34rem)!important;line-height:1.11!important;max-width:15.5ch!important;text-wrap:balance!important;margin:.24rem 0 .56rem!important}
.hmh-hero p{font-size:.89rem!important;line-height:1.58!important;max-width:35rem!important}
.hmh-hero .hmh-actions{margin-top:12px!important}
.hmh-hero-proof{margin-top:10px!important}

/* Consistent service and content cards */
.hmh-services-grid,.hmh-solution-grid,.hmh-insight-grid{gap:11px}
.hmh-service,.hmh-solution-grid article,.hmh-insight{padding:17px 18px;border-radius:14px}
.hmh-service h3,.hmh-solution-grid h3,.hmh-insight h3{margin:6px 0 5px;line-height:1.42;text-wrap:balance}
.hmh-service h3{font-size:1.08rem}
.hmh-service p,.hmh-solution-grid p,.hmh-insight p{font-size:.85rem;line-height:1.62;margin:.2rem 0 .65rem}
.hmh-service a,.hmh-insight a{display:inline-flex;margin-top:2px}

/* Methodology */
.hmh-split{gap:26px}
.hmh-timeline{gap:8px}
.hmh-timeline>div{padding:14px 15px;border-radius:12px;grid-template-columns:36px 1fr;gap:2px 10px}
.hmh-timeline b{font-size:.95rem}
.hmh-timeline span{font-size:.8rem;line-height:1.52}

/* Problem recognition */
.hmh-system-grid{gap:26px}
.hmh-system-message{margin-top:14px;padding:9px 12px;font-size:.9rem}
.hmh-system-cards{gap:9px}
.hmh-mini{padding:14px 15px;border-radius:12px}
.hmh-mini b{margin:3px 0;font-size:.95rem}
.hmh-mini span{font-size:.8rem;line-height:1.48}

/* Solutions architecture */
.hmh-solution-grid article{min-height:0}
.hmh-solution-grid small{font-size:.68rem;letter-spacing:.04em}
.hmh-solution-grid h3{font-size:1.04rem}
.hmh-center{margin-top:20px}

/* Leadership */
.hmh-leadership-grid{gap:22px}
.hmh-expertise{padding:18px;border-radius:15px}
.hmh-credential{padding-bottom:13px}
.hmh-credential b{font-size:1.02rem;margin-bottom:3px}
.hmh-expertise-tags{margin-top:12px;gap:6px}
.hmh-expertise-tags span{font-size:.73rem;padding:6px 8px}

/* Operating model */
.hmh-operating .hmh-title{max-width:17ch}
.hmh-operating-grid{gap:8px}
.hmh-operating-grid article{padding:14px 15px;border-radius:12px}
.hmh-operating-grid h3{font-size:.98rem;margin:4px 0}
.hmh-operating-grid p{font-size:.8rem;line-height:1.5}
.hmh-model-line{margin-top:11px;padding:9px 8px;font-size:.58rem;line-height:1.48;overflow-wrap:anywhere}

/* Insights + guides stay secondary */
.hmh-insight{padding:15px 16px}
.hmh-insight h3{font-size:1rem}
.hmh-guide-mini-grid{gap:7px}
.hmh-guide-mini-grid article{padding:12px 13px;grid-template-columns:32px 1fr}
.hmh-guide-mini-grid h3{font-size:.88rem;line-height:1.4}

/* Trust, form, final CTA */
.hmh-trust{padding:18px 0}
.hmh-trust-grid>div{padding:13px 7px;font-size:.76rem;line-height:1.4}
.hmh-lead-box{gap:18px}
.hmh-lead-form{padding:16px;gap:9px}
.hmh-final-box{padding:21px 16px}
.hmh-final .hmh-title{max-width:16ch}
.hmh-final p{font-size:.86rem;line-height:1.58}

/* Prevent accidental overflow */
.hmh-title,.hmh-service h3,.hmh-solution-grid h3,.hmh-insight h3,.hmh-guide-mini-grid h3{overflow-wrap:break-word;word-break:normal}
.hmh-shell{overflow:visible}

@media(max-width:390px){
  .hmh-section{padding-block:44px}
  .hmh-section-head{margin-bottom:18px}
  .hmh-title{font-size:1.72rem;line-height:1.2;max-width:17ch}
  .hmh-lead{font-size:.9rem;line-height:1.7}
  .hmh-hero-grid{padding-block:18px 16px!important}
  .hmh-hero h1{font-size:1.84rem!important;line-height:1.1!important;max-width:15ch!important}
  .hmh-hero p{font-size:.87rem!important;line-height:1.55!important}
  .hmh-service,.hmh-solution-grid article,.hmh-insight{padding:15px 16px}
  .hmh-final-box{padding:19px 15px}
}

@media(min-width:640px){
  .hmh-section{padding-block:64px}
  .hmh-title{font-size:clamp(2.1rem,4.8vw,3rem);max-width:20ch}
  .hmh-hero-grid{padding-block:36px 32px!important}
  .hmh-hero h1{font-size:clamp(2.5rem,5.8vw,3.2rem)!important;max-width:16ch!important}
  .hmh-service,.hmh-solution-grid article,.hmh-insight{padding:20px}
}

@media(min-width:900px){
  .hmh-section{padding-block:74px}
  .hmh-section-head{margin-bottom:28px}
  .hmh-title{font-size:clamp(2.35rem,3.5vw,3.25rem);line-height:1.2;max-width:21ch}
  .hmh-lead{font-size:1.02rem;line-height:1.82}
  .hmh-hero-grid{padding-block:52px 46px!important}
  .hmh-hero h1{font-size:clamp(3rem,4.35vw,4.15rem)!important;max-width:17ch!important}
  .hmh-services-grid{gap:16px}
  .hmh-service{padding:22px}
}

/* v5.4 — Services-first mobile conversion architecture */
.hmh-services-gateway{
  padding-block:34px 38px!important;
  background:#fff;
  border-top:1px solid var(--hmh-line);
}
.hmh-services-head{margin-bottom:18px!important}
.hmh-services-head .hmh-title{
  font-size:clamp(1.75rem,7.5vw,2.25rem)!important;
  line-height:1.15!important;
  margin:.3rem 0 .45rem!important;
}
.hmh-services-head .hmh-lead{
  font-size:.88rem!important;
  line-height:1.6!important;
  max-width:34rem;
}
.hmh-service-icon-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.hmh-service-icon-card{
  min-width:0;
  min-height:150px;
  padding:16px 12px 13px;
  border:1px solid var(--hmh-line);
  border-radius:16px;
  background:linear-gradient(180deg,#fff 0%,#FBFDFD 100%);
  box-shadow:0 8px 22px rgba(11,45,91,.035);
  text-decoration:none!important;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.hmh-service-icon-card:hover,.hmh-service-icon-card:focus-visible{
  transform:translateY(-2px);
  border-color:rgba(0,158,154,.35);
  box-shadow:0 12px 28px rgba(11,45,91,.07);
}
.hmh-service-icon{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:11px;
  background:rgba(0,158,154,.08);
  margin-bottom:10px;
}
.hmh-service-icon svg{
  width:25px;
  height:25px;
  fill:none;
  stroke:var(--hmh-teal);
  stroke-width:2.4;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.hmh-service-icon-title{
  display:block;
  color:var(--hmh-navy);
  font-size:.91rem;
  font-weight:800;
  line-height:1.45;
  text-wrap:balance;
}
.hmh-service-icon-link{
  display:block;
  margin-top:auto;
  padding-top:9px;
  color:var(--hmh-teal);
  font-size:.75rem;
  font-weight:800;
}
.hmh-hero-grid{padding-bottom:18px!important}
.hmh-hero-copy{padding-bottom:0!important}
.hmh-hero + .hmh-services-gateway{margin-top:0}

@media(max-width:359px){
  .hmh-service-icon-card{min-height:144px;padding:14px 10px 12px}
  .hmh-service-icon-title{font-size:.85rem}
}
@media(min-width:640px){
  .hmh-services-gateway{padding-block:46px 50px!important}
  .hmh-service-icon-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
  .hmh-service-icon-card{min-height:170px;padding:20px 18px 16px}
  .hmh-service-icon{width:44px;height:44px}
  .hmh-service-icon svg{width:29px;height:29px}
  .hmh-service-icon-title{font-size:1rem}
}
@media(min-width:900px){
  .hmh-services-gateway{padding-block:54px 58px!important}
  .hmh-service-icon-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
  .hmh-service-icon-card{min-height:190px}
  .hmh-hero-grid{padding-bottom:42px!important}
}

/* =========================================================
   HeuMed Partners v5.5 — ABOVE-THE-FOLD SERVICES
   Goal: larger brand presence + six services visible on first
   public mobile viewport (360–430px) without sacrificing RTL.
   ========================================================= */
.hmh-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

@media(max-width:639px){
  /* Larger, clearer mobile brand/header */
  .hmh-header-inner{min-height:96px!important;padding-block:8px!important;gap:10px!important}
  .hmh-brand{width:min(286px,calc(100vw - 82px))!important;max-width:none!important;grid-template-columns:182px minmax(0,1fr)!important;column-gap:10px!important;align-items:center!important}
  .hmh-brand-logo{width:182px!important;max-width:182px!important}
  .hmh-brand-ar{font-size:.86rem!important;line-height:1.08!important;font-weight:850!important}
  .hmh-brand-tagline{font-size:.6rem!important;line-height:1.18!important;font-weight:650!important;white-space:normal!important}
  .hmh-menu-toggle{width:52px!important;height:52px!important;border-radius:13px!important;font-size:1.38rem!important}
  .hmh-nav{top:98px!important}

  /* Compressed hero: brand promise retained, vertical cost reduced */
  .hmh-hero-grid{padding-block:15px 14px!important;gap:8px!important}
  .hmh-hero-copy{padding-bottom:0!important}
  .hmh-hero .hmh-kicker{font-size:.59rem!important;letter-spacing:.085em!important;margin-bottom:1px!important}
  .hmh-hero h1{font-size:clamp(1.78rem,7.6vw,2.08rem)!important;line-height:1.075!important;max-width:17ch!important;margin:.18rem 0 .42rem!important;text-wrap:balance!important}
  .hmh-hero p{font-size:.84rem!important;line-height:1.48!important;max-width:34rem!important;margin:0!important}
  .hmh-hero-visual{display:none!important}

  /* Services become part of the opening composition, not a later section */
  .hmh-services-gateway{padding-block:14px 18px!important}
  .hmh-hero + .hmh-services-gateway{margin-top:0!important}
  .hmh-services-head{margin-bottom:9px!important;display:flex!important;align-items:baseline!important;justify-content:flex-start!important;gap:8px!important;flex-wrap:wrap!important}
  .hmh-services-head .hmh-kicker{font-size:.56rem!important;letter-spacing:.08em!important;margin:0!important;order:2!important}
  .hmh-services-head .hmh-title{font-size:1.38rem!important;line-height:1.05!important;margin:0!important;order:1!important}
  .hmh-services-head .hmh-lead{display:none!important}

  /* 3 × 2 quick-scan service launcher */
  .hmh-service-icon-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
  .hmh-service-icon-card{min-height:92px!important;padding:9px 5px 8px!important;border-radius:13px!important;gap:5px!important;justify-content:center!important;box-shadow:0 5px 14px rgba(11,45,91,.035)!important}
  .hmh-service-icon{width:34px!important;height:34px!important;border-radius:10px!important}
  .hmh-service-icon svg{width:22px!important;height:22px!important}
  .hmh-service-icon-title{font-size:.69rem!important;line-height:1.28!important;min-height:2.55em!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;text-wrap:balance!important}
  .hmh-service-icon-link{display:none!important}
}

@media(max-width:374px){
  .hmh-header-inner{min-height:90px!important}
  .hmh-brand{width:min(260px,calc(100vw - 76px))!important;grid-template-columns:164px minmax(0,1fr)!important;column-gap:8px!important}
  .hmh-brand-logo{width:164px!important;max-width:164px!important}
  .hmh-brand-ar{font-size:.78rem!important}
  .hmh-brand-tagline{font-size:.54rem!important}
  .hmh-menu-toggle{width:48px!important;height:48px!important}
  .hmh-nav{top:92px!important}
  .hmh-hero-grid{padding-block:12px 11px!important}
  .hmh-hero h1{font-size:1.7rem!important;line-height:1.06!important;max-width:16.5ch!important}
  .hmh-hero p{font-size:.8rem!important;line-height:1.43!important}
  .hmh-services-gateway{padding-block:12px 16px!important}
  .hmh-services-head{margin-bottom:8px!important}
  .hmh-services-head .hmh-title{font-size:1.28rem!important}
  .hmh-service-icon-grid{gap:6px!important}
  .hmh-service-icon-card{min-height:88px!important;padding:8px 4px 7px!important}
  .hmh-service-icon{width:32px!important;height:32px!important}
  .hmh-service-icon svg{width:20px!important;height:20px!important}
  .hmh-service-icon-title{font-size:.64rem!important;line-height:1.25!important}
}

@media(min-width:640px) and (max-width:899px){
  .hmh-header-inner{min-height:104px!important}
  .hmh-brand-logo{width:225px!important;max-width:225px!important}
  .hmh-brand-ar{font-size:.9rem!important}
  .hmh-brand-tagline{font-size:.64rem!important}
  .hmh-hero-grid{padding-block:28px 26px!important}
  .hmh-service-icon-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
  .hmh-service-icon-card{min-height:126px!important}
}

/* =========================================================
   HeuMed Partners v5.6 — PREMIUM MOBILE SERVICE DISCOVERY
   Final goal: official 6/6 service names, 3x2 quick scan,
   larger brand presence, tighter first-screen composition.
   ========================================================= */
@media(max-width:639px){
  /* Preserve premium brand presence, remove nonessential air */
  .hmh-header-inner{
    min-height:92px!important;
    padding-block:6px!important;
  }
  .hmh-brand{
    width:min(292px,calc(100vw - 80px))!important;
  }
  .hmh-brand-logo{
    width:188px!important;
    max-width:188px!important;
  }
  .hmh-brand-ar{
    font-size:.88rem!important;
    line-height:1.05!important;
  }
  .hmh-brand-tagline{
    font-size:.61rem!important;
    line-height:1.14!important;
  }
  .hmh-menu-toggle{
    width:50px!important;
    height:50px!important;
  }
  .hmh-nav{top:94px!important}

  /* Hero: concise executive statement, not a landing-page wall */
  .hmh-hero-grid{
    padding-block:12px 10px!important;
  }
  .hmh-hero .hmh-kicker{
    font-size:.56rem!important;
    letter-spacing:.075em!important;
  }
  .hmh-hero h1{
    font-size:clamp(1.72rem,7.25vw,1.98rem)!important;
    line-height:1.055!important;
    margin:.15rem 0 .36rem!important;
    max-width:17.2ch!important;
  }
  .hmh-hero p{
    font-size:.81rem!important;
    line-height:1.42!important;
    max-width:35rem!important;
  }

  /* Services: opening product map */
  .hmh-services-gateway{
    padding-block:10px 14px!important;
  }
  .hmh-services-head{
    margin-bottom:7px!important;
    gap:7px!important;
  }
  .hmh-services-head .hmh-title{
    font-size:1.26rem!important;
    line-height:1!important;
  }
  .hmh-services-head .hmh-kicker{
    font-size:.52rem!important;
  }
  .hmh-service-icon-grid{
    gap:6px!important;
  }
  .hmh-service-icon-card{
    min-height:108px!important;
    padding:8px 4px 7px!important;
    border-radius:13px!important;
    justify-content:flex-start!important;
    gap:4px!important;
    border-color:rgba(11,45,91,.11)!important;
    background:linear-gradient(180deg,#FFFFFF 0%,#FCFEFE 100%)!important;
    box-shadow:0 5px 15px rgba(11,45,91,.04)!important;
  }
  .hmh-service-icon{
    width:32px!important;
    height:32px!important;
    border-radius:9px!important;
    margin:0 auto 2px!important;
    flex:0 0 32px!important;
  }
  .hmh-service-icon svg{
    width:20px!important;
    height:20px!important;
    stroke-width:2.25!important;
  }
  .hmh-service-icon-title{
    width:100%!important;
    min-height:0!important;
    flex:1 1 auto!important;
    font-size:.655rem!important;
    line-height:1.22!important;
    font-weight:850!important;
    letter-spacing:-.01em!important;
    text-align:center!important;
    align-items:center!important;
    justify-content:center!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    hyphens:none!important;
    text-wrap:balance!important;
  }
  .hmh-service-icon-card:focus-visible{
    outline:3px solid rgba(0,158,154,.28)!important;
    outline-offset:2px!important;
  }
}

@media(max-width:374px){
  .hmh-header-inner{min-height:88px!important}
  .hmh-brand{width:min(266px,calc(100vw - 74px))!important}
  .hmh-brand-logo{width:170px!important;max-width:170px!important}
  .hmh-brand-ar{font-size:.8rem!important}
  .hmh-brand-tagline{font-size:.55rem!important}
  .hmh-nav{top:90px!important}
  .hmh-hero-grid{padding-block:10px 9px!important}
  .hmh-hero h1{font-size:1.64rem!important;line-height:1.045!important}
  .hmh-hero p{font-size:.77rem!important;line-height:1.38!important}
  .hmh-services-gateway{padding-block:9px 12px!important}
  .hmh-services-head .hmh-title{font-size:1.2rem!important}
  .hmh-service-icon-card{min-height:105px!important;padding:7px 3px 6px!important}
  .hmh-service-icon{width:30px!important;height:30px!important;flex-basis:30px!important}
  .hmh-service-icon svg{width:19px!important;height:19px!important}
  .hmh-service-icon-title{font-size:.61rem!important;line-height:1.19!important}
}

@media(min-width:390px) and (max-width:430px){
  .hmh-service-icon-title{font-size:.68rem!important;line-height:1.22!important}
  .hmh-service-icon-card{min-height:109px!important}
}

/* =========================================================
   HeuMed Partners Premium Experience v6.0
   New-theme design layer: premium service discovery + brand graphic
   ========================================================= */

body.heumed-final-site{overflow-x:hidden}

/* Header — larger brand presence without wasting the first viewport */
.hmh-header-inner{min-height:88px!important;padding-block:7px!important}
.hmh-brand{width:244px!important;max-width:calc(100vw - 82px)!important;gap:1px!important}
.hmh-brand-logo{width:218px!important;max-width:100%!important}
.hmh-brand-ar{font-size:.82rem!important;line-height:1.16!important;font-weight:800!important}
.hmh-brand-tagline{font-size:.58rem!important;line-height:1.22!important;font-weight:650!important;color:#6a788c!important}
.hmh-menu-toggle{width:48px!important;height:48px!important;flex:0 0 48px!important;border-radius:13px!important;box-shadow:0 8px 22px rgba(11,45,91,.05)!important}
.hmh-nav{top:90px!important}

/* Premium hero — text first, brand graphic as a visual signature rather than a stock photo */
.hmh-hero-premium{position:relative;background:
  radial-gradient(circle at 8% 18%,rgba(44,199,190,.10),transparent 30%),
  linear-gradient(180deg,#fff 0%,#F7FBFC 100%);border-bottom:0;overflow:hidden}
.hmh-hero-premium:after{content:"";position:absolute;inset:auto 0 0;height:1px;background:linear-gradient(90deg,transparent,rgba(0,158,154,.25),transparent)}
.hmh-hero-premium-inner{position:relative;min-height:224px;display:grid;grid-template-columns:1fr;align-items:center;padding:22px 0 20px}
.hmh-hero-premium .hmh-hero-copy{position:relative;z-index:2;max-width:32rem}
.hmh-hero-premium .hmh-kicker{font-size:.58rem;letter-spacing:.12em;margin-bottom:4px}
.hmh-hero-premium h1{font-size:clamp(1.88rem,8.15vw,2.26rem)!important;line-height:1.12!important;letter-spacing:-.028em!important;margin:.18rem 0 .52rem!important;max-width:22rem}
.hmh-hero-premium h1 strong{display:block;color:var(--hmh-teal);margin-top:.08em}
.hmh-hero-premium p{font-size:.86rem!important;line-height:1.62!important;max-width:20.5rem!important;margin:0!important;color:#607086!important}
.hmh-hero-brandgraphic{position:absolute;left:-78px;top:12px;width:270px;height:198px;opacity:.72;pointer-events:none;z-index:1;filter:saturate(.95)}
.hmh-hero-brandgraphic svg{width:100%;height:100%;display:block}

/* Premium services gateway — designed tiles, full official names */
.hmh-services-premium{background:#fff;padding:17px 0 32px;position:relative}
.hmh-services-premium-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:12px}
.hmh-services-premium-head h2{font-size:1.42rem;line-height:1.15;color:var(--hmh-navy);margin:2px 0 0;letter-spacing:-.02em}
.hmh-services-premium-head p{display:none;margin:0;color:var(--hmh-muted);font-size:.8rem;line-height:1.5;max-width:20rem}
.hmh-service-premium-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.hmh-service-premium-card{position:relative;min-height:132px;display:flex;flex-direction:column;justify-content:flex-start;text-decoration:none!important;background:
  linear-gradient(180deg,#fff 0%,#FCFEFE 100%);border:1px solid #DDE9EC;border-radius:15px;padding:10px 9px 9px;color:var(--hmh-navy);box-shadow:0 8px 24px rgba(11,45,91,.045);overflow:hidden;isolation:isolate;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.hmh-service-premium-card:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,var(--hmh-teal),var(--hmh-teal2));opacity:.9}
.hmh-service-premium-card:after{content:"";position:absolute;width:74px;height:74px;border-radius:50%;background:radial-gradient(circle,rgba(44,199,190,.10),rgba(44,199,190,0) 68%);left:-24px;bottom:-30px;z-index:-1}
.hmh-service-premium-top{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:7px}
.hmh-service-premium-icon{width:31px;height:31px;border-radius:10px;display:grid;place-items:center;background:#EDF9F8;border:1px solid #D1EFEC;color:var(--hmh-teal);flex:0 0 31px}
.hmh-service-premium-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2.65;stroke-linecap:round;stroke-linejoin:round}
.hmh-service-premium-no{font-family:var(--hmh-en);font-size:.56rem;letter-spacing:.08em;color:#90A0B2;font-weight:800}
.hmh-service-premium-card strong{display:block;font-size:.74rem;line-height:1.42;font-weight:800;letter-spacing:-.018em;color:var(--hmh-navy);min-height:3.15em}
.hmh-service-premium-link{display:flex;align-items:center;gap:3px;margin-top:auto;padding-top:6px;font-size:.59rem;line-height:1.2;font-weight:800;color:var(--hmh-teal)}
.hmh-service-premium-link b{font-size:.72rem;line-height:1}
.hmh-service-premium-card:focus-visible{outline:3px solid rgba(0,158,154,.22);outline-offset:2px}
.hmh-service-premium-card:active{transform:translateY(1px);background:#F8FCFC}

/* Prevent legacy service/hero rules from fighting the new architecture */
.hmh-hero-premium .hmh-hero-visual,.hmh-hero-premium .hmh-actions,.hmh-hero-premium .hmh-hero-proof{display:none!important}

@media(max-width:360px){
  .hmh-shell{width:min(100% - 22px,1280px)}
  .hmh-brand{width:226px!important;max-width:calc(100vw - 76px)!important}
  .hmh-brand-logo{width:202px!important}
  .hmh-brand-ar{font-size:.78rem!important}
  .hmh-brand-tagline{font-size:.535rem!important}
  .hmh-header-inner{min-height:84px!important}
  .hmh-hero-premium-inner{min-height:218px;padding:19px 0 18px}
  .hmh-hero-premium h1{font-size:1.76rem!important;max-width:20rem}
  .hmh-hero-premium p{font-size:.82rem!important;max-width:19rem!important}
  .hmh-hero-brandgraphic{left:-98px;width:255px;opacity:.60}
  .hmh-services-premium{padding-top:15px}
  .hmh-service-premium-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .hmh-service-premium-card{min-height:116px;padding:9px 10px 8px}
  .hmh-service-premium-card strong{font-size:.76rem;min-height:auto}
  .hmh-service-premium-link{font-size:.6rem}
}

@media(min-width:430px){
  .hmh-brand{width:260px!important}
  .hmh-brand-logo{width:232px!important}
  .hmh-brand-ar{font-size:.86rem!important}
  .hmh-brand-tagline{font-size:.61rem!important}
  .hmh-hero-premium-inner{min-height:238px;padding:25px 0 23px}
  .hmh-hero-premium h1{font-size:2.18rem!important;max-width:24rem}
  .hmh-hero-premium p{font-size:.9rem!important;max-width:22rem!important}
  .hmh-hero-brandgraphic{left:-54px;width:300px;height:212px;opacity:.76}
  .hmh-services-premium{padding:20px 0 36px}
  .hmh-service-premium-card{min-height:136px;padding:11px 11px 10px}
  .hmh-service-premium-card strong{font-size:.78rem}
}

@media(min-width:640px){
  .hmh-services-premium-head p{display:block}
  .hmh-service-premium-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .hmh-service-premium-card{min-height:148px;padding:14px;border-radius:17px}
  .hmh-service-premium-icon{width:38px;height:38px;flex-basis:38px;border-radius:12px}
  .hmh-service-premium-icon svg{width:23px;height:23px}
  .hmh-service-premium-card strong{font-size:.92rem;line-height:1.5;min-height:3em}
  .hmh-service-premium-link{font-size:.72rem;padding-top:8px}
  .hmh-hero-premium-inner{min-height:300px;padding:38px 0 34px}
  .hmh-hero-premium h1{font-size:2.8rem!important;max-width:35rem}
  .hmh-hero-premium p{font-size:1rem!important;max-width:31rem!important}
  .hmh-hero-brandgraphic{left:0;top:16px;width:380px;height:260px;opacity:.82}
}

@media(min-width:900px){
  .hmh-header-inner{min-height:98px!important;padding-block:7px!important}
  .hmh-brand{width:295px!important;max-width:none!important}
  .hmh-brand-logo{width:265px!important}
  .hmh-brand-ar{font-size:.94rem!important}
  .hmh-brand-tagline{font-size:.68rem!important}
  .hmh-hero-premium-inner{grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);min-height:390px;padding:50px 0 46px}
  .hmh-hero-premium .hmh-hero-copy{grid-column:1}
  .hmh-hero-premium h1{font-size:clamp(3.15rem,4.8vw,4.4rem)!important;line-height:1.12!important;max-width:700px}
  .hmh-hero-premium p{font-size:1.08rem!important;max-width:640px!important;line-height:1.78!important}
  .hmh-hero-brandgraphic{position:relative;left:auto;top:auto;grid-column:2;width:100%;height:auto;opacity:1;align-self:center;justify-self:end}
  .hmh-services-premium{padding:28px 0 48px}
  .hmh-services-premium-head{margin-bottom:18px}
  .hmh-services-premium-head h2{font-size:2rem}
  .hmh-service-premium-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
  .hmh-service-premium-card{min-height:174px;padding:16px 14px 13px;border-radius:18px}
  .hmh-service-premium-card:hover{transform:translateY(-4px);border-color:#BFE3E0;box-shadow:0 16px 36px rgba(11,45,91,.09)}
  .hmh-service-premium-icon{width:42px;height:42px;flex-basis:42px}
  .hmh-service-premium-icon svg{width:25px;height:25px}
  .hmh-service-premium-card strong{font-size:.94rem;line-height:1.55}
  .hmh-service-premium-link{font-size:.72rem}
}

@media(min-width:1180px){
  .hmh-brand{width:318px!important}
  .hmh-brand-logo{width:288px!important}
  .hmh-service-premium-card{min-height:180px}
}

/* =========================================================
   HeuMed Partners v6.2 — 10/10 FINAL EXPERIENCE PASS
   Purpose: premium precision, mobile rhythm, zero-template feel
   ========================================================= */

/* Global optical discipline */
body.heumed-final-v6-5-site{overflow-x:hidden}
.hmh-kicker{font-weight:850;letter-spacing:.145em}
.hmh-title{text-wrap:balance}
.hmh-lead{text-wrap:pretty}
.hmh-service-premium-card strong,.hmh-timeline b,.hmh-mini b,.hmh-operating-grid h3{text-wrap:balance}

/* Header: stronger single-brand lockup, less dead air */
.hmh-header{box-shadow:0 8px 28px rgba(11,45,91,.035)!important}
.hmh-header-inner{min-height:86px!important;padding-block:5px!important}
.hmh-brand{width:248px!important;max-width:calc(100vw - 80px)!important}
.hmh-brand-logo{width:222px!important}
.hmh-brand-ar{margin-top:1px!important;font-size:.83rem!important;letter-spacing:-.015em!important}
.hmh-brand-tagline{margin-top:1px!important;font-size:.585rem!important;opacity:.92}
.hmh-menu-toggle{width:46px!important;height:46px!important;flex-basis:46px!important;border-radius:14px!important;border-color:#D8E4E9!important}
.hmh-menu-toggle:active{transform:scale(.98)}
.hmh-nav{top:88px!important}

/* Hero: preserve signature graphic, improve hierarchy and transition */
.hmh-hero-premium-inner{padding-block:19px 18px!important;min-height:216px!important}
.hmh-hero-premium .hmh-kicker{font-size:.57rem!important;letter-spacing:.13em!important}
.hmh-hero-premium h1{font-size:clamp(1.9rem,8vw,2.25rem)!important;line-height:1.095!important;max-width:21.5rem!important;margin:.15rem 0 .48rem!important}
.hmh-hero-premium p{font-size:.84rem!important;line-height:1.55!important;max-width:21rem!important}
.hmh-hero-brandgraphic{left:-72px!important;top:4px!important;width:280px!important;height:204px!important;opacity:.76!important}

/* Services: flagship productized cards */
.hmh-services-premium{padding:15px 0 30px!important}
.hmh-services-premium-head{margin-bottom:10px!important}
.hmh-services-premium-head h2{font-size:1.38rem!important}
.hmh-service-premium-grid{gap:7px!important}
.hmh-service-premium-card{min-height:130px!important;padding:9px 8px 8px!important;border-radius:16px!important;border-color:#D7E5E9!important;box-shadow:0 9px 24px rgba(11,45,91,.045)!important}
.hmh-service-premium-card:before{height:3px!important}
.hmh-service-premium-top{margin-bottom:6px!important}
.hmh-service-premium-icon{width:32px!important;height:32px!important;flex-basis:32px!important;border-radius:10px!important}
.hmh-service-premium-icon svg{width:19px!important;height:19px!important;stroke-width:2.45!important}
.hmh-service-premium-no{font-size:.52rem!important;color:#9BA9B7!important}
.hmh-service-premium-card strong{font-size:.735rem!important;line-height:1.38!important;min-height:3.25em!important;font-weight:850!important}
.hmh-service-premium-link{font-size:.56rem!important;padding-top:5px!important;letter-spacing:-.01em!important}

/* Mobile rhythm: sections should feel curated, not like stacked reports */
.hmh-section{padding-block:38px!important}
.hmh-section-head{margin-bottom:16px!important}
.hmh-title{font-size:1.68rem!important;line-height:1.17!important;margin:.3rem 0 .62rem!important;max-width:17ch!important}
.hmh-lead{font-size:.88rem!important;line-height:1.62!important;margin-block:.3rem .5rem!important}
.hmh-text-link{display:inline-flex;margin-top:4px;font-size:.88rem}

/* Why HeuMed: compact decision journey — 2x2 + anchored sustain step */
.hmh-why{position:relative;overflow:hidden}
.hmh-why:before{content:"";position:absolute;width:220px;height:220px;border-radius:50%;left:-120px;top:54px;background:radial-gradient(circle,rgba(44,199,190,.09),rgba(44,199,190,0) 70%);pointer-events:none}
.hmh-split{gap:18px!important}
.hmh-timeline{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.hmh-timeline>div{min-height:96px!important;padding:11px 11px!important;border-radius:13px!important;grid-template-columns:30px 1fr!important;gap:2px 7px!important;align-content:start!important}
.hmh-timeline>div:last-child{grid-column:1/-1;min-height:82px!important}
.hmh-timeline small{font-size:.65rem!important}
.hmh-timeline b{font-size:.9rem!important;line-height:1.3!important}
.hmh-timeline span{font-size:.72rem!important;line-height:1.43!important}

/* Problem recognition: 2x2 executive diagnostic map */
.hmh-system-grid{gap:18px!important}
.hmh-system-message{margin-top:11px!important;padding:9px 11px!important;font-size:.86rem!important;line-height:1.5!important}
.hmh-system-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.hmh-mini{min-height:104px!important;padding:12px 11px!important;border-radius:13px!important}
.hmh-mini small{font-size:.64rem!important}
.hmh-mini b{font-size:.9rem!important;line-height:1.35!important;margin:4px 0!important}
.hmh-mini span{font-size:.7rem!important;line-height:1.4!important}

/* Solutions: tighter but still editorial */
.hmh-solution-grid{gap:9px!important}
.hmh-solution-grid article{padding:15px 16px!important;border-radius:14px!important}
.hmh-solution-grid small{font-size:.62rem!important}
.hmh-solution-grid h3{font-size:.98rem!important;margin:5px 0 3px!important}
.hmh-solution-grid p{font-size:.79rem!important;line-height:1.52!important;margin:0!important}
.hmh-center{margin-top:14px!important}
.hmh-center .hmh-btn{min-height:44px;padding:.66rem 1rem;font-size:.83rem}

/* Leadership credibility: denser, more executive */
.hmh-leadership-grid{gap:16px!important}
.hmh-expertise{padding:15px!important;border-radius:16px!important;box-shadow:0 10px 30px rgba(11,45,91,.055)!important}
.hmh-credential{padding-bottom:11px!important}
.hmh-credential b{font-size:.98rem!important}
.hmh-credential span{font-size:.79rem!important}
.hmh-expertise-tags{margin-top:10px!important;gap:5px!important}
.hmh-expertise-tags span{font-size:.68rem!important;padding:5px 7px!important}

/* Operating model: executive 2x2 matrix + segmented logic rail */
.hmh-operating{position:relative;overflow:hidden}
.hmh-operating:before{content:"";position:absolute;width:300px;height:300px;border-radius:50%;left:-160px;top:-80px;background:radial-gradient(circle,rgba(44,199,190,.10),rgba(44,199,190,0) 72%);pointer-events:none}
.hmh-operating-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.hmh-operating-grid article{min-height:126px!important;padding:12px 11px!important;border-radius:14px!important;background:rgba(255,255,255,.035)!important}
.hmh-operating-grid span{font-size:.64rem!important}
.hmh-operating-grid h3{font-size:.94rem!important;line-height:1.3!important;margin:5px 0 4px!important}
.hmh-operating-grid p{font-size:.71rem!important;line-height:1.45!important}
.hmh-model-rail{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;margin-top:10px!important;padding:8px!important;background:rgba(255,255,255,.035)!important;direction:ltr!important}
.hmh-model-rail span{display:flex;align-items:center;justify-content:center;min-height:28px;padding:4px 3px;border:1px solid rgba(255,255,255,.10);border-radius:7px;background:rgba(255,255,255,.035);font-size:.52rem;line-height:1.15;color:rgba(255,255,255,.72);font-weight:700;text-align:center}

/* Secondary sections: visually lighter to maintain progression */
.hmh-insight-grid{gap:8px!important}
.hmh-insight{padding:13px 14px!important;border-radius:14px!important}
.hmh-insight small{font-size:.66rem!important}
.hmh-insight h3{font-size:.94rem!important;margin:5px 0 3px!important}
.hmh-insight p{font-size:.77rem!important;line-height:1.48!important;margin:.2rem 0 .5rem!important}
.hmh-guide-mini-grid article{padding:10px 11px!important;border-radius:12px!important}
.hmh-guide-mini-grid h3{font-size:.82rem!important;line-height:1.35!important}

/* Trust: stronger proof layer without invented metrics */
.hmh-trust{padding:16px 0!important;background:linear-gradient(180deg,#fff,#FBFDFD)!important}
.hmh-trust-grid{border-radius:14px!important;box-shadow:0 8px 24px rgba(11,45,91,.035)!important}
.hmh-trust-grid>div{padding:13px 8px!important;font-size:.75rem!important;line-height:1.35!important;position:relative}
.hmh-trust-grid>div:before{content:"✓";display:inline-grid;place-items:center;width:18px;height:18px;margin-left:5px;border-radius:50%;background:#E9F8F6;color:var(--hmh-teal);font-size:.65rem;font-weight:900}

/* Conversion: premium but restrained */
.hmh-lead-form{border-radius:16px!important;box-shadow:0 10px 28px rgba(11,45,91,.04)!important}
.hmh-final-box{border-radius:18px!important;box-shadow:0 18px 46px rgba(7,31,66,.13)!important}

@media(max-width:360px){
  .hmh-brand{width:224px!important;max-width:calc(100vw - 74px)!important}
  .hmh-brand-logo{width:200px!important}
  .hmh-brand-ar{font-size:.77rem!important}
  .hmh-brand-tagline{font-size:.525rem!important}
  .hmh-header-inner{min-height:82px!important}
  .hmh-nav{top:84px!important}
  .hmh-hero-premium-inner{min-height:208px!important;padding-block:17px 16px!important}
  .hmh-hero-premium h1{font-size:1.72rem!important;max-width:20rem!important}
  .hmh-hero-premium p{font-size:.8rem!important}
  .hmh-hero-brandgraphic{left:-96px!important;width:250px!important;opacity:.60!important}
  .hmh-service-premium-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .hmh-service-premium-card{min-height:116px!important;padding:8px 9px!important}
  .hmh-service-premium-card strong{font-size:.745rem!important;min-height:auto!important}
  .hmh-section{padding-block:34px!important}
  .hmh-title{font-size:1.58rem!important}
  .hmh-lead{font-size:.84rem!important}
  .hmh-timeline>div{min-height:92px!important}
  .hmh-mini{min-height:100px!important}
  .hmh-operating-grid article{min-height:122px!important}
}

@media(min-width:430px){
  .hmh-header-inner{min-height:90px!important}
  .hmh-brand{width:264px!important}
  .hmh-brand-logo{width:236px!important}
  .hmh-hero-premium-inner{min-height:232px!important;padding-block:22px 21px!important}
  .hmh-service-premium-card{min-height:136px!important;padding:10px!important}
  .hmh-service-premium-card strong{font-size:.78rem!important}
}

@media(min-width:640px){
  .hmh-section{padding-block:56px!important}
  .hmh-title{font-size:2.25rem!important;max-width:20ch!important}
  .hmh-lead{font-size:.98rem!important;line-height:1.72!important}
  .hmh-timeline{grid-template-columns:repeat(5,minmax(0,1fr))!important}
  .hmh-timeline>div,.hmh-timeline>div:last-child{grid-column:auto!important;min-height:132px!important;grid-template-columns:1fr!important;gap:6px!important}
  .hmh-timeline small{grid-row:auto!important}
  .hmh-system-cards{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .hmh-mini{min-height:132px!important}
  .hmh-operating-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .hmh-operating-grid article{min-height:154px!important;padding:15px!important}
  .hmh-model-rail{grid-template-columns:repeat(8,minmax(0,1fr))!important}
}

@media(min-width:900px){
  .hmh-header-inner{min-height:96px!important;padding-block:6px!important}
  .hmh-brand{width:300px!important}
  .hmh-brand-logo{width:270px!important}
  .hmh-hero-premium-inner{min-height:380px!important;padding-block:46px 42px!important}
  .hmh-hero-premium h1{font-size:clamp(3.1rem,4.7vw,4.3rem)!important}
  .hmh-hero-premium p{font-size:1.06rem!important;line-height:1.7!important}
  .hmh-services-premium{padding:26px 0 46px!important}
  .hmh-service-premium-grid{gap:11px!important}
  .hmh-service-premium-card{min-height:176px!important;padding:15px 13px 12px!important}
  .hmh-service-premium-card strong{font-size:.92rem!important;line-height:1.5!important}
  .hmh-section{padding-block:68px!important}
  .hmh-title{font-size:clamp(2.4rem,3.5vw,3.2rem)!important}
  .hmh-split,.hmh-system-grid,.hmh-leadership-grid{gap:32px!important}
}

/* =========================================================
   HeuMed Partners v6.2 — MICRO COMPRESSION FINAL PASS
   Goal: preserve premium presence while bringing all six
   official services into the earliest mobile viewport.
   Scope: header/hero/services only. No architecture changes.
   ========================================================= */
body.heumed-final-v6-5-site{overflow-x:hidden}

/* Keep the premium header presence from v6.1; only remove micro-air. */
@media (max-width:639px){
  .hmh-header-inner{
    min-height:82px!important;
    padding-block:3px!important;
  }
  .hmh-brand{
    width:246px!important;
    max-width:calc(100vw - 78px)!important;
  }
  .hmh-brand-logo{width:220px!important}
  .hmh-brand-ar{
    font-size:.82rem!important;
    line-height:1.06!important;
    margin-top:0!important;
  }
  .hmh-brand-tagline{
    font-size:.58rem!important;
    line-height:1.12!important;
    margin-top:0!important;
    font-weight:700!important;
    opacity:.95!important;
  }
  .hmh-menu-toggle{
    width:44px!important;
    height:44px!important;
    flex-basis:44px!important;
  }
  .hmh-nav{top:84px!important}

  /* Hero: ~12–15% shorter, same visual signature and hierarchy. */
  .hmh-hero-premium-inner{
    min-height:186px!important;
    padding-block:12px 10px!important;
  }
  .hmh-hero-premium .hmh-kicker{
    font-size:.545rem!important;
    line-height:1.05!important;
    margin-bottom:1px!important;
    letter-spacing:.12em!important;
  }
  .hmh-hero-premium h1{
    font-size:clamp(1.78rem,7.55vw,2.08rem)!important;
    line-height:1.055!important;
    max-width:21rem!important;
    margin:.10rem 0 .34rem!important;
  }
  .hmh-hero-premium p{
    font-size:.79rem!important;
    line-height:1.40!important;
    max-width:20.4rem!important;
    text-wrap:pretty!important;
  }
  .hmh-hero-brandgraphic{
    left:-76px!important;
    top:-1px!important;
    width:258px!important;
    height:188px!important;
    opacity:.69!important;
  }

  /* Services start almost immediately after the hero. */
  .hmh-services-premium{
    padding:7px 0 22px!important;
  }
  .hmh-services-premium-head{
    margin-bottom:5px!important;
    min-height:38px!important;
  }
  .hmh-services-premium-head .hmh-kicker{
    font-size:.55rem!important;
    letter-spacing:.12em!important;
  }
  .hmh-services-premium-head h2{
    font-size:1.26rem!important;
    line-height:1.06!important;
    margin-top:0!important;
  }

  /* Six flagship service tiles: shorter without sacrificing official names. */
  .hmh-service-premium-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
  }
  .hmh-service-premium-card{
    min-height:108px!important;
    padding:7px 7px 6px!important;
    border-radius:14px!important;
  }
  .hmh-service-premium-card:before{height:2px!important}
  .hmh-service-premium-top{
    margin-bottom:4px!important;
    min-height:28px!important;
  }
  .hmh-service-premium-icon{
    width:28px!important;
    height:28px!important;
    flex-basis:28px!important;
    border-radius:9px!important;
  }
  .hmh-service-premium-icon svg{
    width:17px!important;
    height:17px!important;
    stroke-width:2.4!important;
  }
  .hmh-service-premium-no{
    font-size:.48rem!important;
    letter-spacing:.06em!important;
  }
  .hmh-service-premium-card strong{
    font-size:.69rem!important;
    line-height:1.27!important;
    min-height:3.78em!important;
    font-weight:850!important;
    letter-spacing:-.02em!important;
    text-wrap:balance!important;
  }
  /* Entire tile is clickable; compact label preserves interaction cue. */
  .hmh-service-premium-link{
    font-size:.515rem!important;
    line-height:1.05!important;
    padding-top:3px!important;
    gap:2px!important;
    white-space:nowrap!important;
  }
  .hmh-service-premium-link b{font-size:.62rem!important}
}

/* 360px stress test: keep 2x3 for comfortable full-name reading. */
@media (max-width:360px){
  .hmh-header-inner{min-height:80px!important}
  .hmh-brand{width:222px!important;max-width:calc(100vw - 72px)!important}
  .hmh-brand-logo{width:198px!important}
  .hmh-brand-ar{font-size:.75rem!important}
  .hmh-brand-tagline{font-size:.515rem!important}
  .hmh-nav{top:82px!important}
  .hmh-hero-premium-inner{min-height:178px!important;padding-block:10px 9px!important}
  .hmh-hero-premium h1{font-size:1.64rem!important;line-height:1.045!important;max-width:19.6rem!important}
  .hmh-hero-premium p{font-size:.75rem!important;line-height:1.36!important;max-width:18.8rem!important}
  .hmh-hero-brandgraphic{left:-96px!important;width:238px!important;height:176px!important;opacity:.56!important}
  .hmh-services-premium{padding-top:6px!important}
  .hmh-service-premium-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
  .hmh-service-premium-card{min-height:94px!important;padding:7px 8px 6px!important}
  .hmh-service-premium-card strong{font-size:.715rem!important;line-height:1.25!important;min-height:auto!important}
  .hmh-service-premium-link{font-size:.52rem!important}
}

/* 390–429 px is the primary mobile composition. */
@media (min-width:361px) and (max-width:429px){
  .hmh-shell{width:min(100% - 24px,1280px)!important}
  .hmh-service-premium-card:nth-child(4) strong,
  .hmh-service-premium-card:nth-child(5) strong,
  .hmh-service-premium-card:nth-child(6) strong{
    font-size:.675rem!important;
  }
}

/* Larger phones get slightly more breathing room, still tighter than v6.1. */
@media (min-width:430px) and (max-width:639px){
  .hmh-header-inner{min-height:86px!important}
  .hmh-brand{width:260px!important}
  .hmh-brand-logo{width:232px!important}
  .hmh-hero-premium-inner{min-height:204px!important;padding-block:15px 13px!important}
  .hmh-hero-premium h1{font-size:2.02rem!important;line-height:1.07!important}
  .hmh-hero-premium p{font-size:.83rem!important;line-height:1.45!important}
  .hmh-services-premium{padding:9px 0 25px!important}
  .hmh-service-premium-card{min-height:114px!important;padding:8px!important}
  .hmh-service-premium-card strong{font-size:.72rem!important}
}

/* =========================================================
   HeuMed Partners — Premium Refinement Layer
   ========================================================= */

/* Header polish: preserve logo prominence while tightening the lockup. */
@media (max-width:639px){
  .hmh-header-inner{min-height:80px!important;padding-block:5px!important}
  .hmh-brand{width:232px!important;gap:0!important}
  .hmh-brand-logo{width:214px!important;max-width:214px!important}
  .hmh-brand-ar{font-size:.88rem!important;line-height:1.08!important;margin-top:1px!important;font-weight:850!important}
  .hmh-brand-tagline{font-size:.61rem!important;line-height:1.22!important;color:#5E6F83!important;font-weight:700!important;margin-top:1px!important}
  .hmh-menu-toggle{width:48px!important;height:48px!important;border-radius:14px!important;box-shadow:0 8px 22px rgba(11,45,91,.05)!important}
}

/* Hero graphic should read as a signature, never compete with the headline. */
@media (max-width:639px){
  .hmh-hero-brandgraphic{left:-92px!important;top:8px!important;width:254px!important;height:188px!important;opacity:.49!important;filter:saturate(.88)!important}
  .hmh-hero-brandgraphic svg{filter:contrast(.96)!important}
  .hmh-hero .hmh-kicker{position:relative;z-index:3!important}
  .hmh-hero h1,.hmh-hero p{position:relative;z-index:3!important}
  .hmh-hero-grid{padding-top:20px!important;padding-bottom:17px!important}
  .hmh-hero h1{margin-bottom:.52rem!important}
  .hmh-hero p{line-height:1.62!important}
}

/* Smoother Hero → Services handoff. */
.hmh-services-premium{border-top:1px solid rgba(11,45,91,.045)!important}
@media (max-width:639px){
  .hmh-services-premium{padding-top:11px!important;padding-bottom:25px!important}
  .hmh-services-premium-head{margin-bottom:8px!important}
  .hmh-services-premium-head h2{letter-spacing:-.025em!important}
}

/* Service-card finishing: full official names stay primary, CTA stays secondary. */
@media (min-width:380px) and (max-width:639px){
  .hmh-service-premium-card{min-height:124px!important;padding:8px 8px 7px!important}
  .hmh-service-premium-top{margin-bottom:5px!important}
  .hmh-service-premium-card strong{font-size:.72rem!important;line-height:1.36!important;min-height:3.2em!important;text-wrap:balance!important}
  .hmh-service-premium-link{font-size:.585rem!important;padding-top:4px!important;opacity:.96!important}
}
@media (max-width:379px){
  .hmh-service-premium-card{min-height:113px!important}
  .hmh-service-premium-card strong{line-height:1.34!important;text-wrap:balance!important}
}

/* Floating WhatsApp — fixed, accessible, intentionally placed away from common right-side overlays. */
.hmh-whatsapp{
  position:fixed;
  bottom:max(20px,env(safe-area-inset-bottom));
  z-index:9997;
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#25D366;
  color:#fff!important;
  text-decoration:none!important;
  box-shadow:0 14px 34px rgba(21,96,63,.28),0 3px 10px rgba(11,45,91,.12);
  border:2px solid rgba(255,255,255,.94);
  transition:transform .18s ease,box-shadow .18s ease;
  -webkit-tap-highlight-color:transparent;
}
.hmh-whatsapp--left{left:18px}
.hmh-whatsapp--right{right:18px}
.hmh-whatsapp svg{width:31px;height:31px;fill:none;stroke:#fff;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;position:relative;z-index:2}
.hmh-whatsapp .hmh-whatsapp-phone{stroke-width:1.7}
.hmh-whatsapp:hover{transform:translateY(-2px) scale(1.02);box-shadow:0 18px 38px rgba(21,96,63,.32),0 4px 12px rgba(11,45,91,.14)}
.hmh-whatsapp:focus-visible{outline:3px solid rgba(0,158,154,.35);outline-offset:4px}
.hmh-whatsapp-pulse{position:absolute;inset:-2px;border-radius:50%;border:1px solid rgba(37,211,102,.42);pointer-events:none}
@media (max-width:639px){
  .hmh-whatsapp{width:54px;height:54px;bottom:max(18px,env(safe-area-inset-bottom))}
  .hmh-whatsapp--left{left:14px}.hmh-whatsapp--right{right:14px}
  .hmh-whatsapp svg{width:28px;height:28px}
  .hmh-footer{padding-bottom:88px!important}
}
@media (prefers-reduced-motion:reduce){.hmh-whatsapp{transition:none}}


/* =========================================================
   HeuMed Partners — Launch Readiness Layer
   Accessibility · performance-safe motion · resilient mobile UX
   ========================================================= */
.hmh-skip-link{position:fixed;inset-inline-start:12px;top:10px;z-index:10050;background:#fff;color:var(--hmh-navy);border:2px solid var(--hmh-teal);border-radius:10px;padding:10px 14px;font-weight:800;text-decoration:none;transform:translateY(-160%);transition:transform .15s ease}
.hmh-skip-link:focus{transform:translateY(0)}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid rgba(0,158,154,.38);outline-offset:3px}
.hmh-menu-toggle{cursor:pointer;-webkit-tap-highlight-color:transparent}
.hmh-menu-open{overflow:hidden;touch-action:none}
.hmh-menu-open .hmh-whatsapp{opacity:0;pointer-events:none}
.hmh-nav a,.hmh-service-premium-card,.hmh-btn{touch-action:manipulation}
.hmh-service-premium-card:focus-visible{outline:3px solid rgba(0,158,154,.28);outline-offset:3px}
.hmh-service-premium-card:active{transform:translateY(1px) scale(.995)}
.hmh-hp{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}
.hmh-lead-form small{color:var(--hmh-muted);font-size:.72rem;font-weight:500;line-height:1.45}
.hmh-form-toast{position:fixed;inset-inline:16px;bottom:max(84px,calc(env(safe-area-inset-bottom) + 72px));z-index:9999;max-width:560px;margin:auto;padding:14px 18px;border-radius:12px;font-weight:800;text-align:center;box-shadow:0 18px 40px rgba(11,45,91,.18);font-family:var(--hmh-ar);background:#E9F9F7;color:var(--hmh-navy);border:1px solid #A8E6E1}
.hmh-form-toast[data-type="warning"]{background:#FFF6E8;color:#6E5425;border-color:#F2D29B}
.hmh-whatsapp{will-change:transform,opacity}
.hmh-whatsapp.is-near-footer{opacity:0;transform:translateY(14px) scale(.92);pointer-events:none}
@media (max-width:899px){.hmh-nav.is-open{max-height:calc(100dvh - 100px);overflow:auto;overscroll-behavior:contain}.hmh-nav a{min-height:48px;display:flex;align-items:center}.hmh-menu-toggle{min-width:48px;min-height:48px}}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
@media (prefers-contrast:more){.hmh-service-premium-card,.hmh-mini,.hmh-timeline>div,.hmh-insight,.hmh-guide-mini-grid article{border-color:#9FB2BE}.hmh-muted,.hmh-lead{color:#42556C}}

.hmh-service[id]{scroll-margin-top:110px}


/* =========================================================
   HeuMed Partners v6.5 — TARGETED FINAL REMEDIATION
   Independent review closure: sticky wrapper, contrast, lockup, forms, pages.
   ========================================================= */
:root{--hmh-teal-text:#00807D}
header.wp-block-template-part{position:sticky;top:0;z-index:80;background:#fff}
.hmh-header{position:relative!important;top:auto!important}
.hmh-footer{position:relative}
.hmh-system-message{border-right:0!important;border-inline-start:4px solid var(--hmh-teal)!important}
#services,.hmh-service[id],#hospital-guide,#accreditation-guide,#revenue-guide{scroll-margin-top:108px}
.hmh-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.hmh-menu-icon{display:grid;place-items:center;width:24px;height:24px;margin:auto}
.hmh-menu-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.hmh-menu-icon-close{display:none}.hmh-menu-toggle[aria-expanded="true"] .hmh-menu-icon-open{display:none}.hmh-menu-toggle[aria-expanded="true"] .hmh-menu-icon-close{display:grid}
.hmh-kicker,.hmh-text-link,.hmh-insight a,.hmh-timeline small,.hmh-mini small,.hmh-service-premium-link{color:var(--hmh-teal-text)!important}
.hmh-service-premium-no{color:#67788A!important;font-size:.625rem!important}
.hmh-service-premium-card h3{font-size:.72rem;line-height:1.36;min-height:3.2em;margin:0;color:var(--hmh-navy);font-weight:850;text-wrap:balance}
.hmh-service-premium-link{font-size:.65rem!important}
.hmh-brand-ar{white-space:normal!important}
.hmh-brand-logo{width:150px!important;max-width:150px!important}
.hmh-footer-logo{width:178px!important;height:auto}
.hmh-field-help{display:block;color:var(--hmh-muted);font-size:.75rem;font-weight:500;line-height:1.5;margin-top:-5px}
.hmh-consent{display:flex!important;grid-template-columns:none!important;flex-direction:row;align-items:flex-start;gap:9px!important;font-size:.78rem!important;line-height:1.55}.hmh-consent input{width:18px!important;min-width:18px;min-height:18px!important;height:18px!important;margin-top:2px}.hmh-consent a{color:var(--hmh-teal-text);text-underline-offset:2px}
.hmh-contact-form-card{grid-column:1/-1}.hmh-contact-form-card .hmh-lead-form{margin-top:14px;box-shadow:none}.hmh-contact-card h2{font-size:1.05rem;margin:0 0 8px;color:var(--hmh-navy)}
.hmh-human-grid{display:grid;grid-template-columns:1fr;gap:28px;align-items:start}.hmh-human-photo{max-width:520px;margin-inline:auto}.hmh-human-photo img{display:block;width:100%;height:auto;max-height:620px;object-fit:cover;border-radius:18px;box-shadow:var(--hmh-shadow)}
.hmh-guide-mini-grid a{display:grid;grid-template-columns:42px 1fr;align-items:center;gap:12px;background:#fff;border:1px solid var(--hmh-line);border-radius:14px;padding:16px;text-decoration:none}.hmh-guide-mini-grid a span{font-family:var(--hmh-en);color:var(--hmh-teal-text);font-weight:800}.hmh-guide-mini-grid a h3{font-size:1rem;line-height:1.55;color:var(--hmh-navy);margin:0}.hmh-guide-mini-grid article{display:none}
.hmh-guide-page-grid{display:grid;grid-template-columns:1fr;gap:14px;margin-top:26px}.hmh-guide-page-grid .hmh-post-card span{font-family:var(--hmh-en);color:var(--hmh-teal-text);font-weight:800}.hmh-guide-page-grid .hmh-post-card h2{font-size:1.1rem;line-height:1.5;color:var(--hmh-navy);margin:.4rem 0 0}
.hmh-post-card{margin-block:12px}.hmh-post-card a{text-underline-offset:3px}
.hmh-footer a{min-height:44px;display:flex;align-items:center;margin:0}
.hmh-whatsapp .hmh-sr-only{display:block}
@media(max-width:639px){.hmh-brand{width:232px!important}.hmh-brand-logo{width:150px!important;max-width:150px!important}.hmh-brand-tagline{font-size:.66rem!important}.hmh-service-premium-card h3{font-size:.72rem!important}.hmh-service-premium-link{font-size:.65rem!important}}
@media(min-width:640px) and (max-width:899px){.hmh-brand-logo{width:188px!important;max-width:188px!important}}
@media(min-width:900px){.hmh-brand-logo{width:220px!important;max-width:220px!important}.hmh-human-grid{grid-template-columns:minmax(280px,.75fr) 1.25fr;gap:48px}.hmh-human-photo{position:sticky;top:120px}.hmh-guide-page-grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1180px){.hmh-brand-logo{width:234px!important;max-width:234px!important}}

.hmh-text-link{min-height:44px;align-items:center}
.hmh-service-top h2{font-size:1.18rem;line-height:1.55;color:var(--hmh-navy);margin:10px 0 7px}
@media(min-width:900px){.hmh-insight-grid{grid-template-columns:1.5fr 1fr!important}}

body.admin-bar header.wp-block-template-part{top:32px}@media(max-width:782px){body.admin-bar header.wp-block-template-part{top:46px}}


/* =========================================================
   HeuMed Partners v6.7 — FINAL LOCKED
   Persistent WhatsApp conversion with edge-docked service-safe positioning.
   ========================================================= */
.hmh-whatsapp.is-over-services{opacity:1;pointer-events:auto}
@media (max-width:899px){
  .hmh-whatsapp.is-over-services{
    width:48px;
    height:48px;
    bottom:max(76px,calc(env(safe-area-inset-bottom) + 64px));
    transform:none;
    box-shadow:0 10px 26px rgba(21,96,63,.24),0 2px 8px rgba(11,45,91,.12);
  }
  .hmh-whatsapp--left.is-over-services{left:-5px}
  .hmh-whatsapp--right.is-over-services{right:-5px}
  .hmh-whatsapp.is-over-services svg{width:25px;height:25px}
}
@media (min-width:900px){.hmh-whatsapp.is-over-services{opacity:1;transform:none;pointer-events:auto}}


/* =========================================================
   HeuMed Partners v7.0 — FULL INTERNAL EXPERIENCE
   Locked homepage visual direction + complete internal pages
   ========================================================= */
.hmh-v7-hero{position:relative;overflow:hidden;background:linear-gradient(145deg,#fff 0%,#f4fbfb 55%,#fff 100%);border-bottom:1px solid var(--hmh-line);padding:48px 0 42px}
.hmh-v7-hero:before{content:"";position:absolute;inline-size:300px;block-size:300px;border-radius:50%;background:rgba(0,158,154,.055);inset-inline-start:-120px;inset-block-start:-120px}
.hmh-v7-hero-grid{position:relative;display:grid;gap:22px}.hmh-v7-hero-no{font-family:var(--hmh-en);font-size:.72rem;font-weight:800;letter-spacing:.12em;color:var(--hmh-teal-text,#00807D);text-transform:uppercase}
.hmh-v7-hero h1{font-size:clamp(2.25rem,9.8vw,3.5rem);line-height:1.18;letter-spacing:-.035em;color:var(--hmh-navy);margin:.35rem 0 .85rem;max-width:880px}.hmh-v7-hero p{margin:0;color:var(--hmh-muted);line-height:1.9;font-size:1rem;max-width:820px}
.hmh-v7-breadcrumb{display:flex;gap:7px;flex-wrap:wrap;font-size:.78rem;color:#718092;margin-bottom:16px}.hmh-v7-breadcrumb a{text-decoration:none;color:var(--hmh-teal-text,#00807D);font-weight:700}
.hmh-v7-chip-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.hmh-v7-chip{display:inline-flex;align-items:center;min-height:34px;padding:6px 10px;border-radius:999px;background:#fff;border:1px solid var(--hmh-line);color:var(--hmh-navy);font-size:.78rem;font-weight:700}
.hmh-v7-section{padding:52px 0}.hmh-v7-section--ice{background:var(--hmh-ice)}.hmh-v7-section--ivory{background:var(--hmh-ivory)}.hmh-v7-section--navy{background:var(--hmh-deep);color:#fff}
.hmh-v7-head{margin-bottom:24px;max-width:880px}.hmh-v7-head h2{color:var(--hmh-navy);font-size:clamp(1.75rem,7.3vw,2.65rem);line-height:1.3;margin:.3rem 0 .7rem;letter-spacing:-.02em}.hmh-v7-section--navy .hmh-v7-head h2{color:#fff}.hmh-v7-head p{color:var(--hmh-muted);line-height:1.9;margin:0}.hmh-v7-section--navy .hmh-v7-head p{color:rgba(255,255,255,.72)}
.hmh-v7-grid-2,.hmh-v7-grid-3,.hmh-v7-grid-4{display:grid;grid-template-columns:1fr;gap:12px}.hmh-v7-card{background:#fff;border:1px solid var(--hmh-line);border-radius:16px;padding:19px;box-shadow:0 10px 28px rgba(11,45,91,.035)}.hmh-v7-card h3{color:var(--hmh-navy);font-size:1.05rem;line-height:1.55;margin:5px 0 8px}.hmh-v7-card p{color:var(--hmh-muted);line-height:1.75;margin:0;font-size:.92rem}.hmh-v7-card small{font-family:var(--hmh-en);color:var(--hmh-teal-text,#00807D);font-weight:800;letter-spacing:.05em}.hmh-v7-card a{color:var(--hmh-teal-text,#00807D);font-weight:800;text-decoration:none}
.hmh-v7-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}.hmh-v7-list li{position:relative;padding:13px 42px 13px 14px;border:1px solid var(--hmh-line);border-radius:12px;background:#fff;color:var(--hmh-navy);font-weight:700;line-height:1.65}.hmh-v7-list li:before{content:"✓";position:absolute;inset-inline-start:14px;top:13px;inline-size:20px;block-size:20px;border-radius:50%;display:grid;place-items:center;background:#e8f8f6;color:var(--hmh-teal-text,#00807D);font-size:.72rem;font-weight:900}
.hmh-v7-process{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hmh-v7-step{border:1px solid var(--hmh-line);background:#fff;border-radius:14px;padding:16px}.hmh-v7-step:last-child:nth-child(odd){grid-column:1/-1}.hmh-v7-step span{font-family:var(--hmh-en);color:var(--hmh-teal-text,#00807D);font-weight:800;font-size:.72rem}.hmh-v7-step strong{display:block;color:var(--hmh-navy);font-size:1rem;margin:5px 0}.hmh-v7-step p{font-size:.84rem;line-height:1.65;color:var(--hmh-muted);margin:0}
.hmh-v7-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hmh-v7-metric{background:#fff;border:1px solid var(--hmh-line);border-radius:13px;padding:16px;min-height:118px}.hmh-v7-metric span{font-family:var(--hmh-en);color:var(--hmh-teal-text,#00807D);font-size:.68rem;font-weight:800}.hmh-v7-metric strong{display:block;color:var(--hmh-navy);line-height:1.55;margin-top:9px}.hmh-v7-metric p{margin:5px 0 0;color:var(--hmh-muted);font-size:.8rem;line-height:1.6}
.hmh-v7-cta{background:linear-gradient(115deg,#071F42,#0B2D5B 62%,#075B63);border-radius:20px;padding:27px 22px;color:#fff}.hmh-v7-cta h2{font-size:clamp(1.65rem,7vw,2.6rem);margin:0 0 10px;line-height:1.35}.hmh-v7-cta p{color:rgba(255,255,255,.75);line-height:1.8;margin:0 0 18px}.hmh-v7-cta-actions{display:flex;flex-direction:column;gap:9px}.hmh-v7-cta .hmh-btn-outline{background:transparent;border-color:rgba(255,255,255,.35);color:#fff}
.hmh-v7-service-index{display:grid;grid-template-columns:1fr;gap:12px}.hmh-v7-service-index a{text-decoration:none}.hmh-v7-service-index-card{height:100%;position:relative;overflow:hidden}.hmh-v7-service-index-card:before{content:"";position:absolute;inset-block-start:0;inset-inline:0;height:4px;background:var(--hmh-teal)}.hmh-v7-service-index-card .hmh-v7-number{font-family:var(--hmh-en);font-weight:800;color:#67788A;font-size:.72rem}.hmh-v7-service-index-card .hmh-v7-link{display:block;margin-top:14px;color:var(--hmh-teal-text,#00807D);font-size:.86rem;font-weight:800}
.hmh-v7-profile{display:grid;gap:18px}.hmh-v7-credential{background:linear-gradient(180deg,#f4fbfb,#fff);border:1px solid #cfeae8;border-radius:18px;padding:22px}.hmh-v7-credential strong{display:block;font-size:1.25rem;color:var(--hmh-navy);margin-bottom:6px}.hmh-v7-credential p{margin:0;color:var(--hmh-muted);line-height:1.8}
.hmh-v7-guide-grid{display:grid;gap:12px}.hmh-v7-guide{background:#fff;border:1px solid var(--hmh-line);border-radius:16px;padding:20px}.hmh-v7-guide span{font-family:var(--hmh-en);color:#67788A;font-size:.72rem;font-weight:800}.hmh-v7-guide h2,.hmh-v7-guide h3{color:var(--hmh-navy);font-size:1.05rem;line-height:1.6;margin:7px 0}.hmh-v7-guide p{color:var(--hmh-muted);line-height:1.75;margin:0;font-size:.9rem}
.hmh-v7-product-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hmh-v7-product{border:1px solid var(--hmh-line);background:#fff;border-radius:14px;padding:16px}.hmh-v7-product strong{display:block;color:var(--hmh-navy);font-size:.94rem;line-height:1.45}.hmh-v7-product span{display:block;color:var(--hmh-muted);font-size:.78rem;line-height:1.55;margin-top:5px}
.hmh-v7-case-method{display:grid;gap:9px}.hmh-v7-case-method div{display:grid;grid-template-columns:36px 1fr;gap:10px;align-items:center;padding:13px 14px;border-radius:12px;border:1px solid var(--hmh-line);background:#fff}.hmh-v7-case-method span{font-family:var(--hmh-en);font-size:.68rem;font-weight:800;color:var(--hmh-teal-text,#00807D)}.hmh-v7-case-method strong{color:var(--hmh-navy);font-size:.9rem}
.hmh-v7-legal{max-width:900px}.hmh-v7-legal h2{color:var(--hmh-navy);margin-top:34px}.hmh-v7-legal p,.hmh-v7-legal li{color:var(--hmh-muted);line-height:2}.hmh-v7-legal a{color:var(--hmh-teal-text,#00807D);font-weight:700}
.hmh-v7-empty{padding:20px;border:1px dashed #bac9d2;border-radius:14px;color:var(--hmh-muted);background:#fff}
@media(min-width:640px){.hmh-v7-grid-2{grid-template-columns:repeat(2,1fr)}.hmh-v7-grid-3{grid-template-columns:repeat(2,1fr)}.hmh-v7-grid-4{grid-template-columns:repeat(2,1fr)}.hmh-v7-service-index{grid-template-columns:repeat(2,1fr)}.hmh-v7-guide-grid{grid-template-columns:repeat(2,1fr)}.hmh-v7-product-grid{grid-template-columns:repeat(3,1fr)}.hmh-v7-cta-actions{flex-direction:row}.hmh-v7-cta-actions .hmh-btn{width:auto}}
@media(min-width:900px){.hmh-v7-hero{padding:72px 0 64px}.hmh-v7-section{padding:74px 0}.hmh-v7-grid-3{grid-template-columns:repeat(3,1fr)}.hmh-v7-grid-4{grid-template-columns:repeat(4,1fr)}.hmh-v7-service-index{grid-template-columns:repeat(3,1fr)}.hmh-v7-guide-grid{grid-template-columns:repeat(3,1fr)}.hmh-v7-product-grid{grid-template-columns:repeat(4,1fr)}.hmh-v7-profile{grid-template-columns:1.05fr .95fr;gap:36px;align-items:start}.hmh-v7-process{grid-template-columns:repeat(5,1fr)}.hmh-v7-step:last-child:nth-child(odd){grid-column:auto}.hmh-v7-metrics{grid-template-columns:repeat(4,1fr)}.hmh-v7-cta{padding:42px 46px;display:flex;align-items:center;justify-content:space-between;gap:38px}.hmh-v7-cta>div:first-child{max-width:720px}}


/* =========================================================
   HeuMed Partners v7.1 — Corporate Profile + Brochure Aligned
   ========================================================= */
.hmh-v71-service-hero{background:linear-gradient(180deg,#fff 0%,#f5fbfb 100%)}
.hmh-v71-service-hero h1{max-width:980px}
.hmh-v71-grid-2,.hmh-v71-grid-3,.hmh-v71-grid-4,.hmh-v71-grid-5{display:grid;grid-template-columns:1fr;gap:12px}
.hmh-v71-card{display:block;text-decoration:none;background:#fff;border:1px solid var(--hmh-line);border-radius:16px;padding:20px;box-shadow:0 9px 26px rgba(11,45,91,.035)}
.hmh-v71-card h2,.hmh-v71-card h3{color:var(--hmh-navy);margin:.25rem 0 .55rem;line-height:1.45}.hmh-v71-card p{color:var(--hmh-muted);line-height:1.75;margin:0}
.hmh-v71-prose{max-width:930px;margin-bottom:24px}.hmh-v71-prose p{font-size:1.04rem;line-height:2;color:var(--hmh-muted)}
.hmh-v71-mv .hmh-v71-card{background:linear-gradient(180deg,#fff,#f8fcfc)}
.hmh-v71-values{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.hmh-v71-values span{border:1px solid var(--hmh-line);border-radius:999px;text-align:center;padding:12px 8px;color:var(--hmh-navy);font-weight:800;background:#fff}
.hmh-v71-trust{display:grid;grid-template-columns:1fr;gap:10px;margin-top:22px}.hmh-v71-trust strong{background:#fff;border:1px solid var(--hmh-line);border-radius:14px;padding:17px;text-align:center;color:var(--hmh-navy)}
.hmh-v71-service-index{display:grid;grid-template-columns:1fr;gap:12px}.hmh-v71-service-index>a{display:grid;grid-template-columns:46px 1fr;gap:3px 12px;text-decoration:none;border:1px solid var(--hmh-line);border-radius:16px;padding:18px;background:#fff}.hmh-v71-service-index span{font-family:var(--hmh-en);font-weight:800;color:var(--hmh-teal-text);grid-row:1/3}.hmh-v71-service-index h2{font-size:1.08rem;line-height:1.45;margin:0;color:var(--hmh-navy)}.hmh-v71-service-index p{margin:0;color:var(--hmh-muted);font-size:.88rem;line-height:1.65}
.hmh-v71-model-grid{display:grid;grid-template-columns:1fr;gap:12px}.hmh-v71-model{background:#fff;border:1px solid #e5e8ea;border-radius:16px;padding:20px}.hmh-v71-model>span{font-family:var(--hmh-en);font-weight:900;color:var(--hmh-teal-text)}.hmh-v71-model h3{color:var(--hmh-navy);margin:.4rem 0}.hmh-v71-model p{color:var(--hmh-muted);margin:.2rem 0 .7rem;line-height:1.7}.hmh-v71-model ul,.hmh-v71-detail ul{margin:0;padding-inline-start:1.2rem;color:var(--hmh-muted);line-height:1.9}
.hmh-v71-detail-grid{display:grid;grid-template-columns:1fr;gap:12px}.hmh-v71-detail{background:#fff;border:1px solid var(--hmh-line);border-radius:16px;padding:19px}.hmh-v71-detail h3{color:var(--hmh-navy);font-size:1.04rem;line-height:1.45;margin:0 0 .65rem}.hmh-v71-detail li::marker{color:var(--hmh-teal)}
.hmh-v71-connected-grid{display:grid;grid-template-columns:1fr;gap:10px}.hmh-v71-connected{display:flex;justify-content:space-between;align-items:center;gap:12px;text-decoration:none;background:#fff;border:1px solid var(--hmh-line);border-radius:14px;padding:16px}.hmh-v71-connected strong{color:var(--hmh-navy)}.hmh-v71-connected span{color:var(--hmh-teal-text);font-size:.78rem;font-weight:800}
.hmh-v71-grid-5{grid-template-columns:1fr 1fr}.hmh-v71-impact-banner{margin-top:24px;border-radius:16px;background:linear-gradient(110deg,var(--hmh-deep),var(--hmh-navy),#075b63);color:#fff;font-weight:900;text-align:center;padding:20px;font-size:1.1rem}.hmh-v71-impact-banner a{color:#fff;text-decoration:none}
.hmh-v71-method-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hmh-v71-step{border:1px solid var(--hmh-line);border-radius:16px;padding:17px;background:#fff}.hmh-v71-step span{font-family:var(--hmh-en);font-weight:900;color:var(--hmh-teal-text)}.hmh-v71-step h3{color:var(--hmh-navy);margin:.35rem 0}.hmh-v71-step p{color:var(--hmh-muted);font-size:.86rem;line-height:1.6;margin:0}
@media(min-width:640px){.hmh-v71-grid-2{grid-template-columns:repeat(2,1fr)}.hmh-v71-grid-3{grid-template-columns:repeat(2,1fr)}.hmh-v71-grid-4{grid-template-columns:repeat(2,1fr)}.hmh-v71-grid-5{grid-template-columns:repeat(3,1fr)}.hmh-v71-trust{grid-template-columns:repeat(3,1fr)}.hmh-v71-model-grid{grid-template-columns:repeat(3,1fr)}.hmh-v71-detail-grid{grid-template-columns:repeat(2,1fr)}.hmh-v71-service-index{grid-template-columns:repeat(2,1fr)}.hmh-v71-values{grid-template-columns:repeat(3,1fr)}.hmh-v71-method-grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1000px){.hmh-v71-grid-3{grid-template-columns:repeat(3,1fr)}.hmh-v71-grid-4{grid-template-columns:repeat(4,1fr)}.hmh-v71-grid-5{grid-template-columns:repeat(5,1fr)}.hmh-v71-service-index{grid-template-columns:repeat(3,1fr)}.hmh-v71-values{grid-template-columns:repeat(6,1fr)}}

/* v7.2 Dynamic Content Platform */
.hmh-dynamic-meta{display:flex;flex-wrap:wrap;gap:8px 12px;margin:0 0 24px;padding:14px 16px;border:1px solid var(--hmh-line);border-radius:12px;background:var(--hmh-ice);color:#526174;font-size:.9rem}.hmh-dynamic-meta span{color:#9AA7B4}.hmh-dynamic-embed{position:relative;margin:0 0 28px;border-radius:18px;overflow:hidden;background:#06182F;box-shadow:var(--hmh-shadow)}.hmh-dynamic-embed iframe{display:block;width:100%;aspect-ratio:16/9;height:auto;border:0}.hmh-dynamic-actions{margin-top:28px}.hmh-newsletter{display:grid;grid-template-columns:1fr;gap:10px;max-width:680px}.hmh-newsletter label{display:grid;gap:7px;font-weight:700;color:var(--hmh-navy)}.hmh-newsletter input{min-height:48px;border:1px solid var(--hmh-line);border-radius:10px;padding:0 14px;font:inherit}.hmh-content-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hmh-content-hub-card{display:block;text-decoration:none;border:1px solid var(--hmh-line);background:#fff;border-radius:14px;padding:18px;min-height:138px}.hmh-content-hub-card small{font-family:var(--hmh-en);font-weight:800;color:var(--hmh-teal-text,#00807D);font-size:.66rem;letter-spacing:.07em}.hmh-content-hub-card h3{margin:8px 0 6px;font-size:1rem;line-height:1.5;color:var(--hmh-navy)}.hmh-content-hub-card p{margin:0;color:var(--hmh-muted);font-size:.82rem;line-height:1.65}.post-type-archive .wp-block-query,.tax-heumed_topic .wp-block-query,.tax-heumed_service_relation .wp-block-query{width:min(100% - 28px,1280px);margin:42px auto 70px}.post-type-archive .wp-block-post-template,.tax-heumed_topic .wp-block-post-template,.tax-heumed_service_relation .wp-block-post-template{display:grid!important;grid-template-columns:1fr;gap:16px;list-style:none;padding:0}.post-type-archive .wp-block-post,.tax-heumed_topic .wp-block-post,.tax-heumed_service_relation .wp-block-post{border:1px solid var(--hmh-line);border-radius:16px;padding:20px;background:#fff;box-shadow:0 10px 26px rgba(11,45,91,.04)}.post-type-archive .wp-block-post-title,.tax-heumed_topic .wp-block-post-title,.tax-heumed_service_relation .wp-block-post-title{font-size:1.15rem;line-height:1.55;color:var(--hmh-navy)}.post-type-archive .wp-block-post-title a,.tax-heumed_topic .wp-block-post-title a,.tax-heumed_service_relation .wp-block-post-title a{text-decoration:none}.post-type-archive .wp-block-post-excerpt,.tax-heumed_topic .wp-block-post-excerpt,.tax-heumed_service_relation .wp-block-post-excerpt{color:var(--hmh-muted);line-height:1.8}.single-heumed_resource .wp-block-post-content,.single-heumed_media .wp-block-post-content,.single-heumed_case .wp-block-post-content,.single-heumed_program .wp-block-post-content,.single-heumed_event .wp-block-post-content,.single-heumed_expert .wp-block-post-content,.single-heumed_update .wp-block-post-content,.single-heumed_project .wp-block-post-content,.single-heumed_opportunity .wp-block-post-content,.single-heumed_testimonial .wp-block-post-content,.single-heumed_faq .wp-block-post-content{font-size:1.03rem;line-height:2}
@media(min-width:640px){.hmh-newsletter{grid-template-columns:1fr auto;align-items:end}.hmh-content-hub-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.post-type-archive .wp-block-post-template,.tax-heumed_topic .wp-block-post-template,.tax-heumed_service_relation .wp-block-post-template{grid-template-columns:repeat(2,1fr)}}
@media(min-width:900px){.hmh-content-hub-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.post-type-archive .wp-block-post-template,.tax-heumed_topic .wp-block-post-template,.tax-heumed_service_relation .wp-block-post-template{grid-template-columns:repeat(3,1fr)}}
