/* FSM Global homepage product block 2026 (v1.2.0).
   Replaces the "Discover how FSM Global can impact your business" section.
   Every rule is scoped under #fsmh-products and every class is prefixed fh-, so nothing here
   affects the rest of the page, and theme / Bootstrap 3 rules (.row, .btn, .card, .lead) cannot leak in. */

/* ---- 1. Neutralise theme / Bootstrap defaults inside the block (:where keeps them lowest priority) ---- */
#fsmh-products{display:block;width:100%;float:none;clear:both;font-size:16px;line-height:1.55;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#14203a;background:#fff;text-align:left}
#fsmh-products :where(*,*::before,*::after){box-sizing:border-box}
#fsmh-products :where(*){font-family:inherit;text-align:inherit}
#fsmh-products :where(*:not(input):not(button)){line-height:inherit}
#fsmh-products :where(h1,h2,h3){color:inherit;font-weight:700;text-transform:none;margin:0;padding:0;border:0;background:none}
#fsmh-products :where(p,li,span,article){font-size:inherit;color:inherit;font-weight:inherit;margin:0;letter-spacing:inherit}
#fsmh-products :where(ul,ol){list-style:none;margin:0;padding:0}
#fsmh-products :where(li)::marker{content:none}
#fsmh-products :where(a,a:hover,a:focus,a:visited){color:inherit;text-decoration:none}

/* ---- 2. Design (from homepage-redesign/index.html, section "products") ---- */
#fsmh-products{--navy:#0c2350; --navy-2:#13306b; --blue:#1f56c4; --blue-soft:#e8effc;
  --red:#d6303c; --red-dark:#b4232e; --cyan:#12a6c9; --violet:#6d4ff2;
  --ink:#14203a; --muted:#56627a; --line:#e3e8f1; --bg:#fff; --bg-alt:#f4f7fc;
  --ok:#14966b; --warn:#e08a00;
  --r:14px; --shadow:0 10px 30px -12px rgba(12,35,80,.25); --max:1200px;}
#fsmh-products *{box-sizing:border-box;margin:0;padding:0}
#fsmh-products{font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--ink);background:var(--bg);line-height:1.55;-webkit-font-smoothing:antialiased}
#fsmh-products a{color:inherit;text-decoration:none}
#fsmh-products img{max-width:100%;height:auto;display:block}
#fsmh-products :focus-visible{outline:3px solid #7aa7ff;outline-offset:2px;border-radius:6px}
#fsmh-products .fh-wrap{max-width:var(--max);margin:0 auto;padding:0 24px}
#fsmh-products{padding:88px 0;position:relative}
#fsmh-products .fh-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--blue)}
#fsmh-products h2,#fsmh-products h3{line-height:1.15;letter-spacing:-.02em}
#fsmh-products h2{font-size:clamp(28px,3.4vw,40px);font-weight:800;margin:10px 0 14px;color:var(--ink)}
#fsmh-products .fh-lead{font-size:18px;color:var(--muted);max-width:700px}
#fsmh-products .fh-center{text-align:center}
#fsmh-products .fh-center .fh-lead{margin:0 auto}
#fsmh-products .fh-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:600;font-size:15px;padding:13px 22px;border-radius:10px;transition:.15s;border:1.5px solid transparent;cursor:pointer;white-space:nowrap;font-family:inherit}
#fsmh-products .fh-btn-light{background:#fff;color:var(--navy)}
#fsmh-products .fh-btn-light:hover{background:var(--blue-soft)}
#fsmh-products .fh-arrow::after{content:"→";transition:.15s}
#fsmh-products .fh-arrow:hover::after{transform:translateX(3px)}
#fsmh-products .fh-platform-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:20px;margin-top:44px}
#fsmh-products .fh-card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:26px;transition:.18s;display:flex;flex-direction:column}
#fsmh-products .fh-card:hover{border-color:#bcd0f3;box-shadow:var(--shadow);transform:translateY(-2px)}
#fsmh-products .fh-tag{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;padding:4px 9px;border-radius:6px;margin-bottom:14px;align-self:flex-start}
#fsmh-products .fh-t-ai{background:#efeaff;color:#5a3de0}
#fsmh-products .fh-t-conn{background:#e3f6fb;color:#0a6f88}
#fsmh-products .fh-t-ind{background:#fdebec;color:var(--red-dark)}
#fsmh-products .fh-t-flow{background:#e6f6ef;color:#0f7a56}
#fsmh-products .fh-card h3{font-size:21px;font-weight:800;color:var(--navy);margin-bottom:6px;display:flex;align-items:center;gap:10px}
#fsmh-products .fh-icon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;flex:none}
#fsmh-products .fh-icon svg{width:20px;height:20px}
#fsmh-products .fh-card p{color:var(--muted);font-size:15px}
#fsmh-products .fh-card ul{list-style:none;margin:14px 0 18px;display:grid;gap:7px}
#fsmh-products .fh-card li{font-size:14px;display:flex;gap:8px;align-items:flex-start}
#fsmh-products .fh-card li::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--blue);margin-top:8px;flex:none}
#fsmh-products .fh-card .fh-more{margin-top:auto;font-weight:600;font-size:14px;color:var(--blue)}
#fsmh-products .fh-flagship{grid-row:span 2;background:linear-gradient(160deg,#0c2350 0,#163a83 100%);color:#fff;border:0;padding:32px}
#fsmh-products .fh-flagship h3{color:#fff;font-size:28px}
#fsmh-products .fh-flagship p{color:#d0dbf2;font-size:16px}
#fsmh-products .fh-flagship .fh-tag{background:rgba(255,255,255,.14);color:#fff}
#fsmh-products .fh-modules{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:22px 0 26px;list-style:none}
#fsmh-products .fh-modules a{font-size:13.5px;font-weight:500;padding:9px 12px;border-radius:9px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);display:flex;align-items:center;gap:8px;transition:.15s;height:100%}
#fsmh-products .fh-modules a:hover{background:rgba(255,255,255,.16)}
#fsmh-products .fh-modules a::before{content:"✓";color:#7fd7ec;font-weight:800;font-size:12px}
#fsmh-products .fh-card .fh-modules li{display:block}
#fsmh-products .fh-card .fh-modules li::before{display:none}
#fsmh-products .fh-modules li:last-child:nth-child(odd){grid-column:span 2}
#fsmh-products .fh-flagship .fh-btn{align-self:flex-start;margin-top:auto}
#fsmh-products .fh-platform-grid>*{min-width:0}
#fsmh-products .fh-card.fh-edition{grid-column:1 / -1;display:grid;grid-template-columns:1.15fr 1.1fr auto;gap:28px;align-items:center;background:linear-gradient(120deg,#fff 0,#fff6f6 100%)}
#fsmh-products .fh-card.fh-edition .fh-tag{margin-bottom:10px}
#fsmh-products .fh-card.fh-edition ul{grid-template-columns:1fr 1fr;margin:0;gap:10px 24px}
#fsmh-products .fh-card.fh-edition .fh-more{margin-top:0;white-space:nowrap}
@media (max-width:1100px){
#fsmh-products .fh-platform-grid{grid-template-columns:1fr 1fr}
#fsmh-products .fh-flagship{grid-column:span 2;grid-row:auto}
#fsmh-products .fh-card.fh-edition{grid-template-columns:1fr 1fr}
#fsmh-products .fh-card.fh-edition .fh-more{grid-column:1 / -1}
}
@media (max-width:680px){
#fsmh-products .fh-wrap{padding:0 16px}
#fsmh-products{padding:64px 0}
#fsmh-products .fh-btn{white-space:normal;text-align:center}
#fsmh-products .fh-platform-grid,#fsmh-products .fh-modules{grid-template-columns:1fr}
#fsmh-products .fh-modules li:last-child:nth-child(odd){grid-column:auto}
#fsmh-products .fh-flagship{grid-column:auto}
#fsmh-products .fh-card.fh-edition{grid-template-columns:1fr;gap:14px}
#fsmh-products .fh-card.fh-edition ul{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
#fsmh-products *,#fsmh-products *::before,#fsmh-products *::after{transition:none!important;animation:none!important;}
}

/* ---- 3. Large screens: scale the whole block up so it fills wide monitors (v1.1.0) ---- */
@media (min-width:1600px){#fsmh-products{padding:100px 0}#fsmh-products .fh-wrap{zoom:1.12}}
@media (min-width:1900px){#fsmh-products{padding:116px 0}#fsmh-products .fh-wrap{zoom:1.28}}
@media (min-width:2400px){#fsmh-products{padding:140px 0}#fsmh-products .fh-wrap{zoom:1.55}}
@media (min-width:3000px){#fsmh-products{padding:170px 0}#fsmh-products .fh-wrap{zoom:1.9}}

/* ---- 4. Page H1 (v1.2.0): the homepage H1 sits in this block, styled as the small blue line above the main heading ---- */
#fsmh-products .fh-h1{margin:0;padding:0;line-height:1.4;font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--blue);background:none;border:0}
