/*
 * Motion Grid
 * Tema pubblico moderno, pulito e professionale per MicroSite CMS.
 * Autore: Sandro Brotini
 */

/* =========================================================
   Fondamenta
   ========================================================= */
html .cms-site.theme-motion-grid {
  --motion-container: 1600px;
  --motion-content: 1180px;
  --motion-gutter: clamp(18px, 3.2vw, 56px);
  --motion-green: #78ce45;
  --motion-green-deep: #5caf31;
  --motion-green-soft: #edf9e7;
  --motion-slate: #566f85;
  --motion-slate-deep: #2e4354;
  --motion-slate-soft: #eef3f6;
  --motion-canvas: #f5f8fa;
  --motion-surface: #ffffff;
  --motion-surface-soft: #f0f5f7;
  --motion-ink: #1b2934;
  --motion-ink-soft: #334b5d;
  --motion-muted: #687d8e;
  --motion-line: #dbe4e9;
  --motion-line-strong: #c8d4dc;
  --motion-dark: #263b4c;
  --motion-dark-soft: #334d60;
  --motion-success: #397e27;
  --motion-danger: #b42318;
  --motion-radius-sm: 8px;
  --motion-radius: 14px;
  --motion-radius-lg: 22px;
  --motion-shadow-sm: 0 10px 30px rgba(42, 64, 81, 0.07);
  --motion-shadow: 0 26px 70px rgba(42, 64, 81, 0.13);
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--motion-canvas);
  color: var(--motion-ink);
  font-family: var(--cms-font-body), system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html .cms-site.theme-motion-grid *,
html .cms-site.theme-motion-grid *::before,
html .cms-site.theme-motion-grid *::after {
  box-sizing: border-box;
}

html .cms-site.theme-motion-grid img,
html .cms-site.theme-motion-grid svg,
html .cms-site.theme-motion-grid video {
  max-width: 100%;
}

html .cms-site.theme-motion-grid a {
  color: inherit;
}

html .cms-site.theme-motion-grid button,
html .cms-site.theme-motion-grid input,
html .cms-site.theme-motion-grid textarea,
html .cms-site.theme-motion-grid select {
  font: inherit;
}

html .cms-site.theme-motion-grid ::selection {
  background: var(--motion-green);
  color: #ffffff;
}

html .cms-site.theme-motion-grid .skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 11px 16px;
  border-radius: var(--motion-radius-sm);
  background: var(--motion-dark);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease;
}

html .cms-site.theme-motion-grid .skip-link:focus {
  transform: translateY(0);
}

html .cms-site.theme-motion-grid :where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid color-mix(in srgb, var(--motion-green) 36%, transparent);
  outline-offset: 3px;
}

/* =========================================================
   Header e navigazione
   ========================================================= */
html .cms-site.theme-motion-grid .site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  width: 100%;
  border-bottom: 1px solid rgba(16, 24, 40, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

html .cms-site.theme-motion-grid.is-scrolled .site-header {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
}

html .cms-site.theme-motion-grid .site-header-inner {
  width: min(var(--motion-container), calc(100% - var(--motion-gutter) - var(--motion-gutter)));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 48px);
}

html .cms-site.theme-motion-grid .site-logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--motion-ink);
  font-family: var(--cms-font-headings), system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

html .cms-site.theme-motion-grid .site-logo picture {
  display: inline-flex;
  align-items: center;
}

html .cms-site.theme-motion-grid .site-logo img {
  display: block;
  width: auto;
  height: 52px;
  max-width: 230px;
  object-fit: contain;
}

html .cms-site.theme-motion-grid .site-logo span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-left: 4px solid var(--motion-green);
  background: #ffffff;
}

html .cms-site.theme-motion-grid .site-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

html .cms-site.theme-motion-grid .site-menu ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

html .cms-site.theme-motion-grid .site-menu li {
  position: relative;
  margin: 0;
  padding: 0;
}

html .cms-site.theme-motion-grid .site-menu a,
html .cms-site.theme-motion-grid .site-menu .site-menu-placeholder {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--motion-radius-sm);
  color: var(--motion-ink-soft);
  font-family: var(--cms-font-menu), system-ui, sans-serif;
  font-size: 0.93rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

html .cms-site.theme-motion-grid .site-menu a:hover {
  background: var(--motion-surface-soft);
  color: var(--motion-ink);
}

html .cms-site.theme-motion-grid .site-menu .menu-item-active > a,
html .cms-site.theme-motion-grid .site-menu .menu-item-current > a,
html .cms-site.theme-motion-grid .site-menu a[aria-current="page"] {
  background: color-mix(in srgb, var(--motion-green) 10%, #ffffff);
  color: var(--motion-green);
}

html .cms-site.theme-motion-grid .site-menu .menu-item-active > a::after,
html .cms-site.theme-motion-grid .site-menu .menu-item-current > a::after,
html .cms-site.theme-motion-grid .site-menu a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 5px;
  left: 14px;
  height: 2px;
  background: currentColor;
}

html .cms-site.theme-motion-grid .site-menu .site-menu-placeholder {
  color: var(--motion-muted);
  cursor: default;
}

html .cms-site.theme-motion-grid .site-menu .menu-icon {
  font-size: 1rem;
}

html .cms-site.theme-motion-grid .site-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--motion-line);
  border-radius: var(--motion-radius-sm);
  background: #ffffff;
  color: var(--motion-ink);
  cursor: pointer;
}

html .cms-site.theme-motion-grid .site-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

html .cms-site.theme-motion-grid.is-menu-open .site-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

html .cms-site.theme-motion-grid.is-menu-open .site-menu-toggle span:nth-child(2) {
  opacity: 0;
}

html .cms-site.theme-motion-grid.is-menu-open .site-menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   Layout principale e tipografia
   ========================================================= */
html .cms-site.theme-motion-grid .site-main {
  width: min(var(--motion-container), calc(100% - var(--motion-gutter) - var(--motion-gutter)));
  margin: 0 auto;
  padding: clamp(26px, 4vw, 58px) 0 clamp(104px, 10vw, 150px);
}

html .cms-site.theme-motion-grid .site-main :where(h1, h2, h3, h4, h5, h6) {
  color: var(--motion-ink);
  font-family: var(--cms-font-headings), system-ui, sans-serif;
  text-wrap: balance;
}

html .cms-site.theme-motion-grid .site-main :where(p, li) {
  text-wrap: pretty;
}

html .cms-site.theme-motion-grid .site-main :where(ul, ol) {
  padding-left: 1.35em;
}

html .cms-site.theme-motion-grid .site-main :where(blockquote) {
  margin: 30px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--motion-green);
  background: color-mix(in srgb, var(--motion-green) 6%, #ffffff);
  color: var(--motion-ink-soft);
}

html .cms-site.theme-motion-grid .site-main :where(table) {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--motion-line);
  background: #ffffff;
}

html .cms-site.theme-motion-grid .site-main :where(th, td) {
  padding: 13px 15px;
  border-bottom: 1px solid var(--motion-line);
  text-align: left;
  vertical-align: top;
}

html .cms-site.theme-motion-grid .site-main :where(th) {
  background: var(--motion-surface-soft);
  color: var(--motion-ink);
  font-weight: 750;
}

/* =========================================================
   Hero home
   ========================================================= */
html .cms-site.theme-motion-grid .hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.55fr);
  align-items: stretch;
  gap: clamp(28px, 5vw, 80px);
  min-height: clamp(560px, 66vh, 760px);
  overflow: hidden;
  padding: clamp(42px, 6vw, 96px);
  border: 1px solid var(--motion-line);
  border-radius: var(--motion-radius-lg);
  background-color: #ffffff;
  background-image:
    radial-gradient(circle at 86% 14%, color-mix(in srgb, var(--motion-slate) 22%, transparent), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--motion-green) 8%, #ffffff), #ffffff 56%, color-mix(in srgb, var(--motion-slate) 10%, #ffffff));
  box-shadow: var(--motion-shadow-sm);
}

html .cms-site.theme-motion-grid .hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: min(34vw, 480px);
  height: 8px;
  background: linear-gradient(90deg, var(--motion-green), var(--motion-slate));
}

html .cms-site.theme-motion-grid .hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -110px;
  bottom: -150px;
  width: 420px;
  height: 420px;
  border: 1px solid color-mix(in srgb, var(--motion-green) 16%, transparent);
  border-radius: 50%;
  box-shadow:
    0 0 0 60px color-mix(in srgb, var(--motion-green) 4%, transparent),
    0 0 0 120px color-mix(in srgb, var(--motion-green) 3%, transparent);
}

html .cms-site.theme-motion-grid .hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 960px;
}

html .cms-site.theme-motion-grid .eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 11px;
  border: 1px solid color-mix(in srgb, var(--motion-green) 18%, var(--motion-line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--motion-green) 7%, #ffffff);
  color: var(--motion-green);
  font-family: var(--cms-font-menu), system-ui, sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

html .cms-site.theme-motion-grid .hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3.3rem, 7vw, 7rem);
  font-weight: 720;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

html .cms-site.theme-motion-grid .hero p {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--motion-muted);
  font-size: clamp(1.08rem, 1.5vw, 1.34rem);
  line-height: 1.65;
}

html .cms-site.theme-motion-grid .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

html .cms-site.theme-motion-grid .hero-card {
  position: relative;
  z-index: 2;
  align-self: end;
  display: grid;
  align-content: end;
  gap: 12px;
  min-height: 300px;
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--motion-radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 46%),
    var(--motion-dark);
  color: #ffffff;
  box-shadow: 0 28px 70px rgba(16, 24, 40, 0.20);
}

html .cms-site.theme-motion-grid .hero-card::before {
  content: "";
  position: absolute;
  top: 22px;
  right: 22px;
  width: 38px;
  height: 38px;
  border-top: 2px solid var(--motion-slate);
  border-right: 2px solid var(--motion-slate);
}

html .cms-site.theme-motion-grid .hero-card strong {
  color: #ffffff;
  font-family: var(--cms-font-headings), system-ui, sans-serif;
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

html .cms-site.theme-motion-grid .hero-card span {
  color: #d8e2e8;
  line-height: 1.7;
}

html .cms-site.theme-motion-grid.has-home-hero-custom .hero,
html .cms-site.theme-motion-grid.has-page-featured-hero .hero {
  border-color: transparent;
  box-shadow: 0 28px 80px rgba(16, 24, 40, 0.20);
}

html .cms-site.theme-motion-grid.has-home-hero-custom .hero::after,
html .cms-site.theme-motion-grid.has-page-featured-hero .hero::after {
  opacity: 0.35;
}

/* =========================================================
   Hero pagine interne
   ========================================================= */
html .cms-site.theme-motion-grid .page-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: end;
  gap: 16px;
  min-height: clamp(340px, 42vw, 560px);
  margin: 0 0 clamp(28px, 4vw, 56px);
  overflow: hidden;
  padding: clamp(42px, 7vw, 104px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--motion-radius-lg);
  background:
    radial-gradient(circle at 86% 10%, color-mix(in srgb, var(--motion-green) 48%, transparent), transparent 34%),
    linear-gradient(135deg, #263b4c, #334d60 58%, color-mix(in srgb, var(--motion-green) 46%, #263b4c));
  color: #ffffff;
  box-shadow: var(--motion-shadow-sm);
}

html .cms-site.theme-motion-grid .page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 42px;
  bottom: 34px;
  width: 90px;
  height: 90px;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

html .cms-site.theme-motion-grid .page-hero h1 {
  max-width: 1100px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.8rem, 6.2vw, 6.2rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

html .cms-site.theme-motion-grid .page-hero p {
  max-width: 820px;
  margin: 0;
  color: #c8d4dc;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.68;
}

html .cms-site.theme-motion-grid .page-hero .eyebrow {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
}

html .cms-site.theme-motion-grid.has-page-featured-hero .page-hero {
  min-height: clamp(460px, 56vw, 760px);
  box-shadow: 0 30px 80px rgba(16, 24, 40, 0.24);
}

/* =========================================================
   Sezioni, contenitori e pulsanti
   ========================================================= */
html .cms-site.theme-motion-grid .section {
  padding: clamp(54px, 7vw, 104px) 0;
}

html .cms-site.theme-motion-grid .section-soft {
  position: relative;
  margin: clamp(24px, 4vw, 52px) 0;
  padding: clamp(34px, 5.5vw, 78px);
  border: 1px solid var(--motion-line);
  border-radius: var(--motion-radius-lg);
  background: #ffffff;
  box-shadow: var(--motion-shadow-sm);
}

html .cms-site.theme-motion-grid .section-soft::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(34px, 5.5vw, 78px);
  width: 86px;
  height: 4px;
  background: linear-gradient(90deg, var(--motion-green), var(--motion-slate));
}

html .cms-site.theme-motion-grid .section-head,
html .cms-site.theme-motion-grid .section-title {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0 0 clamp(28px, 4vw, 50px);
}

html .cms-site.theme-motion-grid .section-head h2,
html .cms-site.theme-motion-grid .section-title h2,
html .cms-site.theme-motion-grid .content-card h2,
html .cms-site.theme-motion-grid .contact-card h2,
html .cms-site.theme-motion-grid .cta-band h2 {
  margin: 0;
  font-size: clamp(2.15rem, 4.4vw, 4.8rem);
  font-weight: 690;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

html .cms-site.theme-motion-grid .section-head p,
html .cms-site.theme-motion-grid .section-title p {
  max-width: 760px;
  margin: 0;
  color: var(--motion-muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.75;
}

html .cms-site.theme-motion-grid .cms-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 13px 20px;
  border: 1px solid var(--motion-green);
  border-radius: var(--motion-radius-sm);
  background: var(--motion-green);
  color: #ffffff;
  font-family: var(--cms-font-menu), system-ui, sans-serif;
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--motion-green) 22%, transparent);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

html .cms-site.theme-motion-grid .cms-button:hover {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--motion-green) 90%, #000000);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--motion-green) 28%, transparent);
}

html .cms-site.theme-motion-grid .cms-button-light {
  border-color: var(--motion-line-strong);
  background: #ffffff;
  color: var(--motion-ink);
  box-shadow: none;
}

html .cms-site.theme-motion-grid .cms-button-light:hover {
  border-color: var(--motion-ink);
  background: #ffffff;
  color: var(--motion-ink);
  box-shadow: var(--motion-shadow-sm);
}

html .cms-site.theme-motion-grid .hero .cms-button-light,
html .cms-site.theme-motion-grid .page-hero .cms-button-light {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.95);
  color: var(--motion-ink);
}

/* =========================================================
   Blocchi contenuto e feature
   ========================================================= */
html .cms-site.theme-motion-grid .feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

html .cms-site.theme-motion-grid .feature-grid article,
html .cms-site.theme-motion-grid .content-card,
html .cms-site.theme-motion-grid .contact-card {
  position: relative;
  min-width: 0;
  padding: clamp(26px, 3.5vw, 46px);
  border: 1px solid var(--motion-line);
  border-radius: var(--motion-radius);
  background: #ffffff;
  box-shadow: var(--motion-shadow-sm);
}

html .cms-site.theme-motion-grid .feature-grid article {
  overflow: hidden;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

html .cms-site.theme-motion-grid .feature-grid article::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--motion-green), var(--motion-slate));
  transform: scaleX(0.34);
  transform-origin: left;
  transition: transform 0.24s ease;
}

html .cms-site.theme-motion-grid .feature-grid article:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--motion-green) 25%, var(--motion-line));
  box-shadow: var(--motion-shadow);
}

html .cms-site.theme-motion-grid .feature-grid article:hover::before {
  transform: scaleX(1);
}

html .cms-site.theme-motion-grid .feature-grid h3,
html .cms-site.theme-motion-grid .contact-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 680;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

html .cms-site.theme-motion-grid .feature-grid p,
html .cms-site.theme-motion-grid .content-card p,
html .cms-site.theme-motion-grid .contact-card p {
  color: var(--motion-muted);
  line-height: 1.78;
}

html .cms-site.theme-motion-grid .content-card > :first-child,
html .cms-site.theme-motion-grid .contact-card > :first-child {
  margin-top: 0;
}

html .cms-site.theme-motion-grid .content-card > :last-child,
html .cms-site.theme-motion-grid .contact-card > :last-child {
  margin-bottom: 0;
}

/* =========================================================
   Prodotti e servizi
   ========================================================= */
html .cms-site.theme-motion-grid .cms-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 32px);
  width: 100%;
}

html .cms-site.theme-motion-grid .cms-product-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--motion-line);
  border-radius: var(--motion-radius);
  background: #ffffff;
  box-shadow: var(--motion-shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

html .cms-site.theme-motion-grid .cms-product-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--motion-green) 24%, var(--motion-line));
  box-shadow: var(--motion-shadow);
}

html .cms-site.theme-motion-grid .cms-product-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--motion-surface-soft);
}

html .cms-site.theme-motion-grid .cms-product-card-media img,
html .cms-site.theme-motion-grid .cms-product-card > img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.45s ease;
}

html .cms-site.theme-motion-grid .cms-product-card:hover .cms-product-card-media img,
html .cms-site.theme-motion-grid .cms-product-card:hover > img {
  transform: scale(1.035);
}

html .cms-site.theme-motion-grid .cms-product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  padding: clamp(22px, 2.6vw, 32px);
}

html .cms-site.theme-motion-grid .cms-product-card-body .cms-product-card-eyebrow {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--motion-green);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

html .cms-site.theme-motion-grid .cms-product-card-body h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 680;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

html .cms-site.theme-motion-grid .cms-product-card-body h3 a {
  text-decoration: none;
}

html .cms-site.theme-motion-grid .cms-product-card-body h3 a:hover {
  color: var(--motion-green);
}

html .cms-site.theme-motion-grid .cms-product-card-body p {
  margin: 0;
  color: var(--motion-muted);
  line-height: 1.72;
}

html .cms-site.theme-motion-grid .cms-product-card-body strong {
  color: var(--motion-ink);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

html .cms-site.theme-motion-grid .cms-product-card-body .cms-button {
  width: 100%;
  margin-top: auto;
}

html .cms-site.theme-motion-grid .cms-product-category-section .section-title {
  margin-bottom: clamp(24px, 3vw, 42px);
}

html .cms-site.theme-motion-grid .cms-product-detail-hero {
  align-items: end;
}

html .cms-site.theme-motion-grid .cms-product-detail-intro {
  max-width: 980px;
}

html .cms-site.theme-motion-grid .cms-product-detail-price {
  display: inline-flex;
  margin-top: 20px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--motion-radius-sm);
  background: rgba(255, 255, 255, 0.10);
  color: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

html .cms-site.theme-motion-grid .cms-product-detail-body {
  width: 100%;
  max-width: none;
  padding-top: 0;
}

html .cms-site.theme-motion-grid .cms-product-detail-content {
  width: 100%;
  max-width: none;
  padding: clamp(30px, 4.5vw, 68px);
}

html .cms-site.theme-motion-grid .cms-product-detail-content :where(h2, h3, h4) {
  margin-top: 1.55em;
  margin-bottom: 0.55em;
  letter-spacing: -0.035em;
}

html .cms-site.theme-motion-grid .cms-product-detail-content :where(img) {
  width: 100%;
  margin: 28px 0;
  border-radius: var(--motion-radius-sm);
}

/* Carosello prodotti: massimo tre card desktop */
html .cms-site.theme-motion-grid .cms-products-grid.cms-products-carousel {
  display: block;
  position: relative;
  --cms-products-carousel-gap: 24px;
}

html .cms-site.theme-motion-grid [data-products-carousel] .cms-products-carousel-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 4px 14px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

html .cms-site.theme-motion-grid [data-products-carousel] .cms-products-carousel-viewport::-webkit-scrollbar {
  display: none;
}

html .cms-site.theme-motion-grid [data-products-carousel] .cms-products-carousel-track,
html .cms-site.theme-motion-grid [data-cms-products-carousel] .cms-products-carousel-track {
  display: flex;
  width: 100%;
  max-width: 100%;
  align-items: stretch;
  gap: var(--cms-products-carousel-gap);
}

html .cms-site.theme-motion-grid [data-products-carousel] .cms-products-carousel-track .cms-product-card,
html .cms-site.theme-motion-grid [data-cms-products-carousel] .cms-products-carousel-track .cms-product-card {
  flex: 0 0 calc(33.333333% - 16px);
  max-width: calc(33.333333% - 16px);
  min-width: 0;
  scroll-snap-align: start;
}

html .cms-site.theme-motion-grid .cms-products-carousel-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

html .cms-site.theme-motion-grid .cms-products-carousel-arrow {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--motion-line-strong);
  border-radius: var(--motion-radius-sm);
  background: #ffffff;
  color: var(--motion-ink);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

html .cms-site.theme-motion-grid .cms-products-carousel-arrow:hover {
  border-color: var(--motion-green);
  background: var(--motion-green);
  color: #ffffff;
}

/* =========================================================
   Blog e news
   ========================================================= */
html .cms-site.theme-motion-grid .cms-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 32px);
  width: 100%;
}

html .cms-site.theme-motion-grid .cms-blog-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--motion-line);
  border-radius: var(--motion-radius);
  background: #ffffff;
  box-shadow: var(--motion-shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

html .cms-site.theme-motion-grid .cms-blog-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--motion-green) 24%, var(--motion-line));
  box-shadow: var(--motion-shadow);
}

html .cms-site.theme-motion-grid .cms-blog-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--motion-surface-soft);
}

html .cms-site.theme-motion-grid .cms-blog-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

html .cms-site.theme-motion-grid .cms-blog-card:hover .cms-blog-card-media img {
  transform: scale(1.035);
}

html .cms-site.theme-motion-grid .cms-blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(22px, 2.6vw, 32px);
}

html .cms-site.theme-motion-grid .cms-blog-card-eyebrow {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--motion-green);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

html .cms-site.theme-motion-grid .cms-blog-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 680;
  letter-spacing: -0.04em;
  line-height: 1.14;
}

html .cms-site.theme-motion-grid .cms-blog-card h3 a {
  text-decoration: none;
}

html .cms-site.theme-motion-grid .cms-blog-card h3 a:hover {
  color: var(--motion-green);
}

html .cms-site.theme-motion-grid .cms-blog-card-date,
html .cms-site.theme-motion-grid .cms-blog-detail-date {
  color: var(--motion-muted);
  font-family: var(--cms-font-menu), system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

html .cms-site.theme-motion-grid .cms-blog-card p {
  margin: 0;
  color: var(--motion-muted);
  line-height: 1.72;
}

html .cms-site.theme-motion-grid .cms-blog-card-link {
  width: 100%;
  margin-top: auto;
}

html .cms-site.theme-motion-grid .cms-blog-empty {
  padding: 24px;
  border: 1px dashed var(--motion-line-strong);
  border-radius: var(--motion-radius);
  background: #ffffff;
  color: var(--motion-muted);
  text-align: center;
}

html .cms-site.theme-motion-grid .cms-blog-category-section .section-head {
  margin-bottom: clamp(24px, 3vw, 42px);
}

html .cms-site.theme-motion-grid .cms-blog-detail-intro {
  max-width: 980px;
}

html .cms-site.theme-motion-grid .cms-blog-detail-body {
  padding-top: 0;
}

html .cms-site.theme-motion-grid .cms-blog-detail-content {
  max-width: 1040px;
  margin-inline: auto;
  padding: clamp(30px, 4.5vw, 68px);
}

html .cms-site.theme-motion-grid .cms-blog-detail-content :where(h2, h3, h4) {
  margin-top: 1.6em;
  margin-bottom: 0.55em;
  letter-spacing: -0.035em;
}

html .cms-site.theme-motion-grid .cms-blog-detail-content :where(img) {
  width: 100%;
  margin: 30px 0;
  border-radius: var(--motion-radius-sm);
}

html .cms-site.theme-motion-grid .cms-blog-more {
  border-top: 1px solid var(--motion-line);
}

/* =========================================================
   Gallery e lightbox
   ========================================================= */
html .cms-site.theme-motion-grid .cms-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 20px);
}

html .cms-site.theme-motion-grid .cms-gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--motion-line);
  border-radius: var(--motion-radius-sm);
  background: var(--motion-surface-soft);
}

html .cms-site.theme-motion-grid .cms-gallery-item::after {
  content: "+";
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: var(--motion-radius-sm);
  background: rgba(17, 24, 39, 0.66);
  color: #ffffff;
  font-size: 1.45rem;
  line-height: 1;
  opacity: 0;
  backdrop-filter: blur(8px);
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

html .cms-site.theme-motion-grid .cms-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

html .cms-site.theme-motion-grid .cms-gallery-item:hover img {
  transform: scale(1.04);
  filter: brightness(0.84);
}

html .cms-site.theme-motion-grid .cms-gallery-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

html .cms-site.theme-motion-grid.is-lightbox-open,
html .cms-site.theme-motion-grid.is-cookie-open {
  overflow: hidden;
}

html .cms-site.theme-motion-grid .cms-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  place-items: center;
  padding: clamp(16px, 4vw, 52px);
  background: rgba(8, 12, 20, 0.94);
  backdrop-filter: blur(12px);
}

html .cms-site.theme-motion-grid .cms-lightbox.is-open {
  display: grid;
}

html .cms-site.theme-motion-grid .cms-lightbox-figure {
  display: grid;
  width: min(1380px, 100%);
  gap: 14px;
  margin: 0;
}

html .cms-site.theme-motion-grid .cms-lightbox-image {
  display: block;
  width: 100%;
  max-height: calc(100vh - 150px);
  border-radius: var(--motion-radius-sm);
  object-fit: contain;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

html .cms-site.theme-motion-grid .cms-lightbox-caption {
  justify-self: center;
  color: #ffffff;
  font-weight: 650;
  text-align: center;
}

html .cms-site.theme-motion-grid .cms-lightbox-close,
html .cms-site.theme-motion-grid .cms-lightbox-nav {
  position: fixed;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--motion-radius-sm);
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
  backdrop-filter: blur(10px);
  cursor: pointer;
}

html .cms-site.theme-motion-grid .cms-lightbox-close {
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  font-size: 1.8rem;
}

html .cms-site.theme-motion-grid .cms-lightbox-nav {
  top: 50%;
  width: 52px;
  height: 72px;
  transform: translateY(-50%);
  font-size: 2.6rem;
}

html .cms-site.theme-motion-grid .cms-lightbox-prev {
  left: 20px;
}

html .cms-site.theme-motion-grid .cms-lightbox-next {
  right: 20px;
}

html .cms-site.theme-motion-grid .cms-lightbox-nav[hidden],
html .cms-site.theme-motion-grid .cms-lightbox-caption[hidden] {
  display: none;
}

/* =========================================================
   FAQ
   ========================================================= */
html .cms-site.theme-motion-grid .cms-faq-list {
  display: grid;
  gap: 12px;
}

html .cms-site.theme-motion-grid .cms-faq-item {
  overflow: hidden;
  border: 1px solid var(--motion-line);
  border-radius: var(--motion-radius-sm);
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(16, 24, 40, 0.035);
}

html .cms-site.theme-motion-grid .cms-faq-item[open] {
  border-color: color-mix(in srgb, var(--motion-green) 28%, var(--motion-line));
  box-shadow: var(--motion-shadow-sm);
}

html .cms-site.theme-motion-grid .cms-faq-item summary {
  position: relative;
  padding: 20px 64px 20px 22px;
  color: var(--motion-ink);
  font-family: var(--cms-font-headings), system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 680;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

html .cms-site.theme-motion-grid .cms-faq-item summary::-webkit-details-marker {
  display: none;
}

html .cms-site.theme-motion-grid .cms-faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--motion-line-strong);
  border-radius: var(--motion-radius-sm);
  color: var(--motion-green);
  font-size: 1.3rem;
  line-height: 1;
  transform: translateY(-50%);
}

html .cms-site.theme-motion-grid .cms-faq-item[open] summary::after {
  content: "−";
  border-color: var(--motion-green);
  background: var(--motion-green);
  color: #ffffff;
}

html .cms-site.theme-motion-grid .cms-faq-item > div {
  padding: 0 22px 22px;
  color: var(--motion-muted);
  line-height: 1.78;
}

html .cms-site.theme-motion-grid .cms-faq-item > div > :first-child {
  margin-top: 0;
}

html .cms-site.theme-motion-grid .cms-faq-item > div > :last-child {
  margin-bottom: 0;
}

/* =========================================================
   Form e contatti
   ========================================================= */
html .cms-site.theme-motion-grid .contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(20px, 3vw, 42px);
}

html .cms-site.theme-motion-grid .cms-form-wrap {
  scroll-margin-top: 110px;
}

html .cms-site.theme-motion-grid .cms-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

html .cms-site.theme-motion-grid .cms-form-field {
  display: grid;
  min-width: 0;
  gap: 8px;
}

html .cms-site.theme-motion-grid .cms-form-field-textarea,
html .cms-site.theme-motion-grid .cms-form-field-checkbox,
html .cms-site.theme-motion-grid .cms-form > .cms-button {
  grid-column: 1 / -1;
}

html .cms-site.theme-motion-grid .cms-form-field label {
  color: var(--motion-ink-soft);
  font-family: var(--cms-font-menu), system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
}

html .cms-site.theme-motion-grid .cms-form-field input,
html .cms-site.theme-motion-grid .cms-form-field textarea,
html .cms-site.theme-motion-grid .cms-form-field select {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid var(--motion-line-strong);
  border-radius: var(--motion-radius-sm);
  background: #ffffff;
  color: var(--motion-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

html .cms-site.theme-motion-grid .cms-form-field input:hover,
html .cms-site.theme-motion-grid .cms-form-field textarea:hover,
html .cms-site.theme-motion-grid .cms-form-field select:hover {
  border-color: #8ea0ae;
}

html .cms-site.theme-motion-grid .cms-form-field input:focus,
html .cms-site.theme-motion-grid .cms-form-field textarea:focus,
html .cms-site.theme-motion-grid .cms-form-field select:focus {
  outline: none;
  border-color: var(--motion-green);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--motion-green) 14%, transparent);
}

html .cms-site.theme-motion-grid .cms-form-field textarea {
  min-height: 150px;
  resize: vertical;
}

html .cms-site.theme-motion-grid .cms-form-field input[type="file"] {
  padding: 10px;
}

html .cms-site.theme-motion-grid .cms-form-field-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px;
  border: 1px solid var(--motion-line);
  border-radius: var(--motion-radius-sm);
  background: var(--motion-surface-soft);
  cursor: pointer;
}

html .cms-site.theme-motion-grid .cms-form-field-checkbox input[type="checkbox"] {
  width: 19px;
  min-width: 19px;
  height: 19px;
  min-height: 0;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--motion-green);
}

html .cms-site.theme-motion-grid .cms-form-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

html .cms-site.theme-motion-grid .cms-form-unavailable {
  padding: 16px;
  border: 1px solid #fecdca;
  border-radius: var(--motion-radius-sm);
  background: #fef3f2;
  color: var(--motion-danger);
}

html .cms-site.theme-motion-grid .cms-form-notice {
  display: grid;
  gap: 5px;
  margin: 0 0 20px;
  padding: 16px 18px;
  border: 1px solid var(--motion-line);
  border-left-width: 4px;
  border-radius: var(--motion-radius-sm);
  background: #ffffff;
}

html .cms-site.theme-motion-grid .cms-form-notice-success {
  border-color: #abefc6;
  border-left-color: var(--motion-success);
  background: #ecfdf3;
  color: #05603a;
}

html .cms-site.theme-motion-grid .cms-form-notice-error {
  border-color: #fecdca;
  border-left-color: var(--motion-danger);
  background: #fef3f2;
  color: #912018;
}

html .cms-site.theme-motion-grid .cms-form-notice-title {
  font-weight: 800;
}

html .cms-site.theme-motion-grid .cms-form-notice-message {
  line-height: 1.55;
}

/* =========================================================
   CTA
   ========================================================= */
html .cms-site.theme-motion-grid .cta-band {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  gap: 14px;
  margin: clamp(34px, 6vw, 82px) 0 0;
  overflow: hidden;
  padding: clamp(42px, 7vw, 92px);
  border-radius: var(--motion-radius-lg);
  background:
    radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--motion-green) 62%, transparent), transparent 34%),
    linear-gradient(135deg, #263b4c, #334d60);
  color: #ffffff;
  text-align: center;
  box-shadow: var(--motion-shadow);
}

html .cms-site.theme-motion-grid .cta-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -90px;
  bottom: -130px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

html .cms-site.theme-motion-grid .cta-band h2 {
  max-width: 980px;
  color: #ffffff;
}

html .cms-site.theme-motion-grid .cta-band p {
  max-width: 720px;
  margin: 0 0 8px;
  color: #c8d4dc;
  font-size: 1.08rem;
}

html .cms-site.theme-motion-grid .cta-band .cms-button {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--motion-ink);
  box-shadow: none;
}

html .cms-site.theme-motion-grid .cta-band .cms-button:hover {
  border-color: var(--motion-slate);
  background: var(--motion-slate);
  color: #ffffff;
}

/* =========================================================
   Footer
   ========================================================= */
html .cms-site.theme-motion-grid .site-footer {
  margin-top: 0;
  padding: clamp(48px, 7vw, 92px) var(--motion-gutter) calc(104px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0c111d;
  color: #c8d4dc;
}

html .cms-site.theme-motion-grid .site-footer-grid {
  width: min(var(--motion-container), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(180px, 0.7fr) minmax(180px, 0.7fr);
  gap: clamp(30px, 5vw, 84px);
}

html .cms-site.theme-motion-grid .site-footer-logo {
  display: block;
  width: auto;
  max-width: 230px;
  max-height: 72px;
  margin: 0 0 22px;
  object-fit: contain;
}

html .cms-site.theme-motion-grid .site-footer h3 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 720;
  letter-spacing: -0.02em;
}

html .cms-site.theme-motion-grid .site-footer p {
  margin: 0 0 8px;
  color: #8ea0ae;
  line-height: 1.62;
}

html .cms-site.theme-motion-grid .site-footer-business-name {
  margin-bottom: 10px;
}

html .cms-site.theme-motion-grid .site-footer-business-name strong {
  color: #ffffff;
  font-family: var(--cms-font-headings), system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

html .cms-site.theme-motion-grid .site-footer-payoff {
  max-width: 560px;
  margin-bottom: 18px;
}

html .cms-site.theme-motion-grid .site-footer-data-label {
  color: #c8d4dc;
  font-weight: 650;
}

html .cms-site.theme-motion-grid .site-footer a {
  color: #c8d4dc;
  text-decoration-color: rgba(208, 213, 221, 0.38);
  text-underline-offset: 3px;
}

html .cms-site.theme-motion-grid .site-footer a:hover {
  color: #ffffff;
}

html .cms-site.theme-motion-grid .site-footer-menu ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

html .cms-site.theme-motion-grid .site-footer-menu a,
html .cms-site.theme-motion-grid .site-footer-menu .site-menu-placeholder {
  display: inline-flex;
  padding: 2px 0;
  text-decoration: none;
}

html .cms-site.theme-motion-grid .site-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

html .cms-site.theme-motion-grid .site-socials a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--motion-radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

html .cms-site.theme-motion-grid .site-socials a:hover {
  transform: translateY(-2px);
  border-color: var(--motion-green);
  background: var(--motion-green);
}

html .cms-site.theme-motion-grid .site-footer-bottom {
  width: min(var(--motion-container), 100%);
  margin: clamp(34px, 5vw, 66px) auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: #687d8e;
  font-size: 0.9rem;
}

html .cms-site.theme-motion-grid .site-footer-bottom button {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #c8d4dc;
  text-decoration: underline;
  text-decoration-color: rgba(208, 213, 221, 0.38);
  text-underline-offset: 3px;
  cursor: pointer;
}

/* =========================================================
   Sticky contact bar
   ========================================================= */
html .cms-site.theme-motion-grid .sticky-contact-bar {
  position: fixed;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 150;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: min(520px, calc(100% - 28px));
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--motion-radius);
  background: rgba(12, 17, 29, 0.94);
  box-shadow: 0 20px 55px rgba(16, 24, 40, 0.30);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

html .cms-site.theme-motion-grid .sticky-contact-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: var(--motion-radius-sm);
  color: #ffffff;
  font-family: var(--cms-font-menu), system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

html .cms-site.theme-motion-grid .sticky-contact-bar a:first-child {
  background: #079455;
}

html .cms-site.theme-motion-grid .sticky-contact-bar a:last-child {
  background: var(--motion-green);
}

/* =========================================================
   Cookie banner
   ========================================================= */
html .cms-site.theme-motion-grid .cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: grid;
  place-items: end center;
  padding: 20px;
  background: rgba(12, 17, 29, 0.52);
  backdrop-filter: blur(6px);
}

html .cms-site.theme-motion-grid .cookie-banner.is-hidden {
  display: none;
}

html .cms-site.theme-motion-grid .cookie-banner.is-open {
  display: grid;
}

html .cms-site.theme-motion-grid .cookie-banner-panel {
  position: relative;
  width: min(820px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--motion-line);
  border-radius: var(--motion-radius-lg);
  background: #ffffff;
  color: var(--motion-ink);
  box-shadow: 0 30px 90px rgba(16, 24, 40, 0.30);
}

html .cms-site.theme-motion-grid .cookie-banner-panel h2 {
  margin: 0 44px 8px 0;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

html .cms-site.theme-motion-grid .cookie-banner-panel > p {
  margin: 0 0 20px;
  color: var(--motion-muted);
}

html .cms-site.theme-motion-grid .cookie-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--motion-line);
  border-radius: var(--motion-radius-sm);
  background: var(--motion-surface-soft);
  color: var(--motion-ink);
  font-size: 1.35rem;
  cursor: pointer;
}

html .cms-site.theme-motion-grid .cookie-choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 10px 0;
  padding: 14px;
  border: 1px solid var(--motion-line);
  border-radius: var(--motion-radius-sm);
  background: #ffffff;
}

html .cms-site.theme-motion-grid .cookie-choice input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--motion-green);
}

html .cms-site.theme-motion-grid .cookie-choice span {
  display: grid;
  gap: 3px;
}

html .cms-site.theme-motion-grid .cookie-choice small {
  color: var(--motion-muted);
  line-height: 1.45;
}

html .cms-site.theme-motion-grid .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

html .cms-site.theme-motion-grid .cookie-actions button {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--motion-line-strong);
  border-radius: var(--motion-radius-sm);
  background: #ffffff;
  color: var(--motion-ink);
  font-weight: 730;
  cursor: pointer;
}

html .cms-site.theme-motion-grid .cookie-actions button:last-child {
  border-color: var(--motion-green);
  background: var(--motion-green);
  color: #ffffff;
}

html .cms-site.theme-motion-grid .cookie-links {
  margin: 18px 0 0;
  color: var(--motion-muted);
  font-size: 0.9rem;
}

html .cms-site.theme-motion-grid .cookie-preferences-floating {
  position: fixed;
  right: 16px;
  bottom: 92px;
  z-index: 130;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid var(--motion-line);
  border-radius: var(--motion-radius-sm);
  background: #ffffff;
  color: var(--motion-ink);
  font-size: 0.78rem;
  font-weight: 720;
  box-shadow: var(--motion-shadow-sm);
  cursor: pointer;
}

/* =========================================================
   Responsive desktop medio
   ========================================================= */
@media (max-width: 1180px) {
  html .cms-site.theme-motion-grid .feature-grid,
  html .cms-site.theme-motion-grid .cms-products-grid,
  html .cms-site.theme-motion-grid .cms-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html .cms-site.theme-motion-grid .cms-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  html .cms-site.theme-motion-grid [data-products-carousel] .cms-products-carousel-track .cms-product-card,
  html .cms-site.theme-motion-grid [data-cms-products-carousel] .cms-products-carousel-track .cms-product-card {
    flex-basis: calc(50% - 12px);
    max-width: calc(50% - 12px);
  }
}

/* =========================================================
   Tablet e navigazione mobile
   ========================================================= */
@media (max-width: 960px) {
  html .cms-site.theme-motion-grid .site-header-inner {
    min-height: 74px;
  }

  html .cms-site.theme-motion-grid .site-logo img {
    height: 46px;
    max-width: 200px;
  }

  html .cms-site.theme-motion-grid .site-menu-toggle {
    display: block;
    flex: 0 0 auto;
  }

  html .cms-site.theme-motion-grid .site-menu {
    position: fixed;
    top: 82px;
    right: 14px;
    left: 14px;
    display: none;
    max-height: calc(100vh - 104px);
    overflow: auto;
    padding: 12px;
    border: 1px solid var(--motion-line);
    border-radius: var(--motion-radius);
    background: rgba(255, 255, 255, 0.985);
    box-shadow: var(--motion-shadow);
    backdrop-filter: blur(18px);
  }

  html .cms-site.theme-motion-grid.is-menu-open .site-menu {
    display: block;
  }

  html .cms-site.theme-motion-grid .site-menu ul {
    display: grid;
    gap: 4px;
  }

  html .cms-site.theme-motion-grid .site-menu a,
  html .cms-site.theme-motion-grid .site-menu .site-menu-placeholder {
    width: 100%;
    min-height: 50px;
    justify-content: flex-start;
    padding: 12px 14px;
  }

  html .cms-site.theme-motion-grid .site-menu .menu-item-active > a::after,
  html .cms-site.theme-motion-grid .site-menu .menu-item-current > a::after,
  html .cms-site.theme-motion-grid .site-menu a[aria-current="page"]::after {
    top: 10px;
    right: auto;
    bottom: 10px;
    left: 5px;
    width: 3px;
    height: auto;
  }

  html .cms-site.theme-motion-grid .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  html .cms-site.theme-motion-grid .hero-card {
    min-height: 220px;
  }

  html .cms-site.theme-motion-grid .contact-layout {
    grid-template-columns: 1fr;
  }

  html .cms-site.theme-motion-grid .site-footer-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  html .cms-site.theme-motion-grid .site-footer-grid > :last-child {
    grid-column: 1 / -1;
  }
}

/* =========================================================
   Mobile
   ========================================================= */
@media (max-width: 700px) {
  html .cms-site.theme-motion-grid {
    --motion-gutter: 12px;
  }

  html .cms-site.theme-motion-grid .site-header-inner {
    width: calc(100% - 24px);
    min-height: 68px;
  }

  html .cms-site.theme-motion-grid .site-logo img {
    height: 42px;
    max-width: 170px;
  }

  html .cms-site.theme-motion-grid .site-menu {
    top: 76px;
  }

  html .cms-site.theme-motion-grid .site-main {
    width: calc(100% - 24px);
    padding-top: 14px;
    padding-bottom: 116px;
  }

  html .cms-site.theme-motion-grid .hero {
    gap: 26px;
    padding: 34px 22px 22px;
    border-radius: var(--motion-radius);
  }

  html .cms-site.theme-motion-grid .hero::before {
    width: 44%;
    height: 5px;
  }

  html .cms-site.theme-motion-grid .hero h1 {
    font-size: clamp(3rem, 15vw, 4.9rem);
    line-height: 0.96;
  }

  html .cms-site.theme-motion-grid .hero p {
    margin-top: 20px;
    font-size: 1.04rem;
  }

  html .cms-site.theme-motion-grid .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

  html .cms-site.theme-motion-grid .hero-actions .cms-button {
    width: 100%;
  }

  html .cms-site.theme-motion-grid .hero-card {
    min-height: 188px;
    padding: 24px;
  }

  html .cms-site.theme-motion-grid .page-hero {
    min-height: 330px;
    margin-bottom: 22px;
    padding: 34px 22px;
    border-radius: var(--motion-radius);
  }

  html .cms-site.theme-motion-grid.has-page-featured-hero .page-hero {
    min-height: min(620px, 78vh);
  }

  html .cms-site.theme-motion-grid .page-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  html .cms-site.theme-motion-grid .section {
    padding: 46px 0;
  }

  html .cms-site.theme-motion-grid .section-soft {
    padding: 30px 22px;
    border-radius: var(--motion-radius);
  }

  html .cms-site.theme-motion-grid .section-soft::before {
    left: 22px;
  }

  html .cms-site.theme-motion-grid .feature-grid,
  html .cms-site.theme-motion-grid .cms-products-grid,
  html .cms-site.theme-motion-grid .cms-blog-grid,
  html .cms-site.theme-motion-grid .site-footer-grid {
    grid-template-columns: 1fr;
  }

  html .cms-site.theme-motion-grid .cms-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html .cms-site.theme-motion-grid .feature-grid article,
  html .cms-site.theme-motion-grid .content-card,
  html .cms-site.theme-motion-grid .contact-card,
  html .cms-site.theme-motion-grid .cms-product-detail-content,
  html .cms-site.theme-motion-grid .cms-blog-detail-content {
    padding: 24px;
  }

  html .cms-site.theme-motion-grid .cms-form {
    grid-template-columns: 1fr;
  }

  html .cms-site.theme-motion-grid .cms-form-field,
  html .cms-site.theme-motion-grid .cms-form-field-textarea,
  html .cms-site.theme-motion-grid .cms-form-field-checkbox,
  html .cms-site.theme-motion-grid .cms-form > .cms-button {
    grid-column: 1;
  }

  html .cms-site.theme-motion-grid [data-products-carousel] .cms-products-carousel-track .cms-product-card,
  html .cms-site.theme-motion-grid [data-cms-products-carousel] .cms-products-carousel-track .cms-product-card {
    flex-basis: 88%;
    max-width: 88%;
  }

  html .cms-site.theme-motion-grid .cms-products-carousel-actions {
    justify-content: center;
  }

  html .cms-site.theme-motion-grid .cta-band {
    padding: 42px 24px;
    border-radius: var(--motion-radius);
  }

  html .cms-site.theme-motion-grid .site-footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  html .cms-site.theme-motion-grid .site-footer-grid > :last-child {
    grid-column: auto;
  }

  html .cms-site.theme-motion-grid .sticky-contact-bar {
    bottom: max(8px, env(safe-area-inset-bottom));
    width: calc(100% - 16px);
    padding: 6px;
  }

  html .cms-site.theme-motion-grid .sticky-contact-bar a {
    min-height: 50px;
    padding: 9px 8px;
    font-size: 0.84rem;
  }

  html .cms-site.theme-motion-grid .cookie-banner {
    padding: 8px;
  }

  html .cms-site.theme-motion-grid .cookie-banner-panel {
    max-height: calc(100vh - 16px);
    padding: 24px 18px;
    border-radius: var(--motion-radius);
  }

  html .cms-site.theme-motion-grid .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  html .cms-site.theme-motion-grid .cookie-actions button {
    width: 100%;
  }

  html .cms-site.theme-motion-grid .cookie-preferences-floating {
    right: 8px;
    bottom: 78px;
  }

  html .cms-site.theme-motion-grid .cms-lightbox-image {
    max-height: calc(100vh - 136px);
  }

  html .cms-site.theme-motion-grid .cms-lightbox-nav {
    top: auto;
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 48px;
    height: 48px;
    transform: none;
    font-size: 2rem;
  }

  html .cms-site.theme-motion-grid .cms-lightbox-prev {
    left: calc(50% - 58px);
  }

  html .cms-site.theme-motion-grid .cms-lightbox-next {
    right: calc(50% - 58px);
  }
}

@media (max-width: 430px) {
  html .cms-site.theme-motion-grid .cms-gallery-grid {
    grid-template-columns: 1fr;
  }

  html .cms-site.theme-motion-grid .cms-gallery-item {
    aspect-ratio: 16 / 11;
  }

  html .cms-site.theme-motion-grid .sticky-contact-bar a span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* =========================================================
   Accessibilità e riduzione movimento
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html .cms-site.theme-motion-grid *,
  html .cms-site.theme-motion-grid *::before,
  html .cms-site.theme-motion-grid *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   Motion Grid - design layer ispirato al logo
   Palette ufficiale: verde #78CE45, ardesia #566F85
   ========================================================= */
html .cms-site.theme-motion-grid .site-header {
  border-top: 4px solid var(--motion-green);
  border-bottom-color: rgba(86, 111, 133, 0.16);
  background: rgba(255, 255, 255, 0.96);
}

html .cms-site.theme-motion-grid.is-scrolled .site-header {
  box-shadow: 0 14px 38px rgba(46, 67, 84, 0.10);
}

html .cms-site.theme-motion-grid .site-header-inner {
  min-height: 86px;
}

html .cms-site.theme-motion-grid .site-logo img {
  height: 56px;
  max-width: 260px;
}

html .cms-site.theme-motion-grid .site-logo span {
  border-left-color: var(--motion-green);
  color: var(--motion-slate-deep);
}

html .cms-site.theme-motion-grid .site-menu a,
html .cms-site.theme-motion-grid .site-menu .site-menu-placeholder {
  border-radius: 8px;
  color: var(--motion-slate-deep);
  font-weight: 700;
}

html .cms-site.theme-motion-grid .site-menu a:hover {
  background: var(--motion-slate-soft);
  color: var(--motion-slate-deep);
}

html .cms-site.theme-motion-grid .site-menu .menu-item-active > a,
html .cms-site.theme-motion-grid .site-menu .menu-item-current > a,
html .cms-site.theme-motion-grid .site-menu a[aria-current="page"] {
  background: var(--motion-green-soft);
  color: var(--motion-slate-deep);
}

html .cms-site.theme-motion-grid .site-menu .menu-item-active > a::after,
html .cms-site.theme-motion-grid .site-menu .menu-item-current > a::after,
html .cms-site.theme-motion-grid .site-menu a[aria-current="page"]::after {
  right: 12px;
  bottom: 4px;
  left: 12px;
  height: 3px;
  border-radius: 999px;
  background: var(--motion-green);
}

html .cms-site.theme-motion-grid .site-main {
  width: min(var(--motion-container), calc(100% - var(--motion-gutter) - var(--motion-gutter)));
  padding-top: clamp(24px, 3.5vw, 56px);
}

html .cms-site.theme-motion-grid .hero {
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: clamp(34px, 5vw, 86px);
  min-height: clamp(590px, 70vh, 790px);
  border: 1px solid rgba(86, 111, 133, 0.14);
  border-radius: 24px;
  background-color: #ffffff;
  background-image:
    linear-gradient(118deg, rgba(120, 206, 69, 0.11), rgba(255,255,255,0) 40%),
    linear-gradient(305deg, rgba(86, 111, 133, 0.11), rgba(255,255,255,0) 42%);
  box-shadow: 0 34px 90px rgba(46, 67, 84, 0.12);
}

html .cms-site.theme-motion-grid .hero::before {
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  opacity: 0.075;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMjIwIDEyMCI+PGcgZmlsbD0ibm9uZSI+PHBhdGggZD0iTTE1IDIwbDI4IDE2LTI4IDE2eiIgZmlsbD0iIzc4Q0U0NSIvPjxwYXRoIGQ9Ik02MiAyMGwyOCAxNi0yOCAxNnoiIGZpbGw9IiM1NjZGODUiLz48cGF0aCBkPSJNMTA5IDIwbDI4IDE2LTI4IDE2eiIgZmlsbD0iIzc4Q0U0NSIvPjxwYXRoIGQ9Ik0xNTYgMjBsMjggMTYtMjggMTZ6IiBmaWxsPSIjNzhDRTQ1Ii8+PHBhdGggZD0iTTM4IDY4bDI4IDE2LTI4IDE2eiIgZmlsbD0iIzU2NkY4NSIvPjxwYXRoIGQ9Ik04NSA2OGwyOCAxNi0yOCAxNnoiIGZpbGw9IiM3OENFNDUiLz48cGF0aCBkPSJNMTMyIDY4bDI4IDE2LTI4IDE2eiIgZmlsbD0iIzU2NkY4NSIvPjxwYXRoIGQ9Ik0xNzkgNjhsMjggMTYtMjggMTZ6IiBmaWxsPSIjNzhDRTQ1Ii8+PC9nPjwvc3ZnPg==") center / 220px 120px repeat;
}

html .cms-site.theme-motion-grid .hero::after {
  right: -95px;
  bottom: -110px;
  width: 360px;
  height: 360px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(135deg, rgba(120, 206, 69, 0.18), rgba(86, 111, 133, 0.10));
  clip-path: polygon(0 48%, 100% 0, 100% 100%);
  box-shadow: none;
}

html .cms-site.theme-motion-grid .hero h1 {
  color: var(--motion-slate-deep);
  font-size: clamp(3.25rem, 6.8vw, 7rem);
  font-weight: 760;
  letter-spacing: -0.064em;
}

html .cms-site.theme-motion-grid .hero p {
  color: var(--motion-muted);
}

html .cms-site.theme-motion-grid .eyebrow {
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(120, 206, 69, 0.38);
  border-radius: 6px;
  background: var(--motion-green-soft);
  color: var(--motion-slate-deep);
}

html .cms-site.theme-motion-grid .eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--motion-green);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

html .cms-site.theme-motion-grid .hero-card {
  min-height: 320px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(120, 206, 69, 0.14), transparent 48%),
    var(--motion-slate-deep);
  box-shadow: 0 32px 72px rgba(46, 67, 84, 0.24);
}

html .cms-site.theme-motion-grid .hero-card::before {
  width: 54px;
  height: 54px;
  border: 0;
  background: var(--motion-green);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

html .cms-site.theme-motion-grid.has-home-hero-custom .hero::before,
html .cms-site.theme-motion-grid.has-page-featured-hero .hero::before {
  opacity: 0.18;
  mix-blend-mode: soft-light;
}

html .cms-site.theme-motion-grid.has-home-hero-custom .hero::after,
html .cms-site.theme-motion-grid.has-page-featured-hero .hero::after {
  background: rgba(120, 206, 69, 0.20);
  opacity: 0.7;
}

html .cms-site.theme-motion-grid .page-hero {
  min-height: clamp(360px, 42vw, 590px);
  border: 0;
  border-radius: 22px;
  background:
    linear-gradient(120deg, rgba(38, 59, 76, 0.98), rgba(86, 111, 133, 0.92)),
    var(--motion-slate-deep);
  box-shadow: 0 30px 75px rgba(46, 67, 84, 0.20);
}

html .cms-site.theme-motion-grid .page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.10;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMjIwIDEyMCI+PGcgZmlsbD0ibm9uZSI+PHBhdGggZD0iTTE1IDIwbDI4IDE2LTI4IDE2eiIgZmlsbD0iIzc4Q0U0NSIvPjxwYXRoIGQ9Ik02MiAyMGwyOCAxNi0yOCAxNnoiIGZpbGw9IiM1NjZGODUiLz48cGF0aCBkPSJNMTA5IDIwbDI4IDE2LTI4IDE2eiIgZmlsbD0iIzc4Q0U0NSIvPjxwYXRoIGQ9Ik0xNTYgMjBsMjggMTYtMjggMTZ6IiBmaWxsPSIjNzhDRTQ1Ii8+PHBhdGggZD0iTTM4IDY4bDI4IDE2LTI4IDE2eiIgZmlsbD0iIzU2NkY4NSIvPjxwYXRoIGQ9Ik04NSA2OGwyOCAxNi0yOCAxNnoiIGZpbGw9IiM3OENFNDUiLz48cGF0aCBkPSJNMTMyIDY4bDI4IDE2LTI4IDE2eiIgZmlsbD0iIzU2NkY4NSIvPjxwYXRoIGQ9Ik0xNzkgNjhsMjggMTYtMjggMTZ6IiBmaWxsPSIjNzhDRTQ1Ii8+PC9nPjwvc3ZnPg==") center / 220px 120px repeat;
}

html .cms-site.theme-motion-grid .page-hero::after {
  right: 44px;
  bottom: 38px;
  width: 82px;
  height: 82px;
  border: 0;
  background: var(--motion-green);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  opacity: 0.9;
}

html .cms-site.theme-motion-grid .page-hero .eyebrow {
  border-color: rgba(255,255,255,0.20);
  background: rgba(255,255,255,0.10);
  color: #ffffff;
}

html .cms-site.theme-motion-grid .page-hero .eyebrow::before {
  background: var(--motion-green);
}

html .cms-site.theme-motion-grid .section {
  padding-top: clamp(52px, 7vw, 112px);
  padding-bottom: clamp(52px, 7vw, 112px);
}

html .cms-site.theme-motion-grid .section-soft {
  border: 1px solid rgba(86, 111, 133, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(120, 206, 69, 0.07), transparent 48%),
    var(--motion-surface-soft);
}

html .cms-site.theme-motion-grid .section-soft::before {
  background: linear-gradient(90deg, var(--motion-green), var(--motion-slate));
}

html .cms-site.theme-motion-grid .section-head h2,
html .cms-site.theme-motion-grid .section-title h2,
html .cms-site.theme-motion-grid .content-card h2,
html .cms-site.theme-motion-grid .contact-card h2,
html .cms-site.theme-motion-grid .cta-band h2 {
  color: var(--motion-slate-deep);
}

html .cms-site.theme-motion-grid .cms-button {
  min-height: 50px;
  border-color: var(--motion-green);
  border-radius: 8px;
  background: var(--motion-green);
  color: #203428;
  box-shadow: 0 10px 24px rgba(120, 206, 69, 0.22);
}

html .cms-site.theme-motion-grid .cms-button:hover {
  border-color: var(--motion-green-deep);
  background: var(--motion-green-deep);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(92, 175, 49, 0.28);
}

html .cms-site.theme-motion-grid .cms-button-light {
  border-color: rgba(86, 111, 133, 0.30);
  background: #ffffff;
  color: var(--motion-slate-deep);
  box-shadow: none;
}

html .cms-site.theme-motion-grid .cms-button-light:hover {
  border-color: var(--motion-slate);
  background: var(--motion-slate);
  color: #ffffff;
}

html .cms-site.theme-motion-grid .feature-grid article,
html .cms-site.theme-motion-grid .content-card,
html .cms-site.theme-motion-grid .contact-card {
  border-radius: 14px;
  border-color: rgba(86, 111, 133, 0.15);
  box-shadow: var(--motion-shadow-sm);
}

html .cms-site.theme-motion-grid .feature-grid article::before {
  width: 42px;
  height: 5px;
  border-radius: 99px;
  background: var(--motion-green);
}

html .cms-site.theme-motion-grid .feature-grid article:hover {
  border-color: rgba(120, 206, 69, 0.55);
  box-shadow: 0 22px 50px rgba(46, 67, 84, 0.12);
}

html .cms-site.theme-motion-grid .cms-product-card,
html .cms-site.theme-motion-grid .cms-blog-card {
  border-radius: 14px;
  border-color: rgba(86, 111, 133, 0.15);
  box-shadow: var(--motion-shadow-sm);
}

html .cms-site.theme-motion-grid .cms-product-card::before,
html .cms-site.theme-motion-grid .cms-blog-card::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--motion-green), var(--motion-slate));
  opacity: 0;
  transition: opacity .24s ease;
}

html .cms-site.theme-motion-grid .cms-product-card:hover::before,
html .cms-site.theme-motion-grid .cms-blog-card:hover::before {
  opacity: 1;
}

html .cms-site.theme-motion-grid .cms-product-card:hover,
html .cms-site.theme-motion-grid .cms-blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(120, 206, 69, 0.48);
  box-shadow: 0 26px 62px rgba(46, 67, 84, 0.15);
}

html .cms-site.theme-motion-grid .cms-product-card-body .cms-product-card-eyebrow,
html .cms-site.theme-motion-grid .cms-blog-card-eyebrow {
  color: var(--motion-slate);
}

html .cms-site.theme-motion-grid .cms-products-carousel-arrow {
  border-radius: 8px;
  color: var(--motion-slate-deep);
}

html .cms-site.theme-motion-grid .cms-products-carousel-arrow:hover {
  border-color: var(--motion-green);
  background: var(--motion-green);
  color: var(--motion-slate-deep);
}

html .cms-site.theme-motion-grid .cms-product-detail-price {
  border-color: rgba(120, 206, 69, 0.60);
  background: rgba(120, 206, 69, 0.16);
}

html .cms-site.theme-motion-grid .cms-gallery-grid {
  gap: clamp(12px, 1.5vw, 22px);
}

html .cms-site.theme-motion-grid .cms-gallery-item {
  border-radius: 12px;
  border: 1px solid rgba(86, 111, 133, 0.16);
  box-shadow: var(--motion-shadow-sm);
}

html .cms-site.theme-motion-grid .cms-gallery-item::after {
  background: linear-gradient(180deg, transparent 45%, rgba(38, 59, 76, 0.72));
}

html .cms-site.theme-motion-grid .cms-faq-item {
  border-radius: 10px;
  border-color: rgba(86, 111, 133, 0.18);
}

html .cms-site.theme-motion-grid .cms-faq-item[open] {
  border-color: rgba(120, 206, 69, 0.58);
  box-shadow: 0 12px 34px rgba(46, 67, 84, 0.08);
}

html .cms-site.theme-motion-grid .cms-faq-item summary::after {
  border-color: var(--motion-green);
  background: var(--motion-green-soft);
  color: var(--motion-slate-deep);
}

html .cms-site.theme-motion-grid .cms-form-field input,
html .cms-site.theme-motion-grid .cms-form-field textarea,
html .cms-site.theme-motion-grid .cms-form-field select {
  border-radius: 8px;
}

html .cms-site.theme-motion-grid .cms-form-field input:focus,
html .cms-site.theme-motion-grid .cms-form-field textarea:focus,
html .cms-site.theme-motion-grid .cms-form-field select:focus {
  border-color: var(--motion-green);
  box-shadow: 0 0 0 4px rgba(120, 206, 69, 0.14);
}

html .cms-site.theme-motion-grid .cta-band {
  border-radius: 22px;
  background:
    linear-gradient(115deg, rgba(120, 206, 69, 0.18), transparent 44%),
    var(--motion-slate-deep);
}

html .cms-site.theme-motion-grid .cta-band::after {
  width: 170px;
  height: 170px;
  border: 0;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMjIwIDEyMCI+PGcgZmlsbD0ibm9uZSI+PHBhdGggZD0iTTE1IDIwbDI4IDE2LTI4IDE2eiIgZmlsbD0iIzc4Q0U0NSIvPjxwYXRoIGQ9Ik02MiAyMGwyOCAxNi0yOCAxNnoiIGZpbGw9IiM1NjZGODUiLz48cGF0aCBkPSJNMTA5IDIwbDI4IDE2LTI4IDE2eiIgZmlsbD0iIzc4Q0U0NSIvPjxwYXRoIGQ9Ik0xNTYgMjBsMjggMTYtMjggMTZ6IiBmaWxsPSIjNzhDRTQ1Ii8+PHBhdGggZD0iTTM4IDY4bDI4IDE2LTI4IDE2eiIgZmlsbD0iIzU2NkY4NSIvPjxwYXRoIGQ9Ik04NSA2OGwyOCAxNi0yOCAxNnoiIGZpbGw9IiM3OENFNDUiLz48cGF0aCBkPSJNMTMyIDY4bDI4IDE2LTI4IDE2eiIgZmlsbD0iIzU2NkY4NSIvPjxwYXRoIGQ9Ik0xNzkgNjhsMjggMTYtMjggMTZ6IiBmaWxsPSIjNzhDRTQ1Ii8+PC9nPjwvc3ZnPg==") center / 220px 120px repeat;
  opacity: 0.15;
}

html .cms-site.theme-motion-grid .cta-band .cms-button {
  background: var(--motion-green);
  color: var(--motion-slate-deep);
}

html .cms-site.theme-motion-grid .site-footer {
  border-top: 5px solid var(--motion-green);
  background:
    linear-gradient(145deg, rgba(120, 206, 69, 0.08), transparent 38%),
    var(--motion-slate-deep);
}

html .cms-site.theme-motion-grid .site-footer a:hover {
  color: var(--motion-green);
}

html .cms-site.theme-motion-grid .site-socials a {
  border-color: rgba(255,255,255,0.15);
  border-radius: 8px;
}

html .cms-site.theme-motion-grid .site-socials a:hover {
  border-color: var(--motion-green);
  background: var(--motion-green);
  color: var(--motion-slate-deep);
}

html .cms-site.theme-motion-grid .sticky-contact-bar {
  border-color: rgba(86, 111, 133, 0.18);
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(46, 67, 84, 0.20);
}

html .cms-site.theme-motion-grid .sticky-contact-bar a:first-child {
  background: var(--motion-green);
  color: var(--motion-slate-deep);
}

html .cms-site.theme-motion-grid .sticky-contact-bar a:last-child {
  background: var(--motion-slate-deep);
}

html .cms-site.theme-motion-grid .cookie-banner-panel {
  border-radius: 18px;
  border-color: rgba(86, 111, 133, 0.18);
}

html .cms-site.theme-motion-grid .cookie-actions button:last-child {
  border-color: var(--motion-green);
  background: var(--motion-green);
  color: var(--motion-slate-deep);
}

html .cms-site.theme-motion-grid .cookie-preferences-floating {
  border-color: rgba(86, 111, 133, 0.20);
  border-radius: 8px;
  background: var(--motion-slate-deep);
}

html .cms-site.theme-motion-grid .cms-lightbox-close,
html .cms-site.theme-motion-grid .cms-lightbox-nav {
  border-radius: 8px;
}

@media (max-width: 960px) {
  html .cms-site.theme-motion-grid .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  html .cms-site.theme-motion-grid .hero::before {
    width: 100%;
    opacity: 0.045;
  }

  html .cms-site.theme-motion-grid .hero-card {
    min-height: 220px;
  }
}

@media (max-width: 700px) {
  html .cms-site.theme-motion-grid .site-header {
    border-top-width: 3px;
  }

  html .cms-site.theme-motion-grid .site-header-inner {
    min-height: 72px;
  }

  html .cms-site.theme-motion-grid .site-logo img {
    height: 44px;
    max-width: 210px;
  }

  html .cms-site.theme-motion-grid .site-menu {
    border-top: 1px solid var(--motion-line);
    background: rgba(255,255,255,0.99);
  }

  html .cms-site.theme-motion-grid .site-menu a,
  html .cms-site.theme-motion-grid .site-menu .site-menu-placeholder {
    border-radius: 8px;
  }

  html .cms-site.theme-motion-grid .hero,
  html .cms-site.theme-motion-grid .page-hero,
  html .cms-site.theme-motion-grid .section-soft,
  html .cms-site.theme-motion-grid .cta-band {
    border-radius: 16px;
  }

  html .cms-site.theme-motion-grid .hero {
    padding: 34px 24px;
  }

  html .cms-site.theme-motion-grid .hero h1 {
    font-size: clamp(2.65rem, 13vw, 4.3rem);
  }

  html .cms-site.theme-motion-grid .page-hero {
    padding: 42px 24px;
  }

  html .cms-site.theme-motion-grid .page-hero::after {
    right: 22px;
    bottom: 22px;
    width: 48px;
    height: 48px;
  }

  html .cms-site.theme-motion-grid .sticky-contact-bar {
    border-radius: 0;
  }
}

.eyebrow {color:#000000 !important;}
.cookie-preferences-floating {color:#ffffff !important;}
.cta-band * {color:#ffffff !important;}