/* ================================================================
   HS Media Solutions — Elementor widgets
   Scoped design system. Every rule lives under the .hsms scope so
   the active WordPress theme can never be affected. The markup of
   each widget is wrapped in <div class="hsms"> … </div>.
   ================================================================ */

html{ scroll-behavior:smooth; scroll-padding-top:90px; }

/* ============ TOKENS ============ */
.hsms{
  --cream:#0c1524;
  --cream-2:#0f1b30;
  --cream-3:#1b2b45;
  --ink:#eaf1fb;
  --ink-2:#dbe5f4;
  --ink-soft:#b9c6db;
  --muted:#8295b0;
  --muted-2:#647790;
  --accent:#7DD3FC;
  --accent-2:#38BDF8;
  --accent-soft:rgba(125,211,252,.22);
  --line:rgba(255,255,255,.10);
  --line-2:rgba(255,255,255,.18);
  --card:#0f1c31;
  --card-2:#13223a;
  --deep:#081120;
  --white:#ffffff;
  --wa:#25D366;
  --green:#4ade80;
  --red:#f87171;
  --r-sm:10px; --r:16px; --r-lg:24px; --r-xl:34px;
  --maxw:1200px;
  --shadow:0 18px 50px -22px rgba(0,0,0,.55);
  --shadow-lg:0 40px 90px -40px rgba(0,0,0,.65);
  --ease:cubic-bezier(.22,.61,.36,1);
}

/* ============ RESET (scoped) ============ */
.hsms,.hsms *,.hsms *::before,.hsms *::after{ margin:0; padding:0; box-sizing:border-box; }
.hsms{
  font-family:"DM Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  background:var(--cream);
  color:var(--ink);
  line-height:1.6;
  font-size:16.5px;
  -webkit-font-smoothing:antialiased;
  /* Prevent horizontal scroll from off-edge decorative elements without
     ever clipping vertical card shadows (overflow:hidden would). */
  overflow-x:clip;
  overflow-y:visible;
}
.hsms img{ max-width:100%; display:block; }
.hsms a{ color:inherit; text-decoration:none; }
.hsms ul{ list-style:none; }
.hsms button{ font-family:inherit; cursor:pointer; border:none; background:none; color:inherit; }
.hsms *::selection{ background:var(--accent); color:#0c1524; }

/* Subtle film-grain overlay (printed once via wp_footer when a widget is present) */
.hsms-noise{
  content:""; position:fixed; inset:0; pointer-events:none; z-index:99990; opacity:.035;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ LAYOUT ============ */
.hsms .wrap{ width:100%; max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.hsms section{ position:relative; }
.hsms .section{ padding:clamp(72px,9vw,128px) 0; }
.hsms .serif{ font-family:"Instrument Serif",serif; font-style:normal; font-weight:400; letter-spacing:.2px; }
.hsms .serif-i{ font-family:"Instrument Serif",serif; font-style:italic; font-weight:400; }

.hsms .eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12.5px; font-weight:600; letter-spacing:.16em; text-transform:uppercase;
  color:var(--accent);
}
.hsms .eyebrow::before{ content:""; width:22px; height:1.5px; background:var(--accent); display:inline-block; }
.hsms .eyebrow.on-dark{ color:var(--accent-2); }
.hsms .eyebrow.center{ justify-content:center; }

.hsms .sec-head{ max-width:780px; margin-bottom:clamp(40px,5vw,64px); }
.hsms .sec-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.hsms .sec-head h2{ font-size:clamp(30px,4.6vw,52px); line-height:1.06; font-weight:800; letter-spacing:-.025em; margin-top:18px; }
.hsms .sec-head p{ margin-top:18px; color:var(--muted); font-size:clamp(16px,1.4vw,18px); }

/* ============ BUTTONS ============ */
.hsms .btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  padding:15px 26px; border-radius:100px; font-weight:600; font-size:15.5px;
  transition:transform .35s var(--ease),box-shadow .35s var(--ease),background .3s,color .3s;
  white-space:nowrap; will-change:transform;
}
.hsms .btn svg{ width:17px; height:17px; }
.hsms .btn-primary{ background:var(--accent); color:#0c1524; }
.hsms .btn-primary:hover{ background:var(--accent-2); transform:translateY(-2px); box-shadow:0 16px 32px -12px rgba(125,211,252,.55); }
.hsms .btn-accent{ background:var(--accent); color:#0c1524; }
.hsms .btn-accent:hover{ background:var(--accent-2); transform:translateY(-2px); }
.hsms .btn-ghost{ background:transparent; color:var(--ink); border:1.5px solid var(--line-2); }
.hsms .btn-ghost:hover{ border-color:var(--accent); background:var(--accent); color:#0c1524; transform:translateY(-2px); }
.hsms .btn-light{ background:#fff; color:#0c1524; }
.hsms .btn-light:hover{ background:var(--accent); color:#0c1524; transform:translateY(-2px); }
.hsms .btn-outline-light{ background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.35); }
.hsms .btn-outline-light:hover{ background:#fff; color:#0c1524; transform:translateY(-2px); }
.hsms .arrow{ transition:transform .35s var(--ease); }
.hsms .btn:hover .arrow{ transform:translateX(4px); }

/* ============ NAV ============ */
.hsms .nav{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  transition:background .4s var(--ease),box-shadow .4s var(--ease),padding .4s var(--ease);
  padding:20px 0;
}
.hsms .nav.scrolled{
  background:rgba(12,21,36,.82); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
  box-shadow:0 1px 0 var(--line); padding:12px 0;
}
.hsms .nav-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; }
.hsms .brand{ display:flex; align-items:center; gap:11px; }
.hsms .brand img{ height:42px; width:auto; border-radius:10px; box-shadow:0 4px 14px -6px rgba(0,0,0,.4); transition:transform .35s var(--ease); }
.hsms .brand:hover img{ transform:scale(1.04); }
.hsms .brand-text{ font-size:20px; font-weight:800; letter-spacing:-.02em; color:var(--ink); }

.hsms .nav-links{ display:flex; align-items:center; gap:30px; }
.hsms .nav-links a{ font-size:14.5px; font-weight:500; color:var(--ink-soft); transition:color .25s; position:relative; }
.hsms .nav-links a:hover{ color:var(--accent); }
.hsms .nav-cta{ display:flex; align-items:center; gap:14px; }
.hsms .nav-cta .btn{ padding:11px 20px; font-size:14px; }

.hsms .burger{ display:none; flex-direction:column; gap:5px; padding:8px; }
.hsms .burger span{ width:24px; height:2px; background:var(--ink); border-radius:2px; transition:.3s var(--ease); }
.hsms .burger.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.hsms .burger.open span:nth-child(2){ opacity:0; }
.hsms .burger.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.hsms .mobile-menu{
  position:fixed; inset:0; z-index:999; background:var(--cream);
  display:flex; flex-direction:column; justify-content:center; align-items:center; gap:8px;
  opacity:0; pointer-events:none; transition:opacity .4s var(--ease);
}
.hsms .mobile-menu.open{ opacity:1; pointer-events:auto; }
.hsms .mobile-menu a{ font-size:26px; font-weight:700; letter-spacing:-.02em; padding:8px; }
.hsms .mobile-menu .btn{ margin-top:28px; padding:17px 30px; font-size:16.5px; font-weight:700; width:min(86%,420px); justify-content:center; text-align:center; box-shadow:0 16px 30px -12px rgba(125,211,252,.55); }

/* ============ HERO + VIDEO ============ */
.hsms .hero2{ position:relative; padding:158px 0 110px; overflow:hidden; background:var(--cream); }
.hsms .hero2::before{
  content:""; position:absolute; top:-220px; left:50%; transform:translateX(-50%);
  width:940px; height:640px; border-radius:50%;
  background:radial-gradient(closest-side,rgba(125,211,252,.18),rgba(125,211,252,0) 70%);
  filter:blur(8px); pointer-events:none; z-index:0;
}
.hsms .hero2 .wrap{ position:relative; z-index:1; display:grid; grid-template-columns:1fr 1fr; gap:0 64px; align-items:center; }
.hsms .hero2-copy{ grid-column:1; grid-row:1; text-align:left; max-width:none; margin:0; }
.hsms .hero2-copy h1{ font-size:clamp(34px,4vw,58px); line-height:1.04; font-weight:800; letter-spacing:-.035em; margin:20px 0 0; }
.hsms .hero2-copy h1 .serif-i{ color:var(--accent); font-weight:400; letter-spacing:0; }
.hsms .hero2-copy .lede{ margin:22px 0 0; font-size:clamp(16.5px,1.3vw,19px); color:var(--ink-soft); max-width:540px; }
.hsms .hero2-cta{ grid-column:1; grid-row:2; margin-top:34px; display:flex; gap:14px; flex-wrap:wrap; justify-content:flex-start; }
/* Desktop keeps the original CTA; the --mobile duplicate (rendered above the video) is hidden. */
.hsms .hero2-cta--mobile{ display:none; }
.hsms .hero2-trust{ grid-column:1; grid-row:3; margin-top:26px; display:flex; align-items:center; gap:14px; justify-content:flex-start; flex-wrap:wrap; }
.hsms .hero2-trust .stars{ display:flex; gap:2px; }
.hsms .hero2-trust .stars svg{ width:17px; height:17px; color:var(--accent); }
.hsms .hero2-trust p{ font-size:14px; color:var(--muted); }

.hsms .hero2-stage{ grid-column:2; grid-row:1/span 3; position:relative; margin:0; max-width:none; display:flex; flex-direction:column; gap:18px; }
.hsms .hero2-frame{
  position:relative; border-radius:var(--r-xl); overflow:hidden; aspect-ratio:16/9;
  background:#000; box-shadow:var(--shadow-lg); border:1px solid var(--line);
}
.hsms .video-facade{ position:absolute; inset:0; width:100%; height:100%; display:block; border:0; padding:0; background:#000; }
.hsms .video-facade img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.92; transition:transform .6s var(--ease),opacity .4s; }
.hsms .video-facade:hover img{ transform:scale(1.04); opacity:1; }
.hsms .video-facade::after{ content:none; }
.hsms .play-btn{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); z-index:3;
  width:92px; height:92px; border-radius:50%; background:var(--accent);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 0 0 0 rgba(125,211,252,.5); animation:hsms-pulse 2.4s infinite; transition:transform .35s var(--ease),background .3s;
}
.hsms .video-facade:hover .play-btn{ background:#fff; transform:translate(-50%,-50%) scale(1.08); }
.hsms .play-btn svg{ width:36px; height:36px; color:#0c1524; margin-left:4px; transition:color .3s; }
.hsms .video-facade:hover .play-btn svg{ color:var(--accent); }
@keyframes hsms-pulse{ 0%{box-shadow:0 0 0 0 rgba(125,211,252,.55)} 70%{box-shadow:0 0 0 26px rgba(125,211,252,0)} 100%{box-shadow:0 0 0 0 rgba(125,211,252,0)} }
.hsms .video-vidbadge{
  position:absolute; left:24px; bottom:22px; z-index:3;
  display:flex; align-items:center; gap:9px; color:#fff; font-size:13.5px; font-weight:600;
  background:rgba(0,0,0,.35); backdrop-filter:blur(6px); padding:8px 14px; border-radius:100px; border:1px solid rgba(255,255,255,.2);
}
.hsms .video-vidbadge svg{ width:15px; height:15px; color:var(--accent-2); }

.hsms .hero2-float{ position:absolute; z-index:4; background:var(--card); border-radius:var(--r); box-shadow:var(--shadow-lg); border:1px solid var(--line); animation:hsms-bob 5s ease-in-out infinite; }
.hsms .hero2-float.stat{ order:2; position:static; left:auto; right:auto; top:auto; bottom:auto; width:100%; padding:18px 22px; animation:none; box-shadow:var(--shadow); display:grid; grid-template-columns:1fr auto; align-items:center; gap:2px 22px; }
.hsms .hero2-float.stat .lbl{ grid-column:1; grid-row:1; font-size:13px; color:var(--muted); font-weight:600; letter-spacing:.01em; }
.hsms .hero2-float.stat .val{ grid-column:2; grid-row:1/span 2; font-size:clamp(30px,3.4vw,42px); font-weight:800; letter-spacing:-.03em; line-height:1; margin-top:0; }
.hsms .hero2-float.stat .delta{ grid-column:1; grid-row:2; display:inline-flex; align-items:center; gap:5px; margin-top:6px; width:max-content; font-size:12px; font-weight:600; color:#4ade80; background:rgba(34,197,94,.16); padding:3px 9px; border-radius:100px; }
.hsms .hero2-float.stat .delta svg{ width:12px; height:12px; }
.hsms .hero2-float.rate{ right:14px; top:14px; left:auto; bottom:auto; display:flex; align-items:center; gap:12px; padding:13px 16px; animation-delay:1.3s; }
.hsms .hero2-float.rate .rnum{ font-size:26px; font-weight:800; letter-spacing:-.02em; line-height:1; }
.hsms .hero2-float.rate .rstars{ display:flex; gap:1px; margin-top:3px; }
.hsms .hero2-float.rate .rstars svg{ width:12px; height:12px; color:var(--accent); }
.hsms .hero2-float.rate small{ display:block; font-size:11px; color:var(--muted); line-height:1.3; max-width:74px; }
@keyframes hsms-bob{ 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

@media(max-width:1180px){ .hsms .hero2-float.rate{ display:none; } }

/* ============ MARQUEE ============ */
.hsms .marquee{ background:var(--cream-2); color:var(--ink); padding:52px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.hsms .marquee-label{ text-align:center; font-size:12.5px; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); margin-bottom:30px; font-weight:600; }
.hsms .marquee-mask{ overflow:hidden; -webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent); mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent); }
.hsms .marquee-track{ display:flex; gap:22px; width:max-content; animation:hsms-scrollx 42s linear infinite; align-items:center; }
.hsms .marquee:hover .marquee-track{ animation-play-state:paused; }
.hsms .marquee-track img{ width:212px; height:92px; object-fit:contain; background:#fff; border:1px solid rgba(15,23,42,.10); border-radius:16px; padding:16px 20px; opacity:1; transition:transform .3s var(--ease),border-color .3s; }
.hsms .marquee-track img:hover{ transform:translateY(-4px); border-color:rgba(15,23,42,.22); }
@keyframes hsms-scrollx{ to{ transform:translateX(-50%); } }

/* ============ STATS ============ */
.hsms .stats{ background:var(--cream); }
.hsms .stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.hsms .stat{ padding:40px 28px; border-right:1px solid var(--line); }
.hsms .stat:last-child{ border-right:none; }
.hsms .stat .num{ font-size:clamp(40px,5vw,62px); font-weight:800; letter-spacing:-.04em; line-height:.95; }
.hsms .stat .num .accent{ color:var(--accent); }
.hsms .stat .num .suffix{ font-size:.5em; font-weight:700; vertical-align:super; margin-left:2px; }
.hsms .stat .desc{ margin-top:12px; font-size:14.5px; color:var(--muted); max-width:220px; }

/* ============ SERVICES ============ */
.hsms .services{ background:var(--cream-2); }
.hsms .svc-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.hsms .svc{ background:var(--card); border:1px solid var(--line); border-radius:var(--r-lg); padding:34px 32px; transition:transform .4s var(--ease),box-shadow .4s var(--ease),border-color .3s; }
.hsms .svc:hover{ transform:translateY(-6px); box-shadow:var(--shadow); border-color:transparent; }
.hsms .svc .ic{ width:54px; height:54px; border-radius:14px; display:flex; align-items:center; justify-content:center; background:var(--accent-soft); color:var(--accent); margin-bottom:22px; }
.hsms .svc .ic svg{ width:26px; height:26px; }
.hsms .svc h3{ font-size:21px; font-weight:700; letter-spacing:-.02em; margin-bottom:10px; }
.hsms .svc p{ color:var(--muted); font-size:15.5px; }
.hsms .svc ul{ margin-top:16px; display:flex; flex-direction:column; gap:8px; }
.hsms .svc ul li{ font-size:14px; color:var(--ink-soft); display:flex; gap:9px; align-items:flex-start; }
.hsms .svc ul li::before{ content:""; width:6px; height:6px; border-radius:50%; background:var(--accent); margin-top:8px; flex-shrink:0; }

/* ============ CASE STUDIES ============ */
.hsms .cases{ background:var(--cream); }
.hsms .cases-carousel{ position:relative; }
.hsms .cases-viewport{ overflow:hidden; border-radius:var(--r-xl); }
.hsms .cases-track{ display:flex; transition:transform .55s var(--ease); will-change:transform; }
.hsms .cases-nav{ display:flex; align-items:center; justify-content:center; gap:18px; margin-top:28px; }
.hsms .carr-btn{ width:48px; height:48px; border-radius:50%; border:1.5px solid var(--line-2); background:var(--card); display:flex; align-items:center; justify-content:center; color:var(--ink); transition:transform .3s var(--ease),background .3s,color .3s,border-color .3s; }
.hsms .carr-btn:hover{ background:var(--accent); color:#0c1524; border-color:var(--accent); transform:scale(1.06); }
.hsms .carr-btn svg{ width:20px; height:20px; }
.hsms .carr-dots{ display:flex; gap:8px; }
.hsms .carr-dot{ width:9px; height:9px; border-radius:50%; background:var(--cream-3); border:0; cursor:pointer; padding:0; transition:.3s var(--ease); }
.hsms .carr-dot.active{ background:var(--accent); width:28px; border-radius:100px; }
.hsms .case-row{
  flex:0 0 100%; min-width:100%;
  background:var(--card); border:1px solid var(--line); border-radius:var(--r-xl); padding:34px;
  display:grid; grid-template-columns:1fr 1.05fr; gap:44px; align-items:center;
  transition:transform .4s var(--ease),box-shadow .4s var(--ease);
}
.hsms .case-row:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.hsms .ba-pair{ display:flex; flex-direction:column; gap:14px; }
.hsms .ba{ position:relative; border-radius:var(--r); overflow:hidden; border:1px solid var(--line); box-shadow:var(--shadow); cursor:zoom-in; }
.hsms .ba img{ width:100%; display:block; aspect-ratio:1100/409; object-fit:cover; background:var(--card); }
.hsms .ba .ba-tag{ position:absolute; top:10px; left:10px; font-size:10.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; padding:4px 10px; border-radius:100px; color:#fff; }
.hsms .ba.before .ba-tag{ background:rgba(20,20,20,.78); }
.hsms .ba.after .ba-tag{ background:var(--accent); color:#0c1524; }
.hsms .case-top{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.hsms .case-tag{ font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--accent); }
.hsms .case-time{ font-size:12px; font-weight:600; color:var(--muted); background:var(--cream); border:1px solid var(--line); padding:5px 12px; border-radius:100px; }
.hsms .case-big{ font-size:clamp(28px,3.6vw,44px); font-weight:800; letter-spacing:-.03em; line-height:1.04; margin-top:14px; }
.hsms .case-big .sub{ display:block; font-size:14px; font-weight:600; color:var(--muted); letter-spacing:0; margin-top:8px; }
.hsms .case-narr{ margin-top:14px; font-size:16px; color:var(--ink-soft); line-height:1.55; max-width:60ch; }
.hsms .case-stats{ display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.hsms .case-stats li{ background:var(--cream); border:1px solid var(--line); border-radius:14px; padding:12px 16px; min-width:112px; list-style:none; }
.hsms .case-stats li b{ display:block; font-size:21px; font-weight:800; letter-spacing:-.02em; color:var(--ink); }
.hsms .case-stats li span{ font-size:11.5px; color:var(--muted); }
.hsms .case-changes{ margin-top:20px; font-size:14.5px; color:var(--ink-soft); line-height:1.55; }
.hsms .case-changes b{ color:var(--ink); }
.hsms .case-link{ display:inline-flex; align-items:center; gap:8px; margin-top:22px; font-size:14.5px; font-weight:700; color:var(--ink); transition:color .25s; }
.hsms .case-link svg{ width:16px; height:16px; transition:transform .3s var(--ease); }
.hsms .case-link:hover{ color:var(--accent); }
.hsms .case-link:hover svg{ transform:translateX(5px); }

/* ============ DESIGN SHOWCASE ============ */
.hsms .designs{ background:var(--deep); color:#fff; }
.hsms .designs .sec-head h2{ color:#fff; }
.hsms .designs .sec-head p{ color:rgba(255,255,255,.6); }
.hsms .ds-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.hsms .ds-card{
  position:relative; display:block; height:clamp(360px,40vw,460px); overflow:hidden;
  border-radius:var(--r-lg); background:var(--card-2); border:1px solid rgba(255,255,255,.10);
  transition:transform .4s var(--ease),box-shadow .4s var(--ease),border-color .3s;
}
.hsms .ds-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:rgba(255,255,255,.25); }
.hsms .ds-card img{ display:block; width:100%; height:auto; background:#fff; will-change:transform; }
.hsms .ds-overlay{ position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,0) 40%,rgba(0,0,0,.88)); pointer-events:none; }
.hsms .ds-meta{ position:absolute; left:18px; right:18px; bottom:16px; z-index:2; }
.hsms .ds-meta .ds-type{ display:inline-block; font-size:10.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:#0c1524; background:var(--accent); padding:4px 10px; border-radius:100px; margin-bottom:9px; }
.hsms .ds-meta .ds-brand{ display:block; font-size:16px; font-weight:700; color:#fff; letter-spacing:-.01em; }
.hsms .ds-pan{ display:none !important; }
.hsms .ds-note{ text-align:center; margin-top:30px; font-size:13.5px; color:rgba(255,255,255,.55); }
.hsms .ds-note a{ color:var(--accent-2); font-weight:600; }
.hsms .ds-dots{ display:none; align-items:center; justify-content:center; gap:7px; margin-top:18px; }
.hsms .ds-dot{ width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,.25); border:0; padding:0; cursor:pointer; transition:.3s var(--ease); }
.hsms .ds-dot.active{ background:var(--accent); width:24px; border-radius:100px; }
.hsms .ti-dots{ display:none; align-items:center; justify-content:center; gap:7px; margin-top:18px; }
.hsms .ti-dot{ width:8px; height:8px; border-radius:50%; background:var(--cream-3); border:0; padding:0; cursor:pointer; transition:.3s var(--ease); }
.hsms .ti-dot.active{ background:var(--accent); width:24px; border-radius:100px; }

/* ============ RESULTS ============ */
.hsms .results{ background:var(--cream-2); padding-top:60px !important; }
.hsms .results-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.hsms .result{ background:var(--card); border:1px solid var(--line); border-radius:var(--r); padding:30px 26px; transition:background .35s,transform .35s var(--ease),box-shadow .35s; }
.hsms .result:hover{ transform:translateY(-5px); box-shadow:var(--shadow); }
.hsms .result .tag{ font-size:11px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--accent); }
.hsms .result .big{ font-size:clamp(40px,4.4vw,56px); font-weight:800; letter-spacing:-.04em; line-height:1; margin:14px 0 12px; color:var(--ink); }
.hsms .result .brand-r{ font-size:15px; font-weight:600; }
.hsms .result .detail{ font-size:13.5px; color:var(--muted); margin-top:8px; line-height:1.5; }

/* ============ WHY US ============ */
.hsms .why{ background:var(--cream); }
.hsms .why-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:20px; }
.hsms .why-card{ border:1px solid var(--line); border-radius:var(--r-lg); padding:32px 26px; background:var(--card); transition:transform .4s var(--ease),box-shadow .4s var(--ease); position:relative; overflow:hidden; }
.hsms .why-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); }
.hsms .why-card .n{ font-family:"Instrument Serif",serif; font-size:40px; color:var(--accent); line-height:1; margin-bottom:18px; }
.hsms .why-card h3{ font-size:18.5px; font-weight:700; letter-spacing:-.015em; margin-bottom:10px; }
.hsms .why-card p{ font-size:14.5px; color:var(--muted); }

/* ============ PROCESS ============ */
.hsms .process{ background:var(--cream-2); padding-bottom:0; }
.hsms .proc-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:14px; counter-reset:step; }
.hsms .proc-step{ position:relative; padding:32px 22px; border-radius:var(--r-lg); background:var(--card); border:1px solid var(--line); }
.hsms .proc-step .step-n{ font-size:13px; font-weight:700; color:var(--accent); letter-spacing:.1em; }
.hsms .proc-step h3{ font-size:17px; font-weight:700; margin:10px 0 8px; letter-spacing:-.015em; }
.hsms .proc-step p{ font-size:13.5px; color:var(--muted); line-height:1.5; }
.hsms .proc-step::before{ counter-increment:step; content:"0" counter(step); position:absolute; top:24px; right:22px; font-family:"Instrument Serif",serif; font-size:30px; color:var(--cream-3); line-height:1; }

/* ============ TESTIMONIALS ============ */
.hsms .testi{ background:var(--cream); }
.hsms .testi-summary{
  display:flex; align-items:center; justify-content:center; gap:28px; flex-wrap:wrap;
  background:var(--card); border:1px solid var(--line); border-radius:100px;
  padding:16px 30px; margin:0 auto clamp(36px,4vw,52px); width:max-content; max-width:100%;
  box-shadow:var(--shadow);
}
.hsms .ts-score{ display:flex; align-items:center; gap:12px; }
.hsms .ts-score .big{ font-size:34px; font-weight:800; letter-spacing:-.03em; line-height:1; }
.hsms .ts-stars{ display:flex; gap:2px; }
.hsms .ts-stars svg{ width:18px; height:18px; color:var(--accent); }
.hsms .ts-divide{ width:1px; height:34px; background:var(--line-2); }
.hsms .ts-score small{ display:block; font-size:12.5px; color:var(--muted); }
.hsms .ts-score small b{ color:var(--ink); }
.hsms .testi-grid{ columns:3; column-gap:22px; }
.hsms .tcard{ break-inside:avoid; margin-bottom:22px; background:var(--card); border:1px solid var(--line); border-radius:var(--r-lg); padding:28px 26px; transition:transform .4s var(--ease),box-shadow .4s var(--ease); position:relative; }
.hsms .tcard:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.hsms .tcard .tverified{ position:absolute; top:22px; right:22px; display:inline-flex; align-items:center; gap:5px; font-size:10.5px; font-weight:700; color:#4ade80; background:rgba(34,197,94,.16); padding:4px 9px; border-radius:100px; letter-spacing:.02em; }
.hsms .tcard .tverified svg{ width:11px; height:11px; }
.hsms .tcard .tstars{ display:flex; gap:2px; margin-bottom:14px; }
.hsms .tcard .tstars svg{ width:15px; height:15px; color:var(--accent); }
.hsms .tcard blockquote{ font-size:15px; line-height:1.6; color:var(--ink-soft); position:relative; }
.hsms .tcard blockquote::before{ content:"“"; font-family:"Instrument Serif",serif; font-size:42px; color:var(--accent-soft); line-height:0; position:absolute; left:-4px; top:14px; }
.hsms .tcard blockquote span{ position:relative; }
.hsms .tcard .tperson{ display:flex; align-items:center; gap:13px; margin-top:20px; padding-top:18px; border-top:1px solid var(--line); }
.hsms .tcard .avatar{ width:42px; height:42px; border-radius:50%; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:15px; color:#fff; }
.hsms .tcard .tname{ font-size:14.5px; font-weight:700; line-height:1.2; }
.hsms .tcard .trole{ font-size:12.5px; color:var(--muted); margin-top:2px; }

/* ============ CTA ============ */
.hsms .cta{ background:var(--deep); color:#fff; overflow:hidden; }
.hsms .cta-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:60px; align-items:center; }
.hsms .cta h2{ font-size:clamp(32px,5vw,58px); line-height:1.02; font-weight:800; letter-spacing:-.03em; }
.hsms .cta h2 .serif-i{ color:var(--accent-2); }
.hsms .cta .lede{ margin-top:22px; font-size:18px; color:rgba(255,255,255,.65); max-width:480px; }
.hsms .fit-card{ background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.12); border-radius:var(--r-lg); padding:34px 32px; }
.hsms .fit-card h3{ font-size:15px; letter-spacing:.04em; text-transform:uppercase; color:rgba(255,255,255,.5); font-weight:600; margin-bottom:8px; }
.hsms .fit-card .fit-title{ font-size:22px; font-weight:700; letter-spacing:-.02em; }
.hsms .cta-cal{ min-width:320px; width:100%; height:680px; border-radius:var(--r-lg); overflow:hidden; background:#fff; box-shadow:var(--shadow-lg); border:1px solid rgba(255,255,255,.18); }
.hsms .cta-cal iframe{ border:0; display:block; }
.hsms .fit-list{ margin:24px 0 28px; display:flex; flex-direction:column; gap:14px; }
.hsms .fit-list li{ display:flex; gap:12px; align-items:flex-start; font-size:15px; color:rgba(255,255,255,.85); }
.hsms .fit-list li .ck{ width:22px; height:22px; border-radius:50%; background:var(--accent); color:#0c1524; display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:1px; }
.hsms .fit-list li .ck svg{ width:13px; height:13px; }

/* ============ FOOTER ============ */
.hsms .footer{ background:var(--cream); padding:74px 0 34px; position:relative; }
.hsms .footer::before{ content:""; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--accent),var(--accent-2) 55%,rgba(56,189,248,0)); }
.hsms .footer-grid{ display:grid; grid-template-columns:1.7fr 1fr 1.3fr; gap:44px; margin-bottom:46px; }
.hsms .footer .brand{ margin-bottom:18px; }
.hsms .footer p.fblurb{ color:var(--muted); font-size:14.5px; max-width:320px; margin-bottom:22px; }
.hsms .footer h4{ font-size:13px; letter-spacing:.14em; text-transform:uppercase; color:var(--ink); font-weight:700; margin-bottom:20px; position:relative; padding-bottom:13px; }
.hsms .footer h4::after{ content:""; position:absolute; left:0; bottom:0; width:26px; height:2px; background:var(--accent); border-radius:2px; }
.hsms .footer ul{ display:flex; flex-direction:column; gap:12px; }
.hsms .footer ul a{ font-size:14.5px; color:var(--ink-soft); transition:color .25s,padding-left .25s; }
.hsms .footer ul a:hover{ color:var(--accent); padding-left:4px; }
.hsms .footer-contact li{ margin-bottom:0; }
.hsms .footer-contact a{ display:inline-flex; align-items:center; gap:10px; font-size:14.5px; color:var(--ink-soft); transition:color .25s; }
.hsms .footer-contact a:hover{ color:var(--accent); }
.hsms .footer-contact svg{ width:17px; height:17px; flex-shrink:0; color:var(--accent); }
.hsms .footer-socials{ display:flex; gap:10px; }
.hsms .footer-socials a{ width:40px; height:40px; border-radius:50%; background:var(--card); border:1px solid var(--line); display:flex; align-items:center; justify-content:center; color:var(--ink-soft); transition:transform .3s var(--ease),background .3s,color .3s,border-color .3s; }
.hsms .footer-socials a:hover{ background:var(--accent); color:#0c1524; border-color:var(--accent); transform:translateY(-3px); }
.hsms .footer-socials svg{ width:17px; height:17px; }
.hsms .footer-cta{ margin-top:22px; padding:12px 22px; font-size:14px; }
.hsms .footer-bottom{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px 22px; padding-top:26px; border-top:1px solid var(--line); }
.hsms .footer-bottom p{ font-size:13.5px; color:var(--muted); }
.hsms .backtop{ font-size:13.5px; font-weight:600; color:var(--ink-soft); display:inline-flex; align-items:center; gap:6px; transition:color .25s; }
.hsms .backtop:hover{ color:var(--accent); }
.hsms .backtop svg{ width:15px; height:15px; }

/* ============ FLOATING WHATSAPP ============ */
.hsms .wa-float{
  position:fixed; right:24px; bottom:24px; z-index:1200;
  width:62px; height:62px; border-radius:50%; background:var(--wa); color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 12px 30px -6px rgba(37,211,102,.6),0 6px 14px rgba(0,0,0,.2);
  transition:transform .35s var(--ease),box-shadow .35s var(--ease);
}
.hsms .wa-float::before{
  content:""; position:absolute; inset:0; border-radius:50%; background:var(--wa);
  animation:hsms-wapulse 2.2s infinite; z-index:-1;
}
.hsms .wa-float:hover{ transform:scale(1.08) translateY(-2px); }
.hsms .wa-float svg{ width:34px; height:34px; }
.hsms .wa-tip{
  position:absolute; right:74px; top:50%; transform:translateY(-50%) translateX(8px);
  background:var(--deep); color:#fff; font-size:13.5px; font-weight:600; white-space:nowrap;
  padding:9px 15px; border-radius:100px; opacity:0; pointer-events:none; transition:.35s var(--ease);
  box-shadow:var(--shadow);
}
.hsms .wa-tip::after{ content:""; position:absolute; right:-5px; top:50%; transform:translateY(-50%); border:6px solid transparent; border-left-color:var(--deep); }
.hsms .wa-float:hover .wa-tip{ opacity:1; transform:translateY(-50%) translateX(0); }
@keyframes hsms-wapulse{ 0%{transform:scale(1);opacity:.55} 70%{transform:scale(1.7);opacity:0} 100%{transform:scale(1.7);opacity:0} }

/* ============ REVEAL ============ */
.hsms .reveal{ opacity:0; transform:translateY(28px); transition:opacity .8s var(--ease),transform .8s var(--ease); }
.hsms .reveal.in{ opacity:1; transform:none; }
.hsms .reveal.d1{ transition-delay:.08s } .hsms .reveal.d2{ transition-delay:.16s } .hsms .reveal.d3{ transition-delay:.24s } .hsms .reveal.d4{ transition-delay:.32s }

/* Elementor editor: make reveal elements visible while editing so the canvas matches the front end. */
body.elementor-editor-active .hsms .reveal{ opacity:1; transform:none; }

/* ============ RESPONSIVE ============ */
@media(max-width:980px){
  .hsms .hero2 .wrap{ display:block; }
  .hsms .hero2-copy{ grid-column:auto; grid-row:auto; text-align:center; max-width:760px; margin:0 auto; }
  .hsms .hero2-copy .lede{ margin:22px auto 0; }
  .hsms .hero2-cta{ grid-column:auto; grid-row:auto; justify-content:center; }
  /* Mobile swaps to the duplicate CTA rendered above the video; the desktop one is hidden. */
  .hsms .hero2-cta--desktop{ display:none; }
  .hsms .hero2-cta--mobile{ display:flex; justify-content:center; }
  .hsms .hero2-trust{ grid-column:auto; grid-row:auto; justify-content:center; }
  .hsms .hero2-stage{ grid-column:auto; grid-row:auto; margin:48px auto 0; max-width:1020px; }
  .hsms .hero2-copy h1{ font-size:clamp(36px,8vw,60px); }
  .hsms .stats-grid{ grid-template-columns:repeat(2,1fr); }
  .hsms .stat:nth-child(2){ border-right:none; } .hsms .stat:nth-child(1),.hsms .stat:nth-child(2){ border-bottom:1px solid var(--line); }
  .hsms .svc-grid{ grid-template-columns:1fr; }
  .hsms .case-row{ padding:26px; grid-template-columns:1fr; gap:28px; }
  .hsms .ds-grid{ grid-template-columns:repeat(2,1fr); }
  .hsms .results-grid{ grid-template-columns:repeat(2,1fr); }
  .hsms .why-grid{ grid-template-columns:repeat(2,1fr); }
  .hsms .proc-grid{ grid-template-columns:repeat(2,1fr); }
  .hsms .testi-grid{ columns:2; }
  .hsms .cta-grid{ grid-template-columns:1fr; gap:36px; }
  .hsms .footer-grid{ grid-template-columns:1fr 1fr; gap:32px; }
  .hsms .nav-links{ display:none; }
  .hsms .burger{ display:flex; }
}
@media(max-width:600px){
  .hsms{ font-size:16px; }
  .hsms .section{ padding:64px 0; }
  .hsms .wrap{ padding:0 18px; }
  .hsms .stats-grid{ grid-template-columns:1fr 1fr; }
  .hsms .stat{ padding:22px 16px; }
  .hsms .stat .num{ font-size:clamp(30px,9vw,40px); }
  .hsms .ds-grid{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:14px; margin:0 -18px; padding:4px 18px 14px; -webkit-overflow-scrolling:touch; scrollbar-width:none; max-width:none; }
  .hsms .ds-grid::-webkit-scrollbar{ display:none; }
  .hsms .ds-card{ flex:0 0 78%; max-width:78%; height:440px; scroll-snap-align:center; }
  .hsms .ds-dots{ display:flex; }
  .hsms .ds-pan{ display:inline-flex !important; align-items:center !important; justify-content:center !important; position:absolute !important; z-index:5 !important; bottom:14px !important; right:12px !important; width:34px !important; height:34px !important; border-radius:50% !important; background:rgba(12,21,36,.55) !important; border:1px solid rgba(255,255,255,.4) !important; padding:0 !important; cursor:pointer !important; transition:background .25s var(--ease),transform .25s var(--ease) !important; backdrop-filter:blur(4px) !important; -webkit-backdrop-filter:blur(4px) !important; }
  .hsms .ds-pan svg{ width:18px !important; height:18px !important; fill:#fff !important; transition:transform .35s var(--ease) !important; }
  .hsms .ds-pan:hover{ background:rgba(125,211,252,.92) !important; border-color:rgba(125,211,252,.92) !important; transform:scale(1.08) !important; }
  .hsms .ds-pan:active{ transform:scale(.94) !important; }
  .hsms .ds-pan.active{ background:var(--accent) !important; border-color:var(--accent) !important; }
  .hsms .ds-pan.active svg{ transform:rotate(180deg) !important; }
  .hsms .results-grid{ grid-template-columns:1fr; }
  .hsms .why-grid{ grid-template-columns:1fr; }
  .hsms .proc-grid{ grid-template-columns:1fr; }
  .hsms .testi-grid{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:16px; margin:0 -18px; padding:4px 18px 14px; -webkit-overflow-scrolling:touch; scrollbar-width:none; columns:auto; }
  .hsms .testi-grid::-webkit-scrollbar{ display:none; }
  .hsms .tcard{ flex:0 0 86%; max-width:86%; margin-bottom:0; scroll-snap-align:center; }
  .hsms .ti-dots{ display:flex; }
  .hsms .footer-grid{ grid-template-columns:1fr; text-align:center; }
  .hsms .footer-bottom{ flex-direction:column; gap:8px; justify-content:center; text-align:center; }
  .hsms .footer .brand{ justify-content:center; }
  .hsms .footer-socials{ justify-content:center; }
  .hsms .footer p.fblurb{ margin-left:auto; margin-right:auto; }
  .hsms .footer h4{ text-align:center; }
  .hsms .footer h4::after{ left:50%; transform:translateX(-50%); }
  .hsms .footer ul{ align-items:center; }
  .hsms .footer-nav ul{ flex-direction:row; flex-wrap:wrap; justify-content:center; gap:10px 24px; }
  .hsms .footer-bottom{ justify-content:center; }
  .hsms .hero2-cta .btn{ flex:1 1 100%; justify-content:center; }
  .hsms .nav-cta .btn-primary{ display:none; }
  .hsms .testi-summary{ flex-direction:row; justify-content:space-between; gap:6px; padding:16px 14px; border-radius:20px; width:100%; }
  .hsms .ts-score{ flex-direction:column; align-items:center; text-align:center; gap:5px; }
  .hsms .ts-score .big{ font-size:22px; }
  .hsms .ts-score small{ font-size:10.5px; }
  .hsms .ts-divide{ display:none; }
  .hsms .play-btn{ width:68px; height:68px; } .hsms .play-btn svg{ width:26px; height:26px; }
  .hsms .wa-float{ width:56px; height:56px; right:18px; bottom:18px; } .hsms .wa-float svg{ width:30px; height:30px; }
  .hsms .results{ padding-top:0 !important; }
}

/* ================================================================
   CASE STUDY PAGES — compact layout (.hsms-cs wrapper)
   Used by the "Case Study – *" widgets. Tighter section spacing
   than the main landing page, matching the original case-study design.
   ================================================================ */
/* ============ VIDEO TESTIMONIALS ============ */
.hsms .vtesti{ background:var(--cream-2); }
.hsms .vtesti-arrow{ display:flex; flex-direction:column; align-items:center; gap:6px; margin:8px auto 40px; width:max-content; color:var(--accent); }
.hsms .vtesti-arrow-label{ font-size:12px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--accent); }
.hsms .vtesti-arrow svg{ width:34px; height:34px; animation:hsms-arrowBob 1.7s var(--ease) infinite; }
@keyframes hsms-arrowBob{ 0%,100%{transform:translateY(0);opacity:.6} 50%{transform:translateY(9px);opacity:1} }
.hsms .vtesti-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:28px; }
.hsms .vtesti-card{ background:var(--card); border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden; transition:transform .4s var(--ease),box-shadow .4s var(--ease),border-color .3s; }
.hsms .vtesti-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); border-color:transparent; }
.hsms .vtesti-video{ position:relative; aspect-ratio:var(--vtesti-ratio, 16/9); background:#000; }
@media(max-width:760px){ .hsms .vtesti-grid{ grid-template-columns:1fr; } }

.hsms .hsms-cs{ background:var(--cream); }
.hsms .hsms-cs .section{ padding:clamp(46px,6vw,78px) 0; }
.hsms .hsms-cs .sec-head{ max-width:780px; margin-bottom:clamp(24px,3vw,36px); }
.hsms .hsms-cs .sec-head h2{ font-size:clamp(26px,3.6vw,40px); line-height:1.08; }
.hsms .hsms-cs .sec-head p{ margin-top:12px; font-size:clamp(15px,1.3vw,17px); }
.hsms .hsms-cs .eyebrow.noline::before{ display:none; }

/* HERO (compact) */
.hsms .cs-hero{ position:relative; padding:128px 0 36px; overflow:hidden; background:var(--cream); }
.hsms .cs-hero::before{ content:""; position:absolute; top:-260px; left:50%; transform:translateX(-50%); width:1000px; height:680px; border-radius:50%; background:radial-gradient(closest-side,rgba(125,211,252,.16),rgba(125,211,252,0) 70%); filter:blur(8px); pointer-events:none; z-index:0; }
.hsms .cs-hero .wrap{ position:relative; z-index:1; max-width:980px; text-align:center; }
.hsms .cs-hero .eyebrow{ justify-content:center; margin-bottom:18px; }
.hsms .cs-hero h1{ font-size:clamp(38px,7vw,78px); line-height:1.0; font-weight:800; letter-spacing:-.035em; margin:0 auto; max-width:14ch; }
.hsms .cs-hero h1 .arr{ color:var(--accent); font-weight:800; margin:0 .04em; }
.hsms .cs-hero .lede{ margin:18px auto 0; max-width:64ch; font-size:clamp(16px,1.5vw,19px); color:var(--ink-soft); line-height:1.55; }
.hsms .cs-hero .lede .serif-i{ color:var(--accent); }

/* meta chips */
.hsms .cs-meta{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-top:22px; }
.hsms .cs-meta li{ display:inline-flex; align-items:center; gap:8px; background:var(--card); border:1px solid var(--line); border-radius:100px; padding:8px 15px; font-size:13px; font-weight:600; color:var(--ink-soft); }
.hsms .cs-meta li svg{ width:15px; height:15px; color:var(--accent); }
.hsms .cs-meta li b{ color:var(--ink); font-weight:700; }

/* BEFORE / AFTER */
.hsms .compare-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; align-items:stretch; }
.hsms .compare-card{ background:var(--card); border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden; display:flex; flex-direction:column; box-shadow:0 12px 40px -26px rgba(0,0,0,.5); transition:transform .35s var(--ease),box-shadow .35s var(--ease); }
.hsms .compare-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.hsms .compare-card .ba-tag{ display:inline-flex; align-items:center; gap:7px; font-size:11.5px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; padding:7px 14px; border-radius:100px; color:#fff; align-self:flex-start; margin:16px 18px 0; }
.hsms .compare-card.before .ba-tag{ background:rgba(255,255,255,.16); }
.hsms .compare-card.after .ba-tag{ background:var(--accent); color:#0c1524; }
.hsms .compare-card .ba-tag .dot{ width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.9); }
.hsms .compare-card .shot{ margin:12px 16px 16px; border-radius:14px; overflow:hidden; border:1px solid var(--line); cursor:zoom-in; background:var(--cream); position:relative; aspect-ratio:16/11; }
.hsms .compare-card .shot img{ width:100%; height:100%; object-fit:cover; object-position:top; transition:transform .5s var(--ease); }
.hsms .compare-card:hover .shot img{ transform:scale(1.03); }
.hsms .compare-card .shot .zoom{ position:absolute; bottom:12px; right:12px; background:rgba(20,20,20,.72); color:#fff; width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center; backdrop-filter:blur(4px); }
.hsms .compare-card .shot .zoom svg{ width:16px; height:16px; }
.hsms .compare-card .ba-cap{ padding:0 18px 18px; }
.hsms .compare-card .ba-cap b{ display:block; font-size:16px; color:var(--ink); font-weight:700; }
.hsms .compare-card .ba-cap p{ margin-top:4px; font-size:13.5px; color:var(--muted); line-height:1.5; }
/* stacked compare variant */
.hsms .cs-compare.compare-stack .compare-grid{ grid-template-columns:1fr; }
.hsms .cs-compare.compare-stack .compare-card .shot{ aspect-ratio:auto; background:#fff; }
.hsms .cs-compare.compare-stack .compare-card .shot img{ width:100%; height:auto; object-fit:contain; }
.hsms .compare-cta{ text-align:center; margin-top:30px; }

/* KEY METRICS */
.hsms .metrics-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.hsms .metric{ background:var(--card); border:1px solid var(--line); border-radius:var(--r-lg); padding:24px 20px; text-align:center; transition:transform .35s var(--ease),box-shadow .35s var(--ease); }
.hsms .metric:hover{ transform:translateY(-5px); box-shadow:var(--shadow); }
.hsms .metric .num{ font-size:clamp(28px,3.4vw,40px); font-weight:800; letter-spacing:-.03em; line-height:1; color:var(--ink); }
.hsms .metric .delta{ display:inline-flex; align-items:center; gap:4px; font-size:12px; font-weight:700; color:var(--green); background:rgba(34,197,94,.16); border-radius:100px; padding:3px 10px; margin-top:10px; }
.hsms .metric .delta svg{ width:13px; height:13px; }
.hsms .metric .label{ display:block; margin-top:10px; font-size:13px; color:var(--muted); font-weight:500; }
/* dark metrics band */
.hsms .cs-metrics.metrics-dark{ background:var(--deep); color:#fff; position:relative; overflow:hidden; }
.hsms .cs-metrics.metrics-dark::before{ content:""; position:absolute; top:-80px; left:50%; transform:translateX(-50%); width:900px; height:360px; border-radius:50%; background:radial-gradient(closest-side,rgba(56,189,248,.22),rgba(56,189,248,0) 70%); pointer-events:none; }
.hsms .cs-metrics.metrics-dark .wrap{ position:relative; z-index:1; }
.hsms .cs-metrics.metrics-dark .sec-head h2{ color:#fff; }
.hsms .cs-metrics.metrics-dark .sec-head h2 .serif-i{ color:var(--accent-2); }
.hsms .cs-metrics.metrics-dark .sec-head p{ color:rgba(255,255,255,.82); }
.hsms .cs-metrics.metrics-dark .eyebrow{ color:#BAE6FD; }
.hsms .cs-metrics.metrics-dark .eyebrow::before{ background:#BAE6FD; }

/* WHAT WE DID */
.hsms .work-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.hsms .work-item{ background:var(--card); border:1px solid var(--line); border-radius:var(--r-lg); padding:24px 26px; transition:transform .35s var(--ease),box-shadow .35s var(--ease),border-color .3s; }
.hsms .work-item:hover{ transform:translateY(-4px); box-shadow:var(--shadow); border-color:transparent; }
.hsms .work-item .wi-n{ display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:12px; background:var(--accent-soft); color:var(--accent); font-size:16px; font-weight:800; letter-spacing:-.02em; margin-bottom:14px; }
.hsms .work-item h3{ font-size:17.5px; font-weight:700; letter-spacing:-.015em; color:var(--ink); }
.hsms .work-item p{ margin-top:6px; color:var(--ink-soft); font-size:14.5px; line-height:1.55; }

/* responsive — case study */
@media(max-width:980px){
  .hsms .metrics-grid{ grid-template-columns:repeat(2,1fr); }
  .hsms .work-grid{ grid-template-columns:1fr; }
}
@media(max-width:720px){
  .hsms .cs-hero{ padding:120px 0 28px; }
  .hsms .cs-hero .lede{ font-size:16.5px; }
  .hsms .compare-grid{ grid-template-columns:1fr; }
  .hsms .compare-card .ba-cap{ padding:0 16px 16px; }
  .hsms .cs-meta{ gap:8px; }
  .hsms .metrics-grid{ grid-template-columns:repeat(2,1fr); gap:12px; }
  .hsms .metric{ padding:20px 14px; }
}
@media(max-width:420px){
  .hsms .cs-hero{ padding:112px 0 24px; }
  .hsms .cs-hero h1{ font-size:34px; }
  .hsms .hsms-cs .sec-head h2{ font-size:clamp(22px,7.5vw,28px); }
  .hsms .metric{ padding:18px 12px; }
  .hsms .metric .num{ font-size:24px; }
  .hsms .metric .label{ font-size:11.5px; }
  .hsms .metric .delta{ font-size:11px; padding:3px 8px; }
}

/* ================================================================
   CASE STUDY HERO — split layout (content + before/after carousel)
   ================================================================ */
.hsms .cs-hero-split{ padding:138px 0 64px; }
.hsms .cs-hero-split .wrap{ max-width:var(--maxw); text-align:left; }
.hsms .cs-hero-grid{ display:grid; grid-template-columns:1fr 1.05fr; gap:56px; align-items:center; }
.hsms .cs-hero-content{ min-width:0; }
.hsms .cs-hero-media{ min-width:0; }
.hsms .cs-hero-split .cs-hero-content .eyebrow{ justify-content:flex-start; margin-bottom:18px; }
.hsms .cs-hero-split h1{ font-size:clamp(34px,4.6vw,60px); line-height:1.02; max-width:13ch; margin:0; }
.hsms .cs-hero-split .lede{ margin:20px 0 0; max-width:52ch; }
.hsms .cs-hero-split .cs-meta{ justify-content:flex-start; margin-top:26px; }
.hsms .cs-hero-cta{ display:flex; gap:14px; flex-wrap:wrap; justify-content:flex-start; margin-top:28px; }

.hsms .cs-carousel{ position:relative; }
.hsms .cs-carousel-viewport{ overflow:hidden; border-radius:var(--r-lg); border:1px solid var(--line); background:#fff; box-shadow:var(--shadow); }
.hsms .cs-carousel-track{ display:flex; transition:transform .6s var(--ease); will-change:transform; }
.hsms .cs-slide{ flex:0 0 100%; min-width:100%; position:relative; background:#fff; }
.hsms .cs-slide img{ display:block; width:100%; height:auto; cursor:zoom-in; }
.hsms .cs-slide .ba-tag{ position:absolute; top:14px; left:14px; z-index:2; margin:0; display:inline-flex; align-items:center; gap:7px; font-size:11.5px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; padding:7px 14px; border-radius:100px; color:#fff; }
.hsms .cs-slide .ba-tag .dot{ width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.9); }
.hsms .cs-slide.before .ba-tag{ background:#334155; }
.hsms .cs-slide.after .ba-tag{ background:var(--accent); color:#0c1524; }
.hsms .cs-slide.after .ba-tag .dot{ background:rgba(12,21,36,.55); }
.hsms .cs-slide figcaption{ padding:13px 18px; font-size:13.5px; color:#475569; line-height:1.5; background:#fff; border-top:1px solid rgba(15,23,42,.08); }
.hsms .cs-slide figcaption b{ color:#0c1524; font-weight:700; }
.hsms .cs-carousel-tabs{ display:flex; gap:10px; justify-content:center; margin-top:20px; }
.hsms .cs-tab{ padding:11px 26px; border-radius:100px; border:1px solid var(--line-2); background:var(--card); color:var(--ink); font-family:inherit; font-size:13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; cursor:pointer; transition:background .3s,color .3s,border-color .3s,transform .3s var(--ease); }
.hsms .cs-tab:hover{ transform:translateY(-2px); border-color:var(--accent); }
.hsms .cs-tab.active{ background:var(--accent); color:#0c1524; border-color:var(--accent); }

@media(max-width:980px){
  .hsms .cs-hero-grid{ grid-template-columns:1fr; gap:40px; }
  .hsms .cs-hero-split .cs-hero-content{ text-align:center; }
  .hsms .cs-hero-split .cs-hero-content .eyebrow{ justify-content:center; }
  .hsms .cs-hero-split h1, .hsms .cs-hero-split .lede{ margin-left:auto; margin-right:auto; }
  .hsms .cs-hero-split .cs-meta{ justify-content:center; }
  .hsms .cs-hero-split .cs-hero-cta{ justify-content:center; }
}
