/* ============================================================
   HOME.CSS – Overcam modern homepage
   Palette: White (#ffffff) + Orange (#ff7700) + Dark (#333)
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }

body.home-modern {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  background: #f5f6f8;
  color: #222;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  --hero-start: #212934;
  --hero-mid: #333333;
  --hero-end: #faa955;
  --accent: #ff7700;
  --accent-strong: #dd6600;
  --accent-hover: #c25900;
  --accent-soft: #faa955;
  --accent-soft-bg: #fff5ea;
  --accent-soft-border: rgba(250,169,85,0.28);
  --accent-pale: #fffaf5;
  --accent-border: rgba(255,119,0,0.18);
  --accent-border-strong: rgba(221,102,0,0.28);
  --accent-rgb: 255,119,0;
}

body.home-modern h1,
body.home-modern h2,
body.home-modern h3,
body.home-modern h4,
body.home-modern h5,
body.home-modern h6 {
  font-family: inherit;
  letter-spacing: normal;
}

body.theme-home {
  --hero-start: #212934;
  --hero-mid: #333333;
  --hero-end: #faa955;
  --accent: #ff7700;
  --accent-strong: #dd6600;
  --accent-hover: #c25900;
  --accent-soft: #faa955;
  --accent-soft-bg: #fff5ea;
  --accent-soft-border: rgba(250,169,85,0.28);
  --accent-pale: #fffaf5;
  --accent-border: rgba(255,119,0,0.18);
  --accent-border-strong: rgba(221,102,0,0.28);
  --accent-rgb: 255,119,0;
}

body.theme-info {
  --hero-start: #212934;
  --hero-mid: #333333;
  --hero-end: #faa955;
  --accent: #ff7700;
  --accent-strong: #dd6600;
  --accent-hover: #c25900;
  --accent-soft: #ffb86f;
  --accent-soft-bg: #fff7ee;
  --accent-soft-border: rgba(255,184,111,0.28);
  --accent-pale: #fffaf5;
  --accent-border: rgba(255,119,0,0.14);
  --accent-border-strong: rgba(221,102,0,0.24);
  --accent-rgb: 255,119,0;
}

body.theme-products {
  --hero-start: #212934;
  --hero-mid: #333333;
  --hero-end: #faa955;
  --accent: #ff7700;
  --accent-strong: #dd6600;
  --accent-hover: #c25900;
  --accent-soft: #ffb15c;
  --accent-soft-bg: #fff6ec;
  --accent-soft-border: rgba(255,177,92,0.28);
  --accent-pale: #fffaf4;
  --accent-border: rgba(255,119,0,0.16);
  --accent-border-strong: rgba(221,102,0,0.24);
  --accent-rgb: 255,119,0;
}

body.theme-solutions {
  --hero-start: #212934;
  --hero-mid: #46494a;
  --hero-end: #c594c5;
  --accent: #c594c5;
  --accent-strong: #a872a8;
  --accent-hover: #8d5f8d;
  --accent-soft: #d8b5d8;
  --accent-soft-bg: #faf5fa;
  --accent-soft-border: #eadceb;
  --accent-pale: #fdf9fd;
  --accent-border: rgba(197,148,197,0.16);
  --accent-border-strong: rgba(197,148,197,0.24);
  --accent-rgb: 197,148,197;
}

body.theme-download {
  --hero-start: #212934;
  --hero-mid: #dd6600;
  --hero-end: #ffbe5c;
  --accent: #ff7700;
  --accent-strong: #dd6600;
  --accent-hover: #c25900;
  --accent-soft: #ffbe5c;
  --accent-soft-bg: #fff7ec;
  --accent-soft-border: rgba(255,190,92,0.3);
  --accent-pale: #fffaf3;
  --accent-border: rgba(255,119,0,0.18);
  --accent-border-strong: rgba(221,102,0,0.26);
  --accent-rgb: 255,119,0;
}

body.theme-info.page-info {
  background: rgba(255,119,0,0.1);
}

body.theme-products.page-products {
  background: rgba(255,119,0,0.12);
}

body.theme-solutions {
  background: rgba(197,148,197,0.1);
}

body.theme-download.page-info.download-page {
  background: rgba(255,119,0,0.12);
}

body.theme-support.page-info.support-page {
  background: rgba(106,164,217,0.14);
}

body.theme-support {
  --hero-start: #212934;
  --hero-mid: #456d96;
  --hero-end: #8ec0e8;
  --accent: #6aa4d9;
  --accent-strong: #456d96;
  --accent-hover: #36587a;
  --accent-soft: #9fc9eb;
  --accent-soft-bg: #f1f7fc;
  --accent-soft-border: rgba(106,164,217,0.28);
  --accent-pale: #f8fbfe;
  --accent-border: rgba(106,164,217,0.18);
  --accent-border-strong: rgba(69,109,150,0.28);
  --accent-rgb: 106,164,217;
}

body.theme-profirst {
  --hero-start: #161616;
  --hero-mid: #d78531;
  --hero-end: #fdd628;
  --accent: #fdd628;
  --accent-strong: #dd6600;
  --accent-hover: #d78531;
  --accent-soft: #fcee37;
  --accent-soft-bg: #fffbe0;
  --accent-soft-border: rgba(253,214,40,0.32);
  --accent-pale: #fffef0;
  --accent-border: rgba(253,214,40,0.18);
  --accent-border-strong: rgba(253,214,40,0.28);
  --accent-rgb: 253,214,40;
}

body.theme-spaceclaim {
  --hero-start: #161616;
  --hero-mid: #4f5b8b;
  --hero-end: #77a6d8;
  --accent: #77a6d8;
  --accent-strong: #4f5b8b;
  --accent-hover: #4f5b8b;
  --accent-soft: #77a6d8;
  --accent-soft-bg: #f1f6fc;
  --accent-soft-border: rgba(119,166,216,0.28);
  --accent-pale: #f8fbfe;
  --accent-border: rgba(119,166,216,0.18);
  --accent-border-strong: rgba(79,91,139,0.28);
  --accent-rgb: 119,166,216;
}

body.theme-logitrace {
  --hero-start: #161616;
  --hero-mid: #447654;
  --hero-end: #83c993;
  --accent: #83c993;
  --accent-strong: #447654;
  --accent-hover: #447654;
  --accent-soft: #83c993;
  --accent-soft-bg: #f2faf4;
  --accent-soft-border: rgba(131,201,147,0.28);
  --accent-pale: #f8fcf8;
  --accent-border: rgba(131,201,147,0.18);
  --accent-border-strong: rgba(68,118,84,0.28);
  --accent-rgb: 131,201,147;
}

body.theme-logiorange {
  --hero-start: #161616;
  --hero-mid: #dd6600;
  --hero-end: #faa955;
  --accent: #ff7700;
  --accent-strong: #dd6600;
  --accent-hover: #d78531;
  --accent-soft: #faa955;
  --accent-soft-bg: #fff5ea;
  --accent-soft-border: rgba(250,169,85,0.28);
  --accent-pale: #fffaf5;
  --accent-border: rgba(255,119,0,0.18);
  --accent-border-strong: rgba(221,102,0,0.28);
  --accent-rgb: 255,119,0;
}

body.theme-profirst.page-profirst {
  background: rgba(253,214,40,0.14);
}

body.theme-spaceclaim.page-profirst {
  background: rgba(119,166,216,0.14);
}

body.theme-logitrace.page-profirst {
  background: rgba(131,201,147,0.14);
}

body.theme-logiorange.page-profirst {
  background: rgba(255,119,0,0.14);
}

body.home-modern :is(.info-hero, .prod-hero, .pf-hero) {
  isolation: isolate;
  color: #fff;
}

body.home-modern :is(.info-hero__inner, .prod-hero__inner, .pf-hero__inner) {
  position: relative;
  z-index: 2;
  background: transparent;
}

body.home-modern :is(.info-hero__badge, .prod-hero__badge, .pf-hero__badge,
.info-hero__title, .prod-hero__title, .pf-hero__title,
.info-hero__sub, .prod-hero__sub, .pf-hero__sub,
.info-hero__accent, .prod-hero__accent, .pf-hero__accent,
.info-pill, .prod-pill, .pf-pill) {
  position: relative;
  z-index: 2;
}

body.home-modern :is(.info-hero__title, .prod-hero__title, .pf-hero__title) {
  color: #fff !important;
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

body.home-modern :is(.info-hero__sub, .prod-hero__sub, .pf-hero__sub) {
  color: rgba(255,255,255,0.92) !important;
}

body.home-modern :is(.info-hero__badge, .prod-hero__badge, .pf-hero__badge,
.info-pill, .prod-pill, .pf-pill) {
  color: #fff !important;
}

body.home-modern :is(.info-hero__accent, .prod-hero__accent, .pf-hero__accent) {
  background: #fff !important;
}

body.home-modern :is(.info-pill, .prod-pill, .pf-pill) {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.26);
}

body.home-modern :is(.info-pill:hover, .prod-pill:hover, .pf-pill:hover,
.prod-pill.active, .pf-pill.active) {
  background: #fff !important;
  color: var(--accent) !important;
}

body.theme-profirst :is(.pf-pill:hover, .pf-pill.active) {
  background: #fcee37 !important;
  border-color: #fcee37 !important;
  color: #161616 !important;
}

/* ---------- GLOBAL MOBILE OVERRIDES ---------- */
/* Fix inline width/height on images */
body.home-modern img {
  max-width: 100%;
  height: auto;
}
/* Fix old <center> and <table> from PHP includes */
body.home-modern center,
body.home-modern CENTER {
  text-align: center;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
/* Image map container fix */
body.home-modern CENTER img[usemap],
body.home-modern center img[usemap] {
  max-width: 100%;
  height: auto;
}

/* ---------- HEADER ---------- */
.hm-header {
  background: #ffffff;
  border-bottom: 4px solid #ff7700;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 900;
}
.hm-header__inner {
  max-width: 1560px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hm-logo img {
  height: 54px;
  width: auto;
  transition: transform .2s;
}
.hm-logo:hover img { transform: scale(1.05); }
.hm-header__slogan { flex: 1; min-width: 180px; }

/* override menu bar for homepage — hide old table menu */
body.home-modern #tabb { display: none !important; }

/* ---------- MODERN NAV ---------- */
.hm-nav {
  background: #ff7700;
  position: relative;
}
.hm-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  max-width: 1560px;
  margin: 0 auto;
}
.hm-nav__list > li {
  position: relative;
}
.hm-nav__ico {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
  opacity: 0.9;
}
.hm-nav__ico--img {
  filter: brightness(0) invert(1);
}
.hm-nav__list > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 18px;
  height: 44px;
  line-height: 44px;
  color: #fff;
  font-weight: 600;
  font-size: 0.88em;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.hm-nav__list > li > a:hover,
.hm-nav__list > li > a:focus {
  background: rgba(0,0,0,0.12);
}
.hm-nav__list > li > a.hm-nav__active {
  background: rgba(0,0,0,0.18);
}

/* chevron icon */
.hm-chevron {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  transition: transform .25s;
}

/* dropdown */
.hm-nav__sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  background: #fff;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .25s, transform .25s, visibility .25s;
  z-index: 1000;
}
.hm-nav__has-sub:hover > .hm-nav__sub,
.hm-nav__has-sub:focus-within > .hm-nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.hm-nav__has-sub:hover > a .hm-chevron {
  transform: rotate(180deg);
}
.hm-nav__sub li a {
  display: block;
  padding: 10px 20px;
  color: #333;
  font-size: 0.9em;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s, color .15s, padding-left .15s;
}
.hm-nav__sub li a:hover {
  background: #fff3e6;
  color: #ff7700;
  padding-left: 26px;
}

/* translate cell */
/* ---------- HAMBURGER BUTTON ---------- */
.hm-burger {
  display: none;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1010;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  padding: 0;
}
.hm-burger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .2s;
  position: absolute;
  left: 0;
}
.hm-burger span:nth-child(1) { top: 0; }
.hm-burger span:nth-child(2) { top: 10px; }
.hm-burger span:nth-child(3) { top: 20px; }

.hm-burger.open span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.hm-burger.open span:nth-child(2) {
  opacity: 0;
}
.hm-burger.open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* overlay backdrop */
.hm-nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 998;
  opacity: 0;
  transition: opacity .3s;
}
.hm-nav__overlay.open {
  display: block;
  opacity: 1;
}

/* ---------- MOBILE NAV (<=860px) ---------- */
@media screen and (max-width: 860px) {
  .hm-nav {
    min-height: 48px;
  }
  .hm-burger {
    display: block;
    top: 24px;
  }
  .hm-nav__list {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    background: #fff;
    z-index: 999;
    padding: 70px 0 30px;
    overflow-y: auto;
    box-shadow: -6px 0 30px rgba(0,0,0,0.18);
    transition: right .35s cubic-bezier(.4,0,.2,1);
  }
  .hm-nav__list.open {
    right: 0;
  }
  .hm-nav__list > li > a {
    color: #333;
    height: auto;
    line-height: 1.4;
    padding: 14px 24px;
    font-size: 0.95em;
    border-bottom: 1px solid #f0f0f0;
  }
  .hm-nav__list > li > a:hover,
  .hm-nav__list > li > a:focus {
    background: #fff3e6;
    color: #ff7700;
  }
  .hm-nav__list > li > a.hm-nav__active {
    background: #ff7700;
    color: #fff;
  }
  .hm-chevron {
    color: #999;
    margin-left: auto;
    transition: transform .25s;
  }

  /* accordion sub */
  .hm-nav__sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    background: #fafafa;
    transition: max-height .35s cubic-bezier(.4,0,.2,1), padding .35s;
  }
  .hm-nav__has-sub.sub-open > .hm-nav__sub {
    max-height: 500px;
    padding: 6px 0;
  }
  .hm-nav__has-sub.sub-open > a .hm-chevron {
    transform: rotate(180deg);
  }
  .hm-nav__sub li a {
    padding: 10px 24px 10px 36px;
    border-bottom: 1px solid #f0f0f0;
  }
  .hm-nav__sub li a:hover {
    padding-left: 42px;
  }

  /* translate */
  .hm-nav__translate {
    padding: 16px 24px;
    border-top: 1px solid #eee;
  }
}

/* ---------- HERO BANNER ---------- */
.hm-hero {
  background-image: url('../images/utilizzate/hero-bg.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 72px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 340px;
}
.hm-hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.hm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
  z-index: 0;
}

/* floating geometric shapes */
.hm-hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
}
.hm-hero__shape--1 {
  width: 300px; height: 300px;
  background: #fff;
  top: -80px; left: -60px;
  animation: shapeFloat1 8s ease-in-out infinite;
}
.hm-hero__shape--2 {
  width: 180px; height: 180px;
  border: 3px solid rgba(255,255,255,0.3);
  top: 20%; right: 8%;
  border-radius: 30%;
  animation: shapeFloat2 10s ease-in-out infinite;
}
.hm-hero__shape--3 {
  width: 100px; height: 100px;
  background: rgba(255,255,255,0.08);
  bottom: 10%; left: 12%;
  border-radius: 20%;
  animation: shapeFloat3 7s ease-in-out infinite;
}
.hm-hero__shape--4 {
  width: 60px; height: 60px;
  border: 2px solid rgba(255,255,255,0.2);
  top: 60%; right: 20%;
  animation: shapeFloat1 9s ease-in-out infinite reverse;
}
.hm-hero__shape--5 {
  width: 140px; height: 140px;
  background: rgba(255,255,255,0.1);
  bottom: -40px; right: -30px;
  animation: shapeFloat2 12s ease-in-out infinite;
}

@keyframes shapeFloat1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(20px, -30px) rotate(10deg); }
  66% { transform: translate(-15px, 15px) rotate(-5deg); }
}
@keyframes shapeFloat2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-25px, 20px) rotate(180deg); }
}
@keyframes shapeFloat3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  50% { transform: translate(15px, -20px) rotate(45deg) scale(1.15); }
}

.hm-hero__inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* badge */
.hm-hero__badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.85em;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 6px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.25);
  margin: 0 0 18px;
  animation: heroSlideUp .5s ease-out;
}

.hm-hero__title {
  font-size: 2.8em;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  animation: heroSlideUp .7s ease-out;
  text-shadow: 0 2px 16px rgba(0,0,0,0.95), 0 1px 4px rgba(0,0,0,0.85), 0 0 40px rgba(0,0,0,0.6);
}
.hm-hero__glow {
  position: relative;
  display: inline-block;
}
.hm-hero__glow::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: -4px;
  right: -4px;
  height: 14px;
  background: rgba(255,255,255,0.25);
  border-radius: 4px;
  z-index: -1;
  transform: skewX(-8deg);
}

.hm-hero__sub {
  font-size: 1.3em;
  font-weight: 400;
  color: rgba(255,255,255,0.95);
  margin: 0 0 8px;
  min-height: 1.6em;
  animation: heroSlideUp .9s ease-out;
  text-shadow: 0 1px 10px rgba(0,0,0,0.9), 0 2px 20px rgba(0,0,0,0.7);
}
/* blinking cursor for typing effect */
.hm-hero__sub::after {
  content: "|";
  font-weight: 100;
  animation: blink .7s infinite;
  margin-left: 2px;
  color: rgba(255,255,255,0.7);
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hm-hero__accent {
  width: 60px;
  height: 4px;
  background: #fff;
  border-radius: 2px;
  margin: 0 auto 24px;
  animation: heroSlideUp 1s ease-out;
}

/* CTA button */
.hm-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: #ffffff;
  color: #ff7700;
  font-weight: 700;
  font-size: 1em;
  text-decoration: none;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15), 0 0 0 0 rgba(255,255,255,0.4);
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
  animation: heroSlideUp 1.2s ease-out, ctaPulse 2.5s ease-in-out 2s infinite;
  position: relative;
  z-index: 2;
}

.hm-hero__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hm-hero__cta--ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: none;
  animation: heroSlideUp 1.28s ease-out;
}

.hm-hero__cta--ghost:hover {
  background: #fff;
  color: #c25900;
}

.hm-hero__meta {
  max-width: 760px;
  margin: 12px auto 22px;
  color: rgba(255,255,255,0.82);
  font-size: 0.95em;
  line-height: 1.65;
  animation: heroSlideUp 1s ease-out;
  text-shadow: 0 1px 10px rgba(0,0,0,0.9), 0 2px 20px rgba(0,0,0,0.7);
}
.hm-hero__cta:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  background: #ff7700;
  color: #fff;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(0,0,0,0.15), 0 0 0 0 rgba(255,255,255,0.4); }
  50%      { box-shadow: 0 4px 24px rgba(0,0,0,0.15), 0 0 0 12px rgba(255,255,255,0); }
}

@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- STATS BAR ---------- */
.hm-stats {
  background: #222;
  position: relative;
  overflow: hidden;
}
.hm-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,119,0,0.08);
  pointer-events: none;
}
.hm-stats__inner {
  max-width: 1560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
}
.hm-stats__item {
  text-align: center;
  padding: 32px 16px;
  position: relative;
  transition: background .3s;
}
.hm-stats__item:hover {
  background: rgba(255,119,0,0.1);
}
.hm-stats__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}
.hm-stats__num {
  font-size: 2.4em;
  font-weight: 800;
  color: #ff7700;
  display: inline;
  font-variant-numeric: tabular-nums;
}
.hm-stats__plus {
  font-size: 1.8em;
  font-weight: 700;
  color: #ff7700;
}
.hm-stats__label {
  display: block;
  color: rgba(255,255,255,0.65);
  font-size: 0.85em;
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ---------- NEEDS SECTION ---------- */
.hm-needs {
  position: relative;
  padding: 42px 28px 10px;
}

.hm-needs__inner {
  max-width: 1560px;
  margin: 0 auto;
  padding: 36px;
  border-radius: 28px;
  background: #202730;
  color: #fff;
  box-shadow: 0 24px 56px rgba(25, 29, 35, 0.16);
  overflow: hidden;
}

.hm-needs__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}

.hm-needs__intro,
.hm-needs__grid,
.hm-needs__footer {
  position: relative;
  z-index: 1;
}

.hm-needs__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  font-size: 0.77em;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hm-needs__title {
  max-width: 860px;
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}

.hm-needs__lead {
  max-width: 920px;
  margin: 0;
  color: rgba(255,255,255,0.86);
  font-size: 1.03em;
  line-height: 1.8;
}

.hm-needs__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.hm-need {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.hm-need:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0,0,0,0.16);
  border-color: rgba(255,255,255,0.22);
}

.hm-need__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hm-need__tag {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 172, 88, 0.18);
  color: #ffe1bf;
  font-size: 0.75em;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hm-need h3 {
  margin: 0;
  font-size: 1.18em;
  line-height: 1.32;
  color: #fff;
}

.hm-need__problem {
  margin: 14px 0 0;
  color: rgba(255,255,255,0.84);
  line-height: 1.72;
}

.hm-need__quote {
  margin: 16px 0 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(16,20,24,0.22);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff2e2;
  font-weight: 600;
  line-height: 1.66;
}

.hm-need__link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.26);
  transition: color .2s ease, border-color .2s ease;
}

.hm-need__link:hover {
  color: #ffe1bf;
  border-bottom-color: #ffe1bf;
}

.hm-needs__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 24px;
  padding: 22px 24px;
  border-radius: 22px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.12);
}

.hm-needs__footer strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05em;
  color: #fff;
}

.hm-needs__footer p {
  margin: 0;
  color: rgba(255,255,255,0.84);
  line-height: 1.7;
}

.hm-needs__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hm-needs__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.12);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease, color .28s ease;
}

.hm-needs__cta:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.2);
}

.hm-needs__cta--primary {
  background: #fff;
  color: #c55a00;
  box-shadow: 0 14px 34px rgba(0,0,0,0.14);
}

.hm-needs__cta--primary:hover {
  background: #ffefe1;
  color: #af4f00;
}

/* ---------- LANDING MAIN ---------- */
.hm-main--landing {
  padding-top: 22px;
}

.hm-lp {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.hm-lp__intro,
.hm-lp__section,
.hm-lp__cta {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 26px;
  box-shadow: 0 16px 40px rgba(19, 24, 29, 0.06);
}

.hm-lp__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
  padding: 40px 36px;
  align-items: start;
}

/* ---------- HIGHLIGHT CARDS (intro right column) ---------- */
.hm-lp__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hm-highlight {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border-radius: 18px;
  background: #fffaf5;
  border: 1px solid rgba(255,119,0,0.1);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.hm-highlight:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(22, 27, 33, 0.07);
  border-color: rgba(255,119,0,0.18);
}
.hm-highlight__ico {
  width: 32px;
  height: 32px;
  color: var(--accent);
  flex-shrink: 0;
}
.hm-highlight strong {
  color: #1f2328;
  font-size: 0.95em;
}
.hm-highlight p {
  margin: 0;
  color: #505963;
  font-size: 0.88em;
  line-height: 1.55;
}

.hm-lp__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent-soft-bg);
  border: 1px solid var(--accent-soft-border);
  color: var(--accent-strong);
  font-size: 0.76em;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hm-lp__title,
.hm-lp__section-head h2,
.hm-lp__cta h2 {
  margin: 0;
  color: #1f2328;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hm-lp__lead,
.hm-lp__cta p,
.hm-lp__panel-box p,
.hm-solution-card p,
.hm-step p {
  color: #505963;
  line-height: 1.75;
}

.hm-lp__lead {
  max-width: 760px;
  margin: 14px 0 0;
  font-size: 1.02em;
}

.hm-lp__subtitle {
  font-size: 1.2rem;
  font-weight: 700;
  color: #d35f00;
  margin: 6px 0 14px;
  letter-spacing: -0.01em;
}

/* --- intro block with 6 category cards --- */
.hm-intro-block {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 26px;
  box-shadow: 0 16px 40px rgba(19,24,29,0.06);
  padding: 36px 40px;
  margin-bottom: 24px;
}
.hm-intro-block__title {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: #1a1f2e;
  line-height: 1.2;
}
.hm-intro-block__lead {
  margin: 0 0 24px;
  color: #505963;
  font-size: 1.05em;
  line-height: 1.65;
  max-width: 780px;
}
.hm-intro-block__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.hm-icard {
  padding: 20px 18px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.07);
  background: #fafbfd;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.hm-icard:hover {
  box-shadow: 0 8px 24px rgba(22,27,33,0.08);
  border-color: rgba(255,119,0,0.25);
}
.hm-icard__ico {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 10px;
  display: block;
  opacity: 0.85;
}
.hm-icard__tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: #fff4e6;
  color: #c35a00;
  font-size: 0.7em;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hm-icard strong {
  display: block;
  margin-bottom: 6px;
  color: #1f2328;
  font-size: 1em;
  line-height: 1.3;
}
.hm-icard p {
  color: #505963;
  font-size: 0.87em;
  line-height: 1.6;
  margin: 0;
}
.hm-icard p strong {
  color: #1a1f2e;
}
@media (max-width: 860px) {
  .hm-intro-block__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hm-intro-block {
    padding: 28px 24px;
  }
}
@media (max-width: 520px) {
  .hm-intro-block__grid {
    grid-template-columns: 1fr;
  }
}

.hm-lp__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hm-lp__chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff7ee;
  border: 1px solid rgba(255,119,0,0.12);
  color: #c45c00;
  font-size: 0.9em;
  font-weight: 700;
}

.hm-lp__panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hm-lp__panel-box {
  padding: 22px;
  border-radius: 22px;
  background: #fffaf5;
  border: 1px solid rgba(255,119,0,0.1);
}

.hm-lp__panel-box strong {
  display: block;
  margin-bottom: 10px;
  color: #1f2328;
  font-size: 1.02em;
}

.hm-lp__panel-box ul {
  margin: 0;
  padding-left: 18px;
  color: #505963;
  line-height: 1.7;
}

.hm-lp__panel-box li::marker {
  color: var(--accent);
}

.hm-lp__section {
  padding: 32px;
}

.hm-lp__section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.hm-lp__solutions,
.hm-lp__proof-grid,
.hm-lp__steps {
  display: grid;
  gap: 18px;
}

.hm-lp__solutions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hm-lp__proof-grid,
.hm-lp__steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hm-solution-card,
.hm-proof,
.hm-step {
  padding: 26px;
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,0.06);
  background: #fafbfd;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.hm-solution-card:hover,
.hm-proof:hover,
.hm-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(22, 27, 33, 0.09);
  border-color: rgba(255,119,0,0.18);
}

/* solution card icon */
.hm-solution-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--accent-soft-bg);
  color: var(--accent);
  margin-bottom: 10px;
}
.hm-solution-card__icon svg {
  width: 26px;
  height: 26px;
}

.hm-solution-card__tag,
.hm-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: 48px;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff4e6;
  color: #c35a00;
  font-size: 0.74em;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-solution-card h3,
.hm-step h3 {
  margin: 14px 0 10px;
  color: #1f2328;
  font-size: 1.14em;
  line-height: 1.35;
}

.hm-solution-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--accent-strong);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(221,102,0,0.2);
  transition: gap .25s, border-color .25s;
}

.hm-solution-card a:hover {
  border-bottom-color: var(--accent);
  gap: 10px;
}

.hm-proof {
  display: flex;
  flex-direction: column;
  background: #fff9f3;
  position: relative;
  padding-top: 38px;
}

.hm-proof__mark {
  width: 28px;
  height: 28px;
  color: var(--accent);
  opacity: 0.25;
  position: absolute;
  top: 18px;
  left: 22px;
}

.hm-proof__quote {
  margin: 0 0 auto;
  color: #1f2328;
  font-size: 1.06em;
  font-weight: 600;
  line-height: 1.65;
  font-style: italic;
}

.hm-proof__footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.hm-proof__footer strong {
  display: block;
  color: #1f2328;
  font-size: 0.88em;
}
.hm-proof__footer span {
  color: var(--accent-strong);
  font-size: 0.82em;
  font-weight: 600;
}

.hm-step__num {
  min-width: 48px;
  min-height: 48px;
  font-size: 1.05em;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
}

.hm-step {
  position: relative;
  text-align: center;
}
.hm-step__connector {
  display: none;
}

/* connector line between steps (desktop) */
@media (min-width: 901px) {
  .hm-lp__steps {
    position: relative;
  }
  .hm-step__connector {
    display: block;
    position: absolute;
    top: 24px;
    right: -26px;
    width: 34px;
    height: 2px;
    background: var(--accent);
    opacity: 0.35;
  }
  .hm-step__connector::after {
    content: "";
    position: absolute;
    right: 0;
    top: -3px;
    border: 4px solid transparent;
    border-left: 5px solid var(--accent);
    opacity: 0.6;
  }
  .hm-step:last-child .hm-step__connector { display: none; }
}

.hm-lp__cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 30px 32px;
  background: #232c36;
  border-color: transparent;
}

.hm-lp__cta h2,
.hm-lp__cta p,
.hm-lp__cta .hm-lp__eyebrow {
  color: #fff;
}

.hm-lp__cta .hm-lp__eyebrow {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.16);
}

.hm-lp__cta p {
  max-width: 760px;
  margin: 14px 0 0;
  color: rgba(255,255,255,0.86);
}

.hm-lp__cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hm-lp__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: transform .25s ease, background .25s ease;
}

.hm-lp__cta-btn:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.2);
}

.hm-lp__cta-btn--primary {
  background: #fff;
  color: #c25900;
}

.hm-lp__cta-btn--primary:hover {
  background: #fff1e4;
}

/* ---------- SCROLL REVEAL ---------- */
.hm-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.hm-reveal.hm-visible {
  opacity: 1;
  transform: translateY(0);
}

/* staggered reveal inside grids */
.hm-lp__solutions .hm-reveal:nth-child(2),
.hm-lp__proof-grid .hm-reveal:nth-child(2),
.hm-lp__steps .hm-reveal:nth-child(2),
.hm-lp__highlights .hm-reveal:nth-child(2) { transition-delay: .1s; }
.hm-lp__solutions .hm-reveal:nth-child(3),
.hm-lp__proof-grid .hm-reveal:nth-child(3),
.hm-lp__steps .hm-reveal:nth-child(3),
.hm-lp__highlights .hm-reveal:nth-child(3) { transition-delay: .2s; }
.hm-lp__solutions .hm-reveal:nth-child(4),
.hm-lp__highlights .hm-reveal:nth-child(4) { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .hm-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- MAIN WRAPPER ---------- */
.hm-main {
  max-width: 1560px;
  margin: 0 auto;
  padding: 36px 28px 48px;
}

/* ---------- CARDS ---------- */
.hm-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 28px;
  margin-bottom: 24px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow .3s, transform .3s;
}
.hm-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}

/* news card */
.hm-card--news {
  border-left: 5px solid #ff7700;
  overflow: hidden;
}
.hm-card--news h1.top,
.hm-card--news h1 {
  color: #ff7700 !important;
  font-size: 1.4em;
  margin: 0 0 8px;
}
.hm-card--news p {
  margin: 0 0 10px;
  line-height: 1.6;
}
.hm-card--news img {
  border-radius: 10px;
  max-width: 100%;
  height: auto;
  margin-top: 8px;
}

/* content card */
.hm-card--content {
  position: relative;
}
.hm-card--content::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: #ff7700;
  border-radius: 14px 14px 0 0;
}
.hm-card--content p {
  font-size: 1.05em;
  line-height: 1.75;
  color: #333;
}
.hm-card--content ul {
  padding-left: 22px;
  margin: 16px 0;
}
.hm-card--content li {
  margin-bottom: 12px;
  line-height: 1.65;
  color: #333;
  position: relative;
}
.hm-card--content li::marker {
  color: #ff7700;
}
.hm-card--content strong {
  color: #222;
}
.hm-card--content a {
  color: #d35f00;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.hm-card--content a:hover {
  border-bottom-color: #ff7700;
}

/* slideshow card */
.hm-card--slide {
  background: #ff7700;
  border: none;
  padding: 18px;
  color: #fff;
}
.hm-card--slide h3,
.hm-card--slide h4 {
  color: #fff !important;
}
.hm-card--slide #slideshow {
  width: 100%;
  height: 185px;
  border-radius: 10px;
  overflow: hidden;
}
.hm-card--slide #slideshow img {
  width: 100%;
  height: auto;
  max-height: 185px;
  object-fit: cover;
}

/* support card */
.hm-card--support {
  background: #fff;
  text-align: center;
  padding: 18px;
}

/* ---------- GRID ---------- */
.hm-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: start;
}

/* ---------- SIDEBAR ---------- */
.hm-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ---------- FOOTER ---------- */
.hm-footer {
  background: #2b2b2b;
  margin-top: 0;
}
.hm-footer__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 10px 24px;
}
.hm-footer .pfooter {
  text-align: center;
  color: rgba(255,255,255,0.75);
  font-size: 0.84em;
  line-height: 1.7;
  padding: 18px 0;
  margin: 0;
}
.hm-footer .pfooter br + br { display: none; }

/* ---------- MISC OVERRIDES ---------- */
body.home-modern #iconbar { display: none; }

body.home-modern .fb-like,
body.home-modern .twitter-share-button,
body.home-modern .g-plusone,
body.home-modern [data-pin-do] {
  display: inline-block;
  vertical-align: middle;
  margin: 4px 6px;
}

/* ---------- HOME REFINEMENTS ---------- */
body.home-modern {
  background: rgba(255,119,0,0.18);
}

.hm-skip-link {
  position: absolute;
  left: 18px;
  top: -52px;
  z-index: 1200;
  padding: 12px 18px;
  border-radius: 999px;
  background: #1f2328;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: top .2s ease;
}

.hm-skip-link:focus {
  top: 14px;
}

.hm-header {
  background: rgba(255,255,255,0.94);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hm-hero {
  display: flex;
  align-items: center;
  padding: 88px 24px 132px;
  min-height: 580px;
  text-align: left;
  isolation: isolate;
}

.hm-hero::before {
  background: rgba(20,24,31,0.88);
}

.hm-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: rgba(244,246,248,0.92);
  z-index: 1;
  pointer-events: none;
}

.hm-hero__grid {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  display: block;
  position: relative;
  z-index: 2;
}

.hm-hero__inner {
  max-width: 860px;
  margin: 0;
}

.hm-hero__badge {
  margin-bottom: 20px;
}

.hm-hero__title {
  max-width: 12ch;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 1.02;
  margin-bottom: 18px;
}

.hm-hero__sub {
  max-width: 28ch;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  min-height: 1.8em;
  white-space: nowrap;
}

.hm-hero__meta {
  max-width: 620px;
  margin: 14px 0 28px;
  font-size: 1rem;
  color: rgba(255,255,255,0.86);
}

.hm-hero__actions {
  justify-content: flex-start;
  align-items: center;
}

.hm-hero__cta {
  min-height: 52px;
  background: var(--accent);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.hm-hero__cta:hover {
  transform: translateY(-3px);
  background: #fff;
  color: #ff7700;
  box-shadow: 0 14px 34px rgba(0,0,0,0.16);
}

.hm-stats {
  margin-top: -64px;
  padding: 0 24px;
  background: transparent;
  z-index: 3;
}

.hm-stats::before {
  display: none;
}

.hm-stats__inner {
  position: relative;
  z-index: 1;
  border-radius: 28px;
  overflow: hidden;
  background: #1d232b;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 22px 60px rgba(22,27,33,0.16);
}

.hm-stats__item {
  padding: 30px 18px;
}

.hm-main {
  padding-top: 22px;
}

.hm-intro-block {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 38px 40px;
  background: rgba(255,119,0,0.1);
}

.hm-intro-block::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: #ff7700;
}

.hm-intro-block__grid {
  gap: 18px;
}

.hm-icard {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding: 22px 20px 24px;
  border-radius: 22px;
  background: #f8fafc;
}

.hm-icard::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,119,0,0.82);
}

.hm-icard__ico {
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
}

.hm-icard strong {
  margin-bottom: 8px;
  font-size: 1.06rem;
}

.hm-icard p {
  margin-top: auto;
}

.hm-lp__section {
  background: rgba(251,252,253,0.98);
  border: 1px solid rgba(19,24,29,0.06);
  border-radius: 30px;
  box-shadow: 0 16px 40px rgba(19,24,29,0.06);
}

.hm-lp__section--proof {
  background: rgba(255,119,0,0.1);
}

.hm-lp__section--steps {
  background: rgba(34,41,52,0.08);
}

.hm-solution-card,
.hm-proof,
.hm-step {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.hm-solution-card {
  padding-bottom: 22px;
}

.hm-solution-card p,
.hm-step p {
  flex: 1 1 auto;
}

.hm-solution-card a {
  margin-top: auto;
}

.hm-proof__quote {
  font-size: 1.02rem;
}

.hm-step {
  text-align: left;
}

.hm-step__num {
  margin-bottom: 18px;
}

.hm-lp__cta {
  border-radius: 30px;
  box-shadow: 0 24px 48px rgba(24, 30, 37, 0.14);
}

/* ---------- RESPONSIVE ---------- */
@media screen and (max-width: 1280px) {
  .hm-hero {
    padding: 76px 24px 112px;
    min-height: 540px;
  }

  .hm-hero__inner {
    max-width: 760px;
  }

  .hm-hero__title {
    font-size: clamp(2.7rem, 5.4vw, 4.5rem);
  }
}

@media screen and (max-width: 1080px) {
  .hm-hero {
    padding: 68px 20px 96px;
    min-height: 500px;
  }

  .hm-stats {
    margin-top: -44px;
  }

  .hm-hero__sub {
    max-width: 24ch;
  }
}

@media screen and (max-width: 900px) {
  .hm-hero__actions {
    justify-content: flex-start;
  }
  .hm-hero__cta,
  .hm-hero__cta--ghost {
    width: auto;
    min-width: 220px;
    justify-content: center;
  }
  .hm-needs {
    padding: 26px 16px 4px;
  }
  .hm-needs__inner {
    padding: 24px 18px;
    border-radius: 22px;
  }
  .hm-needs__grid {
    grid-template-columns: 1fr;
  }
  .hm-needs__footer {
    flex-direction: column;
    align-items: stretch;
  }
  .hm-lp__intro,
  .hm-lp__cta {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }
  .hm-lp__highlights {
    grid-template-columns: 1fr 1fr;
  }
  .hm-lp__solutions,
  .hm-lp__proof-grid,
  .hm-lp__steps {
    grid-template-columns: 1fr;
  }
  .hm-grid {
    grid-template-columns: 1fr;
  }
  .hm-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
  }
  .hm-sidebar > * {
    flex: 1 1 260px;
  }
  .hm-hero {
    padding: 54px 20px 64px;
    min-height: auto;
  }
  .hm-hero__title {
    font-size: 2.3em;
    max-width: 12ch;
  }
  .hm-hero__sub {
    font-size: 1.02em;
    max-width: 100%;
    white-space: normal;
  }
  .hm-stats__inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .hm-stats__item:nth-child(2)::after {
    display: none;
  }
  .hm-hero__shape--1 { width: 180px; height: 180px; }
  .hm-hero__shape--2 { width: 100px; height: 100px; }
  .hm-main {
    padding: 24px 16px 36px;
  }
  /* overflow protection */
  body.home-modern {
    overflow-x: hidden;
  }

  .hm-stats {
    padding: 0 16px;
  }

  .hm-step {
    text-align: center;
  }
}

@media screen and (max-width: 600px) {
  .hm-skip-link {
    left: 10px;
  }

  .hm-needs {
    padding: 18px 10px 0;
  }
  .hm-needs__inner {
    padding: 18px 14px;
    border-radius: 18px;
  }
  .hm-needs__title {
    font-size: 1.5em;
  }
  .hm-needs__lead,
  .hm-need__problem,
  .hm-need__quote,
  .hm-needs__footer p {
    font-size: 0.92em;
    line-height: 1.6;
  }
  .hm-need {
    padding: 18px;
    border-radius: 16px;
  }
  .hm-needs__footer {
    padding: 18px;
    border-radius: 16px;
  }
  .hm-needs__actions {
    flex-direction: column;
  }
  .hm-needs__cta {
    width: 100%;
  }
  .hm-hero__meta {
    font-size: 0.88em;
    line-height: 1.55;
  }
  .hm-lp {
    gap: 18px;
  }
  .hm-lp__intro,
  .hm-lp__section,
  .hm-lp__cta {
    padding: 18px 14px;
    border-radius: 18px;
  }
  .hm-lp__highlights {
    grid-template-columns: 1fr;
  }
  .hm-lp__title,
  .hm-lp__section-head h2,
  .hm-lp__cta h2 {
    font-size: 1.45em;
  }
  .hm-lp__lead,
  .hm-lp__panel-box p,
  .hm-solution-card p,
  .hm-step p,
  .hm-proof__footer,
  .hm-lp__cta p {
    font-size: 0.92em;
    line-height: 1.6;
  }
  .hm-lp__panel-box,
  .hm-solution-card,
  .hm-proof,
  .hm-step {
    padding: 18px;
    border-radius: 16px;
  }
  .hm-lp__cta-actions {
    flex-direction: column;
  }
  .hm-lp__cta-btn {
    width: 100%;
  }
  .hm-header__inner {
    padding: 8px 14px;
    gap: 8px;
  }
  .hm-header__slogan {
    display: none;
  }
  .hm-logo img {
    height: 38px;
  }
  .hm-hero {
    padding: 34px 16px 56px;
    min-height: auto;
  }
  .hm-hero__title {
    font-size: 1.7em;
    margin-bottom: 12px;
    max-width: none;
  }
  .hm-hero__sub {
    font-size: 0.95em;
    min-height: 1.4em;
    max-width: none;
    white-space: normal;
  }
  .hm-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hm-hero__cta {
    width: 100%;
    min-width: 0;
    padding: 12px 18px;
    font-size: 0.88em;
  }
  .hm-hero__badge {
    font-size: 0.72em;
    padding: 4px 12px;
    margin-bottom: 12px;
  }
  .hm-hero__accent {
    width: 40px;
    margin-bottom: 16px;
  }
  .hm-hero__shape { display: none; }
  .hm-stats__inner {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 20px;
  }
  .hm-stats__item {
    padding: 18px 8px;
  }
  .hm-stats__num {
    font-size: 1.6em;
  }
  .hm-stats__plus {
    font-size: 1.2em;
  }
  .hm-stats__label {
    font-size: 0.68em;
  }
  .hm-main {
    padding: 14px 10px 24px;
  }
  .hm-stats {
    padding: 0 10px;
    margin-top: -24px;
  }
  .hm-intro-block {
    padding: 20px 16px 22px;
    border-radius: 22px;
  }
  .hm-intro-block__grid {
    gap: 12px;
  }
  .hm-card {
    padding: 16px 12px;
    border-radius: 12px;
    margin-bottom: 16px;
  }
  .hm-card--news h1.top,
  .hm-card--news h1 {
    font-size: 1.15em;
  }
  .hm-card--content p {
    font-size: 0.92em;
    line-height: 1.6;
  }
  .hm-card--content li {
    font-size: 0.9em;
    line-height: 1.55;
    margin-bottom: 8px;
  }
  .hm-card--content ul {
    padding-left: 16px;
  }
  .hm-sidebar {
    flex-direction: column;
  }
  .hm-card--slide {
    padding: 14px;
  }
  .hm-card--slide #slideshow {
    height: 140px;
  }
  .hm-footer .pfooter {
    font-size: 0.76em;
    padding: 14px 0;
    line-height: 1.6;
  }
  /* Image map: make responsive or hide on very small */
  body.home-modern CENTER img[usemap] {
    max-width: 100%;
    height: auto;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* Gallery thumbnails inline size fix (pre-JS only, not inside gallery-track) */
  .thumbnailb:not(.gallery-track .thumbnailb) {
    display: inline-block !important;
    margin: 0 4px 8px 0 !important;
  }
  .thumbimg:not(.gallery-track .thumbimg) {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100px !important;
  }
  /* Old table layout overrides */
  body.home-modern table {
    width: 100% !important;
    table-layout: fixed;
  }
  body.home-modern table td {
    display: block;
    width: 100% !important;
  }
  body.home-modern center,
  body.home-modern CENTER {
    text-align: center;
  }
  /* Iframe videos responsive */
  body.home-modern iframe {
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9;
  }
}

@media screen and (max-width: 420px) {
  .hm-hero {
    padding: 30px 12px 48px;
  }

  .hm-hero__title {
    font-size: 1.5em;
  }

  .hm-hero__sub {
    font-size: 0.88em;
  }

  .hm-main {
    padding: 12px 8px 22px;
  }

  .hm-stats {
    padding: 0 8px;
  }

  .hm-stats__item {
    padding: 16px 6px;
  }

  .hm-lp__section,
  .hm-lp__cta,
  .hm-intro-block {
    border-radius: 18px;
  }
}

/* ============================================================
   GALLERY — Infinite marquee (shared by products & profirst)
   JS replaces table markup with: .gallery-viewport > .gallery-track > .thumbnailb
   ============================================================ */

/* --- Hide legacy table markup (shown briefly before JS runs) --- */
.prod-card__gallery center,
.prod-card__gallery CENTER,
.prod-card__gallery table,
.prod-card__gallery tbody,
.prod-card__gallery tr,
.pf-section__gallery center,
.pf-section__gallery CENTER,
.pf-section__gallery table,
.pf-section__gallery tbody,
.pf-section__gallery tr {
  display: block !important;
  width: 100% !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border-spacing: 0 !important;
  font-size: 0;
  line-height: 0;
}
.prod-card__gallery td:empty,
.pf-section__gallery td:empty {
  display: none !important;
}
.prod-card__gallery td,
.pf-section__gallery td {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 22px;
  font-size: 1rem;
  line-height: normal;
}

/* --- Viewport (clips the track) --- */
.gallery-viewport {
  overflow: hidden;
  width: 100%;
  padding: 12px 0 14px;
}

.gallery-viewport.is-scrollable {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 10px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

/* --- Track (moves via translateX) --- */
.gallery-track {
  display: flex;
  gap: 22px;
  width: max-content;
  will-change: transform;
}

.gallery-track.is-scrollable {
  gap: 12px;
  padding-right: 12px;
  will-change: auto;
}

.gallery-track.is-scrollable .thumbnailb {
  scroll-snap-align: start;
}

/* --- Thumbnail card --- */
.gallery-track .thumbnailb {
  position: relative;
  flex: 0 0 auto;
  width: clamp(220px, 22vw, 300px);
  border-radius: 10px;
  overflow: hidden;
  background: #1a1a2e;
  box-shadow: 0 2px 14px rgba(0,0,0,0.10);
  transition: transform 0.35s cubic-bezier(.25,.8,.25,1),
              box-shadow 0.35s cubic-bezier(.25,.8,.25,1);
  cursor: pointer;
}
.gallery-track .thumbnailb:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 36px rgba(0,0,0,0.22);
}

/* Anchor fills card */
.gallery-track .thumbnailb a {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}

/* Image */
.gallery-track .thumbimg {
  width: 100% !important;
  height: 180px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(.25,.8,.25,1);
}
.gallery-track .thumbnailb:hover .thumbimg {
  transform: scale(1.08);
}

/* --- Gradient overlay + caption on hover --- */
.gallery-track .thumbnailb::after {
  content: attr(data-caption);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 36px 10px 9px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 0.70em;
  font-weight: 500;
  line-height: 1.35;
  z-index: 2;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.gallery-track .thumbnailb:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* --- Zoom icon badge on hover --- */
.gallery-track .thumbnailb::before {
  content: '';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  background: rgba(255,119,0,0.92)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='16.5' y1='16.5' x2='21' y2='21'/%3E%3C/svg%3E")
    no-repeat center / 15px;
  border-radius: 50%;
  z-index: 3;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}
.gallery-track .thumbnailb:hover::before {
  opacity: 1;
  transform: scale(1);
}

/* --- Gallery responsive --- */
@media screen and (max-width: 768px) {
  .gallery-track {
    gap: 14px;
  }
  .gallery-track .thumbnailb {
    width: 200px;
  }
  .gallery-track .thumbimg {
    height: 150px !important;
  }
}
@media screen and (max-width: 480px) {
  .gallery-track .thumbnailb {
    width: 65vw;
  }
  .gallery-track .thumbimg {
    height: 170px !important;
  }
}
/* Touch: always show zoom badge */
@media (hover: none) {
  .gallery-track .thumbnailb::before {
    opacity: 0.85;
    transform: scale(1);
  }
}

/* ---------- SCROLLBAR ---------- */
body.home-modern::-webkit-scrollbar {
  width: 8px;
}
body.home-modern::-webkit-scrollbar-track {
  background: #f0f0f0;
}
body.home-modern::-webkit-scrollbar-thumb {
  background: #ff7700;
  border-radius: 4px;
}
body.home-modern::-webkit-scrollbar-thumb:hover {
  background: #e56a00;
}

/* ============================================================
   HOME 2026 STRUCTURE RESET
   ============================================================ */

body.theme-home {
  background: rgba(255,119,0,0.15);
}

body.theme-home .hm-header {
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid rgba(255,119,0,0.16);
  box-shadow: 0 8px 24px rgba(19,24,29,0.05);
}

body.theme-home .hm-header__inner {
  max-width: 1320px;
  padding: 14px 24px 10px;
}

body.theme-home .hm-nav {
  background: transparent;
  border-top: 1px solid rgba(19,24,29,0.06);
}

body.theme-home .hm-nav__list {
  max-width: 1320px;
  justify-content: flex-start;
  gap: 4px;
  padding: 0 24px;
}

body.theme-home .hm-nav__list > li > a {
  height: 48px;
  color: #26303b;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
}

body.theme-home .hm-nav__list > li > a:hover,
body.theme-home .hm-nav__list > li > a:focus {
  background: rgba(255,119,0,0.08);
  color: #c25900;
}

body.theme-home .hm-nav__list > li > a.hm-nav__active {
  background: #ff7700;
  color: #fff;
  border-radius: 999px;
}

body.theme-home .hm-hero {
  min-height: 0;
  padding: 64px 24px 52px;
  background: rgba(255,170,82,0.28);
}

body.theme-home .hm-hero::before,
body.theme-home .hm-hero::after,
body.theme-home .hm-hero__canvas,
body.theme-home .hm-hero__shape,
body.theme-home .hm-stats {
  display: none !important;
}

body.theme-home .hm-hero__grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 460px);
  gap: 40px;
  align-items: center;
}

body.theme-home .hm-hero__inner {
  max-width: 760px;
}

body.theme-home .hm-hero__badge {
  margin: 0 0 18px;
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
}

body.theme-home .hm-hero__title {
  max-width: 12ch;
  margin: 0 0 16px;
  font-size: clamp(2.7rem, 5.5vw, 4.8rem);
  line-height: 1.03;
}

body.theme-home .hm-hero__sub {
  max-width: 36ch;
  margin: 0;
  white-space: normal;
  font-size: clamp(1.02rem, 2vw, 1.35rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
}

body.theme-home .hm-hero__sub::after {
  display: none;
}

body.theme-home .hm-hero__meta {
  max-width: 42ch;
  margin: 18px 0 0;
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
}

body.theme-home .hm-hero__actions {
  margin-top: 26px;
  justify-content: flex-start;
}

body.theme-home .hm-hero__cta {
  min-width: 220px;
  min-height: 54px;
  padding: 14px 24px;
  justify-content: center;
  background: #ff7700;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 16px 36px rgba(0,0,0,0.2);
  animation: none;
}

body.theme-home .hm-hero__cta:hover {
  background: #fff;
  color: #ff7700;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.16);
}

body.theme-home .hm-hero__micro {
  margin: 14px 0 0;
  color: rgba(255,255,255,0.66);
  font-size: 0.9rem;
}

body.theme-home .hm-hero__visual {
  display: block;
}

body.theme-home .hm-hero__screen {
  border-radius: 28px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 24px 60px rgba(12,16,21,0.24);
  overflow: hidden;
}

body.theme-home .hm-hero__screen-top {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

body.theme-home .hm-hero__screen-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.32);
}

body.theme-home .hm-hero__screen-body {
  display: grid;
  gap: 16px;
  padding: 20px;
}

body.theme-home .hm-hero__screen-main,
body.theme-home .hm-hero__screen-node {
  border-radius: 20px;
  background: rgba(15,18,24,0.28);
  border: 1px solid rgba(255,255,255,0.08);
}

body.theme-home .hm-hero__screen-main {
  padding: 18px;
}

body.theme-home .hm-hero__screen-main img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-bottom: 14px;
}

body.theme-home .hm-hero__screen-main strong,
body.theme-home .hm-hero__screen-node {
  color: #fff;
}

body.theme-home .hm-hero__screen-main p {
  margin: 6px 0 0;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
}

body.theme-home .hm-hero__screen-flow {
  display: grid;
  gap: 12px;
}

body.theme-home .hm-hero__screen-node {
  padding: 16px 18px;
  font-weight: 700;
}

body.theme-home .hm-main {
  max-width: 1320px;
  padding: 38px 24px 48px;
}

body.theme-home .hm-home {
  display: grid;
  gap: 24px;
}

body.theme-home .hm-home__head {
  max-width: 760px;
  margin-bottom: 22px;
}

body.theme-home .hm-home__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff1e4;
  color: #c25900;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.theme-home .hm-home__eyebrow--light {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

body.theme-home .hm-home__head h2,
body.theme-home .hm-final-cta h2 {
  margin: 14px 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.12;
  color: #1f2328;
}

body.theme-home .hm-home__head p,
body.theme-home .hm-final-cta p {
  margin: 0;
  color: #505963;
  line-height: 1.7;
  font-size: 1rem;
}

body.theme-home .hm-benefits,
body.theme-home .hm-final-cta {
  padding: 32px;
  border-radius: 30px;
  border: 1px solid rgba(19,24,29,0.06);
  box-shadow: 0 18px 48px rgba(19,24,29,0.06);
}

body.theme-home .hm-benefits {
  background: rgba(251,252,253,0.98);
}

body.theme-home .hm-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.theme-home .hm-benefit-card {
  min-height: 100%;
  padding: 24px;
  border-radius: 24px;
  background: #f7f9fb;
  border: 1px solid rgba(19,24,29,0.06);
}

body.theme-home .hm-benefit-card__icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: #fff3e6;
  margin-bottom: 16px;
}

body.theme-home .hm-benefit-card__icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

body.theme-home .hm-benefit-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  color: #1f2328;
}

body.theme-home .hm-benefit-card p {
  margin: 0;
  color: #505963;
  line-height: 1.7;
}

body.theme-home .hm-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #232c36;
}

body.theme-home .hm-final-cta h2,
body.theme-home .hm-final-cta p {
  color: #fff;
}

body.theme-home .hm-final-cta p {
  color: rgba(255,255,255,0.82);
}

body.theme-home .hm-final-cta__content {
  max-width: 700px;
}

body.theme-home .hm-final-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

body.theme-home .hm-final-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  background: #ff7700;
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}

body.theme-home .hm-final-cta__button:hover {
  background: #fff;
  color: #ff7700;
  transform: translateY(-2px);
}

body.theme-home .hm-final-cta__notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

body.theme-home .hm-final-cta__notes span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.88);
  font-size: 0.82rem;
  font-weight: 600;
}

@media screen and (max-width: 1080px) {
  body.theme-home .hm-hero {
    padding: 54px 20px 46px;
  }

  body.theme-home .hm-hero__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  body.theme-home .hm-hero__inner {
    max-width: none;
  }

  body.theme-home .hm-hero__title {
    max-width: 14ch;
  }

  body.theme-home .hm-hero__visual {
    max-width: 680px;
  }

  body.theme-home .hm-benefits__grid {
    grid-template-columns: 1fr;
  }

  body.theme-home .hm-final-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  body.theme-home .hm-final-cta__actions,
  body.theme-home .hm-final-cta__notes {
    align-items: flex-start;
    justify-content: flex-start;
  }
}

@media screen and (max-width: 860px) {
  body.theme-home .hm-nav {
    min-height: 54px;
  }

  body.theme-home .hm-burger {
    display: block;
    top: 27px;
  }

  body.theme-home .hm-nav__list {
    position: fixed;
    top: 0;
    right: -320px;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: #fff;
    padding: 80px 0 24px;
    box-shadow: -6px 0 30px rgba(0,0,0,0.18);
    transition: right .35s cubic-bezier(.4,0,.2,1);
    z-index: 999;
  }

  body.theme-home .hm-nav__list.open {
    right: 0;
  }

  body.theme-home .hm-nav__list > li > a {
    color: #26303b;
    padding: 14px 24px;
    height: auto;
    line-height: 1.4;
    border-bottom: 1px solid #f1f1f1;
  }

  body.theme-home .hm-nav__list > li > a.hm-nav__active {
    border-radius: 0;
  }

  body.theme-home .hm-nav__overlay.open {
    display: block;
    opacity: 1;
  }
}

@media screen and (max-width: 640px) {
  body.theme-home .hm-header__inner {
    padding: 10px 14px 8px;
  }

  body.theme-home .hm-logo img {
    height: 40px;
  }

  body.theme-home .hm-hero {
    padding: 34px 14px 30px;
  }

  body.theme-home .hm-hero__title {
    max-width: none;
    font-size: 2rem;
  }

  body.theme-home .hm-hero__sub,
  body.theme-home .hm-hero__meta {
    max-width: none;
    font-size: 0.96rem;
  }

  body.theme-home .hm-hero__sub {
    width: auto;
    white-space: normal;
  }

  body.theme-home .hm-hero__actions {
    margin-top: 22px;
  }

  body.theme-home .hm-hero__cta,
  body.theme-home .hm-final-cta__button {
    width: 100%;
    min-width: 0;
  }

  body.theme-home .hm-hero__visual {
    display: none;
  }

  body.theme-home .hm-main {
    padding: 18px 10px 26px;
  }

  body.theme-home .hm-benefits,
  body.theme-home .hm-final-cta {
    padding: 22px 16px;
    border-radius: 22px;
  }

  body.theme-home .hm-benefit-card {
    padding: 20px 18px;
    border-radius: 18px;
  }

  body.theme-home .hm-home__head h2,
  body.theme-home .hm-final-cta h2 {
    font-size: 1.55rem;
  }

  body.theme-home .hm-final-cta__notes {
    gap: 6px;
  }
}

/* ============================================================
   HOME PHOTO-INSPIRED LAYOUT
   ============================================================ */

body.theme-home {
  background: rgba(255,119,0,0.12);
}

body.theme-home .hm-header {
  background: rgba(14, 18, 24, 0.92);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: none;
}

body.theme-home .hm-header__inner {
  max-width: 1240px;
  padding: 16px 24px 12px;
}

body.theme-home .hm-nav {
  background: transparent;
  border-top: 1px solid rgba(255,255,255,0.06);
}

body.theme-home .hm-nav__list {
  max-width: 1240px;
  padding: 0 24px;
  justify-content: flex-start;
  gap: 2px;
}

body.theme-home .hm-nav__list > li > a {
  height: 46px;
  color: rgba(255,255,255,0.88);
  font-size: 0.82rem;
}

body.theme-home .hm-nav__list > li > a:hover,
body.theme-home .hm-nav__list > li > a:focus {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

body.theme-home .hm-nav__list > li > a.hm-nav__active {
  background: #d9ff3f;
  color: #1a1f18;
  border-radius: 999px;
}

body.theme-home .hm-burger span {
  background: #fff;
}

body.theme-home .hm-hero {
  min-height: 760px;
  padding: 44px 24px 56px;
  background: #090d12 url('../images/utilizzate/image-1.jpg') center/cover no-repeat;
  box-shadow: inset 0 0 0 9999px rgba(9,13,18,0.72);
}

body.theme-home .hm-hero::before,
body.theme-home .hm-hero::after,
body.theme-home .hm-hero__canvas,
body.theme-home .hm-hero__shape,
body.theme-home .hm-stats {
  display: none !important;
}

body.theme-home .hm-hero__grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 34px;
  align-items: end;
  min-height: 660px;
}

body.theme-home .hm-hero__inner {
  max-width: 680px;
  padding-bottom: 18px;
}

body.theme-home .hm-hero__topline {
  display: block;
  margin-bottom: 18px;
}

body.theme-home .hm-hero__brandrow {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

body.theme-home .hm-hero__since {
  color: rgba(255,255,255,0.62);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.1;
  white-space: nowrap;
}

body.theme-home .hm-hero__toprule {
  width: min(520px, 100%);
  height: 1px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(255,119,0,0.92);
  opacity: 0.9;
}

body.theme-home .hm-hero__brandmark {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  color: #ff7700;
  font-weight: 900;
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

body.theme-home .hm-hero__title {
  max-width: 18ch;
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(2.35rem, 4.4vw, 4.2rem);
  line-height: 1.06;
  text-wrap: balance;
  text-shadow: none;
}

body.theme-home .hm-hero__glow::after {
  background: rgba(217,255,63,0.32);
}

body.theme-home .hm-hero__sub {
  margin: 0 0 8px;
  width: 40ch;
  max-width: 100%;
  color: rgba(255,255,255,0.94);
  font-size: clamp(1.08rem, 1.7vw, 1.34rem);
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  min-height: 0;
  text-shadow: none;
}

body.theme-home .hm-hero__sub::after {
  display: none;
}

body.theme-home .hm-hero__meta {
  max-width: 42ch;
  margin: 0;
  color: rgba(255,255,255,0.74);
  font-size: 1rem;
  text-shadow: none;
}

body.theme-home .hm-hero__actions {
  justify-content: flex-start;
  margin-top: 24px;
  gap: 12px;
}

body.theme-home .hm-hero__cta {
  min-width: 210px;
  min-height: 52px;
  padding: 14px 22px;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #d9ff3f;
  color: #151a14;
  font-weight: 800;
  box-shadow: none;
  animation: none;
}

body.theme-home .hm-hero__cta:hover {
  transform: translateY(-2px);
  background: #fff;
  color: #151a14;
  box-shadow: 0 10px 28px rgba(0,0,0,0.16);
}

body.theme-home .hm-hero__cta--ghost {
  background: #232c36;
  color: #fff;
  border-color: #3b4656;
}

body.theme-home .hm-hero__cta--ghost:hover {
  background: #fff;
  color: #151a14;
}

body.theme-home .hm-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

body.theme-home .hm-hero__stat {
  min-width: 150px;
  padding: 14px 16px;
  border-radius: 22px;
  background: #232c36;
  border: 1px solid #3b4656;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.theme-home .hm-hero__stat strong {
  display: block;
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
}

body.theme-home .hm-hero__stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,0.72);
  font-size: 0.82rem;
  line-height: 1.5;
}

body.theme-home .hm-hero__visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

body.theme-home .hm-hero__glass-panel {
  width: 100%;
  max-width: 430px;
  margin-right: -18px;
  padding: 22px;
  border-radius: 30px;
  background: #141920;
  border: 1px solid #2a333f;
  box-shadow: 0 24px 54px rgba(0,0,0,0.2);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.theme-home .hm-hero__glass-head {
  padding-bottom: 16px;
  border-bottom: 1px solid #2a333f;
}

body.theme-home .hm-hero__glass-head span {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffefe1;
  color: #a44700;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.theme-home .hm-hero__glass-head strong {
  display: block;
  margin-top: 14px;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1.25;
}

body.theme-home .hm-hero__glass-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

body.theme-home .hm-hero__glass-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
  padding: 16px 16px 14px;
  border-radius: 20px;
  background: #1f2731;
  border: 1px solid #2a333f;
}

body.theme-home .hm-hero__glass-icon {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-top: 2px;
  filter: brightness(0) invert(1);
}

body.theme-home .hm-hero__glass-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: #ffd0a6;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.theme-home .hm-hero__glass-item p {
  margin: 0;
  grid-column: 2;
  color: rgba(255,255,255,0.86);
  line-height: 1.6;
}

body.theme-home .hm-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px 24px 54px;
}

body.theme-home :is(.hm-overview, .hm-products, .hm-proof-section, .hm-final-cta) {
  margin-top: 22px;
}

body.theme-home .hm-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 420px);
  gap: 22px;
  align-items: stretch;
}

body.theme-home .hm-overview__intro,
body.theme-home .hm-overview__card,
body.theme-home .hm-proof-card,
body.theme-home .hm-product-card,
body.theme-home .hm-final-cta {
  border-radius: 28px;
  border: 1px solid rgba(20,24,29,0.06);
  box-shadow: 0 18px 44px rgba(20,24,29,0.06);
}

body.theme-home .hm-overview__intro {
  padding: 28px 30px;
  background: rgba(252,253,254,0.98);
}

body.theme-home .hm-overview__intro h2,
body.theme-home .hm-home__head h2,
body.theme-home .hm-spotlight__content h2,
body.theme-home .hm-final-cta h2 {
  margin: 14px 0 10px;
  color: #1f2328;
  font-size: clamp(1.9rem, 3vw, 2.9rem);
  line-height: 1.12;
}

body.theme-home .hm-overview__intro p,
body.theme-home .hm-home__head p,
body.theme-home .hm-product-card p,
body.theme-home .hm-spotlight__content p,
body.theme-home .hm-proof-card p,
body.theme-home .hm-final-cta p {
  margin: 0;
  color: #505963;
  line-height: 1.7;
}

body.theme-home .hm-home__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ecff9b;
  color: #253100;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.theme-home .hm-home__eyebrow--light {
  background: rgba(217,255,63,0.16);
  color: #d9ff3f;
}

body.theme-home .hm-overview__cards {
  display: grid;
  gap: 18px;
}

body.theme-home .hm-overview__card {
  padding: 24px 24px 22px;
  background: #fff;
}

body.theme-home .hm-overview__card strong {
  display: block;
  margin-bottom: 8px;
  color: #1f2328;
  font-size: 1.1rem;
}

body.theme-home .hm-products__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

body.theme-home .hm-product-card {
  grid-column: span 4;
  overflow: hidden;
  background: #fff;
}

body.theme-home .hm-product-card--wide {
  grid-column: span 8;
}

body.theme-home .hm-product-card__media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

body.theme-home .hm-product-card__body {
  padding: 22px 22px 24px;
}

body.theme-home .hm-product-card__tag {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f0f7cf;
  color: #334100;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.theme-home .hm-product-card__tag--light {
  background: rgba(217,255,63,0.16);
  color: #d9ff3f;
}

body.theme-home .hm-product-card h3 {
  margin: 14px 0 10px;
  color: #1f2328;
  font-size: 1.18rem;
  line-height: 1.3;
}

body.theme-home .hm-product-card--dark {
  background: #1c2430;
}

body.theme-home .hm-product-card--dark h3,
body.theme-home .hm-product-card--dark p,
body.theme-home .hm-product-card--dark strong {
  color: #fff;
}

body.theme-home .hm-product-card--dark p {
  color: rgba(255,255,255,0.8);
}

body.theme-home .hm-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  padding: 30px;
  border-radius: 30px;
  background: #232c36;
  box-shadow: 0 20px 48px rgba(20,24,29,0.14);
}

body.theme-home .hm-spotlight__media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
  border-radius: 24px;
}

body.theme-home .hm-spotlight__content h2,
body.theme-home .hm-spotlight__content p {
  color: #fff;
}

body.theme-home .hm-spotlight__content p {
  color: rgba(255,255,255,0.78);
}

body.theme-home .hm-spotlight__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

body.theme-home .hm-spotlight__list a {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.4;
}

body.theme-home .hm-proof-section .hm-home__head {
  max-width: 760px;
  margin-bottom: 20px;
}

body.theme-home .hm-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.theme-home .hm-proof-card {
  padding: 26px 24px;
  background: #fff8ee;
}

body.theme-home .hm-proof-card p {
  font-size: 1.02rem;
  color: #1f2328;
  font-weight: 600;
}

body.theme-home .hm-proof-card strong {
  display: block;
  margin-top: 18px;
  color: #1f2328;
  font-size: 0.9rem;
}

body.theme-home .hm-proof-card span {
  display: block;
  margin-top: 6px;
  color: #c25900;
  font-size: 0.82rem;
  font-weight: 700;
}

body.theme-home .hm-final-cta {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  padding: 32px;
  background: #181d24;
}

body.theme-home .hm-final-cta h2,
body.theme-home .hm-final-cta p {
  color: #fff;
}

body.theme-home .hm-final-cta p {
  color: rgba(255,255,255,0.8);
}

body.theme-home .hm-final-cta__content {
  max-width: 720px;
}

body.theme-home .hm-final-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

body.theme-home .hm-final-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 250px;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  background: #d9ff3f;
  border: 1px solid rgba(255,255,255,0.12);
  color: #12160f;
  font-weight: 800;
  text-decoration: none;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}

body.theme-home .hm-final-cta__button:hover {
  transform: translateY(-2px);
  background: #fff;
  color: #12160f;
}

body.theme-home .hm-final-cta__button--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.18);
}

body.theme-home .hm-final-cta__button--ghost:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

@media screen and (max-width: 1080px) {
  body.theme-home .hm-hero {
    min-height: 0;
    padding: 34px 20px 42px;
  }

  body.theme-home .hm-hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 26px;
  }

  body.theme-home .hm-hero__title {
    max-width: 14ch;
  }

  body.theme-home .hm-hero__visual {
    min-height: 420px;
    max-width: 540px;
  }

  body.theme-home .hm-hero__glass-panel {
    max-width: 100%;
    margin-right: 0;
  }

  body.theme-home .hm-overview {
    grid-template-columns: 1fr;
  }

  body.theme-home .hm-product-card,
  body.theme-home .hm-product-card--wide {
    grid-column: span 6;
  }

  body.theme-home .hm-spotlight {
    grid-template-columns: 1fr;
  }

  body.theme-home .hm-proof-grid {
    grid-template-columns: 1fr;
  }

  body.theme-home .hm-final-cta {
    flex-direction: column;
  }

  body.theme-home .hm-final-cta__actions {
    align-items: flex-start;
  }
}

@media screen and (max-width: 860px) {
  body.theme-home .hm-nav {
    min-height: 54px;
  }

  body.theme-home .hm-burger {
    display: block;
    top: 27px;
  }

  body.theme-home .hm-nav__list {
    position: fixed;
    top: 0;
    right: -320px;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: #11161d;
    padding: 80px 0 24px;
    box-shadow: -6px 0 30px rgba(0,0,0,0.25);
    transition: right .35s cubic-bezier(.4,0,.2,1);
    z-index: 999;
  }

  body.theme-home .hm-nav__list.open {
    right: 0;
  }

  body.theme-home .hm-nav__list > li > a {
    padding: 14px 24px;
    height: auto;
    line-height: 1.4;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  body.theme-home .hm-nav__list > li > a.hm-nav__active {
    border-radius: 0;
  }
}

@media screen and (max-width: 640px) {
  body.theme-home .hm-header__inner {
    padding: 10px 14px 8px;
  }

  body.theme-home .hm-logo img {
    height: 40px;
  }

  body.theme-home .hm-hero__topline {
    margin-bottom: 16px;
  }

  body.theme-home .hm-hero__brandrow {
    gap: 10px;
  }

  body.theme-home .hm-hero__since {
    font-size: 0.98rem;
  }

  body.theme-home .hm-hero__brandmark {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  body.theme-home .hm-hero {
    padding: 28px 14px 26px;
  }

  body.theme-home .hm-hero__title {
    max-width: none;
    font-size: 2.05rem;
  }

  body.theme-home .hm-hero__sub,
  body.theme-home .hm-hero__meta {
    max-width: none;
    font-size: 0.96rem;
  }

  body.theme-home .hm-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  body.theme-home .hm-hero__cta {
    width: 100%;
    min-width: 0;
  }

  body.theme-home .hm-hero__stats {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.theme-home .hm-hero__visual {
    min-height: 0;
  }

  body.theme-home .hm-hero__glass-panel {
    padding: 18px;
    border-radius: 22px;
    max-width: none;
    margin-right: 0;
  }

  body.theme-home .hm-hero__glass-item {
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 12px;
  }

  body.theme-home .hm-hero__glass-icon {
    width: 32px;
    height: 32px;
  }

  body.theme-home .hm-main {
    padding: 18px 10px 34px;
  }

  body.theme-home :is(.hm-overview__intro, .hm-overview__card, .hm-product-card, .hm-spotlight, .hm-proof-card, .hm-final-cta) {
    border-radius: 22px;
  }

  body.theme-home .hm-products__grid {
    grid-template-columns: 1fr;
  }

  body.theme-home .hm-product-card,
  body.theme-home .hm-product-card--wide {
    grid-column: span 1;
  }

  body.theme-home .hm-product-card__media img {
    height: 180px;
  }

  body.theme-home .hm-spotlight {
    padding: 22px 16px;
  }

  body.theme-home .hm-spotlight__list {
    grid-template-columns: 1fr;
  }

  body.theme-home .hm-final-cta {
    padding: 24px 16px;
  }

  body.theme-home .hm-final-cta__button {
    width: 100%;
    min-width: 0;
  }
}

@media screen and (max-width: 360px) {
  body.theme-home .hm-hero__since {
    white-space: normal;
  }
}

/* ============================================================
   HOME FINAL TUNE - ORIGINAL OVERCAM COLORS
   ============================================================ */

body.theme-home {
  background: rgba(255,119,0,0.12);
}

body.theme-home .hm-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  z-index: 950;
}

body.theme-home .hm-nav {
  border-top: none;
  background: transparent !important;
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 24px 0;
}

body.theme-home .hm-nav__glass {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  max-width: 100%;
  margin-left: auto;
  padding: 8px 10px 8px 14px;
  border-radius: 999px;
  background: #12181f;
  border: 1px solid #2a333f;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 16px 34px rgba(0,0,0,0.18);
}

body.theme-home .hm-nav__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 10px 0 4px;
  border-right: 1px solid #2a333f;
}

body.theme-home .hm-nav__brand img {
  display: block;
  height: 22px;
  width: auto;
}

body.theme-home .hm-nav__list {
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 0;
  gap: 6px;
  background: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

body.theme-home .hm-nav__list > li > a {
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  color: #e6edf3;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.theme-home .hm-nav__list > li > a:hover,
body.theme-home .hm-nav__list > li > a:focus {
  background: #2a333f;
  color: #fff;
}

body.theme-home .hm-nav__list > li > a.hm-nav__active {
  background: #ff7700;
  color: #fff;
}

body.theme-home .hm-burger span {
  background: #ff7700;
}

body.theme-home .hm-hero {
  background: #11161d url('../images/utilizzate/hero-bg.webp') center/cover no-repeat;
  box-shadow: inset 0 0 0 9999px rgba(17,22,29,0.72);
  position: relative;
  overflow: visible;
}

body.theme-home .hm-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  display: block !important;
  width: 100vw;
  height: 120px;
  background: #faf7f3;
  clip-path: polygon(0 38%, 100% 0, 100% 100%, 0 100%);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
}

body.theme-home .hm-hero__glow::after {
  background: #ff9a3c;
}

body.theme-home .hm-hero__cta {
  background: #ff7700;
  color: #fff;
}

body.theme-home .hm-hero__cta:hover {
  background: #fff;
  color: #c25900;
}

body.theme-home .hm-hero__cta--ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

body.theme-home .hm-hero__cta--ghost:hover {
  background: #fff;
  color: #c25900;
}

body.theme-home .hm-hero__photo-copy span {
  background: rgba(255,119,0,0.18);
  color: #ffd6b3;
}

body.theme-home .hm-home__eyebrow {
  background: #fff0e2;
  color: #b65300;
}

body.theme-home .hm-home__eyebrow--light {
  background: rgba(255,119,0,0.16);
  color: #ffb675;
}

body.theme-home .hm-overview__intro {
  background: rgba(255,119,0,0.1);
}

body.theme-home .hm-product-card__tag {
  background: #fff0de;
  color: #b65300;
}

body.theme-home .hm-product-card__tag--light {
  background: rgba(255,119,0,0.16);
  color: #ffb675;
}

body.theme-home .hm-product-card--dark {
  background: #1f2731;
}

body.theme-home .hm-spotlight {
  background: #232c36;
}

body.theme-home .hm-proof-card {
  background: #fff7ef;
}

body.theme-home .hm-proof-card span {
  color: #c25900;
}

body.theme-home .hm-final-cta {
  background: #1d232b;
}

body.theme-home .hm-final-cta__button {
  background: #ff7700;
  color: #fff;
}

body.theme-home .hm-final-cta__button:hover {
  background: #fff;
  color: #c25900;
}

body.theme-home .hm-final-cta__button--ghost {
  background: transparent;
  color: #fff;
}

body.theme-home .hm-final-cta__button--ghost:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

/* ============================================================
   GLASS NAV ON ALL MODERN PAGES
   ============================================================ */

body.home-modern:not(.theme-home) .hm-nav--glass {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 14px 24px;
  background: transparent;
}

body.home-modern:not(.theme-home) .hm-nav--glass .hm-nav__glass {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 8px 10px 8px 14px;
  border-radius: 999px;
  background: #12181f;
  border: 1px solid #2a333f;
  box-shadow: 0 16px 34px rgba(0,0,0,0.16);
}

body.home-modern:not(.theme-home) .hm-nav--glass .hm-nav__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 10px 0 4px;
  border-right: 1px solid #2a333f;
}

body.home-modern:not(.theme-home) .hm-nav--glass .hm-nav__brand img {
  display: block;
  height: 22px;
  width: auto;
}

body.home-modern:not(.theme-home) .hm-nav--glass .hm-nav__list {
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 0;
  gap: 6px;
  background: transparent;
  border: none;
  box-shadow: none;
}

body.home-modern:not(.theme-home) .hm-nav--glass .hm-nav__list > li > a {
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  color: #e6edf3;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.home-modern:not(.theme-home) .hm-nav--glass .hm-nav__list > li > a:hover,
body.home-modern:not(.theme-home) .hm-nav--glass .hm-nav__list > li > a:focus {
  background: #2a333f;
  color: #fff;
}

body.home-modern:not(.theme-home) .hm-nav--glass .hm-nav__list > li > a.hm-nav__active {
  background: #ff7700;
  color: #fff;
}

body.home-modern:not(.theme-home) .hm-nav--glass .hm-nav__sub {
  top: calc(100% + 10px);
  border-radius: 16px;
}

@media screen and (max-width: 860px) {
  body.theme-home .hm-header {
    position: relative;
    background: rgba(255,255,255,0.96);
    border-bottom: 1px solid rgba(255,119,0,0.14);
  }

  body.theme-home .hm-nav {
    max-width: none;
    margin: 0;
    padding: 0;
  }

  body.theme-home .hm-nav__glass {
    width: auto;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }

  body.theme-home .hm-nav__brand {
    padding: 10px 14px 8px;
    border-right: none;
  }

  body.theme-home .hm-nav__brand img {
    height: 24px;
  }

  body.theme-home .hm-nav__list {
    width: 280px;
    max-width: none;
    margin: 0;
    padding: 80px 0 24px;
    gap: 0;
    border-radius: 0;
    background: #ffffff;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: -6px 0 30px rgba(0,0,0,0.25);
  }

  body.theme-home .hm-nav__list > li > a {
    height: auto;
    padding: 14px 24px;
    border-radius: 0;
    color: #283240;
    border-bottom: 1px solid rgba(32,41,52,0.08);
  }

  body.theme-home .hm-burger {
    right: 14px;
  }

  body.home-modern:not(.theme-home) .hm-nav--glass {
    padding: 0;
  }

  body.home-modern:not(.theme-home) .hm-nav--glass .hm-nav__glass {
    width: auto;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  body.home-modern:not(.theme-home) .hm-nav--glass .hm-nav__brand {
    padding: 10px 14px 8px;
    border-right: none;
  }

  body.home-modern:not(.theme-home) .hm-nav--glass .hm-nav__brand img {
    height: 24px;
  }

  body.home-modern:not(.theme-home) .hm-nav--glass .hm-nav__list {
    width: 280px;
    max-width: none;
    margin: 0;
    padding: 80px 0 24px;
    gap: 0;
    background: #ffffff;
    box-shadow: -6px 0 30px rgba(0,0,0,0.25);
  }

  body.home-modern:not(.theme-home) .hm-nav--glass .hm-nav__list > li > a {
    height: auto;
    padding: 14px 24px;
    border-radius: 0;
    color: #283240;
    border-bottom: 1px solid rgba(32,41,52,0.08);
  }

  body.home-modern:not(.theme-home) .hm-nav--glass .hm-nav__list > li > a.hm-nav__active {
    background: #fff4ea;
    color: #c25900;
  }

  body.home-modern:not(.theme-home) .hm-nav--glass .hm-burger {
    right: 14px;
  }
}

/* final hero/nav fixes */
body.theme-home .hm-nav {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 22px 24px 0;
  background: transparent !important;
}

body.theme-home .hm-hero__sub {
  min-height: calc(1.5em + 8px);
}

body.theme-home .hm-hero__glass-head span {
  display: none;
}

body.theme-home .hm-nav__glass {
  margin: 0 auto;
}

body.theme-home .hm-hero {
  padding-top: 132px;
}

@media screen and (max-width: 640px) {
  body.theme-home .hm-hero__sub {
    min-height: 0;
  }
}

/* below-hero cleanup */
body.theme-home .hm-overview,
body.theme-home .hm-products,
body.theme-home .hm-spotlight,
body.theme-home .hm-proof-section,
body.theme-home .hm-final-cta {
  margin-top: 28px;
}

body.theme-home .hm-products,
body.theme-home .hm-proof-section {
  padding: 30px;
  border-radius: 30px;
  border: 1px solid rgba(20,24,29,0.06);
  background: rgba(252,253,254,0.98);
  box-shadow: 0 18px 44px rgba(20,24,29,0.06);
}

body.theme-home .hm-products__grid--clean {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

body.theme-home .hm-product-card--text {
  min-height: 100%;
}

body.theme-home .hm-product-card--text .hm-product-card__body {
  padding: 24px 22px;
}

body.theme-home .hm-product-card__media {
  display: none;
}

body.theme-home .hm-spotlight {
  grid-template-columns: 1fr;
  padding: 30px;
}

body.theme-home .hm-spotlight__content {
  max-width: 900px;
}

body.theme-home .hm-spotlight__content p {
  margin-top: 10px;
}

body.theme-home .hm-proof-section .hm-home__head {
  margin-bottom: 18px;
}

@media screen and (max-width: 1080px) {
  body.theme-home .hm-products__grid--clean .hm-product-card,
  body.theme-home .hm-products__grid--clean .hm-product-card--wide {
    grid-column: span 6;
  }
}

@media screen and (max-width: 640px) {
  body.theme-home .hm-products,
  body.theme-home .hm-proof-section,
  body.theme-home .hm-spotlight {
    padding: 22px 16px;
    border-radius: 22px;
  }

  body.theme-home .hm-products__grid--clean {
    grid-template-columns: 1fr;
  }

  body.theme-home .hm-products__grid--clean .hm-product-card,
  body.theme-home .hm-products__grid--clean .hm-product-card--wide {
    grid-column: span 1;
  }
}

/* ============================================================
   HOME (BELOW HERO) - SIMPLIFIED LAYOUT
   ============================================================ */

body.theme-home #maincontent.hm-main.hm-main--landing {
  width: min(calc(100% - 48px), 1320px);
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  justify-items: center;
  row-gap: 28px;
}

body.theme-home #maincontent.hm-main.hm-main--landing > .hm-advantages,
body.theme-home #maincontent.hm-main.hm-main--landing > .hm-products,
body.theme-home #maincontent.hm-main.hm-main--landing > .hm-final-cta {
  width: 100%;
  margin: 0 auto;
}

body.theme-home .hm-advantages {
  max-width: none;
  margin: 0 auto;
  padding: 42px 0 40px;
  border-radius: 0;
  border: 0;
  background: #ffffff;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.theme-home .hm-advantages__head {
  width: min(100%, 900px);
  margin: 0 auto 22px;
  text-align: center;
}

body.theme-home .hm-advantages__head h2 {
  margin: 14px auto 12px;
  max-width: 820px;
  color: #1f2328;
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  line-height: 1.12;
  text-align: center;
}

body.theme-home .hm-advantages__head p {
  margin: 0 auto;
  max-width: 76ch;
  color: rgba(31,35,40,0.78);
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
}

body.theme-home .hm-advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1320px;
  margin: 0 auto;
}

body.theme-home .hm-adv-card {
  width: 100%;
  min-height: 100%;
  padding: 26px 24px 24px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(20,24,29,0.08);
  box-shadow: 0 14px 34px rgba(20,24,29,0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

body.theme-home .hm-adv-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,119,0,0.22);
  box-shadow: 0 18px 42px rgba(20,24,29,0.09);
}

body.theme-home .hm-adv-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: transparent;
  border: 0;
  margin: 0 auto 16px;
}

body.theme-home .hm-adv-card__icon img {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: contain;
}

body.theme-home .hm-adv-card h3 {
  margin: 0 0 10px;
  color: #1f2328;
  font-size: 1.12rem;
  line-height: 1.25;
}

body.theme-home .hm-adv-card p {
  margin: 0;
  color: rgba(31,35,40,0.78);
  line-height: 1.65;
}

body.theme-home .hm-products {
  max-width: none;
  margin: 0 auto;
  padding: 42px 34px;
  border-radius: 8px;
  border: 1px solid rgba(20,24,29,0.08);
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(20,24,29,0.055);
}

body.theme-home .hm-products .hm-home__head {
  width: min(100%, 880px);
  margin: 0 auto 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.theme-home .hm-products .hm-home__head h2 {
  margin: 14px auto 12px;
  max-width: 780px;
  text-align: center;
}

body.theme-home .hm-products .hm-home__head p {
  margin: 0 auto;
  max-width: 76ch;
  color: rgba(31,35,40,0.76);
  text-align: center;
}

body.theme-home .hm-products__list {
  display: grid;
  gap: 10px;
  max-width: 1120px;
  margin: 0 auto;
}

body.theme-home .hm-solution {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  min-height: 104px;
  padding: 18px 20px;
  border: 1px solid rgba(20,24,29,0.08);
  border-radius: 8px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(20,24,29,0.035);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

body.theme-home .hm-solution:hover,
body.theme-home .hm-solution:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255,119,0,0.32);
  background: #fffaf5;
  box-shadow: 0 14px 30px rgba(20,24,29,0.075);
  outline: none;
}

body.theme-home .hm-solution--primary {
  min-height: 126px;
  border-color: rgba(255,119,0,0.28);
  background: #fffaf5;
}

body.theme-home .hm-solution__logo {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
}

body.theme-home .hm-solution__logo img {
  max-width: 58px;
  max-height: 58px;
  display: block;
  object-fit: contain;
}

body.theme-home .hm-solution__content {
  min-width: 0;
  display: grid;
  gap: 5px;
}

body.theme-home .hm-solution__name {
  color: #1f2328;
  font-size: 1.24rem;
  font-weight: 850;
  line-height: 1.15;
}

body.theme-home .hm-solution--primary .hm-solution__name {
  font-size: 1.5rem;
}

body.theme-home .hm-solution__label {
  color: #b65300;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.theme-home .hm-solution__text {
  max-width: 72ch;
  color: rgba(31,35,40,0.72);
  font-size: 0.98rem;
  line-height: 1.5;
}

body.theme-home .hm-solution__meta {
  min-width: 118px;
  color: rgba(31,35,40,0.62);
  font-size: 0.82rem;
  font-weight: 750;
  text-align: right;
}

body.theme-home .hm-solution__cta {
  min-width: 84px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 8px;
  background: #ff7700;
  color: #ffffff;
  font-weight: 850;
  box-shadow: 0 10px 20px rgba(255,119,0,0.18);
}

body.theme-home .hm-solution__cta::after {
  content: ">";
  margin-left: 7px;
}

body.theme-home .hm-solution:hover .hm-solution__cta,
body.theme-home .hm-solution:focus-visible .hm-solution__cta {
  background: #1f2731;
  box-shadow: 0 10px 22px rgba(31,39,49,0.18);
}

@media screen and (max-width: 980px) {
  body.theme-home .hm-solution {
    grid-template-columns: 58px minmax(0, 1fr) auto;
  }

  body.theme-home .hm-solution__meta {
    display: none;
  }
}

@media screen and (max-width: 680px) {
  body.theme-home .hm-products {
    padding: 26px 16px;
  }

  body.theme-home .hm-solution {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  body.theme-home .hm-solution__logo {
    width: 52px;
    height: 52px;
  }

  body.theme-home .hm-solution__logo img {
    max-width: 48px;
    max-height: 48px;
  }

  body.theme-home .hm-solution__cta {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 6px;
  }
}

body.theme-home .hm-final-cta {
  max-width: none;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: 28px;
  text-align: left;
  border: 1px solid rgba(20,24,29,0.08);
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(20,24,29,0.055);
  padding: 36px 34px;
  border-radius: 8px;
}

body.theme-home .hm-final-cta__content {
  max-width: 720px;
}

body.theme-home .hm-final-cta h2 {
  margin: 14px 0 12px;
  color: #1f2328;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.12;
}

body.theme-home .hm-final-cta p {
  margin: 0;
  max-width: 70ch;
  color: rgba(31,35,40,0.76);
  line-height: 1.7;
}

body.theme-home .hm-final-cta__panel {
  display: grid;
  gap: 12px;
}

body.theme-home .hm-final-cta__choice {
  display: grid;
  gap: 5px;
  padding: 18px 18px;
  border-radius: 8px;
  border: 1px solid rgba(20,24,29,0.1);
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

body.theme-home .hm-final-cta__choice:hover,
body.theme-home .hm-final-cta__choice:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255,119,0,0.34);
  background: #fffaf5;
  box-shadow: 0 14px 30px rgba(20,24,29,0.075);
  outline: none;
}

body.theme-home .hm-final-cta__choice span {
  color: rgba(31,35,40,0.64);
  font-size: 0.86rem;
  font-weight: 750;
}

body.theme-home .hm-final-cta__choice strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #1f2328;
  font-size: 1.06rem;
  line-height: 1.35;
}

body.theme-home .hm-final-cta__choice strong::after {
  content: ">";
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #fff0de;
  color: #c25900;
}

body.theme-home .hm-final-cta__choice--primary {
  border-color: rgba(255,119,0,0.26);
  background: #fffaf5;
}

body.theme-home .hm-final-cta__choice--primary strong::after {
  background: #ff7700;
  color: #ffffff;
}

@media screen and (max-width: 980px) {
  body.theme-home .hm-final-cta {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 900px) {
  body.theme-home .hm-advantages__grid,
  body.theme-home .hm-products__grid--clean {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 640px) {
  body.theme-home #maincontent.hm-main.hm-main--landing {
    width: min(calc(100% - 20px), 1320px);
    row-gap: 22px;
  }

  body.theme-home .hm-advantages,
  body.theme-home .hm-products {
    padding: 22px 16px;
    border-radius: 22px;
  }
}

/* Software section: hero-like hierarchy without repeating the hero background */
body.theme-home .hm-products {
  position: relative;
  overflow: hidden;
  padding: 46px 34px;
  border: 1px solid rgba(20,24,29,0.08);
  background: #fff8f1;
  box-shadow: 0 18px 44px rgba(20,24,29,0.07);
}

body.theme-home .hm-products::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,119,0,0.08);
  opacity: 0.7;
  pointer-events: none;
}

body.theme-home .hm-products > * {
  position: relative;
  z-index: 1;
}

body.theme-home .hm-products .hm-home__eyebrow {
  background: #fff0de;
  color: #b65300;
}

body.theme-home .hm-products .hm-home__head h2 {
  color: #1f2328;
  text-shadow: none;
}

body.theme-home .hm-products .hm-home__head p {
  color: rgba(31,35,40,0.76);
}

body.theme-home .hm-solution {
  border-color: rgba(20,24,29,0.08);
  background: rgba(255,255,255,0.88);
  color: inherit;
  box-shadow: 0 8px 22px rgba(20,24,29,0.035);
}

body.theme-home .hm-solution:hover,
body.theme-home .hm-solution:focus-visible {
  border-color: rgba(255,119,0,0.34);
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(20,24,29,0.08);
}

body.theme-home .hm-solution--primary {
  border-color: rgba(255,119,0,0.3);
  background: #ffffff;
}

body.theme-home .hm-solution__name {
  color: #1f2328;
}

body.theme-home .hm-solution__label {
  color: #b65300;
}

body.theme-home .hm-solution__text {
  color: rgba(31,35,40,0.72);
}

body.theme-home .hm-solution__meta {
  color: rgba(31,35,40,0.62);
}

body.theme-home .hm-solution__logo img {
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.22));
}

body.theme-home .hm-solution__cta {
  background: #ff7700;
  color: #ffffff;
}

body.theme-home .hm-solution:hover .hm-solution__cta,
body.theme-home .hm-solution:focus-visible .hm-solution__cta {
  background: #1f2731;
  color: #ffffff;
}

@media screen and (max-width: 640px) {
  body.theme-home .hm-products {
    padding: 28px 16px;
    border-radius: 22px;
  }
}

/* Home software section: clear hierarchy, compact scanning, site-native palette */
body.theme-home .hm-products--software {
  padding: 34px 28px;
  background: rgba(255,119,0,0.08);
}

body.theme-home .hm-products--software .hm-home__head {
  margin: 0 auto 18px;
}

body.theme-home .hm-products--software .hm-home__head h2 {
  margin: 10px auto 8px;
}

body.theme-home .hm-software-layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.35fr);
  gap: 18px;
  align-items: stretch;
}

body.theme-home .hm-software-feature,
body.theme-home .hm-software-flow,
body.theme-home .hm-software-card {
  border-radius: 8px;
  border: 1px solid rgba(20,24,29,0.08);
  background: rgba(255,255,255,0.92);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(20,24,29,0.055);
}

body.theme-home .hm-software-feature {
  min-height: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-color: rgba(255,119,0,0.28);
  background: #fff7ed;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

body.theme-home .hm-software-feature:hover,
body.theme-home .hm-software-feature:focus-visible,
body.theme-home .hm-software-card:hover,
body.theme-home .hm-software-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255,119,0,0.34);
  box-shadow: 0 18px 40px rgba(20,24,29,0.09);
  outline: none;
}

body.theme-home .hm-software-feature__top {
  display: flex;
  align-items: center;
  gap: 16px;
}

body.theme-home .hm-software-feature__logo,
body.theme-home .hm-software-card__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(20,24,29,0.08);
}

body.theme-home .hm-software-feature__logo {
  width: 74px;
  height: 74px;
}

body.theme-home .hm-software-feature__logo img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.18));
}

body.theme-home .hm-software-feature__kicker,
body.theme-home .hm-software-card__tag {
  display: block;
  color: #b65300;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.theme-home .hm-software-feature__name {
  display: block;
  margin-top: 5px;
  color: #1f2328;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  font-weight: 900;
  line-height: 1;
}

body.theme-home .hm-software-feature__title {
  display: block;
  max-width: 12em;
  color: #1f2328;
  font-size: clamp(1.55rem, 2.7vw, 2.25rem);
  font-weight: 850;
  line-height: 1.08;
}

body.theme-home .hm-software-feature__text,
body.theme-home .hm-software-card__text,
body.theme-home .hm-software-flow__item p {
  margin: 0;
  color: rgba(31,35,40,0.74);
  line-height: 1.58;
}

body.theme-home .hm-software-feature__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

body.theme-home .hm-software-feature__chips span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 7px 10px;
  border-radius: 8px;
  background: #fff0de;
  color: #8f4700;
  font-size: 0.82rem;
  font-weight: 800;
}

body.theme-home .hm-software-feature__cta {
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 8px;
  background: #ff7700;
  color: #fff;
  font-weight: 850;
  box-shadow: 0 10px 20px rgba(255,119,0,0.18);
}

body.theme-home .hm-software-feature__cta::after,
body.theme-home .hm-software-card__body::after {
  content: ">";
  margin-left: 8px;
}

body.theme-home .hm-software-flow {
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.theme-home .hm-software-flow__item {
  min-width: 0;
  padding: 16px;
  border-radius: 8px;
  background: #fffaf5;
  border: 1px solid rgba(255,119,0,0.14);
}

body.theme-home .hm-software-flow__item span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255,119,0,0.9);
  font-size: 0.78rem;
  font-weight: 900;
}

body.theme-home .hm-software-flow__item strong {
  display: block;
  margin-bottom: 6px;
  color: #1f2328;
  font-size: 1rem;
  line-height: 1.2;
}

body.theme-home .hm-software-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.theme-home .hm-software-card {
  min-height: 154px;
  padding: 18px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

body.theme-home .hm-software-card__icon {
  width: 58px;
  height: 58px;
}

body.theme-home .hm-software-card__icon img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.16));
}

body.theme-home .hm-software-card__body {
  min-width: 0;
  display: grid;
  gap: 6px;
}

body.theme-home .hm-software-card__name {
  color: #1f2328;
  font-size: 1.18rem;
  font-weight: 850;
  line-height: 1.15;
}

body.theme-home .hm-software-card__body::after {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  margin: 6px 0 0;
  border-radius: 50%;
  background: #fff0de;
  color: #c25900;
  font-weight: 850;
}

@media screen and (max-width: 1040px) {
  body.theme-home .hm-software-layout {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 760px) {
  body.theme-home .hm-products--software {
    padding: 28px 16px;
  }

  body.theme-home .hm-software-feature {
    padding: 22px;
  }

  body.theme-home .hm-software-flow,
  body.theme-home .hm-software-grid {
    grid-template-columns: 1fr;
  }

  body.theme-home .hm-software-flow {
    padding: 14px;
  }
}

@media screen and (max-width: 480px) {
  body.theme-home .hm-software-feature__top,
  body.theme-home .hm-software-card {
    grid-template-columns: 1fr;
  }

  body.theme-home .hm-software-feature__top {
    display: grid;
  }

  body.theme-home .hm-software-feature__cta {
    width: 100%;
  }
}

/* Softer software section revision */
body.theme-home .hm-products--software {
  padding: 34px 28px;
  background: #ffffff;
  border-color: rgba(31,35,40,0.075);
  box-shadow: 0 14px 34px rgba(31,35,40,0.045);
}

body.theme-home .hm-products--software .hm-reveal {
  opacity: 1;
  transform: none;
}

body.theme-home .hm-products--software::before {
  display: none;
}

body.theme-home .hm-products--software .hm-home__eyebrow {
  background: #f5f6f8;
  color: #6d747c;
  border: 1px solid rgba(31,35,40,0.08);
}

body.theme-home .hm-products--software .hm-home__head {
  margin-bottom: 18px;
}

body.theme-home .hm-products--software .hm-home__head h2 {
  color: #20252b;
}

body.theme-home .hm-products--software .hm-home__head p {
  color: rgba(32,37,43,0.68);
}

body.theme-home .hm-software-layout {
  max-width: 1160px;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

body.theme-home .hm-software-note {
  position: sticky;
  top: 104px;
  padding: 24px 24px 26px;
  border-radius: 8px;
  border: 1px solid rgba(31,35,40,0.08);
  background: #f7f8fa;
  box-shadow: none;
  text-align: left;
}

body.theme-home .hm-software-note__label {
  display: block;
  margin-bottom: 14px;
  color: #a24f00;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.theme-home .hm-software-note h3 {
  margin: 0 0 12px;
  color: #20252b;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.15;
}

body.theme-home .hm-software-note p {
  margin: 0;
  color: rgba(32,37,43,0.7);
  line-height: 1.65;
}

body.theme-home .hm-software-list {
  display: grid;
  gap: 10px;
  height: 100%;
  grid-auto-rows: minmax(0, 1fr);
}

body.theme-home .hm-software-row {
  --row-accent: #ff7700;
  --row-accent-soft: rgba(255,119,0,0.10);
  --row-accent-soft-2: rgba(255,119,0,0.06);
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 104px;
  padding: 18px 20px;
  border-radius: 8px;
  border: 1px solid rgba(31,35,40,0.08);
  border-left: 4px solid transparent;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  box-shadow: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease, filter .18s ease;
  position: relative;
  overflow: hidden;
}

body.theme-home .hm-software-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--row-accent-soft);
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events: none;
}

body.theme-home .hm-software-row:hover,
body.theme-home .hm-software-row:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255,119,0,0.18);
  background: #fffdfb;
  box-shadow: 0 12px 28px rgba(31,35,40,0.06);
  outline: none;
  filter: saturate(1.02);
}

body.theme-home .hm-software-row:hover::before,
body.theme-home .hm-software-row:focus-visible::before {
  opacity: 1;
}

body.theme-home .hm-software-row__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(31,35,40,0.08);
  background: var(--row-accent-soft-2);
}

body.theme-home .hm-software-row__icon img {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: contain;
  filter: none;
}

body.theme-home .hm-software-row__content {
  min-width: 0;
  display: grid;
  gap: 4px;
}

body.theme-home .hm-software-row__meta {
  color: rgba(32,37,43,0.56);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.theme-home .hm-software-row__name {
  color: #20252b;
  font-size: 1.2rem;
  font-weight: 850;
  line-height: 1.15;
}

body.theme-home .hm-software-row__text {
  color: rgba(32,37,43,0.7);
  font-size: 0.98rem;
  line-height: 1.5;
}

body.theme-home .hm-software-row__action {
  min-width: 76px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border-radius: 8px;
  border: 1px solid rgba(31,35,40,0.12);
  background: #ffffff;
  color: #343a40;
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

body.theme-home .hm-software-row:hover .hm-software-row__action,
body.theme-home .hm-software-row:focus-visible .hm-software-row__action {
  border-color: color-mix(in srgb, var(--row-accent) 40%, rgba(31,35,40,0.18));
  background: color-mix(in srgb, var(--row-accent) 10%, #ffffff);
  color: color-mix(in srgb, var(--row-accent) 72%, #222);
  transform: translateY(-1px);
}

@media screen and (max-width: 1040px) {
  body.theme-home .hm-software-layout {
    grid-template-columns: 1fr;
  }

  body.theme-home .hm-software-note {
    position: static;
  }
}

@media screen and (max-width: 680px) {
  body.theme-home .hm-products--software {
    padding: 28px 16px;
  }

  body.theme-home .hm-software-row {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  body.theme-home .hm-software-row__icon {
    width: 52px;
    height: 52px;
  }

  body.theme-home .hm-software-row__icon img {
    width: 40px;
    height: 40px;
  }

  body.theme-home .hm-software-row__action {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* Interactive software detail */
body.theme-home .hm-software-layout--interactive {
  /* Fixed height (no layout jumps), but never taller than the viewport. */
  --software-detail-height: min(720px, calc(100vh - 200px));
  grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr);
  align-items: start;
  min-height: var(--software-detail-height);
}

body.theme-home .hm-software-row {
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
  will-change: transform, box-shadow, border-color, background;
  min-height: 0;
}

body.theme-home .hm-software-row--active {
  border-color: rgba(255,119,0,0.3);
  border-left-color: var(--row-accent);
  background: #fffaf5;
  box-shadow: 0 12px 28px rgba(31,35,40,0.055);
}

body.theme-home .hm-software-row--active::before {
  opacity: 1;
}

body.theme-home .hm-software-row--active .hm-software-row__action {
  border-color: rgba(255,119,0,0.32);
  background: color-mix(in srgb, var(--row-accent) 12%, #ffffff);
  color: color-mix(in srgb, var(--row-accent) 78%, #222);
}

/* Per-software accents */
body.theme-home .hm-software-row[data-software-tab="profirst"] {
  --row-accent: #dd6600;
  --row-accent-soft: rgba(221,102,0,0.14);
  --row-accent-soft-2: rgba(221,102,0,0.07);
}
body.theme-home .hm-software-row[data-software-tab="spaceclaim"] {
  --row-accent: #4f5b8b;
  --row-accent-soft: rgba(79,91,139,0.14);
  --row-accent-soft-2: rgba(79,91,139,0.07);
}
body.theme-home .hm-software-row[data-software-tab="logitrace"] {
  --row-accent: #447654;
  --row-accent-soft: rgba(68,118,84,0.14);
  --row-accent-soft-2: rgba(68,118,84,0.07);
}
body.theme-home .hm-software-row[data-software-tab="logitole"] {
  --row-accent: #ff7700;
  --row-accent-soft: rgba(255,119,0,0.14);
  --row-accent-soft-2: rgba(255,119,0,0.07);
}
body.theme-home .hm-software-row[data-software-tab="logibarre"] {
  --row-accent: #c25900;
  --row-accent-soft: rgba(194,89,0,0.14);
  --row-accent-soft-2: rgba(194,89,0,0.07);
}

body.theme-home .hm-software-detail {
  position: sticky;
  top: 104px;
  min-height: var(--software-detail-height);
  height: var(--software-detail-height);
  border-radius: 8px;
  border: 1px solid rgba(31,35,40,0.08);
  background: #f7f8fa;
  box-shadow: none;
  overflow: hidden;
}

body.theme-home .hm-software-panel {
  position: absolute;
  inset: 0;
  min-height: 0;
  height: 100%;
  padding: 24px;
  background: #f7f8fa;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

body.theme-home .hm-software-panel[hidden] {
  display: none;
}

body.theme-home .hm-software-panel--active {
  display: flex;
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  animation: hmSoftwarePanelIn .48s cubic-bezier(.2,.8,.2,1) both;
}

body.theme-home .hm-software-panel--leaving {
  z-index: 1;
  opacity: 1;
  pointer-events: none;
  animation: hmSoftwarePanelOut .34s cubic-bezier(.4,0,.2,1) both;
}

body.theme-home .hm-software-panel--active .hm-software-panel__content {
  animation: hmSoftwarePanelContentIn .52s cubic-bezier(.2,.8,.2,1) both;
}

body.theme-home .hm-software-panel__meta {
  display: block;
  margin-bottom: 9px;
  color: #a24f00;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.theme-home .hm-software-panel__media {
  position: relative;
  flex: 0 0 238px;
  height: 238px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,119,0,0.12);
  background: rgba(255,119,0,0.12);
  box-shadow: 0 18px 34px rgba(31,35,40,0.08);
}

body.theme-home .hm-software-panel__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(9,13,18,0.18);
  pointer-events: none;
}

body.theme-home .hm-software-panel__media img {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 1;
  transform: none;
  object-fit: cover;
  object-position: center;
}

body.theme-home .hm-software-panel__content {
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

body.theme-home .hm-software-panel h3 {
  margin: 0 0 10px;
  color: #20252b;
  font-size: 1.85rem;
  line-height: 1.08;
}

body.theme-home .hm-software-panel p {
  margin: 0 0 14px;
  color: rgba(32,37,43,0.72);
  font-size: 0.96rem;
  line-height: 1.55;
}

body.theme-home .hm-software-panel ul {
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 7px;
  list-style: none;
}

body.theme-home .hm-software-panel li {
  position: relative;
  padding-left: 22px;
  color: rgba(32,37,43,0.76);
  font-size: 0.94rem;
  line-height: 1.42;
}

body.theme-home .hm-software-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff7700;
}

body.theme-home .hm-software-panel__link {
  margin-top: auto;
  min-height: 40px;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border-radius: 8px;
  border: 1px solid rgba(255,119,0,0.32);
  background: #ffffff !important;
  color: #c25900 !important;
  font-weight: 850;
  text-decoration: none;
}

body.theme-home .hm-software-panel__link:hover,
body.theme-home .hm-software-panel__link:focus-visible {
  background: #ff7700 !important;
  border-color: #ff7700 !important;
  color: #ffffff !important;
  outline: none;
}

@keyframes hmSoftwarePanelIn {
  from {
    opacity: 0;
    transform: translateX(28px) scale(0.985);
    filter: saturate(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: saturate(1);
  }
}

@keyframes hmSoftwarePanelOut {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: saturate(1);
  }
  to {
    opacity: 0;
    transform: translateX(-18px) scale(0.985);
    filter: saturate(0.92);
  }
}

@keyframes hmSoftwarePanelContentIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 1040px) {
  body.theme-home .hm-software-layout--interactive {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  body.theme-home .hm-software-detail {
    position: static;
    min-height: 0;
    height: auto;
  }

  body.theme-home .hm-software-panel {
    position: relative;
    min-height: 0;
    height: auto;
  }

  body.theme-home .hm-software-panel__media {
    flex-basis: 220px;
    height: 220px;
  }
}

@media screen and (max-width: 680px) {
  body.theme-home .hm-software-panel {
    padding: 24px 20px;
  }

  body.theme-home .hm-software-panel__media {
    flex-basis: 190px;
    height: 190px;
    border-radius: 14px;
  }
}

/* Site-wide responsive polish for modern pages */
@media screen and (max-width: 1180px) {
  body.home-modern .pf-suite-hero__inner,
  body.home-modern .pf-modern-hero__inner,
  body.home-modern .hm-hero__grid,
  body.home-modern .hm-software-layout,
  body.home-modern .hm-software-layout--interactive {
    grid-template-columns: 1fr !important;
  }

  body.home-modern .pf-suite-hero__panel,
  body.home-modern .pf-modern-hero__visual,
  body.home-modern .hm-hero__visual {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 860px) {
  body.home-modern .hm-main,
  body.home-modern .download-main,
  body.home-modern .info-main,
  body.home-modern .prod-main,
  body.home-modern .pf-modern-main,
  body.home-modern .pf-main {
    width: 100%;
    max-width: 100%;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.home-modern .hm-hero,
  body.home-modern .prod-hero,
  body.home-modern .info-hero,
  body.home-modern .pf-suite-hero,
  body.home-modern .pf-modern-hero {
    min-height: auto !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.home-modern .hm-hero__title,
  body.home-modern .prod-hero__title,
  body.home-modern .info-hero__title,
  body.home-modern .pf-suite-hero__title,
  body.home-modern .pf-modern-hero__title {
    font-size: clamp(2.1rem, 12vw, 3.2rem) !important;
    line-height: 1.02 !important;
    letter-spacing: 0 !important;
  }

  body.home-modern .hm-hero__actions,
  body.home-modern .pf-suite-hero__actions,
  body.home-modern .pf-modern-hero__actions,
  body.home-modern .prod-hero__pills,
  body.home-modern .info-hero__pills {
    flex-wrap: wrap;
  }

  body.home-modern .hm-hero__cta,
  body.home-modern .pf-suite-button,
  body.home-modern .pf-modern-button,
  body.home-modern .prod-pill,
  body.home-modern .info-pill {
    white-space: normal;
    text-align: center;
  }
}

@media screen and (max-width: 640px) {
  body.home-modern .hm-main,
  body.home-modern .download-main,
  body.home-modern .info-main,
  body.home-modern .prod-main,
  body.home-modern .pf-modern-main,
  body.home-modern .pf-main {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body.home-modern .hm-card,
  body.home-modern .download-card,
  body.home-modern .download-sidecard,
  body.home-modern .info-card,
  body.home-modern .prod-card,
  body.home-modern .pf-modern-overview,
  body.home-modern .pf-modern-modules,
  body.home-modern .pf-modern-licensing,
  body.home-modern .pf-modern-cta {
    border-radius: 14px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.home-modern .hm-products,
  body.home-modern .hm-advantages,
  body.home-modern .hm-final-cta,
  body.home-modern .hm-proof-section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.home-modern .hm-home__head h2,
  body.home-modern .download-title,
  body.home-modern .info-title,
  body.home-modern .prod-section__title,
  body.home-modern .pf-section__title {
    font-size: clamp(1.45rem, 8vw, 2rem) !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
  }

  body.home-modern .hm-software-row {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
  }

  body.home-modern .hm-software-row__action {
    grid-column: 2;
    justify-self: start;
  }
}

@media screen and (max-width: 420px) {
  body.home-modern .hm-nav__brand img {
    width: 168px;
    height: auto;
  }

  body.home-modern .hm-hero__stats,
  body.home-modern .pf-suite-hero__stats,
  body.home-modern .pf-modern-hero__stats {
    grid-template-columns: 1fr !important;
  }
}

/* Device-aware navigation: desktop, tablet and phone */
@media screen and (min-width: 861px) and (max-width: 1180px) {
  body.home-modern .hm-nav--glass,
  body.theme-home .hm-nav {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body.home-modern .hm-nav--glass .hm-nav__glass,
  body.theme-home .hm-nav__glass {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    justify-content: flex-start;
    border-radius: 18px;
  }

  body.home-modern .hm-nav--glass .hm-nav__brand,
  body.theme-home .hm-nav__brand {
    flex: 0 0 auto;
  }

  body.home-modern .hm-nav--glass .hm-nav__list,
  body.theme-home .hm-nav__list {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  body.home-modern .hm-nav--glass .hm-nav__list > li,
  body.theme-home .hm-nav__list > li {
    flex: 0 0 auto;
  }

  body.home-modern .hm-nav--glass .hm-nav__list > li > a,
  body.theme-home .hm-nav__list > li > a {
    height: 38px;
    padding: 0 12px;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
  }
}

@media screen and (max-width: 860px) {
  body.home-modern .hm-header,
  body.theme-home .hm-header {
    position: relative !important;
    min-height: 58px;
    background: #12181f !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    box-shadow: 0 10px 26px rgba(0,0,0,0.12);
    z-index: 1200;
  }

  body.home-modern .hm-nav--glass,
  body.theme-home .hm-nav {
    min-height: 58px;
    padding: 0 !important;
    background: transparent !important;
  }

  body.home-modern .hm-nav--glass .hm-nav__glass,
  body.theme-home .hm-nav__glass {
    min-height: 58px;
    width: 100%;
    margin: 0;
    padding: 0 64px 0 14px !important;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none;
  }

  body.home-modern .hm-nav--glass .hm-nav__brand,
  body.theme-home .hm-nav__brand {
    min-height: 58px;
    padding: 0 !important;
    border-right: 0 !important;
  }

  body.home-modern .hm-nav--glass .hm-nav__brand img,
  body.theme-home .hm-nav__brand img,
  body.home-modern .hm-nav__brand img {
    width: auto !important;
    height: 28px !important;
    max-width: 190px;
  }

  body.home-modern .hm-burger,
  body.theme-home .hm-burger,
  body.home-modern:not(.theme-home) .hm-nav--glass .hm-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    right: 14px !important;
    top: 50% !important;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    transform: translateY(-50%);
  }

  body.home-modern .hm-burger span,
  body.theme-home .hm-burger span {
    left: 10px;
    width: 24px;
    height: 2px;
    background: #fff !important;
  }

  body.home-modern .hm-burger span:nth-child(1),
  body.theme-home .hm-burger span:nth-child(1) {
    top: 12px;
  }

  body.home-modern .hm-burger span:nth-child(2),
  body.theme-home .hm-burger span:nth-child(2) {
    top: 21px;
  }

  body.home-modern .hm-burger span:nth-child(3),
  body.theme-home .hm-burger span:nth-child(3) {
    top: 30px;
  }

  body.home-modern .hm-burger.open span:nth-child(1),
  body.theme-home .hm-burger.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  body.home-modern .hm-burger.open span:nth-child(3),
  body.theme-home .hm-burger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  body.home-modern .hm-nav__list,
  body.home-modern .hm-nav--glass .hm-nav__list,
  body.theme-home .hm-nav__list {
    top: 0;
    right: min(-92vw, -360px);
    width: min(92vw, 360px) !important;
    max-width: 360px !important;
    height: 100vh;
    height: 100dvh;
    padding: 76px 12px 24px !important;
    gap: 6px !important;
    border-radius: 0;
    background: #ffffff !important;
    box-shadow: -16px 0 44px rgba(0,0,0,0.28) !important;
  }

  body.home-modern .hm-nav__list.open,
  body.home-modern .hm-nav--glass .hm-nav__list.open,
  body.theme-home .hm-nav__list.open {
    right: 0;
  }

  body.home-modern .hm-nav__list > li > a,
  body.home-modern .hm-nav--glass .hm-nav__list > li > a,
  body.theme-home .hm-nav__list > li > a {
    min-height: 48px;
    height: auto;
    padding: 13px 14px !important;
    border: 0 !important;
    border-radius: 12px !important;
    color: #1f2933 !important;
    font-size: 0.94rem !important;
    letter-spacing: 0 !important;
    line-height: 1.25;
    text-transform: none;
  }

  body.home-modern .hm-nav__list > li > a.hm-nav__active,
  body.home-modern .hm-nav--glass .hm-nav__list > li > a.hm-nav__active,
  body.theme-home .hm-nav__list > li > a.hm-nav__active {
    background: #ff7700 !important;
    color: #fff !important;
  }

  body.home-modern .hm-nav__sub,
  body.home-modern .hm-nav--glass .hm-nav__sub,
  body.theme-home .hm-nav__sub {
    margin: 4px 0 8px;
    border-radius: 12px !important;
    background: #f5f7f9 !important;
  }

  body.home-modern .hm-nav__sub li a,
  body.home-modern .hm-nav--glass .hm-nav__sub li a,
  body.theme-home .hm-nav__sub li a {
    padding: 11px 14px 11px 24px !important;
    border-bottom: 0;
    color: #344054;
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 420px) {
  body.home-modern .hm-nav__list,
  body.home-modern .hm-nav--glass .hm-nav__list,
  body.theme-home .hm-nav__list {
    width: 100vw !important;
    max-width: 100vw !important;
    right: -100vw;
  }
}

/* Orange/white navigation palette */
body.theme-home .hm-nav__glass,
body.home-modern:not(.theme-home) .hm-nav--glass .hm-nav__glass {
  background: #ffffff !important;
  border-color: rgba(255,119,0,0.22) !important;
  box-shadow: 0 16px 34px rgba(42,51,63,0.12) !important;
}

body.theme-home .hm-nav__brand,
body.home-modern:not(.theme-home) .hm-nav--glass .hm-nav__brand {
  border-right-color: rgba(255,119,0,0.18) !important;
}

body.theme-home .hm-nav__list > li > a,
body.home-modern:not(.theme-home) .hm-nav--glass .hm-nav__list > li > a {
  color: #283240 !important;
}

body.theme-home .hm-nav__list > li > a:hover,
body.theme-home .hm-nav__list > li > a:focus,
body.home-modern:not(.theme-home) .hm-nav--glass .hm-nav__list > li > a:hover,
body.home-modern:not(.theme-home) .hm-nav--glass .hm-nav__list > li > a:focus {
  background: #fff3e6 !important;
  color: #c25900 !important;
}

body.theme-home .hm-nav__list > li > a.hm-nav__active,
body.home-modern:not(.theme-home) .hm-nav--glass .hm-nav__list > li > a.hm-nav__active {
  background: #ff7700 !important;
  color: #ffffff !important;
}

body.theme-home .hm-burger span,
body.home-modern .hm-burger span {
  background: #ff7700 !important;
}

@media screen and (max-width: 860px) {
  body.home-modern .hm-header,
  body.theme-home .hm-header {
    background: #ffffff !important;
    border-bottom-color: rgba(255,119,0,0.14) !important;
  }

  body.home-modern .hm-burger,
  body.theme-home .hm-burger,
  body.home-modern:not(.theme-home) .hm-nav--glass .hm-burger {
    background: #fff3e6 !important;
    border: 1px solid rgba(255,119,0,0.18);
  }

  body.home-modern .hm-burger span,
  body.theme-home .hm-burger span {
    background: #ff7700 !important;
  }
}

/* Keep mobile hamburger visible over the light menu bar */
body.home-modern .hm-burger span,
body.home-modern:not(.theme-home) .hm-nav--glass .hm-burger span,
body.theme-home .hm-burger span {
  background-color: #ff7700 !important;
  opacity: 1 !important;
}

@media screen and (max-width: 860px) {
  body.home-modern .hm-burger,
  body.home-modern:not(.theme-home) .hm-nav--glass .hm-burger,
  body.theme-home .hm-burger {
    background-color: #fff3e6 !important;
  }

  body.home-modern .hm-burger span,
  body.home-modern:not(.theme-home) .hm-nav--glass .hm-burger span,
  body.theme-home .hm-burger span {
    display: block !important;
    background-color: #ff7700 !important;
  }
}

/* Readable submenu labels */
body.home-modern .hm-nav__sub li a,
body.home-modern .hm-nav--glass .hm-nav__sub li a,
body.theme-home .hm-nav__sub li a,
body.home-modern:not(.theme-home) .hm-nav--glass .hm-nav__sub li a {
  color: #111820 !important;
}

body.home-modern .hm-nav__sub li a:hover,
body.home-modern .hm-nav__sub li a:focus,
body.home-modern .hm-nav--glass .hm-nav__sub li a:hover,
body.home-modern .hm-nav--glass .hm-nav__sub li a:focus,
body.theme-home .hm-nav__sub li a:hover,
body.theme-home .hm-nav__sub li a:focus,
body.home-modern:not(.theme-home) .hm-nav--glass .hm-nav__sub li a:hover,
body.home-modern:not(.theme-home) .hm-nav--glass .hm-nav__sub li a:focus {
  color: #c25900 !important;
}

@media screen and (max-width: 640px) {
  html,
  body.home-modern {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  body.home-modern .hm-reveal,
  body.home-modern .pf-reveal,
  body.home-modern .page-profirst-suite .pf-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  body.theme-home .hm-hero {
    min-height: 0 !important;
    padding: 42px 12px 28px !important;
  }

  body.theme-home .hm-hero__inner,
  body.theme-home .hm-hero__grid,
  body.theme-home .hm-hero__copy {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    margin: 0 !important;
  }

  body.theme-home .hm-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.theme-home .hm-hero__since,
  body.theme-home .hm-hero__sub {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  body.theme-home .hm-hero__brandmark {
    max-width: 100%;
    flex-shrink: 1;
  }

  body.theme-home .hm-hero__title {
    max-width: 11ch;
    margin-top: 12px !important;
    font-size: 2.35rem !important;
    line-height: 1.04 !important;
  }

  body.theme-home .hm-hero__lead,
  body.theme-home .hm-hero__sub,
  body.theme-home .hm-hero__meta {
    margin-top: 12px !important;
    font-size: 1rem !important;
    line-height: 1.55 !important;
  }

  body.theme-home .hm-hero__actions,
  body.theme-home .hm-hero__stats {
    gap: 8px !important;
    margin-top: 16px !important;
  }

  body.theme-home .hm-hero__stats,
  body.theme-home .hm-stats__inner,
  body.theme-home .hm-software-layout,
  body.theme-home .hm-software-layout--interactive {
    grid-template-columns: 1fr !important;
  }

  body.theme-home .hm-hero__visual {
    display: none !important;
  }

  body.theme-home .hm-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body.theme-home .hm-hero__stat {
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 12px 8px !important;
  }

  body.theme-home .hm-hero__stat strong {
    font-size: 1.25rem !important;
  }

  body.theme-home .hm-hero__stat span {
    font-size: 0.72rem !important;
    line-height: 1.2 !important;
  }

  body.theme-home .hm-products,
  body.theme-home .hm-products--software,
  body.theme-home .hm-advantages,
  body.theme-home .hm-final-cta,
  body.theme-home .hm-proof-section {
    padding: 26px 12px !important;
  }

  body.theme-home .hm-products--software .hm-home__head {
    margin-bottom: 18px !important;
  }

  body.theme-home .hm-software-layout--interactive {
    min-height: 0 !important;
    gap: 12px !important;
  }

  body.theme-home .hm-software-detail {
    display: block;
    min-width: 0;
    scroll-margin-top: 100px;
  }

  body.theme-home .hm-software-list {
    gap: 8px !important;
    grid-auto-rows: auto !important;
  }

  body.theme-home .hm-software-row {
    min-height: 0 !important;
    padding: 14px !important;
  }

  body.theme-home .hm-software-row__text {
    font-size: 0.9rem !important;
    line-height: 1.38 !important;
  }

  body.home-modern .hm-nav__list,
  body.home-modern .hm-nav--glass .hm-nav__list,
  body.theme-home .hm-nav__list {
    right: 0 !important;
    transform: translateX(100%) !important;
    transition: transform .32s ease !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.home-modern .hm-nav__list:not(.open),
  body.home-modern .hm-nav--glass .hm-nav__list:not(.open),
  body.theme-home .hm-nav__list:not(.open) {
    display: none !important;
    width: 0 !important;
    max-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden !important;
  }

  body.home-modern .hm-nav__list:not(.open) *,
  body.home-modern .hm-nav--glass .hm-nav__list:not(.open) *,
  body.theme-home .hm-nav__list:not(.open) * {
    visibility: hidden !important;
  }

  body.home-modern .hm-nav__list.open,
  body.home-modern .hm-nav--glass .hm-nav__list.open,
  body.theme-home .hm-nav__list.open {
    display: flex !important;
    width: min(92vw, 360px) !important;
    max-width: 360px !important;
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  body.home-modern .cc-btn.cc-dismiss,
  body.home-modern .hm-nav__list > li > a.hm-nav__active,
  body.home-modern .hm-hero__cta,
  body.home-modern .prod-cta-bar__btn,
  body.home-modern .download-form-embed button,
  body.home-modern .download-form-embed input[type="submit"] {
    background: #b85100 !important;
    border-color: #b85100 !important;
    color: #ffffff !important;
  }

  body.home-modern .prod-pill,
  body.home-modern .info-pill,
  body.home-modern .pf-pill {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(255, 255, 255, 0.95) !important;
    color: #1f2933 !important;
  }

  body.home-modern .prod-pill:hover,
  body.home-modern .prod-pill:focus,
  body.home-modern .info-pill:hover,
  body.home-modern .info-pill:focus,
  body.home-modern .pf-pill:hover,
  body.home-modern .pf-pill:focus,
  body.home-modern .pf-pill.active {
    background: #ffffff !important;
    color: #b85100 !important;
  }

  body.home-modern .hm-hero__cta--ghost,
  body.home-modern .pf-suite-button--ghost,
  body.home-modern .pf-modern-button--ghost,
  body.home-modern .cut-button--ghost {
    background: rgba(255, 255, 255, 0.94) !important;
    border-color: rgba(255, 255, 255, 0.98) !important;
    color: #1f2933 !important;
  }

  body.home-modern .download-share a {
    background: #ffffff !important;
    border-color: rgba(184, 81, 0, 0.28) !important;
    color: #8a3d00 !important;
  }

  body.home-modern .download-eyebrow,
  body.home-modern .pf-modern-kicker,
  body.home-modern .cut-kicker {
    background: #fff7ef !important;
    border-color: rgba(184, 81, 0, 0.22) !important;
    color: #8a3d00 !important;
  }
}
/* PageSpeed: keep small labels and footer links readable. */
body.home-modern .hm-home__eyebrow { color:#525c66!important; }
body.home-modern .hm-software-row__meta { color:#59636d!important; opacity:1!important; }
body.home-modern .hm-software-panel__link { color:#a44700!important; }
body.home-modern .hm-footer a { color:#fff!important; text-decoration:underline; }
