:root {
  --dark: #242c29;
  --dark-deep: #151b19;
  --dark-soft: #303a36;
  --green: #3ee09f;
  --green-dark: #1bb97c;
  --dark-green: #004844;
  /*--gold: rgb(237, 174, 13);*/
  --gold: #ffe288;
  --yellow: #ffe288;
  --cream: #f4f5ef;
  --white: #ffffff;
  --text: #ffffff;
  --line: rgba(36, 44, 41, 0.13);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --shadow: 0 22px 70px rgba(20, 29, 25, 0.12);
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  color: var(--dark);
  background: var(--cream);
  font-family: "neutronic", "Neutronic", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

@supports (overflow-x: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  left: 16px;
  top: -80px;
  padding: 12px 18px;
  background: var(--green);
  color: var(--dark);
  border-radius: 8px;
  font-weight: 800;
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.site-header.scrolled {
  background: rgba(21, 27, 25, 0.92);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px);
}

.header-inner {
  height: 92px;
  display: flex;
  align-items: center;
  gap: 42px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--white);
  flex-shrink: 0;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 31px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 3px;
  transform: skew(-15deg);
}

.brand-mark span {
  display: block;
  background: var(--green);
  border-radius: 2px;
}

.brand-mark span:nth-child(1) {
  height: 54%;
}
.brand-mark span:nth-child(2) {
  height: 78%;
}
.brand-mark span:nth-child(3) {
  height: 100%;
  background: var(--gold);
}

.brand-name {
  font-weight: 900;
  letter-spacing: 0.04em;
  font-size: 1.15rem;
}

.brand-name span {
  color: var(--green);
}

.main-nav {
  margin-left: auto;
}

.nav-menu,
.submenu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 31px;
}

.nav-item {
  position: relative;
}

.nav-item-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.is-menu-parent-active {
  color: var(--green);
}

.main-nav a[aria-current="page"] {
  color: var(--green);
}

.submenu-toggle {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}

.submenu-toggle span {
  display: block;
  width: 7px;
  height: 7px;
  margin: -3px auto 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.submenu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 16px);
  left: -20px;
  width: max-content;
  min-width: 230px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(21, 27, 25, 0.98);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

.submenu::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 18px;
}

.submenu li + li {
  margin-top: 2px;
}

.submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  white-space: nowrap;
}

.submenu a:hover,
.submenu a:focus-visible {
  background: rgba(62, 224, 159, 0.1);
}

.submenu .nav-item-row > a {
  flex: 1;
}

.submenu .submenu-toggle span {
  transform: rotate(-45deg);
}

.submenu-nested {
  top: -12px;
  left: calc(100% + 12px);
}

.submenu-nested::before {
  top: 0;
  right: 100%;
  bottom: 0;
  left: auto;
  width: 14px;
  height: auto;
}

.nav-has-submenu:hover > .submenu,
.nav-has-submenu:focus-within > .submenu,
.nav-has-submenu.submenu-open > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-has-submenu.submenu-open > .nav-item-row .submenu-toggle span {
  transform: rotate(225deg) translate(-2px, -2px);
}

.submenu .nav-has-submenu.submenu-open > .nav-item-row .submenu-toggle span {
  transform: rotate(135deg);
}

.main-nav .nav-contact {
  color: var(--dark);
}

.main-nav .nav-contact:hover,
.main-nav .nav-contact:focus-visible {
  color: var(--dark);
}

.button {
  min-height: 54px;
  padding: 0 25px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: var(--green);
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1rem;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: var(--white);
  border-color: var(--white);
  box-shadow: 0 14px 34px rgba(62, 224, 159, 0.22);
}

.button-small {
  min-height: 45px;
  padding-inline: 20px;
  font-size: 1rem;
}

.button-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
}

.button-ghost:hover {
  color: var(--dark);
}

.button-dark {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

.button-light {
  background: var(--white);
  border-color: var(--white);
}

.button-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  border-radius: 50%;
  padding: 12px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--white);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.hero {
  position: relative;
  min-height: 920px;
  overflow: hidden;
  padding: 174px 0 42px;
  color: var(--white);
  background:
    radial-gradient(
      circle at 75% 18%,
      rgba(62, 224, 159, 0.12),
      transparent 30%
    ),
    /*linear-gradient(135deg, var(--dark-deep), var(--dark) 48%, #1e2d27);*/
    linear-gradient(135deg, var(--dark-green), var(--dark) 48%, #1e2d27);
}

.hero-grid,
.cta-grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  pointer-events: none;
}

.hero-orb-one {
  width: 480px;
  height: 480px;
  top: 100px;
  right: -260px;
  border: 1px solid rgba(62, 224, 159, 0.22);
  box-shadow: inset 0 0 80px rgba(62, 224, 159, 0.06);
}

.hero-orb-two {
  width: 290px;
  height: 290px;
  left: -170px;
  bottom: 110px;
  border: 1px solid rgba(237, 174, 13, 0.22);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 80px;
  align-items: center;
}

.eyebrow {
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 1);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 33px;
  height: 2px;
  background: var(--green);
}

.eyebrow.dark {
  color: #75807b;
}

.hero h1 {
  max-width: 700px;
  margin-bottom: 26px;
  font-size: clamp(3.8rem, 6.3vw, 6.7rem);
  font-weight: 800;
}

.accent-text {
  color: var(--green);
  position: relative;
  white-space: nowrap;
}

.accent-text::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 0;
  bottom: 2px;
  height: 7px;
  background: var(--yellow);
  border-radius: 99px;
  transform: rotate(-1deg);
  opacity: 0.9;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}

.hero-proof {
  margin-top: 54px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: 0.75fr 1.2fr 1fr;
  gap: 22px;
}

.hero-proof div {
  display: flex;
  flex-direction: column;
}

.hero-proof strong {
  color: var(--green);
  font-size: 1.55rem;
  font-weight: 900;
}

.hero-proof span {
  max-width: 180px;
  color: rgba(255, 255, 255, 1);
  font-size: 1rem;
  line-height: 1.4;
}

.hero-visual {
  position: relative;
  min-width: 0;
  perspective: 1400px;
}

.visual-badge {
  width: max-content;
  margin: 0 32px -16px auto;
  position: relative;
  z-index: 4;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(30, 38, 35, 0.92);
  box-shadow: var(--shadow);
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  font-weight: 700;
}

.status-dot {
  width: 8px;
  height: 8px;
  margin-right: 8px;
  display: inline-block;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(62, 224, 159, 0.12);
}

.dashboard {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 26px;
  background: #f7faf8;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.38);
  color: var(--dark);
  transform: rotateY(-5deg) rotateX(2deg);
}

.dashboard-top {
  height: 69px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border-bottom: 1px solid #e5eae7;
}

.dashboard-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dashboard-brand > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.dashboard-brand strong {
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.dashboard-brand small {
  color: #93a09a;
  font-size: 1rem;
}

.mini-logo {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--dark);
  color: var(--green);
  font-weight: 900;
}

.dashboard-user {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold), var(--green));
}

.dashboard-body {
  min-height: 470px;
  display: flex;
}

.dashboard-sidebar {
  width: 63px;
  padding: 28px 19px;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  gap: 23px;
}

.dashboard-sidebar span {
  width: 24px;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
}

.dashboard-sidebar span.active {
  background: var(--green);
}

.dashboard-content {
  min-width: 0;
  flex: 1;
  padding: 30px 28px;
}

.dashboard-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.dashboard-heading div {
  display: flex;
  flex-direction: column;
}

.dashboard-heading small {
  color: #92a098;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.dashboard-heading strong {
  margin-top: 5px;
  font-size: 1rem;
}

.date-pill {
  align-self: flex-start;
  padding: 7px 11px;
  border: 1px solid #e1e8e4;
  border-radius: 99px;
  color: #7e8b84;
  font-size: 1rem;
}

.metric-grid {
  margin-top: 23px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}

.metric-grid article,
.chart-card,
.activity-card {
  border: 1px solid #e6ebe8;
  border-radius: 13px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(28, 43, 36, 0.04);
}

.metric-grid article {
  min-height: 100px;
  padding: 14px;
  display: flex;
  flex-direction: column;
}

.metric-grid span {
  color: #89958f;
  font-size: 1rem;
}

.metric-grid strong {
  margin: 7px 0 2px;
  font-size: 1rem;
}

.metric-grid small {
  color: #9aa49f;
  font-size: 1rem;
}

.metric-grid .positive {
  color: var(--green-dark);
}

.dashboard-lower {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 11px;
}

.chart-card,
.activity-card {
  height: 218px;
  padding: 16px;
}

.card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #59655f;
  font-size: 1rem;
  font-weight: 800;
}

.card-title small {
  color: #9da7a2;
  font-weight: 500;
}

.bars {
  height: 145px;
  margin-top: 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid #ecf0ee;
  background: repeating-linear-gradient(
    to top,
    #eef2f0 0 1px,
    transparent 1px 35px
  );
}

.bars i {
  width: 8%;
  display: block;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, var(--green-dark), var(--green));
}

.activity-card ul {
  padding: 0;
  margin: 19px 0 0;
  list-style: none;
}

.activity-card li {
  padding: 9px 0;
  display: flex;
  gap: 9px;
  border-bottom: 1px solid #edf0ee;
}

.activity-card li:last-child {
  border-bottom: 0;
}

.activity-card i {
  width: 7px;
  height: 7px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--green);
}

.activity-card li span {
  display: flex;
  flex-direction: column;
  color: #65716b;
  font-size: 1rem;
  font-weight: 700;
}

.activity-card li small {
  color: #a1aaa6;
  font-size: 1rem;
  font-weight: 500;
}

.floating-card {
  position: absolute;
  z-index: 5;
  min-width: 190px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
  color: var(--dark);
}

.floating-card-one {
  left: -38px;
  bottom: 85px;
}

.floating-card-two {
  right: -32px;
  bottom: 16px;
}

.floating-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(62, 224, 159, 0.18);
  color: var(--green-dark);
  font-weight: 900;
}

.floating-icon.gold {
  background: rgba(237, 174, 13, 0.16);
  color: #b27d00;
}

.floating-card > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.floating-card strong {
  font-size: 1rem;
}

.floating-card small {
  color: #8b9691;
  font-size: 1rem;
}

.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: 83px;
  padding: 25px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.trust-strip > span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
}

.trust-strip img {
  width: auto;
  height: 70px;
  object-fit: contain;
}

.section {
  padding: 125px 0;
}

.section-light,
.process-section,
.stories-section {
  background: var(--cream);
}

.section-heading {
  margin-bottom: 62px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 90px;
  align-items: end;
}

.section-heading h2,
.values-intro h2,
.support-copy h2,
.cta-inner h2 {
  margin-bottom: 0;
  font-size: clamp(2.65rem, 4.5vw, 4.8rem);
  font-weight: 800;
}

.section-heading > p,
.values-intro > p,
.support-copy > p {
  margin-bottom: 0;
  color: var(--text);
  /*font-size: 1.02rem;*/
}

.section-heading.light h2,
.section-heading.light > p {
  color: var(--white);
}

.section-heading.light > p {
  color: rgba(255, 255, 255, 1);
}

.solutions-grid {
  display: grid;
  grid-template-columns: 1.22fr 0.89fr 0.89fr;
  gap: 18px;
}

.solution-card {
  min-height: 520px;
  padding: 35px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-7px);
  border-color: rgba(62, 224, 159, 0.6);
  box-shadow: var(--shadow);
}

.solution-featured {
  background: var(--white);
  box-shadow: 0 22px 55px rgba(37, 50, 44, 0.08);
}

.solution-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.solution-number {
  color: #9aa49f;
  font-size: 1rem;
  font-weight: 800;
}

.tag {
  padding: 7px 12px;
  border-radius: 99px;
  background: rgba(62, 224, 159, 0.18);
  color: #14855a;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tag-dark {
  background: rgba(36, 44, 41, 0.08);
  color: #5c6762;
}

.solution-icon {
  width: 69px;
  height: 69px;
  margin: 56px 0 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  color: var(--dark);
  font-size: 2rem;
  font-weight: 900;
}

.icon-four {
  background: var(--dark);
  color: var(--green);
}

.solution-card h3 {
  margin-bottom: 10px;
  font-size: 2rem;
}

.solution-subtitle {
  margin-bottom: 17px;
  color: var(--white) !important;
  font-weight: 700;
}

.solution-card p {
  color: var(--text);
  font-size: 1rem;
}

.check-list {
  padding: 0;
  margin: 8px 0 26px;
  list-style: none;
  color: #65706b;
  font-size: 1rem;
}

.check-list li {
  margin: 7px 0;
}

.check-list li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--green-dark);
  font-weight: 900;
}

.text-link {
  width: max-content;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--green-dark);
  font-size: 1rem;
  font-weight: 800;
}

.text-link span {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.text-link-dark {
  color: var(--dark);
}

.services-section {
  color: var(--white);
  background: var(--dark);
}

.service-list {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.service-row {
  min-height: 144px;
  /*padding: 28px 12px;*/
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: 45px 80px 1fr 50px;
  gap: 28px;
  align-items: center;
  transition:
    background 0.25s ease,
    padding 0.25s ease;
  border-radius: 40px; 
}

.service-row:hover {
  padding-left: 28px;
  padding-right: 28px;
  background: rgba(255, 255, 255, 0.045);
}

.service-index {
  color: rgba(255, 255, 255, 0.32);
  font-size: 1rem;
}

.service-symbol {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  color: var(--green);
  font-size: 1.4rem;
}

.service-row h3 {
  margin: 0 0 7px;
  font-size: 1.45rem;
}

.service-row p {
  max-width: 780px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 1);
  font-size: 1rem;
}

.service-row > a {
  font-size: 1.45rem;
  color: rgba(255, 255, 255, 0.5);
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.service-row:hover > a {
  color: var(--green);
  transform: translate(3px, -3px);
}

.values-section {
  background: var(--white);
}

.values-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 100px;
  align-items: start;
}

.values-intro {
  position: sticky;
  top: 135px;
}

.values-intro h2 {
  margin-bottom: 28px;
}

.values-intro > p {
  margin-bottom: 33px;
}

.values-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.value-card {
  min-height: 315px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--cream);
  position: relative;
}

.value-card:nth-child(2) {
  margin-top: 58px;
}

.value-card:nth-child(3) {
  grid-column: 1 / -1;
  min-height: 285px;
}

.value-card > span {
  position: absolute;
  top: 26px;
  right: 27px;
  color: #a1aaa6;
  font-size: 1rem;
  font-weight: 800;
}

.value-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 62px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--dark);
  color: var(--green);
  font-size: 1.25rem;
}

.value-card h3 {
  margin-bottom: 14px;
  font-size: 1.7rem;
}

.value-card p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 1rem;
}

.process-section {
  border-top: 1px solid var(--line);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.process-step {
  min-height: 250px;
  padding: 31px 28px;
  border-right: 1px solid var(--line);
}

.process-step:last-child {
  border-right: 0;
}

.process-step > span {
  color: var(--green-dark);
  font-size: 1rem;
  font-weight: 900;
}

.process-step h3 {
  margin: 43px 0 14px;
  font-size: 1.5rem;
}

.process-step p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 1rem;
}

.support-section {
  padding: 125px 0;
  color: var(--white);
  background:
    radial-gradient(
      circle at 15% 50%,
      rgba(62, 224, 159, 0.11),
      transparent 30%
    ),
    var(--dark-deep);
  overflow: hidden;
}

.support-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
  align-items: center;
}

.support-visual {
  min-height: 510px;
  position: relative;
  display: grid;
  place-items: center;
}

.support-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(62, 224, 159, 0.2);
}

.ring-one {
  width: 390px;
  height: 390px;
}

.ring-two {
  width: 260px;
  height: 260px;
  border-color: rgba(237, 174, 13, 0.22);
}

.support-center {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 30px;
  background: var(--green);
  box-shadow:
    0 0 0 16px rgba(62, 224, 159, 0.08),
    0 25px 60px rgba(0, 0, 0, 0.3);
  color: var(--dark);
  font-size: 3rem;
  font-weight: 900;
}

.support-person {
  position: absolute;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: var(--dark-soft);
  color: var(--green);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  font-weight: 900;
}

.person-one {
  top: 75px;
  left: 115px;
}
.person-two {
  top: 120px;
  right: 82px;
  color: var(--gold);
}
.person-three {
  bottom: 106px;
  left: 76px;
}

.support-status {
  position: absolute;
  right: 25px;
  bottom: 52px;
  min-width: 240px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: rgba(42, 52, 48, 0.91);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
}

.support-status i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(62, 224, 159, 0.12);
}

.support-status span {
  display: flex;
  flex-direction: column;
}

.support-status strong {
  font-size: 1rem;
}

.support-status small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 1rem;
}

.support-copy h2 {
  margin-bottom: 27px;
}

.support-copy > p {
  color: rgba(255, 255, 255, 0.62);
}

.support-links {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.support-links a {
  min-height: 128px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.support-links a:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  background: rgba(255, 255, 255, 0.04);
}

.support-links a > span {
  margin-bottom: auto;
  color: var(--green);
  font-size: 1.25rem;
}

.support-links strong {
  font-size: 1rem;
}

.support-links small {
  color: rgba(255, 255, 255, 1);
  font-size: 1rem;
}

.stories-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 18px;
}
.stories-grid4 {
  display: grid;
  grid-template-columns: 0.5fr 0.5fr 0.5fr 0.5fr;
  gap: 18px;
}

.story-card,
.testimonial-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.story-visual {
  min-height: 280px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(62, 224, 159, 0.2),
      transparent 27%
    ),
    linear-gradient(145deg, #1b2421, #2a3732);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.story-lines {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background: repeating-radial-gradient(
    circle at 80% 20%,
    transparent 0 34px,
    rgba(62, 224, 159, 0.2) 35px 36px
  );
}

.story-label,
.story-visual strong {
  position: relative;
  z-index: 2;
}

.story-label {
  width: max-content;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-visual strong {
  max-width: 620px;
  font-size: 2.05rem;
  line-height: 1.15;
}

.story-body {
  padding: 30px 35px 34px;
}

.story-meta {
  color: var(--green-dark);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.story-body h3 {
  max-width: 650px;
  margin-bottom: 30px;
  font-size: 1.6rem;
}

.testimonial-card {
  padding: 40px 35px;
  color: var(--white);
  background: var(--green-dark);
  display: flex;
  flex-direction: column;
}

.quote-mark {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 0.8;
}

.testimonial-card blockquote {
  margin: 40px 0 auto;
  font-size: 1.3rem;
  line-height: 1.55;
  font-weight: 600;
}

.testimonial-card > div {
  padding-top: 38px;
  display: flex;
  flex-direction: column;
}

.testimonial-card small {
  color: rgba(255, 255, 255, 0.62);
}

.cta-section {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  color: var(--white);
  background: var(--green-dark);
}

.cta-grid {
  opacity: 0.17;
  mask-image: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: end;
}

.cta-inner h2 {
  margin-bottom: 23px;
}

.cta-inner p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 1);
}

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

.site-footer {
  padding: 78px 0 25px;
  color: rgba(255, 255, 255, 0.62);
  background: var(--dark-deep);
}

.footer-top {
  padding-bottom: 65px;
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 0.7fr);
  gap: 45px;
}

.footer-brand p {
  max-width: 300px;
  margin: 25px 0 0;
  color: var(--white);
  font-size: 1rem;
}

.footer-brand .social-row {
  margin-top: 20px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-column h3 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column p {
  margin: 0;
  font-size: 1rem;
}

.footer-column a,
.footer-bottom a {
  color: var(--white);
}

.footer-contact p,
.footer-contact a {
  color: var(--white);
}

.footer-column a:hover {
  color: var(--green);
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 30px;
  font-size: 1rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

.footer-bottom div {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Privacy e Cookie Policy */
.privacy-hero {
  min-height: 570px;
}

.privacy-hero .page-hero-content {
  max-width: 760px;
}

.privacy-content {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 9% 10%, rgba(62, 224, 159, 0.14), transparent 27%),
    radial-gradient(circle at 91% 60%, rgba(255, 226, 136, 0.075), transparent 23%),
    linear-gradient(150deg, var(--dark-green), #121a16 40%, #0c110f);
}

.privacy-content::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.privacy-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: start;
}

.privacy-nav {
  position: sticky;
  top: 128px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 18px;
  border-left: 2px solid rgba(62, 224, 159, 0.48);
}

.privacy-nav p {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.privacy-nav a {
  color: rgba(247, 251, 248, 0.7);
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.privacy-nav a:hover,
.privacy-nav a:focus-visible {
  color: var(--green);
}

.privacy-copy {
  max-width: 850px;
}

.privacy-section {
  padding: 0 0 58px;
  margin-bottom: 58px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.privacy-section h2,
.privacy-contact h2 {
  max-width: 720px;
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.privacy-section h3 {
  margin-bottom: 12px;
  color: var(--green);
  font-size: 1.25rem;
}

.privacy-section p {
  max-width: 780px;
  color: rgba(247, 251, 248, 0.8);
}

.privacy-lead {
  max-width: 720px !important;
  color: var(--white) !important;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.55;
}

.privacy-facts,
.privacy-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 32px 0;
}

.privacy-facts div,
.privacy-cards section {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.privacy-facts div:hover,
.privacy-cards section:hover {
  transform: translateY(-4px);
  border-color: rgba(62, 224, 159, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.privacy-facts span,
.privacy-cards small {
  display: block;
  color: rgba(247, 251, 248, 0.62);
  font-size: 0.82rem;
  line-height: 1.45;
}

.privacy-facts strong {
  display: block;
  margin-top: 8px;
  color: var(--white);
  font-size: 0.98rem;
  line-height: 1.35;
}

.privacy-facts a {
  color: var(--green);
}

.privacy-cards section {
  background: linear-gradient(145deg, rgba(62, 224, 159, 0.13), rgba(255, 255, 255, 0.04));
}

.privacy-cards--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.privacy-cards a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-cards a:hover,
.privacy-cards a:focus-visible {
  color: var(--gold);
}

.privacy-cards h3,
.privacy-section .privacy-cards p {
  color: var(--white);
}

.privacy-cards p {
  font-size: 0.92rem;
  line-height: 1.55;
}

.privacy-cards small {
  color: rgba(255, 255, 255, 0.63);
}

.privacy-section[id],
.privacy-contact[id] {
  scroll-margin-top: 120px;
}

.privacy-table-wrap {
  margin-top: 30px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.16);
}

.privacy-table-wrap:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.privacy-retention-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.55;
}

.privacy-retention-table th,
.privacy-retention-table td {
  padding: 18px 20px;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-retention-table thead {
  background: rgba(62, 224, 159, 0.16);
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.privacy-retention-table tbody th {
  min-width: 155px;
  color: var(--green);
  font-weight: 800;
}

.privacy-retention-table tbody td {
  color: rgba(247, 251, 248, 0.8);
}

.privacy-retention-table tbody tr:last-child th,
.privacy-retention-table tbody tr:last-child td {
  border-bottom: 0;
}

.privacy-documents {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.privacy-documents a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 20px;
  min-height: 75px;
  padding: 15px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12);
  color: var(--white);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.privacy-documents a:hover,
.privacy-documents a:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(62, 224, 159, 0.52);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.22), 0 0 30px rgba(62, 224, 159, 0.07);
}

.privacy-documents a span:first-child {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.privacy-documents a strong {
  font-size: 0.93rem;
  line-height: 1.4;
}

.privacy-documents a span:last-child {
  color: var(--gold);
  font-size: 1.25rem;
  text-align: right;
}

.cookie-table {
  margin: 30px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.045);
}

.cookie-table-row {
  display: grid;
  grid-template-columns: 0.75fr 1.7fr 0.8fr;
  gap: 20px;
  padding: 18px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(247, 251, 248, 0.77);
  font-size: 0.92rem;
  line-height: 1.5;
}

.cookie-table-row:first-child {
  border-top: 0;
}

.cookie-table-head {
  background: rgba(62, 224, 159, 0.14);
  color: var(--white);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cookie-table-row > strong {
  color: var(--white);
}

.cookie-table-head > strong {
  color: inherit;
}

.privacy-section code {
  padding: 0.15em 0.38em;
  border-radius: 5px;
  background: rgba(62, 224, 159, 0.15);
  color: var(--green);
  font-size: 0.88em;
}

.privacy-preferences {
  border: 0;
  cursor: pointer;
}

.privacy-note {
  margin-top: 28px;
  padding: 16px 18px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 226, 136, 0.09);
  font-size: 0.9rem;
}

.privacy-contact {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035));
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

.privacy-contact p:not(.eyebrow) {
  max-width: 520px;
  margin-bottom: 0;
  color: rgba(247, 251, 248, 0.76);
}

/* Condizioni generali SaaS */
.terms-hero {
  min-height: 650px;
}

.terms-hero .page-hero-content {
  max-width: 780px;
}

.terms-content {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(62, 224, 159, 0.16), transparent 28%),
    radial-gradient(circle at 94% 42%, rgba(255, 226, 136, 0.08), transparent 24%),
    linear-gradient(150deg, var(--dark-green), #121a16 38%, #0c110f);
}

.terms-content::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.terms-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 860px);
  justify-content: center;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.terms-aside {
  position: sticky;
  top: 128px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035));
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.17);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.terms-aside:hover {
  transform: translateY(-4px);
  border-color: rgba(62, 224, 159, 0.4);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28), 0 0 38px rgba(62, 224, 159, 0.1);
}

.terms-aside span {
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.terms-aside strong {
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1.25;
}

.terms-aside a {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  transition: color 0.25s ease;
}

.terms-aside a:hover,
.terms-aside a:focus-visible {
  color: var(--green);
}

.terms-document {
  position: relative;
  overflow: hidden;
  padding: clamp(1.6rem, 5vw, 4.2rem);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 100% 0%, rgba(62, 224, 159, 0.1), transparent 26%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  box-shadow: 0 32px 90px rgba(4, 10, 8, 0.35), inset 0 1px rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
}

.terms-document::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--green));
  background-size: 200% 100%;
  animation: termsHighlight 10s ease-in-out infinite alternate;
}

@keyframes termsHighlight {
  to { background-position: 100% 0; }
}

.terms-document h2 {
  max-width: 740px;
  margin-bottom: 44px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.25rem);
  text-transform: none;
}

.terms-document > p {
  margin-bottom: 1.15rem;
  color: rgba(247, 251, 248, 0.82);
  font-size: 1rem;
  line-height: 1.75;
}

.terms-document > p > b:first-child {
  display: block;
  margin: 3.5rem 0 1rem;
  padding-left: 18px;
  border-left: 3px solid var(--green);
  color: var(--gold);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.terms-document > p:first-of-type > b:first-child {
  margin-top: 0;
}

.terms-document ul {
  display: grid;
  gap: 10px;
  padding: 20px 24px 20px 44px;
  margin: 1.5rem 0 2rem;
  border: 1px solid rgba(62, 224, 159, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(62, 224, 159, 0.075);
  color: rgba(247, 251, 248, 0.84);
}

.terms-document li {
  padding-left: 4px;
}

.terms-document li::marker {
  color: var(--green);
}

@media (max-width: 900px) {
  .privacy-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .privacy-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .privacy-nav p {
    grid-column: 1 / -1;
  }

  .privacy-facts,
  .privacy-cards {
    grid-template-columns: 1fr;
  }

  .terms-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .terms-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .privacy-hero {
    min-height: auto;
  }

  .privacy-nav {
    grid-template-columns: 1fr;
  }

  .privacy-section {
    padding-bottom: 42px;
    margin-bottom: 42px;
  }

  .cookie-table-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .cookie-table-head {
    display: none;
  }

  .privacy-contact {
    display: block;
  }

  .privacy-contact .button {
    display: inline-flex;
    margin-top: 24px;
  }

  .privacy-documents a {
    gap: 12px;
    padding-inline: 15px;
  }

  .terms-document {
    padding: 24px 20px;
  }

  .terms-document > p {
    font-size: 0.95rem;
  }
}

.back-to-top {
  position: fixed;
  z-index: 900;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: var(--dark);
  box-shadow: 0 13px 34px rgba(0, 0, 0, 0.2);
  font-weight: 900;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 0.14s;
}

@media (max-width: 1100px) {
  .nav-menu {
    gap: 18px;
  }
  .header-inner {
    gap: 22px;
  }
  .hero-layout {
    gap: 42px;
  }
  .hero h1 {
    font-size: clamp(3.5rem, 6vw, 5.2rem);
  }
  .floating-card-two {
    right: -10px;
  }
  .solutions-grid {
    grid-template-columns: 1fr 1fr;
  }
  .solution-featured {
    grid-column: 1 / -1;
    min-height: 470px;
  }
  .values-layout {
    gap: 55px;
  }
  .support-layout {
    gap: 45px;
  }
  .footer-top {
    grid-template-columns: 1.3fr repeat(2, 1fr);
  }
  .footer-brand {
    grid-row: span 2;
  }
}

@media (max-width: 900px) {
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: block;
    z-index: 1002;
  }
  .main-nav {
    position: fixed;
    inset: 0;
    padding: 120px 30px 50px;
    background: rgba(21, 27, 25, 0.98);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    overflow-y: auto;
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0.25s ease;
  }
  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-menu {
    width: min(100%, 430px);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .nav-item-row {
    justify-content: center;
  }

  .nav-menu > .nav-item > a,
  .nav-menu > .nav-item > .nav-item-row > a {
    font-size: 1.45rem;
    text-align: center;
  }

  .submenu-toggle {
    width: 38px;
    height: 38px;
  }

  .submenu,
  .submenu-nested {
    position: static;
    width: 100%;
    min-width: 0;
    max-height: 0;
    margin-top: 0;
    padding: 0 12px;
    border-width: 0;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transform: none;
    transition:
      max-height 0.3s ease,
      opacity 0.2s ease,
      visibility 0.2s ease,
      padding 0.3s ease,
      margin 0.3s ease;
  }

  .submenu::before {
    display: none;
  }

  .nav-has-submenu:hover > .submenu:not(.submenu-open),
  .nav-has-submenu:focus-within > .submenu:not(.submenu-open) {
    transform: none;
  }

  .nav-has-submenu.submenu-open > .submenu {
    max-height: 620px;
    margin-top: 8px;
    padding: 10px 12px;
    border-width: 1px;
    opacity: 1;
    visibility: visible;
  }

  .submenu a {
    padding: 9px 12px;
    font-size: 1rem;
    text-align: center;
  }

  .submenu .nav-item-row > a {
    padding-left: 50px;
  }

  .submenu .submenu-toggle span {
    transform: rotate(45deg);
  }

  .main-nav .nav-contact {
    width: fit-content;
    margin: 10px auto 0;
    padding-inline: 24px;
  }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    padding-top: 145px;
  }
  .hero-layout,
  .section-heading,
  .values-layout,
  .support-layout,
  .cta-inner {
    grid-template-columns: 1fr;
  }
  .hero-layout {
    gap: 70px;
  }
  .hero-copy {
    max-width: 700px;
  }
  .hero-visual {
    max-width: 700px;
  }
  .trust-strip {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .trust-strip > span {
    width: 100%;
  }
  .section-heading {
    gap: 24px;
  }
  .section-heading > p {
    max-width: 650px;
  }
  .values-intro {
    position: static;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-step:nth-child(2) {
    border-right: 0;
  }
  .process-step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .support-visual {
    order: 2;
  }
  .stories-grid {
    grid-template-columns: 1fr;
  }
  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }
  .header-inner {
    height: 76px;
  }
  .hero {
    min-height: auto;
    padding: 126px 0 35px;
  }
  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.3rem);
  }
  .hero-text {
    font-size: 1rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-proof {
    grid-template-columns: 1fr 1fr;
  }
  .hero-proof div:last-child {
    grid-column: 1 / -1;
  }
  .dashboard {
    transform: none;
  }
  .dashboard-body {
    min-height: 390px;
  }
  .dashboard-content {
    padding: 22px 15px;
  }
  .dashboard-sidebar {
    width: 45px;
    padding: 23px 12px;
  }
  .dashboard-sidebar span {
    width: 20px;
  }
  .metric-grid {
    grid-template-columns: 1fr;
  }
  .metric-grid article:nth-child(n + 2) {
    display: none;
  }
  .dashboard-lower {
    grid-template-columns: 1fr;
  }
  .activity-card {
    display: none;
  }
  .floating-card-one {
    left: -8px;
    bottom: 43px;
  }
  .floating-card-two {
    display: none;
  }
  .visual-badge {
    margin-right: 5px;
  }
  .trust-strip {
    margin-top: 60px;
    gap: 17px;
  }
  .section {
    padding: 88px 0;
  }
  .section-heading {
    margin-bottom: 42px;
  }
  .section-heading h2,
  .values-intro h2,
  .support-copy h2,
  .cta-inner h2 {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  .solution-featured {
    grid-column: auto;
  }
  .solution-card {
    min-height: 470px;
    padding: 28px;
  }
  .service-list {
    display: grid;
    gap: 14px;
    border-top: 0;
  }
  .service-row {
    min-height: 0;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.018)
    );
  }
  .service-row:hover {
    padding: 20px;
  }
  .service-index {
    display: none;
  }
  .service-row > a {
    display: none;
  }
  .service-symbol {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }
  .service-row h3 {
    margin: 1px 0 9px;
    font-size: 1.12rem;
    line-height: 1.28;
  }
  .service-row p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1rem;
    line-height: 1.65;
  }
  .values-cards {
    grid-template-columns: 1fr;
  }
  .value-card:nth-child(2) {
    margin-top: 0;
  }
  .value-card:nth-child(3) {
    grid-column: auto;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .process-step,
  .process-step:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .process-step:last-child {
    border-bottom: 0;
  }
  .process-step h3 {
    margin-top: 50px;
  }
  .support-section {
    padding: 88px 0;
  }
  .support-visual {
    min-height: 430px;
    transform: scale(0.88);
  }
  .ring-one {
    width: 330px;
    height: 330px;
  }
  .ring-two {
    width: 220px;
    height: 220px;
  }
  .person-one {
    left: 45px;
  }
  .person-two {
    right: 30px;
  }
  .support-status {
    right: 0;
  }
  .support-links {
    grid-template-columns: 1fr;
  }
  .story-visual {
    min-height: 330px;
    padding: 26px;
  }
  .story-visual strong {
    font-size: 1.55rem;
  }
  .testimonial-card {
    min-height: 470px;
  }
  .cta-section {
    padding: 82px 0;
  }
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .footer-contact {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .footer-bottom div {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   FORSHOP — applicazione per la gestione del negozio
   ========================================================= */
.forshop-page {
  background: #07100c;
}

.forshop-hero {
  min-height: 880px;
  padding: 155px 0 105px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 42%, rgba(62, 224, 159, 0.2), transparent 30%),
    radial-gradient(circle at 18% 12%, rgba(255, 226, 136, 0.08), transparent 23%),
    linear-gradient(138deg, #07100c 0%, #102a20 48%, #07100c 100%);
}

.forshop-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -45% 36%;
  height: 620px;
  border: 1px solid rgba(62, 224, 159, 0.13);
  border-radius: 50%;
  pointer-events: none;
  transform: rotate(-10deg);
  box-shadow: 0 0 100px rgba(62, 224, 159, 0.06);
}

.forshop-hero-glow {
  position: absolute;
  z-index: 0;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(85px);
  opacity: 0.2;
  animation: forshopGlow 8s ease-in-out infinite alternate;
}

.forshop-glow-one {
  top: 18%;
  right: 4%;
  background: var(--green);
}

.forshop-glow-two {
  left: -10%;
  bottom: -12%;
  background: var(--yellow);
  animation-delay: -3s;
}

.forshop-hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.forshop-hero .page-hero-content {
  max-width: 710px;
}

.forshop-hero .page-hero-content h1 {
  max-width: 720px;
  font-size: clamp(3.25rem, 5.4vw, 6rem);
  line-height: 0.98;
}

.forshop-hero h1 .accent-text {
  display: inline-block;
  padding-bottom: 0.1em;
}

.forshop-hero h1 .accent-text::after {
  left: 2%;
  right: 0;
  bottom: -0.02em;
  height: 0.09em;
  min-height: 6px;
  background: var(--yellow);
  box-shadow: 0 0 18px rgba(255, 226, 136, 0.22);
}

.forshop-hero-lead {
  color: rgba(255, 255, 255, 1) !important;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem) !important;
  font-weight: 650;
}

.forshop-hero .page-hero-actions {
  align-items: center;
}

.forshop-store-link {
  width: 148px;
  display: inline-flex;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.forshop-store-link:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.3));
}

.forshop-store-link img {
  width: 100%;
  height: auto;
  display: block;
}

.forshop-hero-video {
  position: relative;
  margin: 0;
  justify-self: end;
  width: min(100%, 660px);
  transform: rotate(1.2deg);
}

.forshop-video-aura {
  position: absolute;
  inset: -10%;
  z-index: -1;
  border-radius: 42%;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 25%, rgba(62, 224, 159, 0.24), transparent 44%),
    radial-gradient(circle at 75% 80%, rgba(255, 226, 136, 0.12), transparent 38%);
  filter: blur(40px);
  animation: forshopVideoAura 6s ease-in-out infinite alternate;
}

.forshop-video-clip {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  background: #030604;
  box-shadow:
    0 42px 100px rgba(0, 0, 0, 0.48),
    0 0 70px rgba(62, 224, 159, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  isolation: isolate;
  transform: translateZ(0);
}

.forshop-hero-video video,
.forshop-forware-video video {
  width: 100%;
  display: block;
  border: 0;
  border-radius: inherit;
  box-shadow: none;
  /*aspect-ratio: 1.22;*/
  object-fit: cover;
}

.forware-page .forshop-hero-video video {
  aspect-ratio: 1896 / 1340;
}

.forware-page .forshop-device {
  width: min(112%, 940px);
  margin-left: -6%;
}

.forware-page .forshop-device img {
  animation-delay: -2s;
}

.forware-guide .forshop-forware-layout {
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
}

.forshop-hero-video figcaption {
  position: absolute;
  right: -18px;
  bottom: 24px;
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #fff;
  background: rgba(4, 12, 8, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.forshop-hero-video figcaption span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
  animation: partnerStatusPulse 1.8s ease-in-out infinite;
}

.forshop-values,
.forshop-capabilities,
.forshop-hardware {
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(62, 224, 159, 0.12), transparent 25%),
    linear-gradient(145deg, #090f0c, #121e18 52%, #080d0b);
}

.forshop-value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.forshop-value-card {
  position: relative;
  min-height: 310px;
  padding: clamp(2rem, 4vw, 3.5rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform-style: preserve-3d;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.forshop-value-card:hover {
  border-color: rgba(62, 224, 159, 0.34);
  background: linear-gradient(145deg, rgba(62, 224, 159, 0.1), rgba(255, 255, 255, 0.025));
}

.forshop-value-wide {
  grid-column: 1 / -1;
  min-height: 250px;
}

.forshop-value-index {
  display: block;
  margin-bottom: 42px;
  color: var(--green);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.forshop-value-card h3 {
  margin-bottom: 18px;
  color: var(--yellow);
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
}

.forshop-value-card p {
  max-width: 850px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
}

.forshop-trial {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 10% 52%, rgba(62, 224, 159, 0.26), transparent 30%),
    linear-gradient(135deg, #123429, #1b5942 52%, #102a21);
}

.forshop-trial-layout,
.forshop-forware-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.forshop-device {
  position: relative;
  margin: 0;
}

.forshop-device-orbit {
  position: absolute;
  z-index: 0;
  inset: 12% 8%;
  border: 1px solid rgba(255, 226, 136, 0.18);
  border-radius: 50%;
  transform: rotate(-9deg);
  box-shadow: 0 0 60px rgba(62, 224, 159, 0.12);
}

.forshop-device img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 35px 45px rgba(0, 0, 0, 0.32));
  animation: forshopDeviceFloat 6s ease-in-out infinite;
}

.forshop-trial-copy h2,
.forshop-forware-copy h2 {
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1;
}

.forshop-trial-copy > p,
.forshop-forware-copy > p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
  line-height: 1.75;
}

.forshop-downloads {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.forshop-pricing {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 86% 18%, rgba(62, 224, 159, 0.2), transparent 28%),
    radial-gradient(circle at 10% 84%, rgba(255, 226, 136, 0.09), transparent 24%),
    linear-gradient(145deg, #080f0c 0%, #142b22 52%, #070b09 100%);
}

.forshop-editions {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 12% 16%, rgba(62, 224, 159, 0.22), transparent 29%),
    radial-gradient(circle at 88% 82%, rgba(255, 226, 136, 0.1), transparent 25%),
    linear-gradient(145deg, #07100c 0%, #12281f 50%, #080d0b 100%);
}

.forshop-editions::before,
.forshop-pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(120deg, #000, transparent 72%);
  mask-image: linear-gradient(120deg, #000, transparent 72%);
}

.forshop-editions > .container,
.forshop-pricing > .container {
  position: relative;
  z-index: 1;
}

.forshop-editions .section-heading h2 {
  color: #fff;
}

.forshop-editions .section-heading > p,
.forshop-editions .eyebrow.dark {
  color: rgba(255, 255, 255, 1);
}

.forshop-pricing .section-heading h2 {
  color: #fff;
}

.forshop-pricing .section-heading > p,
.forshop-pricing .eyebrow.dark {
  color: rgba(255, 255, 255, 0.72);
}

.forshop-edition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.forshop-edition-card {
  position: relative;
  min-height: 560px;
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 43%, rgba(62, 224, 159, 0.16), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform-style: preserve-3d;
}

.forshop-edition-wine {
  background:
    radial-gradient(circle at 50% 43%, rgba(255, 226, 136, 0.16), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
}

.forshop-edition-label {
  align-self: flex-start;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.forshop-edition-card img {
  width: min(64%, 320px);
  height: auto;
  display: block;
  border-radius: 26%;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.14);
  transition: transform 0.35s ease;
}

.forshop-edition-card:hover img {
  transform: translateY(-8px) rotate(-2deg) scale(1.03);
}

.forshop-edition-card strong {
  align-self: flex-end;
  border-bottom: 1px solid rgba(62, 224, 159, 0.42);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.forshop-capabilities {
  background:
    radial-gradient(circle at 50% 0%, rgba(62, 224, 159, 0.16), transparent 30%),
    linear-gradient(180deg, #102a21 0%, #0b1712 50%, #050807 100%);
}

.forshop-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.forshop-capability {
  padding: clamp(2rem, 3.5vw, 3.2rem);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.forshop-capability-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(62, 224, 159, 0.4);
  border-radius: 50%;
  color: var(--green);
  background: rgba(62, 224, 159, 0.08);
  box-shadow: 0 0 30px rgba(62, 224, 159, 0.08);
  font-weight: 850;
}

.forshop-capability h3 {
  margin-bottom: 24px;
  color: var(--yellow);
  font-size: 2rem;
}

.forshop-capability ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 13px;
  list-style: none;
}

.forshop-capability li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  line-height: 1.5;
}

.forshop-capability li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px rgba(62, 224, 159, 0.65);
}

.forshop-forware {
  color: #fff;
  background:
    radial-gradient(circle at 78% 38%, rgba(255, 226, 136, 0.1), transparent 25%),
    linear-gradient(135deg, #153d2e, #1d6045 48%, #102a21);
}

.forshop-forware-layout {
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
}

.forshop-forware-video {
  margin: 0;
}

.forshop-forware-video video {
  aspect-ratio: 16 / 10;
}

.forshop-price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.forshop-price {
  min-height: 340px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.022));
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.forshop-price:hover {
  transform: translateY(-7px);
  border-color: rgba(62, 224, 159, 0.6);
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.34),
    0 0 45px rgba(62, 224, 159, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.forshop-price-featured {
  color: #fff;
  border-color: rgba(62, 224, 159, 0.36);
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 226, 136, 0.13), transparent 30%),
    linear-gradient(145deg, #13372a, #1d6246);
}

.forshop-price > span {
  color: var(--green);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.forshop-price strong {
  margin-top: auto;
  font-size: clamp(2rem, 3vw, 3rem);
}

.forshop-price em {
  margin-top: 8px;
  color: var(--green);
  font-size: 1.35rem;
  font-style: normal;
  font-weight: 800;
}

.forshop-price small {
  margin-top: 28px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.forshop-hardware {
  background:
    radial-gradient(circle at 12% 15%, rgba(62, 224, 159, 0.13), transparent 26%),
    linear-gradient(145deg, #0a100d, #15221b 55%, #090e0c);
}

.forshop-hardware-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.forshop-hardware-card {
  padding: 20px 20px 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.forshop-hardware-card:hover {
  transform: translateY(-7px);
  border-color: rgba(62, 224, 159, 0.36);
}

.forshop-hardware-card > div {
  height: 250px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background:
    radial-gradient(circle at center, rgba(62, 224, 159, 0.12), transparent 60%),
    rgba(255, 255, 255, 0.045);
}

.forshop-hardware-card img {
  max-width: 82%;
  max-height: 205px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.28));
}

.forshop-hardware-card h3 {
  margin-bottom: 10px;
  color: var(--yellow);
  font-size: 1.35rem;
}

.forshop-hardware-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 1rem;
  line-height: 1.55;
}

.forshop-cta {
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 226, 136, 0.11), transparent 27%),
    linear-gradient(135deg, #163328, #1f5c43);
}

.forshop-values,
.forshop-trial,
.forshop-editions,
.forshop-capabilities,
.forshop-forware,
.forshop-pricing,
.forshop-hardware {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

@keyframes forshopGlow {
  to {
    transform: translate3d(25px, -18px, 0) scale(1.08);
    opacity: 0.3;
  }
}

@keyframes forshopVideoAura {
  to {
    transform: translate3d(-10px, 12px, 0) scale(1.06);
  }
}

@keyframes forshopDeviceFloat {
  50% {
    transform: translate3d(0, -10px, 0) rotate(-0.8deg);
  }
}

@media (max-width: 1100px) {
  .forshop-hero-layout,
  .forshop-trial-layout,
  .forshop-forware-layout {
    grid-template-columns: 1fr;
  }

  .forshop-hero {
    min-height: 0;
  }

  .forshop-hero-video {
    width: min(100%, 760px);
    justify-self: start;
  }

  .forshop-trial-copy,
  .forshop-forware-copy {
    max-width: 760px;
  }

  .forshop-capability-grid {
    grid-template-columns: 1fr;
  }

  .forshop-capability {
    display: grid;
    grid-template-columns: auto 0.45fr 1.55fr;
    gap: 24px;
    align-items: start;
  }

  .forshop-capability-icon,
  .forshop-capability h3 {
    margin-bottom: 0;
  }

  .forshop-hardware-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .forshop-hero {
    padding: 135px 0 75px;
  }

  .forshop-hero .page-hero-content h1 {
    font-size: clamp(3rem, 13vw, 4.5rem);
  }

  .forshop-hero-video {
    transform: none;
  }

  .forshop-video-clip {
    border-radius: 21px;
  }

  .forshop-hero-video figcaption {
    right: 10px;
    bottom: 10px;
  }

  .forshop-value-grid,
  .forshop-edition-grid,
  .forshop-price-grid,
  .forshop-hardware-grid {
    grid-template-columns: 1fr;
  }

  .forshop-value-wide {
    grid-column: auto;
  }

  .forshop-edition-card {
    min-height: 480px;
  }

  .forshop-capability {
    display: block;
  }

  .forshop-capability-icon,
  .forshop-capability h3 {
    margin-bottom: 24px;
  }

  .forshop-hardware-card > div {
    height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .forshop-hero-glow,
  .forshop-video-aura,
  .forshop-hero-video figcaption span,
  .forshop-device img {
    animation: none !important;
  }
}

/* =========================================================
   ADVANCED MOTION SYSTEM
   ========================================================= */
body::before {
  content: "";
  position: fixed;
  z-index: 9998;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 100% 4px;
  mix-blend-mode: overlay;
  opacity: 0.32;
}

.page-loader {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 22px;
  color: var(--white);
  background: var(--dark-deep);
  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}
.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
}
.loader-core {
  position: relative;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(62, 224, 159, 0.3);
  border-radius: 26px;
  color: var(--green);
  font-size: 2rem;
  font-weight: 900;
  box-shadow:
    0 0 55px rgba(62, 224, 159, 0.13),
    inset 0 0 30px rgba(62, 224, 159, 0.08);
  animation: loaderFloat 1.8s ease-in-out infinite;
}
.loader-core::before,
.loader-core::after {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(62, 224, 159, 0.2);
  border-radius: 32px;
  animation: loaderOrbit 3s linear infinite;
}
.loader-core::after {
  inset: -25px;
  border-color: rgba(237, 174, 13, 0.18);
  animation-direction: reverse;
  animation-duration: 5s;
}
.loader-line {
  width: 210px;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}
.loader-line i {
  display: block;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  animation: loadingLine 1.15s linear infinite;
}
.page-loader small {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1rem;
  letter-spacing: 0.22em;
}

.cursor-glow {
  position: fixed;
  z-index: 50;
  left: 0;
  top: 0;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(62, 224, 159, 0.09),
    transparent 66%
  );
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
body:hover .cursor-glow {
  opacity: 1;
}

.network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.52;
}
.data-streams {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.data-streams i {
  position: absolute;
  top: -15%;
  width: 1px;
  height: 22%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(62, 224, 159, 0.6),
    transparent
  );
  animation: dataFall 6s linear infinite;
}
.data-streams i:nth-child(1) {
  left: 8%;
  animation-delay: -1s;
}
.data-streams i:nth-child(2) {
  left: 24%;
  animation-delay: -4s;
  animation-duration: 8s;
}
.data-streams i:nth-child(3) {
  left: 43%;
  animation-delay: -2s;
}
.data-streams i:nth-child(4) {
  left: 61%;
  animation-delay: -5s;
  animation-duration: 9s;
}
.data-streams i:nth-child(5) {
  left: 78%;
  animation-delay: -3s;
}
.data-streams i:nth-child(6) {
  left: 92%;
  animation-delay: -6s;
  animation-duration: 7s;
}

.hero-copy {
  animation: heroBreath 7s ease-in-out infinite;
}
.hero-orb-one {
  animation: orbPulse 8s ease-in-out infinite;
}
.hero-orb-two {
  animation: orbPulse 10s ease-in-out infinite reverse;
}
.brand-mark span {
  animation: brandEqualizer 1.8s ease-in-out infinite alternate;
  transform-origin: bottom;
}
.brand-mark span:nth-child(2) {
  animation-delay: 0.2s;
}
.brand-mark span:nth-child(3) {
  animation-delay: 0.4s;
}
.dashboard::after {
  content: "";
  position: absolute;
  inset: -80% -30%;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 45%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 55%
  );
  transform: translateX(-80%);
  animation: dashboardScan 7s ease-in-out infinite;
}
.visual-badge,
.floating-card-one {
  animation: floatY 4s ease-in-out infinite;
}
.floating-card-two {
  animation: floatY 4.8s ease-in-out infinite reverse;
}
.status-dot {
  animation: statusPulse 1.6s ease-out infinite;
}
.hero .bars i {
  --bar-delay: 0s;
  transform-origin: bottom;
  animation:
    barMove 2.4s ease-in-out var(--bar-delay) infinite,
    barPulse 4s ease-in-out var(--bar-delay) infinite !important;
  animation-play-state: running !important;
  will-change: transform, opacity;
}
.hero .bars i:nth-child(2) {
  --bar-delay: -0.3s;
}
.hero .bars i:nth-child(3) {
  --bar-delay: -0.6s;
}
.hero .bars i:nth-child(4) {
  --bar-delay: -0.9s;
}
.hero .bars i:nth-child(5) {
  --bar-delay: -1.2s;
}
.hero .bars i:nth-child(6) {
  --bar-delay: -1.5s;
}
.hero .bars i:nth-child(7) {
  --bar-delay: -1.8s;
}
.hero .bars i:nth-child(8) {
  --bar-delay: -2.1s;
}

.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    transform 0.18s ease-out,
    box-shadow 0.3s ease;
}
.tilt-card > * {
  transform: translateZ(14px);
}
.magnetic {
  will-change: transform;
}

.solution-card::before,
.value-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    380px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(62, 224, 159, 0.13),
    transparent 42%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}
.solution-card,
.value-card {
  position: relative;
  overflow: hidden;
}
.solution-card:hover::before,
.value-card:hover::before {
  opacity: 1;
}

.service-symbol {
  animation: symbolGlow 4s ease-in-out infinite;
}
.service-row:nth-child(2) .service-symbol {
  animation-delay: 1s;
}
.service-row:nth-child(3) .service-symbol {
  animation-delay: 2s;
}
.service-row:nth-child(4) .service-symbol {
  animation-delay: 3s;
}
.support-ring {
  animation: ringRotate 18s linear infinite;
}
.ring-two {
  animation-direction: reverse;
  animation-duration: 12s;
}
.support-person {
  animation: nodeFloat 5s ease-in-out infinite;
}
.person-two {
  animation-delay: -1.5s;
}
.person-three {
  animation-delay: -3s;
}
.support-center {
  animation: corePulse 3s ease-in-out infinite;
}
.story-lines {
  animation: radarMove 12s linear infinite;
}

@keyframes loaderFloat {
  50% {
    transform: translateY(-8px) rotate(2deg);
  }
}
@keyframes loaderOrbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes loadingLine {
  from {
    transform: translateX(-130%);
  }
  to {
    transform: translateX(280%);
  }
}
@keyframes dataFall {
  from {
    transform: translateY(-120%);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  to {
    transform: translateY(620%);
    opacity: 0;
  }
}
@keyframes heroBreath {
  50% {
    transform: translateY(-5px);
  }
}
@keyframes orbPulse {
  50% {
    transform: scale(1.12);
    opacity: 0.6;
  }
}
@keyframes brandEqualizer {
  to {
    transform: scaleY(0.72);
  }
}
@keyframes dashboardScan {
  0%,
  25% {
    transform: translateX(-80%);
  }
  55%,
  100% {
    transform: translateX(80%);
  }
}
@keyframes floatY {
  50% {
    transform: translateY(-11px);
  }
}
@keyframes statusPulse {
  80%,
  100% {
    box-shadow: 0 0 0 13px rgba(62, 224, 159, 0);
  }
}
@keyframes barMove {
  0%,
  100% {
    transform: scaleY(0.62);
  }
  25% {
    transform: scaleY(0.84);
  }
  50% {
    transform: scaleY(1);
  }
  75% {
    transform: scaleY(0.76);
  }
}
@keyframes barPulse {
  50% {
    filter: brightness(1.2);
    opacity: 0.78;
  }
}
@keyframes symbolGlow {
  50% {
    border-color: rgba(62, 224, 159, 0.55);
    box-shadow: 0 0 24px rgba(62, 224, 159, 0.1);
  }
}
@keyframes ringRotate {
  to {
    transform: rotate(360deg);
  }
}
@keyframes nodeFloat {
  50% {
    transform: translateY(-12px) scale(1.05);
  }
}
@keyframes corePulse {
  50% {
    box-shadow:
      0 0 0 25px rgba(62, 224, 159, 0.02),
      0 0 55px rgba(62, 224, 159, 0.2);
  }
}
@keyframes radarMove {
  to {
    transform: rotate(360deg) scale(1.05);
  }
}

@media (max-width: 900px), (pointer: coarse) {
  .cursor-glow {
    display: none;
  }
  .tilt-card {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader {
    display: none;
  }
  .data-streams,
  .network-canvas,
  .cursor-glow {
    display: none;
  }
}

/* =========================================================
   MULTI-PAGE COMPONENTS
   ========================================================= */
.page-hero {
  position: relative;
  min-height: 620px;
  padding: 185px 0 100px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(
      circle at 78% 24%,
      rgba(62, 224, 159, 0.14),
      transparent 28%
    ),
    linear-gradient(135deg, var(--dark-deep), var(--dark) 52%, #20312a);
}
.page-hero .container {
  position: relative;
  z-index: 3;
}
.page-hero-content {
  max-width: 860px;
}
.page-hero h1 {
  margin-bottom: 26px;
  font-size: clamp(3.8rem, 7vw, 7.2rem);
  font-weight: 850;
}
.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 1);
  font-size: 1.08rem;
}
.page-hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* WALLYBLOG — hero con illustrazione originale su fondo trasparente */
.blog-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.blog-hero .page-hero-content {
  max-width: 780px;
}

.blog-hero h1 {
  font-size: clamp(3.5rem, 5.8vw, 6.2rem);
}

.blog-hero-art {
  position: relative;
  margin: 0;
  border: 0;
  background: transparent;
  filter: drop-shadow(0 32px 42px rgba(0, 0, 0, 0.3));
}

.blog-hero-art img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}

@media (max-width: 980px) {
  .blog-hero-layout {
    grid-template-columns: 1fr;
  }

  .blog-hero-art {
    width: min(100%, 680px);
  }
}

@media (max-width: 680px) {
  .blog-hero h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }
}

/* =========================================================
   MENU MOBILE — gerarchia, spaziatura e pannello navigabile
   ========================================================= */
@media (max-width: 900px) {
  .header-inner {
    height: 78px;
    gap: 12px;
  }

  .site-header .brand-logo {
    width: min(190px, calc(100vw - 116px));
    height: auto;
  }

  .menu-toggle {
    z-index: 1003;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    padding: 11px;
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .main-nav {
    inset: 0;
    padding: 96px 18px 34px;
    display: block;
    background:
      radial-gradient(circle at 86% 8%, rgba(62, 224, 159, 0.16), transparent 30%),
      linear-gradient(155deg, #07110d 0%, var(--dark-green) 56%, #09110d 100%);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav::before {
    content: "Navigazione";
    display: block;
    width: min(100%, 520px);
    margin: 0 auto 14px;
    color: rgba(255, 255, 255, 0.46);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  .nav-menu {
    width: min(100%, 520px);
    margin-inline: auto;
    gap: 6px;
  }

  .nav-menu > .nav-item {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.035);
  }

  .nav-menu > .nav-item > a,
  .nav-menu > .nav-item > .nav-item-row > a {
    min-height: 54px;
    padding: 14px 17px;
    display: flex;
    align-items: center;
    flex: 1;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.08rem;
    line-height: 1.2;
    text-align: left;
  }

  .nav-item-row {
    width: 100%;
    justify-content: flex-start;
    gap: 6px;
  }

  .nav-item-row > .submenu-toggle {
    margin-right: 8px;
  }

  .submenu-toggle {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
  }

  .submenu-toggle span {
    width: 8px;
    height: 8px;
    margin-top: -4px;
  }

  .main-nav a[aria-current="page"]::after,
  .main-nav a.is-menu-parent-active::after {
    display: none;
  }

  .nav-menu > .nav-item > a[aria-current="page"],
  .nav-menu > .nav-item > .nav-item-row > a[aria-current="page"],
  .nav-menu > .nav-item > .nav-item-row > a.is-menu-parent-active {
    color: var(--green);
    background: linear-gradient(90deg, rgba(62, 224, 159, 0.12), transparent 72%);
    box-shadow: inset 3px 0 0 var(--green);
  }

  .submenu,
  .submenu-nested {
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .nav-has-submenu:not(.submenu-open) > .submenu {
    max-height: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
    opacity: 0;
    visibility: hidden;
  }

  .nav-has-submenu.submenu-open > .submenu {
    max-height: 900px;
    margin: 0 12px 12px;
    padding: 8px 0 4px 14px;
    border-width: 0;
    border-left: 1px solid rgba(62, 224, 159, 0.36);
    opacity: 1;
    visibility: visible;
  }

  .submenu li + li {
    margin-top: 3px;
  }

  .submenu a,
  .submenu .nav-item-row > a {
    min-height: 42px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1rem;
    line-height: 1.3;
    text-align: left;
    white-space: normal;
  }

  .submenu .nav-item-row > a {
    padding-left: 12px;
  }

  .submenu .nav-item-row > .submenu-toggle {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    margin-right: 4px;
  }

  .submenu .nav-has-submenu.submenu-open > .submenu-nested {
    max-height: 520px;
    margin: 2px 0 8px 12px;
    padding: 5px 0 3px 12px;
    border-left-color: rgba(237, 174, 13, 0.38);
  }

  .submenu-nested a {
    min-height: 38px;
    padding-block: 8px;
    font-size: 1rem;
  }

  .main-nav .nav-contact {
    width: calc(100% - 16px);
    min-height: 48px;
    margin: 8px;
    justify-content: center;
    color: var(--dark);
    text-align: center;
  }
}

@media (max-width: 420px) {
  .main-nav {
    padding-inline: 12px;
  }

  .nav-menu > .nav-item > a,
  .nav-menu > .nav-item > .nav-item-row > a {
    font-size: 1rem;
  }
}

.breadcrumbs {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.breadcrumbs a:hover {
  color: var(--green);
}
.page-hero-metric {
  position: absolute;
  right: 0;
  bottom: -30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(570px, 48vw);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(26, 35, 31, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.page-hero-metric div {
  padding: 25px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.page-hero-metric div:last-child {
  border: 0;
}
.page-hero-metric strong {
  display: block;
  color: var(--green);
  font-size: 1.45rem;
}
.page-hero-metric span {
  color: rgba(255, 255, 255, 0.47);
  font-size: 1rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 90px;
  align-items: start;
}
.intro-copy h2 {
  font-size: clamp(2.5rem, 4.6vw, 4.8rem);
}
.intro-copy p {
  color: var(--text);
}
.stat-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.stat-card {
  min-height: 220px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.stat-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -70px;
  bottom: -70px;
  border: 1px solid rgba(62, 224, 159, 0.3);
  border-radius: 50%;
}
.stat-card strong {
  display: block;
  margin-bottom: 45px;
  color: var(--green-dark);
  font-size: 2.8rem;
}
.stat-card h3 {
  font-size: 1.25rem;
}
.stat-card p {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
}

.product-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.product-card {
  min-height: 470px;
  padding: 38px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.product-card.dark {
  color: var(--white);
  background: var(--dark);
}
.product-card::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -120px;
  top: -120px;
  border-radius: 50%;
  border: 1px solid rgba(62, 224, 159, 0.23);
  box-shadow: 0 0 80px rgba(62, 224, 159, 0.08);
}
.product-card .tag {
  align-self: flex-start;
}
.product-card h2 {
  margin: 65px 0 12px;
  font-size: 2.5rem;
}
.product-card p {
  max-width: 520px;
  color: var(--text);
}
.product-card.dark p {
  color: rgba(255, 255, 255, 0.57);
}
.product-features {
  padding: 0;
  margin: 22px 0 30px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  color: #68736e;
  font-size: 1rem;
}
.dark .product-features {
  color: rgba(255, 255, 255, 0.6);
}
.product-features li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--green-dark);
  font-weight: 900;
}

.support-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.support-option {
  min-height: 340px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.support-option .solution-icon {
  margin: 0 0 50px;
}
.support-option h2 {
  font-size: 1.65rem !important;
}
.support-option p {
  color: var(--text);
  font-size: 1rem;
}
.support-option .text-link {
  margin-top: auto;
}

.timeline {
  position: relative;
  padding-left: 44px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(
    var(--green),
    var(--gold),
    rgba(36, 44, 41, 0.13)
  );
}
.timeline-item {
  position: relative;
  padding: 0 0 62px 34px;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 35px;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -42px;
  top: 5px;
  width: 17px;
  height: 17px;
  border: 4px solid var(--cream);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 1px rgba(36, 44, 41, 0.15);
}
.timeline-item time {
  color: var(--green-dark);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.timeline-item h3 {
  margin-bottom: 12px;
  font-size: 1.55rem;
}
.timeline-item p {
  margin: 0;
  color: var(--text);
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.people-card {
  min-height: 370px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.people-card .avatar-art {
  height: 170px;
  margin: -30px -30px 28px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 70% 30%,
      rgba(62, 224, 159, 0.38),
      transparent 25%
    ),
    linear-gradient(145deg, #1a2320, #34463e);
}
.avatar-art::before,
.avatar-art::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}
.avatar-art::before {
  width: 180px;
  height: 180px;
  right: -45px;
  top: -80px;
}
.avatar-art::after {
  width: 100px;
  height: 100px;
  left: 28px;
  bottom: -54px;
}
.people-card h3 {
  font-size: 1.4rem;
}
.people-card p {
  color: var(--text);
  font-size: 1rem;
}

.blog-featured {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  margin-bottom: 45px;
}
.article-image {
  min-height: 330px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
}
.article-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 20, 18, 0.77), transparent 65%);
}
.article-image .tag {
  position: absolute;
  z-index: 2;
  left: 24px;
  top: 24px;
}
.featured-copy {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.article-meta {
  color: var(--green-dark);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.featured-copy h2 {
  margin: 15px 0 18px;
  font-size: 2.25rem;
}
.featured-copy p {
  color: var(--text);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.blog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.blog-card .article-image {
  min-height: 210px;
  border-radius: 0;
}
.blog-card-body {
  padding: 25px;
}
.blog-card h2 {
  margin: 10px 0 14px;
  font-size: 1.3rem;
}
.blog-card p {
  color: var(--text);
  font-size: 1rem;
}

.filter-bar {
  margin-bottom: 35px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-button {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
  font-size: 1rem;
}
.filter-button.active,
.filter-button:hover {
  color: var(--dark);
  background: var(--green);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.portfolio-card {
  min-height: 410px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}
.portfolio-card.hidden {
  display: none;
}
.portfolio-card:hover {
  transform: translateY(-5px);
}
.portfolio-card-image {
  height: 220px;
  position: relative;
  background-size: cover;
  background-position: center;
}
.portfolio-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 25, 22, 0.45), transparent);
}
.portfolio-card-body {
  padding: 25px;
}
.portfolio-card h2 {
  margin: 10px 0;
  font-size: 1.35rem;
}
.portfolio-card p {
  color: var(--text);
  font-size: 1rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
}
.contact-info-card {
  padding: 36px;
  border-radius: var(--radius-md);
  background: var(--dark);
  color: var(--white);
}
.contact-info-card h2 {
  font-size: 2rem;
}
.contact-info-card > p {
  color: rgba(255, 255, 255, 0.57);
}
.contact-list {
  margin: 36px 0;
  display: grid;
  gap: 20px;
}
.contact-list a,
.contact-list div {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-list i {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(62, 224, 159, 0.13);
  color: var(--green);
  font-style: normal;
}
.contact-list span {
  display: flex;
  flex-direction: column;
  font-size: 1rem;
}
.contact-list strong {
  color: var(--white);
  font-size: 1rem;
}
.contact-list small {
  color: rgba(255, 255, 255, 1);
}
.social-row {
  display: flex;
  gap: 10px;
}
.social-row a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 900;
}

.social-row a i {
  font-size: 1rem;
}

.social-row a:hover {
  border-color: var(--green);
  color: var(--green);
}
.contact-form {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field.full {
  grid-column: 1/-1;
}
.form-field label {
  font-size: 1rem;
  font-weight: 800;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f8faf8;
  padding: 15px 16px;
  color: var(--dark);
  outline: none;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--green-dark);
  box-shadow: 0 0 0 4px rgba(62, 224, 159, 0.12);
}
.form-field textarea {
  min-height: 155px;
  resize: vertical;
}
.form-consent {
  grid-column: 1/-1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
  font-size: 1rem;
}
.form-message {
  display: none;
  margin-top: 18px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(62, 224, 159, 0.14);
  color: #11734e;
  font-weight: 700;
  font-size: 1rem;
}
.form-message.show {
  display: block;
}
.form-message.error {
  background: rgba(220, 53, 69, 0.12);
  color: #a61b29;
}
.map-frame {
  min-height: 390px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-frame iframe {
  width: 100%;
  height: 390px;
  border: 0;
  display: block;
}

.faq-list {
  max-width: 930px;
  margin-inline: auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-question {
  width: 100%;
  padding: 25px 4px;
  border: 0;
  background: transparent;
  text-align: left;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--dark);
  cursor: pointer;
  font-weight: 800;
  font-size: 1rem;
}
.faq-question span:last-child {
  color: var(--green-dark);
  font-size: 1.35rem;
  transition: transform 0.2s ease;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p {
  padding: 0 55px 25px 4px;
  margin: 0;
  color: var(--text);
  font-size: 1rem;
}
.faq-item.open .faq-answer {
  max-height: 240px;
}
.faq-item.open .faq-question span:last-child {
  transform: rotate(45deg);
}

@media (max-width: 900px) {
  .page-hero-metric {
    position: relative;
    bottom: auto;
    margin-top: 50px;
    width: 100%;
  }
  .intro-grid,
  .contact-layout,
  .blog-featured {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .product-showcase,
  .support-options,
  .blog-grid,
  .portfolio-grid,
  .people-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .page-hero {
    min-height: auto;
    padding: 135px 0 78px;
  }
  .page-hero h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }
  .page-hero-metric {
    grid-template-columns: 1fr;
  }
  .page-hero-metric div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .product-showcase,
  .support-options,
  .blog-grid,
  .portfolio-grid,
  .people-grid,
  .stat-panel {
    grid-template-columns: 1fr;
  }
  .product-features {
    grid-template-columns: 1fr;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-field.full,
  .form-consent {
    grid-column: auto;
  }
  .contact-form {
    padding: 25px;
  }
}

/* =========================================================
   WALLYSOFT IMMERSIVE GLASS DESIGN — 2026
   ========================================================= */
:root {
  --glass-bg: rgba(255, 255, 255, 0.075);
  --glass-bg-strong: rgba(255, 255, 255, 0.12);
  --glass-light: rgba(255, 255, 255, 0.68);
  --glass-border: rgba(255, 255, 255, 0.17);
  --glass-dark-border: rgba(36, 44, 41, 0.1);
  --glass-shadow: 0 28px 85px rgba(8, 16, 13, 0.22);
  --blur-xl: blur(34px) saturate(145%);
  --blur-md: blur(18px) saturate(135%);
}

body {
  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(62, 224, 159, 0.1),
      transparent 24%
    ),
    radial-gradient(
      circle at 86% 34%,
      rgba(237, 174, 13, 0.07),
      transparent 20%
    ),
    var(--cream);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(
      115deg,
      transparent 0 30%,
      rgba(255, 255, 255, 0.2) 44%,
      transparent 58%
    ),
    radial-gradient(
      circle at var(--mx, 50%) var(--my, 30%),
      rgba(62, 224, 159, 0.08),
      transparent 23%
    );
  background-size:
    220% 100%,
    auto;
  animation: ambientSweep 15s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

@keyframes ambientSweep {
  from {
    background-position:
      180% 0,
      center;
  }
  to {
    background-position:
      -120% 0,
      center;
  }
}

.ambient-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(65px);
  opacity: 0.25;
  will-change: transform;
  animation: blobFloat 18s ease-in-out infinite alternate;
}
.ambient-blob:nth-child(1) {
  width: 420px;
  height: 420px;
  left: -150px;
  top: 10%;
  background: rgba(62, 224, 159, 0.35);
}
.ambient-blob:nth-child(2) {
  width: 330px;
  height: 330px;
  right: -90px;
  top: 43%;
  background: rgba(237, 174, 13, 0.2);
  animation-delay: -7s;
}
.ambient-blob:nth-child(3) {
  width: 370px;
  height: 370px;
  left: 38%;
  bottom: -220px;
  background: rgba(62, 224, 159, 0.2);
  animation-delay: -12s;
}
@keyframes blobFloat {
  0% {
    transform: translate3d(-2%, -2%, 0) scale(0.93);
  }
  100% {
    transform: translate3d(7%, 8%, 0) scale(1.08);
  }
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 8px 20px;
  z-index: -1;
  border: 1px solid transparent;
  border-radius: 22px;
  transition: 0.35s ease;
}
.site-header.scrolled {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.site-header.scrolled::before {
  border-color: var(--glass-border);
  background: rgba(20, 28, 25, 0.62);
  box-shadow:
    0 16px 50px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
}

.hero,
.page-hero,
.services-section,
.support-section,
.cta-section {
  isolation: isolate;
  background:
    radial-gradient(
      circle at 72% 18%,
      rgba(62, 224, 159, 0.2),
      transparent 27%
    ),
    radial-gradient(
      circle at 20% 90%,
      rgba(237, 174, 13, 0.09),
      transparent 23%
    ),
    linear-gradient(145deg, #111815 0%, #202b27 52%, #17211d 100%);
}

.hero::after,
.page-hero::after,
.services-section::after,
.support-section::after,
.cta-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(
      120deg,
      transparent 22%,
      rgba(255, 255, 255, 0.045) 42%,
      transparent 58%
    ),
    radial-gradient(
      circle at 75% 28%,
      rgba(255, 255, 255, 0.07),
      transparent 18%
    );
  background-size:
    220% 100%,
    auto;
  animation: glassReflection 12s linear infinite;
}
@keyframes glassReflection {
  from {
    background-position:
      180% 0,
      center;
  }
  to {
    background-position:
      -100% 0,
      center;
  }
}

.hero-grid,
.cta-grid {
  opacity: 0.09;
}

.dashboard,
.page-hero-metric,
.visual-badge,
.floating-card,
.support-status,
.contact-info-card {
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.14),
    rgba(255, 255, 255, 0.055)
  );
  box-shadow:
    0 32px 90px rgba(4, 10, 8, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(28px) saturate(145%);
  -webkit-backdrop-filter: blur(28px) saturate(145%);
}

.dashboard {
  background: linear-gradient(
    135deg,
    rgba(247, 250, 248, 0.89),
    rgba(232, 241, 236, 0.71)
  );
}

.dashboard::after,
.product-card::after,
.solution-card::after,
.support-option::after,
.value-card::after,
.people-card::after,
.stat-card::after,
.blog-card::after,
.portfolio-card::after,
.contact-form::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    117deg,
    transparent 18%,
    rgba(255, 255, 255, 0.34) 38%,
    transparent 57%
  );
  background-size: 230% 100%;
  background-position: 170% 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.dashboard:hover::after,
.product-card:hover::after,
.solution-card:hover::after,
.support-option:hover::after,
.value-card:hover::after,
.people-card:hover::after,
.stat-card:hover::after,
.blog-card:hover::after,
.portfolio-card:hover::after,
.contact-form:hover::after {
  opacity: 0.52;
  animation: cardSheen 1.35s ease;
}
@keyframes cardSheen {
  to {
    background-position: -90% 0;
  }
}

.solution-card,
.product-card,
.support-option,
.value-card,
.people-card,
.stat-card,
.blog-card,
.portfolio-card,
.contact-form,
.story-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.64);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.76),
    rgba(255, 255, 255, 0.43)
  );
  box-shadow:
    0 24px 62px rgba(31, 47, 40, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(132%);
  -webkit-backdrop-filter: blur(20px) saturate(132%);
}

.product-card.dark,
.testimonial-card,
.contact-info-card {
  border-color: rgba(255, 255, 255, 0.15);
  background:
    radial-gradient(
      circle at 78% 12%,
      rgba(62, 224, 159, 0.16),
      transparent 28%
    ),
    linear-gradient(145deg, rgba(42, 55, 49, 0.86), rgba(21, 29, 26, 0.7));
  backdrop-filter: blur(26px) saturate(145%);
}

.solution-card:hover,
.product-card:hover,
.support-option:hover,
.value-card:hover,
.people-card:hover,
.stat-card:hover,
.blog-card:hover,
.portfolio-card:hover {
  border-color: rgba(62, 224, 159, 0.62);
  box-shadow:
    0 32px 90px rgba(19, 43, 33, 0.16),
    0 0 0 1px rgba(62, 224, 159, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.solution-icon,
.service-symbol,
.value-icon,
.floating-icon,
.contact-list i,
.support-center,
.mini-logo {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.055)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 14px 38px rgba(8, 20, 15, 0.13);
  backdrop-filter: blur(16px) saturate(145%);
}

.solution-icon::after,
.service-symbol::after,
.value-icon::after,
.floating-icon::after,
.contact-list i::after {
  content: "";
  position: absolute;
  width: 75%;
  height: 180%;
  left: -110%;
  top: -40%;
  transform: rotate(24deg);
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  animation: iconGlint 6s ease-in-out infinite;
}
@keyframes iconGlint {
  0%,
  65% {
    left: -120%;
  }
  85%,
  100% {
    left: 145%;
  }
}

.service-row {
  border-color: rgba(255, 255, 255, 0.1);
  position: relative;
}
.service-row::before {
  content: "";
  position: absolute;
  /*inset: 8px 0;*/
  border-radius: 20px;
  opacity: 0;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0.07),
    rgba(62, 224, 159, 0.045)
  );
  backdrop-filter: blur(14px);
  transition: 0.3s ease;
}
.service-row:hover::before {
  opacity: 1;
}
.service-row > * {
  position: relative;
  z-index: 2;
}

.button {
  position: relative;
  overflow: hidden;
  box-shadow:
    0 12px 34px rgba(62, 224, 159, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}
.button::before {
  content: "";
  position: absolute;
  top: -70%;
  left: -45%;
  width: 38%;
  height: 240%;
  transform: rotate(25deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.65),
    transparent
  );
  transition: left 0.65s ease;
}
.button:hover::before {
  left: 125%;
}

.button-ghost,
.button-outline-light {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 12px 35px rgba(0, 0, 0, 0.08);
}

.tag,
.date-pill,
.story-label,
.filter-bar {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.section-light,
.values-section,
.process-section,
.stories-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 8% 18%,
      rgba(62, 224, 159, 0.075),
      transparent 22%
    ),
    radial-gradient(
      circle at 92% 74%,
      rgba(237, 174, 13, 0.055),
      transparent 18%
    ),
    linear-gradient(150deg, #f4f6f1, #eef2ed);
}

.section-light::before,
.values-section::before,
.process-section::before,
.stories-section::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  right: -160px;
  top: 12%;
  background: rgba(62, 224, 159, 0.12);
  filter: blur(70px);
  pointer-events: none;
}

.article-image {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 26px 75px rgba(20, 32, 27, 0.14);
}
.article-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.2),
    transparent 35%,
    rgba(62, 224, 159, 0.08)
  );
  mix-blend-mode: screen;
}

.map-frame {
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: 0 30px 90px rgba(14, 30, 23, 0.13);
  background: rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(20px);
}

.faq-item {
  margin-bottom: 10px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

input,
textarea,
select,
.form-field input,
.form-field textarea,
.form-field select {
  background: rgba(255, 255, 255, 0.52);
  border-color: rgba(36, 44, 41, 0.11);
  backdrop-filter: blur(10px);
}

.glass-orbit {
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  box-shadow:
    inset 0 0 45px rgba(255, 255, 255, 0.035),
    0 0 60px rgba(62, 224, 159, 0.045);
  animation: orbitDrift 16s ease-in-out infinite alternate;
}
.glass-orbit.one {
  width: 420px;
  height: 420px;
  right: -150px;
  top: 10%;
}
.glass-orbit.two {
  width: 180px;
  height: 180px;
  left: 7%;
  bottom: 8%;
  animation-delay: -6s;
}
@keyframes orbitDrift {
  to {
    transform: translate3d(28px, -20px, 0) rotate(18deg);
  }
}

@media (max-width: 900px) {
  .site-header::before {
    inset: 6px 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body::before,
  .ambient-blob,
  .hero::after,
  .page-hero::after,
  .services-section::after,
  .support-section::after,
  .cta-section::after,
  .solution-icon::after,
  .service-symbol::after,
  .value-icon::after,
  .floating-icon::after,
  .contact-list i::after,
  .glass-orbit {
    animation: none !important;
  }
}

/* =========================================================
   WALLYSOFT DARK IMMERSIVE THEME
   Verde #3ee09f + Giallo rgb(237,174,13)
   ========================================================= */
:root {
  --dark: #202725;
  --dark-deep: #0b100e;
  --dark-soft: #151d19;
  --green: #3ee09f;
  --green-dark: #1bb97c;
  /*--gold: rgb(237, 174, 13);*/
  --gold: #ffe288;
  --cream: #0f1512;
  --white: #f7fbf8;
  --text: #ffffff;
  --line: rgba(255, 255, 255, 0.09);
  --glass-bg: rgba(255, 255, 255, 0.045);
  --glass-bg-strong: rgba(255, 255, 255, 0.075);
  --glass-light: rgba(255, 255, 255, 0.14);
  --glass-border: rgba(255, 255, 255, 0.11);
  --glass-dark-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 30px 100px rgba(0, 0, 0, 0.42);
}

html,
body {
  background:
    radial-gradient(
      circle at 14% 10%,
      rgba(62, 224, 159, 0.09),
      transparent 24%
    ),
    radial-gradient(
      circle at 86% 40%,
      rgba(237, 174, 13, 0.06),
      transparent 22%
    ),
    linear-gradient(180deg, #0b100e 0%, #0e1512 45%, #0a0f0d 100%);
  color: var(--white);
}

body::before {
  background:
    linear-gradient(
      115deg,
      transparent 0 30%,
      rgba(255, 255, 255, 0.025) 44%,
      transparent 58%
    ),
    radial-gradient(
      circle at var(--mx, 50%) var(--my, 30%),
      rgba(62, 224, 159, 0.055),
      transparent 24%
    );
}

.site-header.scrolled::before {
  background: rgba(8, 13, 11, 0.72);
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero,
.page-hero,
.services-section,
.support-section,
.cta-section {
  /*background:
    radial-gradient(
      circle at 72% 18%,
      rgba(62, 224, 159, 0.15),
      transparent 28%
    ),
  */
  background:
    radial-gradient(
      circle at 72% 18%,
      rgba(62, 224, 159, 0.15),
      transparent 28%
    ),
    radial-gradient(
      circle at 18% 88%,
      rgba(237, 174, 13, 0.075),
      transparent 24%
    ),
    linear-gradient(145deg, var(--dark-green) 0%, #111915 52%, #0d1310 100%);
}

.section-light,
.values-section,
.process-section,
.stories-section {
  color: var(--white);
  background:
    radial-gradient(
      circle at 10% 18%,
      rgba(62, 224, 159, 0.055),
      transparent 23%
    ),
    radial-gradient(
      circle at 92% 74%,
      rgba(237, 174, 13, 0.04),
      transparent 19%
    ),
    /*linear-gradient(150deg, #0f1512, #121a16 55%, #0c110f);*/
    linear-gradient(150deg, var(--dark-green), #121a16 55%, #0c110f);
}

.section-heading > p,
.values-intro > p,
.support-copy > p,
.intro-copy p,
.product-card p,
.solution-card p,
.support-option p,
.value-card p,
.people-card p,
.stat-card p,
.blog-card p,
.featured-copy p,
.portfolio-card p,
.process-step p,
.timeline-item p,
.contact-info-card > p,
.faq-answer p {
  color: var(--text);
}

.eyebrow.dark {
  color: rgba(255, 255, 255, 1);
}

.solution-card,
.product-card,
.support-option,
.value-card,
.people-card,
.stat-card,
.blog-card,
.portfolio-card,
.contact-form,
.story-card,
.featured-copy {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.055),
    rgba(255, 255, 255, 0.018)
  );
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
}

.solution-featured,
.product-card:not(.dark),
.support-option,
.value-card,
.people-card,
.stat-card,
.blog-card,
.portfolio-card,
.contact-form,
.featured-copy {
  background:
    radial-gradient(
      circle at 82% 10%,
      rgba(62, 224, 159, 0.06),
      transparent 24%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.018)
    );
}

.product-card.dark,
.testimonial-card,
.contact-info-card {
  background:
    radial-gradient(
      circle at 78% 12%,
      rgba(62, 224, 159, 0.13),
      transparent 30%
    ),
    radial-gradient(
      circle at 20% 90%,
      rgba(237, 174, 13, 0.055),
      transparent 22%
    ),
    linear-gradient(145deg, rgba(20, 30, 25, 0.88), rgba(8, 13, 11, 0.8));
}

.solution-card:hover,
.product-card:hover,
.support-option:hover,
.value-card:hover,
.people-card:hover,
.stat-card:hover,
.blog-card:hover,
.portfolio-card:hover {
  border-color: rgba(62, 224, 159, 0.5);
  box-shadow:
    0 32px 100px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(62, 224, 159, 0.08),
    0 0 50px rgba(62, 224, 159, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.solution-icon,
.service-symbol,
.value-icon,
.floating-icon,
.contact-list i,
.support-center,
.mini-logo {
  color: var(--green);
  border-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(255, 255, 255, 0.08),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      rgba(62, 224, 159, 0.08),
      rgba(255, 255, 255, 0.025)
    );
}

.solution-icon:nth-child(even),
.service-row:nth-child(even) .service-symbol,
.value-card:nth-child(even) .value-icon {
  color: var(--gold);
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(255, 255, 255, 0.07),
      transparent 30%
    ),
    linear-gradient(145deg, rgba(237, 174, 13, 0.08), rgba(255, 255, 255, 0.02));
}

.tag,
.date-pill,
.story-label,
.filter-bar {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.tag {
  color: var(--green);
  background: rgba(62, 224, 159, 0.08);
  border-color: rgba(62, 224, 159, 0.16);
}

.tag-dark {
  color: var(--gold);
  background: rgba(237, 174, 13, 0.08);
  border-color: rgba(237, 174, 13, 0.15);
}

.button {
  background: var(--green);
  color: #09110d;
  border-color: var(--green);
  box-shadow:
    0 14px 40px rgba(62, 224, 159, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.button:hover,
.button:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: #11100a;
  box-shadow:
    0 16px 44px rgba(237, 174, 13, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.button-ghost,
.button-outline-light {
  background: rgba(255, 255, 255, 0.035);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.1);
}

.button-ghost:hover,
.button-outline-light:hover {
  background: rgba(237, 174, 13, 0.1);
  color: var(--gold);
  border-color: rgba(237, 174, 13, 0.3);
}

.button-dark {
  background: var(--green);
  color: #07100c;
  border-color: var(--green);
}

.button-light {
  background: var(--gold);
  color: #11100a;
  border-color: var(--gold);
}

.text-link {
  color: var(--green);
}

.text-link:hover {
  color: var(--gold);
}

.text-link-dark {
  color: var(--green);
}

.main-nav a {
  color: rgba(255, 255, 255, 1);
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"],
.main-nav a.is-menu-parent-active {
  color: var(--green);
}

.main-nav a[aria-current="page"]::after,
.main-nav a.is-menu-parent-active::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.nav-item-row > a.is-menu-parent-active + .submenu-toggle {
  color: var(--green);
}

.dashboard {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(
    145deg,
    rgba(20, 30, 25, 0.89),
    rgba(9, 15, 12, 0.76)
  );
}

.dashboard-top {
  background: rgba(255, 255, 255, 0.025);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

.dashboard-content {
  background: transparent;
}

.metric-grid article,
.chart-card,
.activity-card {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.035);
}

.metric-grid span,
.metric-grid small,
.dashboard-heading small,
.dashboard-brand small,
.date-pill,
.card-title small,
.activity-card li span,
.activity-card li small {
  color: rgba(255, 255, 255, 0.42);
}

.card-title,
.dashboard-heading strong {
  color: rgba(255, 255, 255, 0.82);
}

.bars {
  border-color: rgba(255, 255, 255, 0.06);
  background: repeating-linear-gradient(
    to top,
    rgba(255, 255, 255, 0.045) 0 1px,
    transparent 1px 35px
  );
}

.activity-card li {
  border-color: rgba(255, 255, 255, 0.055);
}

.floating-card,
.visual-badge,
.page-hero-metric,
.support-status {
  color: var(--white);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.07),
    rgba(255, 255, 255, 0.025)
  );
}

.floating-card small,
.page-hero-metric span,
.support-status small {
  color: rgba(255, 255, 255, 1);
}

.faq-item {
  border-color: rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.025);
}

.faq-question {
  color: var(--white);
}

.filter-button {
  color: rgba(255, 255, 255, 0.55);
}

.filter-button.active,
.filter-button:hover {
  color: #07100c;
  background: var(--green);
}

.form-field label {
  color: rgba(255, 255, 255, 0.76);
}

.form-field input,
.form-field textarea,
.form-field select {
  color: var(--white);
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.08);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.form-field select option {
  color: var(--white);
  background: #111915;
}

.form-consent {
  color: var(--text);
}

.map-frame {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.story-body,
.blog-card-body,
.featured-copy,
.portfolio-card-body {
  color: var(--white);
}

.story-meta,
.article-meta,
.solution-number,
.process-step > span,
.timeline-item time {
  color: var(--gold);
}

.check-list,
.product-features {
  color: rgba(255, 255, 255, 0.56);
}

.value-card > span {
  color: rgba(255, 255, 255, 0.28);
}

.process-grid,
.process-step,
.timeline::before,
.service-list,
.service-row,
.footer-bottom {
  border-color: rgba(255, 255, 255, 0.07);
}

.site-footer {
  background: #070b09;
}

.footer-column h3 {
  color: var(--green);
}

.footer-column a:hover {
  color: var(--gold);
}

.page-loader {
  background:
    radial-gradient(
      circle at center,
      rgba(62, 224, 159, 0.11),
      transparent 30%
    ),
    #080d0b;
}

.loader-core {
  background: linear-gradient(
    145deg,
    rgba(62, 224, 159, 0.14),
    rgba(237, 174, 13, 0.06)
  );
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 70px rgba(62, 224, 159, 0.11);
}

.loader-core span {
  color: var(--green);
}

.loader-line {
  background: rgba(255, 255, 255, 0.05);
}

.loader-line i {
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.ambient-blob:nth-child(1) {
  background: rgba(62, 224, 159, 0.28);
}
.ambient-blob:nth-child(2) {
  background: rgba(237, 174, 13, 0.14);
}
.ambient-blob:nth-child(3) {
  background: rgba(62, 224, 159, 0.16);
}

.glass-orbit.one {
  border-color: rgba(62, 224, 159, 0.12);
  box-shadow:
    inset 0 0 50px rgba(62, 224, 159, 0.025),
    0 0 70px rgba(62, 224, 159, 0.035);
}
.glass-orbit.two {
  border-color: rgba(237, 174, 13, 0.11);
  box-shadow:
    inset 0 0 45px rgba(237, 174, 13, 0.025),
    0 0 55px rgba(237, 174, 13, 0.03);
}

.article-image::after {
  background: linear-gradient(
    to top,
    rgba(4, 8, 6, 0.78),
    rgba(6, 10, 8, 0.08) 65%
  );
}

.back-to-top {
  background: linear-gradient(135deg, var(--green), var(--gold));
  color: #07100c;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
}

@media (max-width: 900px) {
  .main-nav {
    background: rgba(6, 10, 8, 0.97);
  }
}

/* Logo originale Wallysoft e ottimizzazioni SEO/UX */
.brand-logo {
  display: block;
  width: 258px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.brand {
  min-width: 190px;
}
.brand-footer .brand-logo {
  width: 230px;
}
.seo-content {
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}
.seo-content .benefit-grid {
  margin-top: 2rem;
}
@media (max-width: 720px) {
  .brand-logo {
    width: 190px;
  }
  .brand-footer .brand-logo {
    width: 210px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  .page-loader,
  .cursor-glow,
  .data-streams,
  .hero-orb {
    display: none !important;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Effetto glow verde esterno sugli elementi interattivi */
@media (hover: hover) and (pointer: fine) {
  .solution-card,
  .product-card,
  .support-option,
  .value-card,
  .people-card,
  .stat-card,
  .blog-card,
  .portfolio-card,
  .story-card,
  .contact-form,
  .contact-info-card,
  .dashboard,
  .service-row,
  .faq-item,
  .button,
  .filter-button,
  .social-row a,
  .back-to-top,
  .menu-toggle {
    transition:
      transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1),
      box-shadow 0.32s ease,
      border-color 0.32s ease,
      background-color 0.32s ease,
      color 0.32s ease;
  }

  .solution-card:hover,
  .product-card:hover,
  .support-option:hover,
  .value-card:hover,
  .people-card:hover,
  .stat-card:hover,
  .blog-card:hover,
  .portfolio-card:hover,
  .story-card:hover,
  .contact-form:hover,
  .contact-info-card:hover,
  .dashboard:hover,
  .service-row:hover,
  .faq-item:hover {
    border-color: rgba(62, 224, 159, 0.78);
    box-shadow:
      0 0 0 1px rgba(62, 224, 159, 0.18),
      0 0 18px rgba(62, 224, 159, 0.26),
      0 0 42px rgba(62, 224, 159, 0.18),
      0 0 82px rgba(62, 224, 159, 0.1),
      0 28px 75px rgba(0, 0, 0, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.72);
  }

  .solution-card:hover,
  .product-card:hover,
  .support-option:hover,
  .value-card:hover,
  .people-card:hover,
  .stat-card:hover,
  .blog-card:hover,
  .portfolio-card:hover,
  .story-card:hover {
    transform: translateY(-6px);
  }

  .button:hover,
  .button:focus-visible,
  .filter-button:hover,
  .filter-button:focus-visible,
  .social-row a:hover,
  .social-row a:focus-visible,
  .back-to-top:hover,
  .back-to-top:focus-visible,
  .menu-toggle:hover,
  .menu-toggle:focus-visible {
    box-shadow:
      0 0 0 1px rgba(62, 224, 159, 0.28),
      0 0 16px rgba(62, 224, 159, 0.48),
      0 0 38px rgba(62, 224, 159, 0.28),
      0 14px 34px rgba(0, 0, 0, 0.28);
  }

  .main-nav a:hover,
  .main-nav a:focus-visible,
  .footer-column a:hover,
  .footer-column a:focus-visible,
  .text-link:hover,
  .text-link:focus-visible {
    text-shadow:
      0 0 7px rgba(62, 224, 159, 0.7),
      0 0 18px rgba(62, 224, 159, 0.38);
  }

  .solution-card:hover .solution-icon,
  .service-row:hover .service-symbol,
  .value-card:hover .value-icon,
  .contact-info-card:hover .contact-list i {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.24),
      0 0 14px rgba(62, 224, 159, 0.44),
      0 0 34px rgba(62, 224, 159, 0.22);
    border-color: rgba(62, 224, 159, 0.62);
  }
}

/* Analogo riscontro da tastiera per accessibilità */
.solution-card:focus-within,
.product-card:focus-within,
.support-option:focus-within,
.value-card:focus-within,
.people-card:focus-within,
.stat-card:focus-within,
.blog-card:focus-within,
.portfolio-card:focus-within,
.story-card:focus-within,
.contact-form:focus-within,
.service-row:focus-within,
.faq-item:focus-within {
  border-color: rgba(62, 224, 159, 0.78);
  box-shadow:
    0 0 0 1px rgba(62, 224, 159, 0.18),
    0 0 18px rgba(62, 224, 159, 0.24),
    0 0 42px rgba(62, 224, 159, 0.16),
    0 24px 65px rgba(0, 0, 0, 0.22);
}

/* =========================================================
   WALLYSOFT CINEMATIC PAGE TRANSITION
   ========================================================= */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  background:
    radial-gradient(
      circle at 50% 46%,
      rgba(62, 224, 159, 0.14),
      transparent 24%
    ),
    radial-gradient(
      circle at 50% 55%,
      rgba(237, 174, 13, 0.055),
      transparent 38%
    ),
    linear-gradient(135deg, #050907 0%, #0a110e 48%, #050806 100%);
  transition:
    opacity 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.62s;
  isolation: isolate;
}
.page-loader::before {
  content: "";
  position: absolute;
  inset: -35%;
  z-index: -1;
  background: conic-gradient(
    from 0deg,
    transparent 0 35%,
    rgba(62, 224, 159, 0.08) 42%,
    transparent 49% 78%,
    rgba(237, 174, 13, 0.045) 84%,
    transparent 91%
  );
  animation: loaderAurora 7s linear infinite;
}
.page-loader::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at center, #000, transparent 72%);
}
.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.page-loader.is-leaving {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.loader-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.loader-atmosphere i {
  position: absolute;
  border-radius: 50%;
  filter: blur(45px);
  opacity: 0.32;
  animation: loaderBlob 4.8s ease-in-out infinite alternate;
}
.loader-atmosphere i:nth-child(1) {
  width: 28vw;
  height: 28vw;
  left: 10%;
  top: 18%;
  background: rgba(62, 224, 159, 0.22);
}
.loader-atmosphere i:nth-child(2) {
  width: 22vw;
  height: 22vw;
  right: 12%;
  bottom: 16%;
  background: rgba(237, 174, 13, 0.12);
  animation-delay: -1.7s;
}
.loader-atmosphere i:nth-child(3) {
  width: 18vw;
  height: 18vw;
  left: 44%;
  bottom: 5%;
  background: rgba(62, 224, 159, 0.16);
  animation-delay: -3s;
}
.loader-stage {
  position: relative;
  width: min(430px, 82vw);
  height: 180px;
  display: grid;
  place-items: center;
  perspective: 900px;
}
.loader-rings {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 150px;
  height: 150px;
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
}
.loader-rings i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: none;
  box-shadow: none;
}
.loader-rings i:nth-child(1) {
  width: 12px;
  height: 12px;
  left: calc(50% - 6px);
  top: -6px;
  background: #3ee09f;
  border-radius: 50%;
  box-shadow: 0 0 10px #3ee09f,0 0 22px rgba(62,224,159,.9),0 0 40px rgba(62,224,159,.55);
  transform-origin: 6px 81px;
  animation: loaderRingOne 2.4s linear infinite;
}
.loader-rings i:nth-child(2),
.loader-rings i:nth-child(3){display:none;}
.loader-logo-shell {
  position: relative;
  z-index: 3;
  width: min(330px, 72vw);
  padding: 24px 30px;
  border-radius: 22px;
  overflow: hidden;
  transform: translateZ(55px);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.075),
    rgba(255, 255, 255, 0.018)
  );
  border: 1px solid rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(18px);
  box-shadow:
    0 0 0 1px rgba(62, 224, 159, 0.05),
    0 0 45px rgba(62, 224, 159, 0.15),
    0 24px 80px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: loaderLogoFloat 2.2s ease-in-out infinite;
}
.loader-logo-shell::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    120deg,
    transparent 15%,
    rgba(62, 224, 159, 0.75),
    rgba(237, 174, 13, 0.4),
    transparent 78%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: loaderBorder 2.6s linear infinite;
}
.loader-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 13px rgba(62, 224, 159, 0.28));
  animation: loaderLogoPulse 1.75s ease-in-out infinite;
}
.loader-scan {
  position: absolute;
  z-index: 2;
  top: -25%;
  bottom: -25%;
  width: 34%;
  left: -48%;
  transform: skewX(-18deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.42),
    transparent
  );
  filter: blur(1px);
  animation: loaderScan 1.85s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.loader-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.loader-particles i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: loaderParticle 2.2s ease-out infinite;
}
.loader-particles i:nth-child(1) {
  --x: 155px;
  --y: -58px;
  animation-delay: -0.2s;
}
.loader-particles i:nth-child(2) {
  --x: -145px;
  --y: -70px;
  animation-delay: -0.7s;
}
.loader-particles i:nth-child(3) {
  --x: 175px;
  --y: 42px;
  animation-delay: -1.1s;
}
.loader-particles i:nth-child(4) {
  --x: -168px;
  --y: 48px;
  animation-delay: -1.55s;
}
.loader-particles i:nth-child(5) {
  --x: 98px;
  --y: 88px;
  animation-delay: -0.45s;
}
.loader-particles i:nth-child(6) {
  --x: -100px;
  --y: 92px;
  animation-delay: -1.35s;
}
.loader-particles i:nth-child(7) {
  --x: 36px;
  --y: -98px;
  animation-delay: -1.8s;
}
.loader-particles i:nth-child(8) {
  --x: -35px;
  --y: -106px;
  animation-delay: -0.95s;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}
.loader-progress {
  position: relative;
  width: min(260px, 62vw);
  height: 2px;
  overflow: visible;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 99px;
  box-shadow: 0 0 18px rgba(62, 224, 159, 0.08);
}
.loader-progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    transparent,
    var(--green),
    #b6ffd9,
    var(--gold)
  );
  box-shadow: 0 0 18px rgba(62, 224, 159, 0.7);
  animation: loaderProgress 1.15s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
.page-loader small {
  position: relative;
  color: rgba(255, 255, 255, 0.46);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-align: center;
  text-indent: 0.32em;
  text-shadow: 0 0 16px rgba(62, 224, 159, 0.2);
}
.page-loader.is-leaving .loader-logo-shell {
  animation: loaderExitLogo 0.68s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.page-loader.is-leaving .loader-rings {
  animation: loaderExitRings 0.68s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes loaderAurora {
  to {
    transform: rotate(360deg);
  }
}
@keyframes loaderBlob {
  to {
    transform: translate3d(25px, -22px, 0) scale(1.12);
  }
}
@keyframes loaderRingOne {
  to {
    transform: rotateX(66deg) rotateZ(360deg);
  }
}
@keyframes loaderRingTwo {
  to {
    transform: rotateY(68deg) rotateZ(360deg);
  }
}
@keyframes loaderLogoFloat {
  50% {
    transform: translateZ(55px) translateY(-7px) rotateX(1.5deg);
  }
}
@keyframes loaderLogoPulse {
  50% {
    filter: drop-shadow(0 0 22px rgba(62, 224, 159, 0.5)) brightness(1.08);
  }
}
@keyframes loaderScan {
  0% {
    left: -48%;
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  65%,
  100% {
    left: 120%;
    opacity: 0;
  }
}
@keyframes loaderBorder {
  to {
    filter: hue-rotate(20deg);
  }
}
@keyframes loaderParticle {
  0% {
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  100% {
    transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(0);
    opacity: 0;
  }
}
@keyframes loaderProgress {
  0% {
    transform: translateX(-115%);
  }
  100% {
    transform: translateX(365%);
  }
}
@keyframes loaderExitLogo {
  0% {
    transform: translateZ(55px) scale(0.96);
    opacity: 0.25;
  }
  55% {
    transform: translateZ(75px) scale(1.04);
    opacity: 1;
  }
  100% {
    transform: translateZ(10px) scale(0.92);
    opacity: 1;
  }
}
@keyframes loaderExitRings {
  from {
    transform: translate(-50%, -50%) scale(0.65);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 1;
  }
}
@media (max-width: 600px) {
  .loader-stage {
    height: 150px;
  }
  .loader-logo-shell {
    padding: 20px 24px;
    border-radius: 18px;
  }
  .loader-rings {
    width: 125px;
    height: 125px;
  }
  .page-loader small {
    font-size: 1rem;
    letter-spacing: 0.2em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-loader {
    display: flex !important;
    transition:
      opacity 0.18s ease,
      visibility 0.18s;
  }
  .loader-atmosphere,
  .loader-rings,
  .loader-particles,
  .loader-scan {
    display: none;
  }
  .loader-logo-shell,
  .loader-logo,
  .loader-progress span {
    animation: none !important;
  }
}

/* Loader cinematico esteso — Wallysoft */
.page-loader {
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.72s;
}
.page-loader::after {
  background:
    linear-gradient(
      115deg,
      transparent 0 38%,
      rgba(62, 224, 159, 0.07) 46%,
      rgba(255, 255, 255, 0.12) 50%,
      rgba(237, 174, 13, 0.055) 54%,
      transparent 62%
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0 79px,
      rgba(62, 224, 159, 0.025) 80px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0 79px,
      rgba(62, 224, 159, 0.02) 80px
    );
  background-size:
    240% 100%,
    80px 80px,
    80px 80px;
  animation:
    loaderLightSweep 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite,
    loaderGridDrift 8s linear infinite;
}
.loader-stage::before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0 18%,
    rgba(62, 224, 159, 0.22) 24%,
    transparent 31% 55%,
    rgba(237, 174, 13, 0.14) 63%,
    transparent 70%
  );
  filter: blur(12px);
  opacity: 0.72;
  animation: loaderEnergySpin 3.8s linear infinite;
}
.loader-stage::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 110px;
  border-radius: 50%;
  border: 1px solid rgba(62, 224, 159, 0.14);
  box-shadow:
    0 0 45px rgba(62, 224, 159, 0.13),
    inset 0 0 45px rgba(62, 224, 159, 0.06);
  transform: rotateX(72deg);
  animation: loaderPlatformPulse 2.1s ease-in-out infinite;
}
.loader-logo-shell {
  animation: loaderLogoFlight 3s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  will-change: transform, filter;
}
.loader-rings {
  animation: loaderRingBreathe 2.6s ease-in-out infinite;
}
.loader-atmosphere i:nth-child(1) {
  animation-duration: 5.6s;
}
.loader-atmosphere i:nth-child(2) {
  animation-duration: 6.8s;
}
.loader-atmosphere i:nth-child(3) {
  animation-duration: 4.9s;
}
.loader-progress span {
  animation-duration: 1.65s;
}
.page-loader.is-leaving .loader-logo-shell {
  animation: loaderExitLogo 1.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.page-loader.is-leaving .loader-rings {
  animation: loaderExitRings 1.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes loaderLightSweep {
  0% {
    background-position:
      170% 0,
      0 0,
      0 0;
    opacity: 0.35;
  }
  45% {
    opacity: 1;
  }
  100% {
    background-position:
      -90% 0,
      80px 0,
      0 80px;
    opacity: 0.35;
  }
}
@keyframes loaderGridDrift {
  to {
    background-position:
      -90% 0,
      80px 0,
      0 80px;
  }
}
@keyframes loaderEnergySpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes loaderPlatformPulse {
  0%,
  100% {
    transform: rotateX(72deg) scale(0.88);
    opacity: 0.25;
  }
  50% {
    transform: rotateX(72deg) scale(1.08);
    opacity: 0.7;
  }
}
@keyframes loaderLogoFlight {
  0%,
  100% {
    transform: translateZ(55px) translateY(2px) rotateX(-1deg) rotateY(-2deg);
    filter: brightness(1);
  }
  35% {
    transform: translateZ(82px) translateY(-11px) rotateX(2deg) rotateY(3deg);
    filter: brightness(1.09);
  }
  70% {
    transform: translateZ(66px) translateY(-4px) rotateX(-1deg) rotateY(1deg);
    filter: brightness(1.03);
  }
}
@keyframes loaderRingBreathe {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.88);
    filter: brightness(0.8);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.16);
    filter: brightness(1.35);
  }
}
@media (prefers-reduced-motion: reduce) {
  .loader-stage::before,
  .loader-stage::after {
    display: none !important;
  }
}

/* ===== Loader 4 secondi: animazione ben visibile ===== */
.page-loader {
  z-index: 99999 !important;
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-stage {
  animation: loaderStageDrift 4s ease-in-out infinite;
}
.loader-logo-shell {
  animation: loaderLogoShowcase 2s cubic-bezier(0.45, 0, 0.55, 1) infinite !important;
  will-change: transform, filter;
}
.loader-logo {
  animation: loaderLogoNeon 1.25s ease-in-out infinite !important;
}
.loader-rings {
  animation: loaderRingBreathe 1.8s ease-in-out infinite !important;
}
.loader-rings i:nth-child(1) {
  animation: loaderRingOne 2.1s linear infinite !important;
}
.loader-rings i:nth-child(2) {
  animation: loaderRingTwo 1.55s linear infinite reverse !important;
}
.loader-rings i:nth-child(3) {
  animation: loaderRingOne 1.1s linear infinite reverse !important;
}
.loader-scan {
  animation: loaderScan 1.35s cubic-bezier(0.4, 0, 0.2, 1) infinite !important;
}
.loader-progress span {
  animation: loaderProgress 1.1s cubic-bezier(0.65, 0, 0.35, 1) infinite !important;
}
@keyframes loaderStageDrift {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-9px) scale(1.015);
  }
}
@keyframes loaderLogoShowcase {
  0%,
  100% {
    transform: translateZ(55px) translateY(0) rotateX(0) rotateY(-3deg);
    filter: brightness(1);
  }
  25% {
    transform: translateZ(72px) translateY(-9px) rotateX(3deg) rotateY(2deg);
    filter: brightness(1.08);
  }
  50% {
    transform: translateZ(60px) translateY(-3px) rotateX(-2deg) rotateY(4deg);
    filter: brightness(1.15);
  }
  75% {
    transform: translateZ(70px) translateY(-10px) rotateX(2deg) rotateY(-1deg);
    filter: brightness(1.08);
  }
}
@keyframes loaderLogoNeon {
  0%,
  100% {
    filter: drop-shadow(0 0 9px rgba(62, 224, 159, 0.3)) brightness(1);
  }
  50% {
    filter: drop-shadow(0 0 30px rgba(62, 224, 159, 0.85))
      drop-shadow(0 0 55px rgba(237, 174, 13, 0.22)) brightness(1.18);
  }
}

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed;
  z-index: 100000;
  left: 50%;
  bottom: 22px;
  width: min(900px, calc(100% - 32px));
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  padding: 20px 22px;
  border: 1px solid rgba(62, 224, 159, 0.28);
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(9, 18, 29, 0.96),
    rgba(4, 10, 18, 0.94)
  );
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.58),
    0 0 45px rgba(62, 224, 159, 0.12),
    inset 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 28px) scale(0.985);
  transition:
    opacity 0.42s ease,
    visibility 0.42s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}
.cookie-banner.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
}
.cookie-banner.is-hiding {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 25px) scale(0.98);
}
.cookie-banner__glow {
  position: absolute;
  width: 280px;
  height: 280px;
  left: -110px;
  top: -130px;
  border-radius: 50%;
  background: rgba(62, 224, 159, 0.13);
  filter: blur(45px);
  pointer-events: none;
  animation: cookieGlow 3.2s ease-in-out infinite alternate;
}
.cookie-banner__icon {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(62, 224, 159, 0.08);
  border: 1px solid rgba(62, 224, 159, 0.28);
  box-shadow: 0 0 24px rgba(62, 224, 159, 0.13);
}
.cookie-banner__icon span {
  width: 28px;
  height: 28px;
  border: 2px solid var(--green);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(62, 224, 159, 0.5);
  animation: cookieOrbit 5s linear infinite;
}
.cookie-banner__icon i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}
.cookie-banner__icon i:nth-of-type(1) {
  transform: translate(-8px, -6px);
}
.cookie-banner__icon i:nth-of-type(2) {
  transform: translate(8px, 3px);
}
.cookie-banner__icon i:nth-of-type(3) {
  transform: translate(-1px, 9px);
}
.cookie-banner__content {
  position: relative;
  min-width: 0;
}
.cookie-banner__eyebrow {
  margin: 0 0 4px;
  color: var(--green);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}
.cookie-banner h2 {
  margin: 0 0 7px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.2;
  color: #fff;
}
.cookie-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 1rem;
  line-height: 1.55;
}
.cookie-banner__details {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--green);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}
.cookie-banner__policy {
  display: inline-block;
  margin-top: 8px;
  margin-right: 16px;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-banner__policy:hover,
.cookie-banner__policy:focus-visible {
  color: var(--gold);
}
.cookie-banner__details:hover {
  text-shadow: 0 0 12px rgba(62, 224, 159, 0.65);
}
.cookie-preferences {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.cookie-option {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.cookie-option strong,
.cookie-option small {
  display: block;
}
.cookie-option strong {
  font-size: 1rem;
  color: #fff;
}
.cookie-option small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 1rem;
  line-height: 1.35;
}
.cookie-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}
.cookie-option--locked {
  opacity: 0.72;
}
.cookie-banner__actions {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-top: 2px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.cookie-banner__actions .cookie-btn {
  width: 100%;
}
.cookie-btn {
  white-space: nowrap;
  border-radius: 999px;
  padding: 11px 15px;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.cookie-btn:hover {
  transform: translateY(-2px);
}
.cookie-btn--ghost {
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.13);
}
.cookie-btn--secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(62, 224, 159, 0.22);
}
.cookie-btn--primary {
  color: #06110d;
  background: linear-gradient(135deg, var(--green), #a8ffd3);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 24px rgba(62, 224, 159, 0.22);
}
.cookie-btn--primary:hover {
  box-shadow: 0 0 34px rgba(62, 224, 159, 0.48);
}
@keyframes cookieGlow {
  to {
    transform: translate(40px, 22px) scale(1.12);
  }
}
@keyframes cookieOrbit {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 900px) {
  .cookie-preferences {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .cookie-banner {
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 17px;
    gap: 13px;
    border-radius: 20px;
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
  }
  .cookie-banner__icon {
    width: 48px;
    height: 48px;
  }
  .cookie-banner__actions {
    grid-template-columns: 1fr 1fr;
  }
  .cookie-btn--primary {
    grid-column: 1/-1;
  }
  .cookie-btn {
    width: 100%;
    padding: 11px 8px;
  }
  .cookie-banner h2 {
    font-size: 1rem;
  }
  .cookie-banner p {
    font-size: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .loader-stage,
  .loader-logo-shell,
  .loader-logo,
  .loader-rings,
  .loader-rings i,
  .loader-scan,
  .loader-progress span,
  .cookie-banner__glow,
  .cookie-banner__icon span {
    animation: none !important;
  }
}

/* =========================================================
   LOADER NAVIGAZIONE: 2s, solo tra pagine, orbita luminosa
   ========================================================= */
.page-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.page-loader.is-leaving {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

/* Una luce brillante percorre continuamente il perimetro del logo. */
.loader-logo-shell {
  overflow: visible;
  isolation: isolate;
}
.loader-logo-shell::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -11px;
  border-radius: 30px;
  padding: 3px;
  background: conic-gradient(
    from 0deg,
    transparent 0deg 235deg,
    rgba(62, 224, 159, 0.05) 255deg,
    rgba(62, 224, 159, 0.75) 292deg,
    #d8ffec 314deg,
    rgba(237, 174, 13, 0.9) 329deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  filter: drop-shadow(0 0 7px rgba(62, 224, 159, 0.95))
    drop-shadow(0 0 18px rgba(62, 224, 159, 0.65))
    drop-shadow(0 0 34px rgba(62, 224, 159, 0.35));
  animation: wallyLogoOrbitLight 1.15s linear infinite;
  transform-origin: center;
}
.loader-logo-shell::before {
  z-index: 1;
}
.loader-scan,
.loader-logo {
  position: relative;
  z-index: 2;
}
.page-loader.is-leaving .loader-logo-shell::after {
  animation:
    wallyLogoOrbitLight 1.15s linear infinite,
    wallyOrbitPulse 0.72s ease-in-out infinite alternate;
}

@keyframes wallyLogoOrbitLight {
  to {
    transform: rotate(360deg);
  }
}
@keyframes wallyOrbitPulse {
  from {
    opacity: 0.72;
    filter: drop-shadow(0 0 6px rgba(62, 224, 159, 0.75))
      drop-shadow(0 0 18px rgba(62, 224, 159, 0.42));
  }
  to {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(62, 224, 159, 1))
      drop-shadow(0 0 30px rgba(62, 224, 159, 0.82))
      drop-shadow(0 0 48px rgba(237, 174, 13, 0.25));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader.is-leaving .loader-logo-shell::after {
    animation: wallyLogoOrbitLight 2s linear infinite !important;
  }
}

/* =========================================================
   LOADER WALLY ENERGY HALO — animazione premium
   ========================================================= */
.page-loader.is-leaving {
  background:
    radial-gradient(
      circle at 50% 48%,
      rgba(62, 224, 159, 0.12),
      transparent 24%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(237, 174, 13, 0.055),
      transparent 42%
    ),
    rgba(3, 7, 17, 0.94);
  backdrop-filter: blur(18px);
}
.page-loader.is-leaving .loader-atmosphere,
.page-loader.is-leaving .loader-rings,
.page-loader.is-leaving .loader-particles,
.page-loader.is-leaving .loader-scan {
  display: none;
}
.page-loader.is-leaving .loader-stage {
  width: min(560px, 92vw);
  height: 250px;
  display: grid;
  place-items: center;
  perspective: 1000px;
  animation: wallyStageEntrance 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.page-loader.is-leaving .loader-stage::before,
.page-loader.is-leaving .loader-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(470px, 82vw);
  height: 150px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) rotateX(67deg);
}
.page-loader.is-leaving .loader-stage::before {
  border: 1px solid rgba(62, 224, 159, 0.2);
  box-shadow:
    0 0 18px rgba(62, 224, 159, 0.16),
    inset 0 0 22px rgba(62, 224, 159, 0.08);
  background: conic-gradient(
    from 0deg,
    transparent 0 61%,
    rgba(62, 224, 159, 0.08) 67%,
    rgba(182, 255, 217, 0.95) 73%,
    rgba(62, 224, 159, 0.12) 79%,
    transparent 85% 100%
  );
  filter: drop-shadow(0 0 9px rgba(62, 224, 159, 0.75));
  animation: wallyEnergyOrbit 1.12s linear infinite;
}
.page-loader.is-leaving .loader-stage::after {
  width: min(390px, 70vw);
  height: 116px;
  border: 1px solid rgba(237, 174, 13, 0.13);
  background: conic-gradient(
    from 180deg,
    transparent 0 69%,
    rgba(237, 174, 13, 0.08) 74%,
    rgba(255, 228, 144, 0.92) 79%,
    rgba(237, 174, 13, 0.1) 84%,
    transparent 90% 100%
  );
  filter: drop-shadow(0 0 7px rgba(237, 174, 13, 0.42));
  animation: wallyEnergyOrbitReverse 1.65s linear infinite;
}
.page-loader.is-leaving .loader-logo-shell {
  width: min(360px, 72vw);
  padding: 28px 34px;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.075),
      rgba(255, 255, 255, 0.015)
    ),
    rgba(8, 15, 27, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(62, 224, 159, 0.08) inset,
    0 0 42px rgba(62, 224, 159, 0.12);
  transform-style: preserve-3d;
  animation: wallyLogoFloatPremium 2s ease-in-out infinite !important;
}
.page-loader.is-leaving .loader-logo-shell::before {
  content: "";
  position: absolute;
  inset: -45% -20%;
  z-index: 1;
  background: linear-gradient(
    105deg,
    transparent 37%,
    rgba(255, 255, 255, 0.04) 44%,
    rgba(182, 255, 217, 0.42) 50%,
    rgba(255, 255, 255, 0.04) 56%,
    transparent 63%
  );
  transform: translateX(-75%) skewX(-14deg);
  animation: wallyLogoSweep 1.25s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.page-loader.is-leaving .loader-logo-shell::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    120deg,
    transparent 15%,
    rgba(62, 224, 159, 0.75),
    rgba(237, 174, 13, 0.35),
    transparent 82%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: wallyBorderBreath 1s ease-in-out infinite alternate !important;
}
.page-loader.is-leaving .loader-logo {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 12px rgba(62, 224, 159, 0.35));
  animation: wallyLogoGlowPremium 1s ease-in-out infinite alternate !important;
}
.page-loader.is-leaving .loader-progress {
  width: min(320px, 62vw);
  height: 2px;
  margin-top: 4px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.page-loader.is-leaving .loader-progress span {
  width: 46%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--green),
    #dcfff0,
    var(--gold),
    transparent
  );
  box-shadow: 0 0 18px rgba(62, 224, 159, 0.9);
  animation: wallyProgressPremium 1s cubic-bezier(0.65, 0, 0.35, 1) infinite !important;
}
.page-loader.is-leaving small {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.54);
  letter-spacing: 0.38em;
  animation: wallyTextPulse 1s ease-in-out infinite alternate;
}
@keyframes wallyStageEntrance {
  from {
    opacity: 0;
    transform: scale(0.88) translateY(14px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes wallyEnergyOrbit {
  to {
    transform: translate(-50%, -50%) rotateX(67deg) rotateZ(360deg);
  }
}
@keyframes wallyEnergyOrbitReverse {
  to {
    transform: translate(-50%, -50%) rotateX(67deg) rotateZ(-360deg);
  }
}
@keyframes wallyLogoFloatPremium {
  0%,
  100% {
    transform: translateY(0) rotateX(0deg) scale(1);
  }
  50% {
    transform: translateY(-8px) rotateX(2deg) scale(1.018);
  }
}
@keyframes wallyLogoSweep {
  0% {
    transform: translateX(-85%) skewX(-14deg);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  70%,
  100% {
    transform: translateX(85%) skewX(-14deg);
    opacity: 0;
  }
}
@keyframes wallyBorderBreath {
  from {
    opacity: 0.45;
    filter: drop-shadow(0 0 6px rgba(62, 224, 159, 0.25));
  }
  to {
    opacity: 1;
    filter: drop-shadow(0 0 16px rgba(62, 224, 159, 0.7));
  }
}
@keyframes wallyLogoGlowPremium {
  from {
    filter: drop-shadow(0 0 8px rgba(62, 224, 159, 0.25));
    transform: scale(0.995);
  }
  to {
    filter: drop-shadow(0 0 21px rgba(62, 224, 159, 0.62));
    transform: scale(1.012);
  }
}
@keyframes wallyProgressPremium {
  from {
    transform: translateX(-130%);
  }
  to {
    transform: translateX(350%);
  }
}
@keyframes wallyTextPulse {
  from {
    opacity: 0.42;
    text-shadow: none;
  }
  to {
    opacity: 0.82;
    text-shadow: 0 0 18px rgba(62, 224, 159, 0.3);
  }
}
@media (max-width: 600px) {
  .page-loader.is-leaving .loader-stage {
    height: 210px;
  }
  .page-loader.is-leaving .loader-logo-shell {
    padding: 22px 25px;
    border-radius: 20px;
  }
  .page-loader.is-leaving .loader-stage::before {
    height: 120px;
  }
  .page-loader.is-leaving .loader-stage::after {
    height: 94px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-loader.is-leaving .loader-stage::before,
  .page-loader.is-leaving .loader-stage::after,
  .page-loader.is-leaving .loader-logo-shell,
  .page-loader.is-leaving .loader-logo-shell::before,
  .page-loader.is-leaving .loader-logo-shell::after,
  .page-loader.is-leaving .loader-logo,
  .page-loader.is-leaving .loader-progress span,
  .page-loader.is-leaving small {
    animation: none !important;
  }
}

/* =========================================================
   WALLYSOFT PAGE LOADER — ANIMAZIONE ORBITALE
   Compare esclusivamente durante la navigazione interna.
   Durata della transizione gestita in script.js: 2 secondi.
   ========================================================= */
.page-loader {
  background:
    radial-gradient(
      circle at 50% 48%,
      rgba(62, 224, 159, 0.16),
      transparent 27%
    ),
    radial-gradient(
      circle at 50% 58%,
      rgba(237, 174, 13, 0.07),
      transparent 42%
    ),
    linear-gradient(135deg, #040806 0%, #08110d 50%, #030604 100%);
}

.page-loader.is-leaving .loader-stage {
  animation: wallyLoaderStageEntrance 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.loader-stage {
  position: relative;
  width: min(470px, 86vw);
  height: 240px;
  display: grid;
  place-items: center;
  perspective: 1000px;
}

.loader-orbit-light {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 50%;
  width: min(430px, 82vw);
  height: 160px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  filter: drop-shadow(0 0 12px rgba(62, 224, 159, 0.9));
  animation: wallyLoaderOrbitTilt 2.6s ease-in-out infinite;
}

.loader-orbit-light::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 245deg,
    rgba(62, 224, 159, 0.08) 275deg,
    rgba(62, 224, 159, 0.95) 318deg,
    #d8ffe9 338deg,
    rgba(237, 174, 13, 0.95) 351deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: wallyLoaderOrbitSpin 1.05s linear infinite;
}

.loader-orbit-light::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #effff6;
  box-shadow:
    0 0 8px #ffffff,
    0 0 18px #8fffc4,
    0 0 34px rgba(62, 224, 159, 0.95),
    0 0 64px rgba(62, 224, 159, 0.72);
  transform-origin: -205px 0;
  animation: wallyLoaderLightNode 1.05s linear infinite;
}

.loader-orbit-light span {
  position: absolute;
  inset: 18px 40px;
  border-radius: 50%;
  border: 1px solid rgba(62, 224, 159, 0.12);
  box-shadow:
    inset 0 0 30px rgba(62, 224, 159, 0.08),
    0 0 38px rgba(62, 224, 159, 0.08);
  animation: wallyLoaderOrbitPulse 1.05s ease-in-out infinite;
}

.page-loader.is-leaving .loader-logo-shell {
  animation: wallyLoaderLogoFloat 1.6s ease-in-out infinite !important;
}

.page-loader.is-leaving .loader-logo {
  animation: wallyLoaderLogoGlow 1.05s ease-in-out infinite !important;
}

.page-loader.is-leaving .loader-rings {
  animation: wallyLoaderRingPulse 1.4s ease-in-out infinite !important;
}

.page-loader.is-leaving .loader-rings i:nth-child(1) {
  animation: wallyLoaderRingSpinOne 2.1s linear infinite !important;
}

.page-loader.is-leaving .loader-rings i:nth-child(2) {
  animation: wallyLoaderRingSpinTwo 1.55s linear infinite reverse !important;
}

.page-loader.is-leaving .loader-rings i:nth-child(3) {
  animation: wallyLoaderRingSpinOne 1.15s linear infinite reverse !important;
}

.page-loader.is-leaving .loader-scan {
  animation: wallyLoaderScan 1.2s cubic-bezier(0.4, 0, 0.2, 1) infinite !important;
}

.page-loader.is-leaving .loader-progress span {
  animation: wallyLoaderProgress 1.05s cubic-bezier(0.65, 0, 0.35, 1) infinite !important;
}

@keyframes wallyLoaderStageEntrance {
  from {
    opacity: 0;
    transform: scale(0.86) translateY(18px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes wallyLoaderOrbitSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes wallyLoaderLightNode {
  from {
    transform: translate(205px, -50%) rotate(0deg);
  }

  to {
    transform: translate(205px, -50%) rotate(360deg);
  }
}

@keyframes wallyLoaderOrbitTilt {
  0%,
  100% {
    transform: translate(-50%, -50%) rotateX(64deg) rotateZ(-4deg) scale(0.96);
  }

  50% {
    transform: translate(-50%, -50%) rotateX(70deg) rotateZ(4deg) scale(1.04);
  }
}

@keyframes wallyLoaderOrbitPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.95);
  }

  50% {
    opacity: 0.95;
    transform: scale(1.04);
  }
}

@keyframes wallyLoaderLogoFloat {
  0%,
  100% {
    transform: translateZ(58px) translateY(2px) scale(0.985);
    box-shadow:
      0 0 0 1px rgba(62, 224, 159, 0.08),
      0 0 38px rgba(62, 224, 159, 0.18),
      0 28px 80px rgba(0, 0, 0, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }

  50% {
    transform: translateZ(78px) translateY(-10px) scale(1.025);
    box-shadow:
      0 0 0 1px rgba(62, 224, 159, 0.22),
      0 0 60px rgba(62, 224, 159, 0.34),
      0 36px 95px rgba(0, 0, 0, 0.55),
      inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }
}

@keyframes wallyLoaderLogoGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 10px rgba(62, 224, 159, 0.3)) brightness(1);
  }

  50% {
    filter: drop-shadow(0 0 25px rgba(62, 224, 159, 0.72)) brightness(1.12);
  }
}

@keyframes wallyLoaderRingPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.88);
    opacity: 0.45;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.12);
    opacity: 1;
  }
}

@keyframes wallyLoaderRingSpinOne {
  to {
    transform: rotateX(66deg) rotateZ(360deg);
  }
}

@keyframes wallyLoaderRingSpinTwo {
  to {
    transform: rotateY(68deg) rotateZ(360deg);
  }
}

@keyframes wallyLoaderScan {
  0% {
    left: -48%;
    opacity: 0;
  }

  18% {
    opacity: 1;
  }

  70%,
  100% {
    left: 120%;
    opacity: 0;
  }
}

@keyframes wallyLoaderProgress {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(365%);
  }
}

@media (max-width: 600px) {
  .loader-stage {
    height: 205px;
  }

  .loader-orbit-light {
    width: min(340px, 88vw);
    height: 135px;
  }

  .loader-orbit-light::after {
    transform-origin: -155px 0;
  }

  @keyframes wallyLoaderLightNode {
    from {
      transform: translate(155px, -50%) rotate(0deg);
    }

    to {
      transform: translate(155px, -50%) rotate(360deg);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .loader-orbit-light,
  .loader-rings,
  .loader-scan,
  .loader-particles {
    display: none;
  }

  .page-loader.is-leaving .loader-logo-shell,
  .page-loader.is-leaving .loader-logo,
  .page-loader.is-leaving .loader-progress span {
    animation: none !important;
  }
}


/* =========================================================
   WALLYSOFT — FONT PRINCIPALE NEUTRONIC (ADOBE FONTS)
   Il nome CSS ufficiale della famiglia Adobe è "neutronic".
   Per la pubblicazione online, collega al sito il kit Adobe Fonts
   associato al dominio wallysoft.it.
   ========================================================= */
html,
body,
button,
input,
textarea,
select {
  font-family: "neutronic", "Neutronic", "Helvetica Neue", Arial, sans-serif;
}

/* =========================================================
   WALLYSOFT — LOADER DI NAVIGAZIONE DEFINITIVO
   Animazione visibile: orbita luminosa, impulso del logo,
   scansione e barra energetica. Compare solo tra pagine interne.
   ========================================================= */
.page-loader {
  background:
    radial-gradient(circle at center, rgba(62, 224, 159, 0.18), transparent 30%),
    radial-gradient(circle at 50% 62%, rgba(237, 174, 13, 0.08), transparent 38%),
    #040806;
}

.page-loader.is-leaving .loader-stage {
  animation: wallyStageIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both !important;
}

.page-loader.is-leaving .loader-orbit-light {
  display: block !important;
  animation: wallyOrbitWobble 1.8s ease-in-out infinite !important;
}

.page-loader.is-leaving .loader-orbit-light::before {
  animation: wallyOrbitRotate 0.9s linear infinite !important;
}

.page-loader.is-leaving .loader-orbit-light::after {
  animation: wallyOrbitDot 0.9s linear infinite !important;
}

.page-loader.is-leaving .loader-logo-shell {
  animation: wallyLogoLevitate 1.1s ease-in-out infinite !important;
}

.page-loader.is-leaving .loader-logo {
  animation: wallyLogoEnergy 0.9s ease-in-out infinite !important;
}

.page-loader.is-leaving .loader-scan {
  display: block !important;
  animation: wallyScanPass 1.15s ease-in-out infinite !important;
}

.page-loader.is-leaving .loader-progress span {
  animation: wallyEnergyBar 0.85s cubic-bezier(0.65, 0, 0.35, 1) infinite !important;
}

.page-loader.is-leaving .loader-rings,
.page-loader.is-leaving .loader-particles {
  display: block !important;
}

@keyframes wallyStageIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.82);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes wallyOrbitRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes wallyOrbitDot {
  from {
    transform: translate(205px, -50%) rotate(0deg);
  }
  to {
    transform: translate(205px, -50%) rotate(360deg);
  }
}

@keyframes wallyOrbitWobble {
  0%, 100% {
    transform: translate(-50%, -50%) rotateX(65deg) rotateZ(-5deg) scale(0.96);
  }
  50% {
    transform: translate(-50%, -50%) rotateX(70deg) rotateZ(5deg) scale(1.05);
  }
}

@keyframes wallyLogoLevitate {
  0%, 100% {
    transform: translateZ(55px) translateY(4px) scale(0.98);
    box-shadow: 0 22px 65px rgba(0, 0, 0, 0.48), 0 0 24px rgba(62, 224, 159, 0.18);
  }
  50% {
    transform: translateZ(78px) translateY(-11px) scale(1.035);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.58), 0 0 58px rgba(62, 224, 159, 0.48);
  }
}

@keyframes wallyLogoEnergy {
  0%, 100% {
    filter: brightness(1) drop-shadow(0 0 7px rgba(62, 224, 159, 0.32));
  }
  50% {
    filter: brightness(1.18) drop-shadow(0 0 24px rgba(62, 224, 159, 0.9));
  }
}

@keyframes wallyScanPass {
  0% {
    left: -55%;
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  72%, 100% {
    left: 125%;
    opacity: 0;
  }
}

@keyframes wallyEnergyBar {
  from {
    transform: translateX(-130%);
  }
  to {
    transform: translateX(380%);
  }
}

@media (max-width: 600px) {
  @keyframes wallyOrbitDot {
    from {
      transform: translate(155px, -50%) rotate(0deg);
    }
    to {
      transform: translate(155px, -50%) rotate(360deg);
    }
  }
}


/* =========================================================
   WALLYSOFT — LOADER ESSENZIALE
   Elementi visibili: logo, singola luce orbitale e barra.
   Nessun anello, scia, scansione, particella o testo aggiuntivo.
   ========================================================= */
.page-loader .loader-atmosphere,
.page-loader .loader-rings,
.page-loader .loader-particles,
.page-loader .loader-scan,
.page-loader small,
.page-loader .loader-orbit-light::before,
.page-loader .loader-orbit-light span {
  display: none !important;
}

.page-loader .loader-stage {
  width: min(520px, 92vw);
  height: 230px;
}

.page-loader .loader-logo-shell {
  width: min(330px, 72vw);
  min-height: 100px;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  animation: none !important;
}

.page-loader .loader-logo-shell::before,
.page-loader .loader-logo-shell::after {
  content: none !important;
  display: none !important;
}

.page-loader .loader-logo {
  animation: none !important;
  filter: drop-shadow(0 0 10px rgba(62, 224, 159, 0.28));
}

.page-loader .loader-orbit-light {
  display: block !important;
  width: min(430px, 84vw);
  height: 160px;
  animation: none !important;
  filter: none;
}

.page-loader .loader-orbit-light::after {
  display: block !important;
  width: 17px;
  height: 17px;
  background: #effff6;
  box-shadow:
    0 0 8px #ffffff,
    0 0 20px #8fffc4,
    0 0 40px rgba(62, 224, 159, 0.98),
    0 0 75px rgba(62, 224, 159, 0.75);
  transform-origin: -205px 0;
  animation: none !important;
}

.page-loader.is-leaving .loader-orbit-light::after {
  animation: wallySingleLightOrbit 1.05s linear infinite !important;
}

.page-loader .loader-progress {
  margin-top: 18px;
}

@keyframes wallySingleLightOrbit {
  from {
    transform: translate(205px, -50%) rotate(0deg);
  }
  to {
    transform: translate(205px, -50%) rotate(360deg);
  }
}

@media (max-width: 600px) {
  .page-loader .loader-orbit-light {
    width: min(330px, 88vw);
    height: 135px;
  }

  .page-loader .loader-orbit-light::after {
    transform-origin: -155px 0;
  }

  @keyframes wallySingleLightOrbit {
    from {
      transform: translate(155px, -50%) rotate(0deg);
    }
    to {
      transform: translate(155px, -50%) rotate(360deg);
    }
  }
}


.loader-tagline{margin-top:18px;text-align:center;font-size:1rem;letter-spacing:.35em;text-transform:uppercase;color:rgba(255,255,255,.72);font-weight:600}




/* CUSTOM CSS */
.bg-color-yellow {
  background-color: rgb(237, 174, 13);
}
.color-yellow {
  color: var(--yellow) !important;
}
.color-green {
  color: var(--green);
}


@media (max-width: 768px) {
    #network-canvas {
        display: none;
    }
}


/*
*,
*::before,
*::after {
    animation: none !important;
    transition: none !important;
}
*/
#network-canvas,
.cursor-glow,
.data-streams {
    display: none !important;
}

.page-loader.loaded,
.page-loader.loaded *,
.page-loader.loaded::before,
.page-loader.loaded::after,
.page-loader.loaded *::before,
.page-loader.loaded *::after {
  animation-play-state: paused !important;
}


/* =========================================================
   4UATTRO — pagina prodotto
   ========================================================= */
.quattro-hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.quattro-hero::before {
  content: "";
  position: absolute;
  right: -0.04em;
  bottom: -0.28em;
  font-size: clamp(20rem, 42vw, 43rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.12em;
  color: rgba(255, 255, 255, 0.018);
  pointer-events: none;
}

.quattro-hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.quattro-hero .page-hero-content { max-width: 760px; }
.quattro-hero .page-hero-content h1 { max-width: 760px; }
.quattro-hero .breadcrumbs a { color: inherit; }
.quattro-hero .page-hero-content {
  position: relative;
  z-index: 4;
}

.quattro-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}

.quattro-orb-one {
  width: 420px;
  height: 420px;
  right: 5%;
  top: 18%;
  background: rgba(62, 224, 159, 0.08);
  box-shadow: 0 0 140px rgba(62, 224, 159, 0.12);
}

.quattro-orb-two {
  width: 200px;
  height: 200px;
  left: 30%;
  bottom: -5%;
  background: rgba(255, 226, 136, 0.05);
}

.quattro-console {
  position: relative;
  padding: 1.15rem;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.018)),
    rgba(8, 15, 12, 0.72);
  box-shadow: 0 45px 100px rgba(0, 0, 0, 0.35), inset 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.quattro-console::before {
  content: "";
  position: absolute;
  inset: 20% 18%;
  border-radius: 50%;
  background: rgba(62, 224, 159, 0.13);
  filter: blur(45px);
}

.quattro-console-top {
  position: absolute;
  top: 1.25rem;
  left: 1.4rem;
  right: 1.4rem;
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,.65);
}

.quattro-console-top i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.quattro-console-top small { color: var(--green); }
.quattro-mark { position: relative; font-size: clamp(6.5rem, 12vw, 9.5rem); line-height: .9; font-weight: 800; letter-spacing: -.12em; }
.quattro-mark span { color: var(--green); }
.quattro-console > p { position: relative; margin: 1.1rem 0 2.5rem; color: rgba(255,255,255,.7); }

.quattro-console-stats {
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1.15rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: rgba(0,0,0,.18);
}

.quattro-console-stats div { padding: .85rem .4rem; border-right: 1px solid rgba(255,255,255,.08); }
.quattro-console-stats div:last-child { border: 0; }
.quattro-console-stats strong, .quattro-console-stats span { display: block; }
.quattro-console-stats strong { font-size: 1rem; }
.quattro-console-stats span { margin-top: .22rem; font-size: 1rem; color: rgba(255,255,255,.5); }

.quattro-hero-art {
  --quattro-tilt-x: 0deg;
  --quattro-tilt-y: 0deg;
  --quattro-shift-x: 0px;
  --quattro-shift-y: 0px;
  position: relative;
  width: 750px;
  height: auto;
  aspect-ratio: 1181 / 756;
  margin: 0;
  display: grid;
  place-items: center;
  justify-self: center;
  isolation: isolate;
}

.quattro-hero-art.revealed {
  transform:
    perspective(1100px)
    translate3d(var(--quattro-shift-x), var(--quattro-shift-y), 0)
    rotateX(var(--quattro-tilt-x))
    rotateY(var(--quattro-tilt-y));
  transform-style: preserve-3d;
  transition:
    opacity .75s ease,
    transform .65s cubic-bezier(.2, .8, .2, 1);
}

.quattro-hero-art.revealed.is-interacting {
  transition:
    opacity .75s ease,
    transform .16s ease-out;
}

.quattro-hero-art.revealed img {
  transform-style: preserve-3d;
}

.quattro-hero-art::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 8% -4% 5%;
  border-radius: 46% 54% 48% 52%;
  background:
    radial-gradient(circle at 54% 38%, rgba(62, 224, 159, .22), transparent 43%),
    radial-gradient(circle at 72% 66%, rgba(255, 226, 136, .12), transparent 34%);
  filter: blur(34px);
  animation: quattroAura 6s ease-in-out infinite alternate;
}

.quattro-hero-art::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 10% 8%;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 35%, rgba(255,255,255,.15) 49%, transparent 62%);
  transform: translateX(-120%);
  mix-blend-mode: screen;
  animation: quattroLightSweep 6.5s 1.2s ease-in-out infinite;
  -webkit-mask-image: radial-gradient(ellipse, #000 38%, transparent 72%);
  mask-image: radial-gradient(ellipse, #000 38%, transparent 72%);
}

.quattro-hero-art img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  aspect-ratio: 1181 / 756;
  display: block;
  object-fit: contain;
  filter: saturate(1.06) contrast(1.03) drop-shadow(0 32px 50px rgba(0,0,0,.34));
  will-change: transform;
  animation: quattroFloat 5.8s ease-in-out infinite;
}

.quattro-art-halo {
  position: absolute;
  z-index: 0;
  width: 76%;
  aspect-ratio: 1;
  border: 1px solid rgba(62,224,159,.22);
  border-radius: 50%;
  box-shadow:
    0 0 0 26px rgba(62,224,159,.025),
    0 0 90px rgba(62,224,159,.14),
    inset 0 0 70px rgba(62,224,159,.08);
  transform: rotateX(64deg) rotateZ(-10deg);
  animation: quattroHalo 10s linear infinite;
}

.quattro-art-orbit {
  position: absolute;
  z-index: 4;
  width: 88%;
  aspect-ratio: 1.7;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  pointer-events: none;
}

.quattro-art-orbit i {
  position: absolute;
  top: 50%;
  right: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px #fff, 0 0 24px var(--green);
}

.orbit-a {
  transform: rotate(-17deg);
  animation: quattroOrbitA 7.5s ease-in-out infinite alternate;
}

.orbit-b {
  width: 72%;
  border-color: rgba(255,226,136,.13);
  transform: rotate(62deg);
  animation: quattroOrbitB 8.5s ease-in-out infinite alternate;
}

.orbit-b i {
  right: auto;
  left: -4px;
  width: 7px;
  height: 7px;
  background: var(--gold);
  box-shadow: 0 0 10px #fff, 0 0 24px var(--gold);
}

.quattro-art-glint {
  position: absolute;
  z-index: 5;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px #fff, 0 0 20px var(--green);
  animation: quattroGlint 2.4s ease-in-out infinite;
}

.glint-a { top: 21%; right: 16%; }
.glint-b { bottom: 25%; left: 8%; animation-delay: -1.1s; }

@keyframes quattroFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-.4deg); }
  50% { transform: translate3d(0, -16px, 0) rotate(.8deg); }
}

@keyframes quattroAura {
  from { transform: scale(.94) rotate(-3deg); opacity: .65; }
  to { transform: scale(1.08) rotate(4deg); opacity: 1; }
}

@keyframes quattroHalo {
  from { transform: rotateX(64deg) rotateZ(-10deg); }
  to { transform: rotateX(64deg) rotateZ(350deg); }
}

@keyframes quattroOrbitA {
  from { transform: rotate(-20deg) scale(.97); }
  to { transform: rotate(-9deg) scale(1.04); }
}

@keyframes quattroOrbitB {
  from { transform: rotate(57deg) scale(.96); }
  to { transform: rotate(69deg) scale(1.05); }
}

@keyframes quattroLightSweep {
  0%, 55% { transform: translateX(-135%); opacity: 0; }
  68% { opacity: .8; }
  88%, 100% { transform: translateX(135%); opacity: 0; }
}

@keyframes quattroGlint {
  0%, 100% { transform: scale(.45); opacity: .35; }
  50% { transform: scale(1.6); opacity: 1; }
}

.quattro-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  border-left: 1px solid rgba(255, 255, 255, 0.11);
}

.quattro-benefit {
  position: relative;
  min-height: 300px;
  padding: clamp(2rem, 4vw, 3.5rem);
  border-right: 1px solid rgba(255, 255, 255, 0.11);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  transition: background .3s ease, transform .3s ease;
}

.quattro-benefit:hover { background: rgba(62,224,159,.065); }
.quattro-number { position: absolute; top: 1.4rem; right: 1.5rem; color: rgba(255,255,255,.38); font-size: 1rem; letter-spacing: .14em; }

.quattro-icon { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 2rem; border-radius: 50%; background: var(--green); color: #10231c; font-size: 1.25rem; box-shadow: 0 12px 30px rgba(62,224,159,.25); }

.quattro-benefit > i.fa-bullseye {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 2rem;
  border: 1px solid rgba(62, 224, 159, 0.52);
  border-radius: 50%;
  color: var(--green) !important;
  background: rgba(62, 224, 159, 0.08);
  box-shadow: 0 12px 30px rgba(62, 224, 159, 0.2);
  font-size: 1.65rem;
  line-height: 1;
}

.quattro-benefit h3 { max-width: 360px; margin-bottom: .9rem; font-size: clamp(1.35rem, 2vw, 1.85rem); }

.quattro-benefit p { max-width: 520px; color: rgba(255,255,255, 1); line-height: 1.75; }

.quattro-tech-section { position: relative; background: #0d1713; color: #fff; overflow: hidden; }

.quattro-tech-section::before { content: ""; position: absolute; width: 700px; height: 700px; right: -350px; top: -250px; border-radius: 50%; background: rgba(62,224,159,.08); filter: blur(10px); }
.quattro-tech-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 4rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); }
.quattro-tech-card { 
  min-height: 290px; padding: 2.2rem; background: #0d1713; 
  transition: background .3s ease; }
.quattro-tech-card:hover { background: #13231c; }
.quattro-tech-card > span { display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 2.4rem; border: 1px solid rgba(62,224,159,.4); border-radius: 12px; color: var(--green); font-size: 1.25rem; }
.quattro-tech-card h3 { margin-bottom: .8rem; font-size: 1.35rem; }
.quattro-tech-card p { color: rgba(255,255,255, 1); line-height: 1.72; }

.quattro-cloud-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(380px, 1fr); gap: clamp(4rem, 8vw, 8rem); align-items: center; }
.quattro-cloud-copy h2 { max-width: 650px; margin: .8rem 0 1.25rem; font-size: clamp(2.2rem, 4vw, 4.4rem); line-height: 1.05; letter-spacing: -.045em; }
.quattro-cloud-copy > p { max-width: 630px; color: rgba(255,255,255,1); line-height: 1.8; }
.quattro-cloud-points { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2rem; }
.quattro-cloud-points span { padding: .65rem .9rem; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.quattro-cloud-visual { position: relative; min-height: 470px; display: grid; place-items: center; }
.quattro-cloud-visual::before, .quattro-cloud-visual::after { content: ""; position: absolute; inset: 12%; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }
.quattro-cloud-visual::after { inset: 25%; border-style: dashed; }
.cloud-core { position: relative; z-index: 2; width: 150px; height: 150px; display: grid; place-items: center; border-radius: 50%; background: #0d1713; color: var(--green); font-size: 3rem; font-weight: 800; box-shadow: 0 30px 70px rgba(15,37,29,.3), 0 0 0 16px rgba(62,224,159,.08); }
.cloud-node { position: absolute; z-index: 3; padding: .7rem 1rem; border-radius: 999px; background: #fff; border: 1px solid rgba(15,37,29,.12); box-shadow: 0 14px 35px rgba(15,37,29,.12); font-size: 1rem; font-weight: 750; }
.node-one { left: 2%; top: 24%; }
.node-two { right: 0; top: 29%; }
.node-three { left: 18%; bottom: 12%; }

.quattro-cloud-map {
  min-height: 0;
  margin: 0;
  outline: none;
  transform-style: preserve-3d;
}

.quattro-cloud-map::before,
.quattro-cloud-map::after {
  content: none;
}

.quattro-cloud-map-frame {
  position: relative;
  width: min(100%, 620px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 30px;
  background: #07100c;
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.42),
    0 0 70px rgba(62, 224, 159, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateZ(12px);
}

.quattro-cloud-map-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 28%),
    radial-gradient(circle at 50% 48%, transparent 48%, rgba(3, 8, 6, 0.5));
}

.quattro-cloud-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.8s ease;
}

.quattro-cloud-map:hover img,
.quattro-cloud-map:focus-visible img {
  transform: scale(1.025);
  filter: saturate(1.1) brightness(1.06);
}

.quattro-cloud-map:focus-visible .quattro-cloud-map-frame {
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.42),
    0 0 0 2px rgba(62, 224, 159, 0.75),
    0 0 80px rgba(62, 224, 159, 0.18);
}

.cloud-location {
  position: absolute;
  z-index: 3;
  display: grid;
  grid-template-columns: 9px auto;
  column-gap: 8px;
  align-items: center;
  padding: 8px 11px;
  border: 1px solid rgba(62, 224, 159, 0.28);
  border-radius: 12px;
  color: #fff;
  background: rgba(5, 13, 10, 0.78);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: clamp(1rem, 1vw, 1rem);
  line-height: 1.15;
  opacity: 0.82;
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.cloud-location i {
  grid-row: 1 / 3;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(62, 224, 159, 0.12), 0 0 18px var(--green);
  animation: cloudLocationPulse 2.2s ease-in-out infinite;
}

.cloud-location strong,
.cloud-location small {
  display: block;
  white-space: nowrap;
}

.cloud-location small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 1rem;
}

.cloud-location-france { left: 22%; top: 62%; }
.cloud-location-germany { left: 46%; top: 45%; }
.cloud-location-finland { left: 66%; top: 18%; }

.quattro-cloud-map:hover .cloud-location,
.quattro-cloud-map:focus-visible .cloud-location {
  opacity: 1;
  border-color: rgba(62, 224, 159, 0.58);
  transform: translateY(-3px);
}

@keyframes cloudLocationPulse {
  50% {
    transform: scale(1.25);
    opacity: 0.72;
  }
}

.quattro-path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 4rem; }
.quattro-path { min-height: 330px; display: flex; flex-direction: column; padding: 2.2rem; border: 1px solid rgba(255,255,255,.11); border-radius: 4px; background: rgba(255,255,255,.035); }
.quattro-path > span { color: var(--green-dark); font-size: 1rem; letter-spacing: .15em; }
.quattro-path h3 { margin: 2.8rem 0 1rem; font-size: 1.55rem; }
.quattro-path p { color: rgba(255,255,255,.68); line-height: 1.7; }
.quattro-path .text-link { margin-top: auto; padding-top: 2rem; }
.quattro-path .text-link b { font-weight: inherit; }

@media (max-width: 980px) {
  .quattro-hero { min-height: auto; }
  .quattro-hero-layout, .quattro-cloud-layout { grid-template-columns: 1fr; }
  .quattro-console { width: min(100%, 590px); min-height: 400px; }
  .quattro-hero-art { width: min(100vw, 760px); }
  .quattro-tech-grid, .quattro-path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quattro-path:last-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .quattro-hero-layout { gap: 2.5rem; }
  .quattro-console { min-height: 360px; border-radius: 20px; }
  .quattro-hero-art {
    width: min(100vw, 580px);
    max-width: none;
    margin-inline: auto;
    justify-self: center;
  }
  .quattro-art-orbit { width: 96%; }
  .quattro-benefits, .quattro-tech-grid, .quattro-path-grid { grid-template-columns: 1fr; }
  .quattro-path:last-child { grid-column: auto; }
  .quattro-benefit { min-height: auto; }
  .quattro-tech-card { min-height: auto; }
  .quattro-cloud-layout { gap: 2rem; }
  .quattro-cloud-visual { min-height: 350px; transform: scale(.9); }
  .quattro-cloud-map { min-height: 0; transform: none; }
  .quattro-cloud-map-frame { border-radius: 22px; }
  .cloud-location { padding: 6px 8px; border-radius: 9px; }
  .cloud-location small { display: none; }
  .cloud-location-france { left: 18%; top: 62%; }
  .cloud-location-germany { left: 43%; top: 45%; }
  .cloud-location-finland { left: 61%; top: 17%; }
  .quattro-cloud-points { gap: .45rem; }
  .quattro-cloud-points span { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .quattro-hero-art.revealed {
    transform: none !important;
  }

  .quattro-hero-art::before,
  .quattro-hero-art::after,
  .quattro-hero-art img,
  .quattro-art-halo,
  .quattro-art-orbit,
  .quattro-art-glint {
    animation: none !important;
  }

  .quattro-cloud-map img,
  .cloud-location,
  .cloud-location i {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 900px), (pointer: coarse) {
  .ambient-layer,
  .glass-orbit,
  .hero-orb {
    display: none !important;
  }

  body::before,
  .hero::after,
  .page-hero::after,
  .services-section::after,
  .support-section::after,
  .cta-section::after,
  .hero-copy,
  .dashboard::after,
  .visual-badge,
  .floating-card,
  .status-dot,
  .service-symbol,
  .support-ring,
  .support-person,
  .support-center,
  .story-lines {
    animation: none !important;
  }

  .dashboard,
  .floating-card,
  .visual-badge,
  .solution-card,
  .story-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* =========================================================
   DESKTOP MOTION PERFORMANCE
   Mantiene gli effetti, evitando lavoro quando non sono visibili e
   privilegiando proprietà gestite dal compositor.
   ========================================================= */

/* Il loader si anima soltanto durante una transizione tra pagine. */
.page-loader.loaded,
.page-loader.loaded *,
.page-loader.loaded::before,
.page-loader.loaded::after,
.page-loader.loaded *::before,
.page-loader.loaded *::after {
  animation-play-state: paused !important;
}

/* Classi applicate alle sezioni fuori dal viewport da script.js. */
.motion-paused,
.motion-paused *,
.motion-paused::before,
.motion-paused::after,
.motion-paused *::before,
.motion-paused *::after {
  animation-play-state: paused !important;
}

/* Le grandi riflessioni si muovono come layer, senza ridisegnare il gradient. */
body::before {
  inset: 0 -50%;
  background-size:
    120% 100%,
    auto;
  will-change: transform;
}

@keyframes ambientSweep {
  from {
    transform: translate3d(18%, 0, 0);
  }
  to {
    transform: translate3d(-18%, 0, 0);
  }
}

.hero,
.page-hero,
.services-section,
.support-section,
.cta-section {
  overflow: hidden;
}

.hero::after,
.page-hero::after,
.services-section::after,
.support-section::after,
.cta-section::after {
  inset: 0 -50%;
  background-size:
    120% 100%,
    auto;
  will-change: transform;
}

@keyframes glassReflection {
  from {
    transform: translate3d(18%, 0, 0);
  }
  to {
    transform: translate3d(-18%, 0, 0);
  }
}

/* Il riflesso delle icone usa transform anziché modificare left. */
.solution-icon::after,
.service-symbol::after,
.value-icon::after,
.floating-icon::after,
.contact-list i::after {
  left: -120%;
  will-change: transform;
}

@keyframes iconGlint {
  0%,
  65% {
    transform: translate3d(0, 0, 0) rotate(24deg);
  }
  85%,
  100% {
    transform: translate3d(360%, 0, 0) rotate(24deg);
  }
}

/* Evita filter: brightness() ad ogni fotogramma delle barre. */
@keyframes barPulse {
  50% {
    opacity: 0.78;
  }
}

/* L'alone di stato viene scalato su un layer separato. */
.status-dot {
  position: relative;
  box-shadow: none;
  animation: none;
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(62, 224, 159, 0.42);
  border-radius: 50%;
  opacity: 0;
  animation: statusPulseComposited 1.6s ease-out infinite;
  will-change: transform, opacity;
}

@keyframes statusPulseComposited {
  0% {
    transform: scale(0.55);
    opacity: 0.65;
  }
  80%,
  100% {
    transform: scale(1.65);
    opacity: 0;
  }
}

/* I layer interattivi vengono riservati solo durante l'interazione. */
.tilt-card,
.magnetic {
  will-change: auto;
}

@media (hover: hover) and (pointer: fine) {
  .tilt-card:hover,
  .magnetic:hover {
    will-change: transform;
  }
}

/* Mantiene sul mobile le semplificazioni definite sopra. */
@media (max-width: 900px), (pointer: coarse) {
  body::before {
    inset: 0;
    background-size:
      220% 100%,
      auto;
    will-change: auto;
  }

  .hero::after,
  .page-hero::after,
  .services-section::after,
  .support-section::after,
  .cta-section::after {
    inset: 0;
    background-size:
      220% 100%,
      auto;
    will-change: auto;
  }

  .solution-icon::after,
  .service-symbol::after,
  .value-icon::after,
  .floating-icon::after,
  .contact-list i::after {
    will-change: auto;
  }

  .status-dot::after {
    display: none;
    animation: none !important;
  }
}

/* =========================================================
   PARTNER 4UATTRO
   ========================================================= */
.partner-page {
  background: #0b100e;
}

.partner-hero {
  min-height: 760px;
  padding: 165px 0 95px;
  overflow: hidden;
}

.partner-hero::before {
  content: "";
  position: absolute;
  right: -0.04em;
  bottom: -0.28em;
  color: rgba(255, 255, 255, 0.018);
  font-size: clamp(10rem, 23vw, 24rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.partner-hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.partner-hero .page-hero-content {
  max-width: 720px;
}

.partner-handshake {
  position: relative;
  width: min(100%, 650px);
  margin: 0;
  justify-self: end;
  transform-style: preserve-3d;
}

.partner-handshake::before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: -1;
  border-radius: 45%;
  background:
    radial-gradient(circle at 24% 30%, rgba(62, 224, 159, 0.25), transparent 42%),
    radial-gradient(circle at 82% 72%, rgba(255, 226, 136, 0.16), transparent 38%);
  filter: blur(38px);
  animation: partnerAura 7s ease-in-out infinite alternate;
}

.partner-handshake-frame {
  position: relative;
  isolation: isolate;
  overflow: visible;
  border: 0;
  background: transparent;
  filter: drop-shadow(0 32px 38px rgba(0, 0, 0, 0.34));
  transform: translateZ(16px) rotate(1.2deg);
}

.partner-handshake-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: -35% -55%;
  pointer-events: none;
  background: linear-gradient(
    112deg,
    transparent 42%,
    rgba(255, 255, 255, 0.02) 47%,
    rgba(143, 255, 196, 0.2) 50%,
    rgba(255, 226, 136, 0.12) 52%,
    transparent 58%
  );
  transform: translate3d(-58%, 0, 0);
  animation: partnerLightSweep 5.8s 1.1s ease-in-out infinite;
  will-change: transform, opacity;
}

.partner-handshake-frame::after {
  content: none;
}

.partner-handshake img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  animation: partnerImageFloat 6s ease-in-out infinite;
}

.partner-energy-core {
  position: absolute;
  z-index: 4;
  left: 48.5%;
  top: 57%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  pointer-events: none;
  background: #f4fff9;
  box-shadow:
    0 0 12px #fff,
    0 0 28px var(--green),
    0 0 65px rgba(62, 224, 159, 0.9),
    0 0 105px rgba(255, 226, 136, 0.42);
  mix-blend-mode: screen;
  animation: partnerEnergyPulse 1.55s ease-in-out infinite;
  will-change: transform, opacity;
}

.partner-motion-orbit {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 55%;
  width: 106%;
  aspect-ratio: 2.3;
  border: 1px solid rgba(62, 224, 159, 0.38);
  border-radius: 50%;
  pointer-events: none;
  box-shadow:
    inset 0 0 25px rgba(62, 224, 159, 0.05),
    0 0 22px rgba(62, 224, 159, 0.08);
  transform-origin: center;
  will-change: transform, opacity;
}

.partner-motion-orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #effff6;
  box-shadow: 0 0 10px #fff, 0 0 24px var(--green), 0 0 42px var(--green);
}

.partner-motion-orbit-one {
  animation: partnerOrbitOne 8s linear infinite;
}

.partner-motion-orbit-two {
  width: 82%;
  border-color: rgba(255, 226, 136, 0.3);
  animation: partnerOrbitTwo 6.5s linear infinite reverse;
}

.partner-motion-orbit-two::after {
  width: 7px;
  height: 7px;
  background: var(--yellow);
  box-shadow: 0 0 10px #fff, 0 0 22px var(--yellow), 0 0 38px var(--yellow);
}

.partner-motion-particle {
  position: absolute;
  z-index: 4;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  pointer-events: none;
  background: var(--green);
  box-shadow: 0 0 15px var(--green);
  animation: partnerParticleFloat 4.5s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.partner-motion-particle.particle-one {
  left: 17%;
  top: 26%;
}

.partner-motion-particle.particle-two {
  right: 15%;
  top: 20%;
  width: 5px;
  height: 5px;
  background: var(--yellow);
  box-shadow: 0 0 15px var(--yellow);
  animation-delay: -1.4s;
}

.partner-motion-particle.particle-three {
  right: 21%;
  bottom: 18%;
  animation-delay: -2.8s;
}

.partner-handshake figcaption {
  position: absolute;
  right: -18px;
  bottom: 28px;
  z-index: 3;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  background: rgba(8, 18, 14, 0.78);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.partner-handshake figcaption span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px var(--green);
  animation: partnerStatusPulse 1.8s ease-in-out infinite;
}

@keyframes partnerAura {
  to {
    transform: translate3d(12px, -8px, 0) scale(1.06);
  }
}

@keyframes partnerImageFloat {
  50% {
    transform: scale(1.025) translate3d(0, -5px, 0);
  }
}

@keyframes partnerLightSweep {
  0%,
  52% {
    transform: translate3d(-58%, 0, 0);
    opacity: 0;
  }
  62% {
    opacity: 1;
  }
  82%,
  100% {
    transform: translate3d(58%, 0, 0);
    opacity: 0;
  }
}

@keyframes partnerStatusPulse {
  50% {
    transform: scale(1.35);
    opacity: 0.65;
  }
}

@keyframes partnerEnergyPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.72);
    opacity: 0.58;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.35);
    opacity: 1;
  }
}

@keyframes partnerOrbitOne {
  from {
    transform: translate(-50%, -50%) rotateX(67deg) rotateZ(-16deg);
  }
  to {
    transform: translate(-50%, -50%) rotateX(67deg) rotateZ(344deg);
  }
}

@keyframes partnerOrbitTwo {
  from {
    transform: translate(-50%, -50%) rotateX(72deg) rotateZ(28deg);
  }
  to {
    transform: translate(-50%, -50%) rotateX(72deg) rotateZ(388deg);
  }
}

@keyframes partnerParticleFloat {
  from {
    transform: translate3d(-5px, 8px, 0) scale(0.7);
    opacity: 0.38;
  }
  to {
    transform: translate3d(9px, -12px, 0) scale(1.25);
    opacity: 1;
  }
}

.partner-intro-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 8% 16%, rgba(62, 224, 159, 0.3), transparent 30%),
    radial-gradient(circle at 88% 82%, rgba(255, 226, 136, 0.17), transparent 27%),
    linear-gradient(135deg, #0d241c 0%, #174536 48%, #102a21 100%);
}

.partner-intro-section::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  top: -380px;
  right: -150px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(62, 224, 159, 0.025),
    0 0 120px rgba(62, 224, 159, 0.08);
  pointer-events: none;
}

.partner-intro-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(110deg, #000, transparent 70%);
  mask-image: linear-gradient(110deg, #000, transparent 70%);
}

.partner-intro-section > .container {
  position: relative;
  z-index: 1;
}

.partner-intro-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.5fr) minmax(320px, 1.5fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.partner-intro-text {
  max-width: 780px;
  padding-top: 0;
}

.partner-intro-text p {
  color: rgba(255, 255, 255, 1);
  font-size: 1.02rem;
  line-height: 1.8;
}

.partner-intro-text p:last-child {
  margin-bottom: 0;
}

.partner-services {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(5, 20, 14, 0.13);
  box-shadow: 0 28px 80px rgba(2, 13, 9, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.partner-services span {
  min-height: 112px;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s ease, background 0.3s ease;
}

.partner-services span:hover {
  color: #fff;
  background: rgba(62, 224, 159, 0.17);
}

.partner-directory {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 84% 10%, rgba(62, 224, 159, 0.24), transparent 27%),
    radial-gradient(circle at 12% 42%, rgba(255, 226, 136, 0.09), transparent 25%),
    linear-gradient(180deg, #174b38 0%, #102d22 30%, #0a1712 66%, #050706 100%);
}

.partner-directory::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  left: -300px;
  bottom: 5%;
  border: 1px solid rgba(255, 226, 136, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 100px rgba(62, 224, 159, 0.05);
  pointer-events: none;
}

.partner-directory .section-heading h2 {
  max-width: 900px;
  color: #fff;
}

.partner-directory .section-heading > p {
  color: rgba(255, 255, 255, 1);
}

.partner-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.partner-card {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
  transform-style: preserve-3d;
}

.partner-card:hover {
  border-color: rgba(62, 224, 159, 0.38);
  box-shadow:
    0 38px 100px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(62, 224, 159, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.partner-card-top {
  position: relative;
  min-height: 230px;
  padding: 45px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(circle at center, rgba(62, 224, 159, 0.12), transparent 58%),
    rgba(255, 255, 255, 0.025);
}

.partner-card-top-macchinisti {
  background:
    radial-gradient(circle at center, rgba(255, 226, 136, 0.09), transparent 58%),
    rgba(255, 255, 255, 0.025);
}

.partner-card-index {
  position: absolute;
  top: 20px;
  left: 22px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 1rem;
  letter-spacing: 0.16em;
}

.partner-logo {
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.25));
  transition: transform 0.4s ease;
}

.partner-card:hover .partner-logo {
  transform: scale(1.035);
}

.partner-logo-datatrade {
  width: min(82%, 390px);
  height: auto;
}

.partner-logo-macchinisti {
  width: min(38%, 160px);
  height: 135px;
}

.partner-card-body {
  flex: 1;
  padding: clamp(30px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.partner-card-kicker {
  margin-bottom: 18px;
  color: var(--green);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.partner-card h3 {
  max-width: 520px;
  margin-bottom: 22px;
  color: var(--yellow);
  font-size: clamp(1.65rem, 2.6vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.partner-card-body > p:not(.partner-card-kicker) {
  color: rgba(255, 255, 255, 1);
  line-height: 1.75;
}

.partner-card address {
  margin: 20px 0 30px;
  padding-left: 18px;
  border-left: 2px solid var(--green);
  color: rgba(255, 255, 255, 1);
  font-size: 1rem;
  font-style: normal;
  line-height: 1.7;
}

.partner-card address a {
  color: #fff;
}

.partner-external-link {
  margin-top: auto;
  padding: 12px 0 5px;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(62, 224, 159, 0.46);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partner-external-link span {
  color: var(--green);
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.partner-external-link:hover span {
  transform: translate(3px, -3px);
}

.partner-cta {
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 226, 136, 0.11), transparent 27%),
    linear-gradient(135deg, #163328, #1f5c43);
}

@media (max-width: 980px) {
  .partner-hero {
    min-height: auto;
  }

  .partner-hero-layout,
  .partner-intro-layout {
    grid-template-columns: 1fr;
  }

  .partner-handshake {
    width: min(100%, 720px);
    justify-self: start;
  }

  .partner-intro-text {
    max-width: 760px;
    padding-top: 0;
  }

  .partner-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-grid {
    grid-template-columns: 1fr;
  }

  .partner-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .partner-hero {
    padding: 135px 0 75px;
  }

  .partner-hero-layout {
    gap: 3rem;
  }

  .partner-handshake-frame {
    transform: none;
  }

  .partner-handshake figcaption {
    right: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    padding: 9px 12px;
    font-size: 1rem;
  }

  .partner-motion-orbit-two,
  .partner-motion-particle.particle-three {
    display: none;
  }

  .partner-services {
    margin-top: 48px;
    grid-template-columns: 1fr;
  }

  .partner-services span {
    min-height: 78px;
  }

  .partner-card {
    border-radius: 22px;
  }

  .partner-card-top {
    min-height: 190px;
    padding: 35px 28px;
  }

  .partner-logo-datatrade {
    width: 90%;
  }

  .partner-logo-macchinisti {
    width: min(44%, 135px);
    height: 115px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .partner-handshake::before,
  .partner-handshake img,
  .partner-handshake-frame::before,
  .partner-handshake figcaption span,
  .partner-energy-core,
  .partner-motion-orbit,
  .partner-motion-particle {
    animation: none !important;
  }
}

/* Mantiene la hero forShop sopra le regole generiche definite in precedenza. */
.forshop-page .forshop-hero {
  min-height: 880px;
  padding: 155px 0 105px;
  background:
    radial-gradient(circle at 76% 42%, rgba(62, 224, 159, 0.2), transparent 30%),
    radial-gradient(circle at 18% 12%, rgba(255, 226, 136, 0.08), transparent 23%),
    linear-gradient(138deg, #07100c 0%, #102a20 48%, #07100c 100%);
}

.forshop-page .forshop-hero::after {
  inset: auto -8% -45% 36%;
  height: 620px;
  border: 1px solid rgba(62, 224, 159, 0.13);
  border-radius: 50%;
  background: none;
  transform: rotate(-10deg);
  box-shadow: 0 0 100px rgba(62, 224, 159, 0.06);
  animation: none;
}

@media (max-width: 1100px) {
  .forshop-page .forshop-hero {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .forshop-page .forshop-hero {
    padding: 135px 0 75px;
  }
}

/* =========================================================
   CASE STUDIES — KIMONO, JØTUL E 24ORE BUSINESS SCHOOL
   ========================================================= */
.case-study-page .case-study-hero {
  min-height: 720px;
  padding: 165px 0 95px;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 34%, rgba(62, 224, 159, 0.2), transparent 30%),
    radial-gradient(circle at 12% 86%, rgba(237, 174, 13, 0.08), transparent 24%),
    linear-gradient(138deg, #07100c 0%, #10251d 52%, #08110d 100%);
}

.case-study-hero-layout {
  display: block;
}

.case-study-hero .page-hero-content {
  max-width: 980px;
}

.case-study-hero h1 {
  max-width: 720px;
  font-size: clamp(3.65rem, 6.2vw, 6.8rem);
  line-height: 0.96;
}

.business-school-case-page .case-study-hero h1 {
  max-width: 1100px;
}

.business-school-case-page .case-study-hero h1 .accent-text {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  font-size: clamp(1.55rem, 6.6vw, 5.5rem);
}

.case-study-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(12px);
  pointer-events: none;
}

.case-study-glow-one {
  width: 360px;
  height: 360px;
  top: 14%;
  right: 8%;
  background: rgba(62, 224, 159, 0.1);
}

.case-study-glow-two {
  width: 220px;
  height: 220px;
  right: 38%;
  bottom: 0;
  background: rgba(237, 174, 13, 0.055);
}

.case-study-hero-media {
  position: relative;
  margin: 0;
}

.case-study-image-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    0 36px 100px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: rotate(1.5deg);
}

.case-study-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 35%);
  pointer-events: none;
}

.case-study-image-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1500 / 899;
  object-fit: cover;
}

.case-study-hero-media figcaption {
  position: absolute;
  right: -22px;
  bottom: -34px;
  min-width: 245px;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(12, 20, 16, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
}

.case-study-hero-media figcaption span,
.case-study-hero-media figcaption strong {
  display: block;
}

.case-study-hero-media figcaption span {
  margin-bottom: 4px;
  color: var(--green);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-study-hero-media figcaption strong {
  color: var(--white);
  font-size: 1rem;
}

.case-study-numbers {
  position: relative;
  z-index: 4;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 14, 11, 0.82);
}

.case-study-number-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.case-study-number-grid > div {
  min-height: 150px;
  padding: 32px clamp(24px, 4vw, 58px);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-study-number-grid > div:last-child {
  border-right: 0;
}

.case-study-number-grid strong,
.case-study-number-grid span {
  display: block;
}

.case-study-number-grid strong {
  margin-bottom: 6px;
  color: var(--green);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1;
}

.case-study-number-grid span {
  max-width: 270px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 1rem;
}

.case-study-split {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(65px, 10vw, 150px);
  align-items: start;
}

.case-study-heading {
  position: sticky;
  top: 145px;
}

.case-study-heading h2,
.case-study-erp-intro h2 {
  margin: 0;
  font-size: clamp(3.2rem, 6vw, 6.4rem);
  line-height: 0.98;
}

.case-study-copy {
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: var(--glass-shadow);
}

.case-study-copy p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.04rem;
}

.case-study-copy p + p {
  margin-top: 26px;
}

.case-study-copy strong,
.case-study-copy a {
  color: var(--white);
}

.case-study-copy a {
  border-bottom: 1px solid var(--green);
}

.case-study-copy .case-study-lead {
  color: var(--white);
  font-size: clamp(1.35rem, 2.5vw, 2.05rem);
  line-height: 1.35;
}

.case-study-solution {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(62, 224, 159, 0.1), transparent 24%),
    linear-gradient(145deg, #0a110e, #111c17 54%, #090f0c);
}

.case-study-card-grid,
.case-study-check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-study-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-study-card {
  min-height: 285px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.case-study-card:hover {
  transform: translateY(-6px);
  border-color: rgba(62, 224, 159, 0.38);
  background: rgba(62, 224, 159, 0.06);
}

.case-study-card > span {
  display: block;
  margin-bottom: 48px;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.case-study-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.case-study-card strong,
.case-study-card a {
  color: var(--white);
}

.case-study-card a {
  border-bottom: 1px solid var(--green);
}

.case-study-check-list {
  display: grid;
  gap: 14px;
}

.case-study-check-list li {
  position: relative;
  padding: 24px 28px 24px 70px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.68);
}

.case-study-check-list li::before {
  content: "✓";
  position: absolute;
  top: 22px;
  left: 26px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(62, 224, 159, 0.34);
  border-radius: 50%;
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 900;
}

.case-study-check-list strong {
  color: var(--white);
}

.case-study-erp {
  background:
    radial-gradient(circle at 12% 30%, rgba(237, 174, 13, 0.065), transparent 22%),
    radial-gradient(circle at 88% 72%, rgba(62, 224, 159, 0.08), transparent 24%),
    #0a100d;
}

.case-study-erp-intro {
  max-width: 1000px;
  margin-bottom: 80px;
}

.case-study-erp-intro h2 {
  font-size: clamp(2.8rem, 5.6vw, 5.9rem);
}

.case-study-erp-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(45px, 8vw, 110px);
  align-items: start;
}

.case-study-signals {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: erp-signal;
}

.case-study-signals li {
  counter-increment: erp-signal;
  position: relative;
  min-height: 62px;
  padding: 16px 10px 16px 58px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.62);
}

.case-study-signals li::before {
  content: counter(erp-signal, decimal-leading-zero);
  position: absolute;
  top: 17px;
  left: 0;
  color: var(--green);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.case-study-signals strong {
  color: var(--green);
  text-transform: uppercase;
}

.case-study-erp-copy {
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.035);
}

.case-study-erp-copy p,
.case-study-erp-copy li {
  color: rgba(255, 255, 255, 0.64);
}

.case-study-erp-copy p + p,
.case-study-erp-copy ul + p {
  margin-top: 24px;
}

.case-study-erp-copy ul {
  margin: 22px 0 0;
  padding-left: 22px;
}

.case-study-erp-copy li + li {
  margin-top: 15px;
}

.case-study-erp-copy strong {
  color: var(--white);
}

.case-study-erp-copy .case-study-conclusion {
  margin-top: 34px;
  padding: 24px 26px;
  border-left: 3px solid var(--green);
  border-radius: 0 14px 14px 0;
  background: rgba(62, 224, 159, 0.07);
  color: var(--white);
  font-size: 1.1rem;
}

.case-study-challenges {
  margin: 24px 0 0;
  padding-left: 22px;
}

.case-study-challenges li + li {
  margin-top: 15px;
}

.case-study-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.case-study-proof-grid p {
  margin: 0;
  padding: 24px;
  border: 1px solid rgba(62, 224, 159, 0.18);
  border-radius: 18px;
  background: rgba(62, 224, 159, 0.055);
}

.case-study-proof-grid strong,
.case-study-proof-grid span {
  display: block;
}

.case-study-proof-grid strong {
  margin-bottom: 12px;
  color: var(--green);
  font-size: 2.15rem;
  line-height: 1;
}

.case-study-proof-grid span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
}

@media (max-width: 1100px) {
  .case-study-hero-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .case-study-page .case-study-hero {
    min-height: 0;
  }

  .case-study-hero .page-hero-content {
    max-width: 850px;
  }

  .case-study-hero-media {
    width: min(100%, 820px);
  }

  .case-study-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .case-study-page .case-study-hero {
    padding: 135px 0 90px;
  }

  .case-study-hero h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .case-study-hero-media figcaption {
    right: 12px;
    bottom: -42px;
  }

  .case-study-number-grid,
  .case-study-split,
  .case-study-card-grid,
  .case-study-erp-layout {
    grid-template-columns: 1fr;
  }

  .case-study-number-grid > div {
    min-height: 115px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .case-study-number-grid > div:last-child {
    border-bottom: 0;
  }

  .case-study-split,
  .case-study-erp-layout {
    gap: 42px;
  }

  .case-study-heading {
    position: static;
  }

  .case-study-copy,
  .case-study-erp-copy {
    padding: 28px;
    border-radius: 22px;
  }

  .case-study-card {
    min-height: 0;
  }

  .case-study-card > span {
    margin-bottom: 28px;
  }

  .case-study-check-list li {
    padding: 22px 22px 22px 62px;
  }

  .case-study-check-list li::before {
    left: 20px;
  }

  .case-study-erp-intro {
    margin-bottom: 52px;
  }

  .case-study-proof-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-study-image-frame,
  .case-study-card {
    transform: none !important;
  }
}

/* =========================================================
   4UATTRO — confronto versioni
   ========================================================= */
.versions-page {
  background: #07100c;
}

.versions-hero {
  overflow: hidden;
}

.versions-hero .page-hero-content {
  max-width: 750px;
}

.versions-hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 610px);
  aspect-ratio: 1.25;
  isolation: isolate;
}

.versions-hero-visual::before,
.versions-hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.versions-hero-visual::before {
  inset: 3% 8%;
  border: 1px solid rgba(62, 224, 159, 0.2);
  transform: rotate(-10deg);
  box-shadow: 0 0 80px rgba(62, 224, 159, 0.08);
}

.versions-hero-visual::after {
  inset: 16% 20%;
  z-index: -1;
  background: rgba(62, 224, 159, 0.14);
  filter: blur(65px);
}

.versions-hero-visual > span {
  position: absolute;
  z-index: 3;
  min-width: 190px;
  padding: 18px 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.versions-hero-visual > span:nth-child(1) {
  top: 4%;
  left: 5%;
  transform: rotate(-5deg);
}

.versions-hero-visual > span:nth-child(2) {
  top: 27%;
  right: 1%;
  transform: rotate(4deg);
}

.versions-hero-visual > span:nth-child(3) {
  left: 0;
  bottom: 22%;
  transform: rotate(3deg);
}

.versions-hero-visual > span:nth-child(4) {
  right: 7%;
  bottom: 2%;
  color: var(--yellow);
  border-color: rgba(255, 226, 136, 0.28);
  transform: rotate(-4deg);
}

.versions-dashboard-shell {
  position: absolute;
  top: 49%;
  left: 50%;
  z-index: 2;
  width: 520px;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.7);
}

.versions-dashboard-shell .dashboard {
  transform: rotateY(-5deg) rotateX(2deg) rotate(-2deg);
  box-shadow:
    0 45px 110px rgba(0, 0, 0, 0.48),
    0 0 70px rgba(62, 224, 159, 0.14);
}

.versions-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 12%, rgba(62, 224, 159, 0.14), transparent 26%),
    radial-gradient(circle at 9% 88%, rgba(255, 226, 136, 0.07), transparent 24%),
    linear-gradient(145deg, #080e0b, #13241c 52%, #070b09);
}

.versions-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(135deg, #000, transparent 75%);
  mask-image: linear-gradient(135deg, #000, transparent 75%);
}

.versions-section > .container {
  position: relative;
  z-index: 1;
}

.versions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.version-card {
  position: relative;
  min-width: 0;
  padding: clamp(24px, 2.7vw, 38px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 26px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02));
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.version-card:hover {
  transform: translateY(-7px);
  border-color: rgba(62, 224, 159, 0.42);
  background: linear-gradient(150deg, rgba(62, 224, 159, 0.09), rgba(255, 255, 255, 0.025));
}

.version-card-featured {
  border-color: rgba(255, 226, 136, 0.34);
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 226, 136, 0.15), transparent 32%),
    linear-gradient(145deg, rgba(62, 224, 159, 0.12), rgba(255, 255, 255, 0.025));
}

.version-badge {
  position: absolute;
  top: 19px;
  right: -37px;
  width: 150px;
  padding: 7px;
  color: #07100c;
  background: var(--yellow);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(36deg);
}

.version-kicker {
  min-height: 18px;
  margin-bottom: 17px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.version-card h2 {
  margin-bottom: 12px;
  color: var(--green);
  font-size: clamp(1.55rem, 2vw, 2.3rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

.version-price {
  margin-bottom: 30px;
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: #fff;
}

.version-price strong {
  font-size: clamp(2.25rem, 3.4vw, 3.8rem);
  line-height: 1;
}

.version-price span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
}

.version-includes {
  margin-bottom: 22px;
  color: var(--yellow);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.version-card ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.version-card li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  line-height: 1.45;
}

.version-card li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px rgba(62, 224, 159, 0.6);
}

.version-more {
  margin: 28px 0 26px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 1rem;
  font-style: italic;
}

.version-actions {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.version-actions .button {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.versions-enterprise-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(45px, 8vw, 110px);
  align-items: center;
}

.versions-enterprise-layout h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(2.65rem, 4.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.versions-enterprise-action p {
  margin-bottom: 28px;
}

@media (max-width: 1180px) {
  .versions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .versions-hero-visual {
    justify-self: start;
    width: min(100%, 650px);
  }

  .versions-enterprise-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 660px) {
  .versions-grid {
    grid-template-columns: 1fr;
  }

  .versions-hero-visual > span {
    min-width: 140px;
    padding: 13px 16px;
    font-size: 1rem;
  }

  .versions-hero-visual {
    aspect-ratio: 1.08;
  }

  .versions-dashboard-shell {
    width: 480px;
    transform: translate(-50%, -50%) scale(0.48);
  }

  .version-card {
    padding: 30px 26px;
  }
}

/* forShop — stesse tonalità di sfondo della home */
.forshop-main-page {
  background:
    radial-gradient(
      circle at 14% 10%,
      rgba(62, 224, 159, 0.09),
      transparent 24%
    ),
    radial-gradient(
      circle at 86% 40%,
      rgba(237, 174, 13, 0.06),
      transparent 22%
    ),
    linear-gradient(180deg, #0b100e 0%, #0e1512 45%, #0a0f0d 100%);
}

.forshop-main-page .forshop-hero,
.forshop-main-page .forshop-trial,
.forshop-main-page .forshop-capabilities,
.forshop-main-page .forshop-pricing,
.forshop-main-page .forshop-cta {
  background:
    radial-gradient(
      circle at 72% 18%,
      rgba(62, 224, 159, 0.15),
      transparent 28%
    ),
    radial-gradient(
      circle at 18% 88%,
      rgba(237, 174, 13, 0.075),
      transparent 24%
    ),
    linear-gradient(145deg, var(--dark-green) 0%, #111915 52%, #0d1310 100%);
}

.forshop-main-page .forshop-values,
.forshop-main-page .forshop-editions,
.forshop-main-page .forshop-forware,
.forshop-main-page .forshop-hardware {
  background:
    radial-gradient(
      circle at 10% 18%,
      rgba(62, 224, 159, 0.055),
      transparent 23%
    ),
    radial-gradient(
      circle at 92% 74%,
      rgba(237, 174, 13, 0.04),
      transparent 19%
    ),
    linear-gradient(150deg, var(--dark-green), #121a16 55%, #0c110f);
}

/* Anche le superfici interne seguono il vetro scuro usato nella home. */
.forshop-main-page .forshop-value-card,
.forshop-main-page .forshop-capability,
.forshop-main-page .forshop-edition-card,
.forshop-main-page .forshop-price,
.forshop-main-page .forshop-hardware-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.07),
    rgba(255, 255, 255, 0.022)
  );
}

.forshop-main-page .forshop-value-card:hover {
  background: linear-gradient(
    145deg,
    rgba(62, 224, 159, 0.1),
    rgba(255, 255, 255, 0.025)
  );
}

.forshop-main-page .forshop-edition-card {
  background:
    radial-gradient(
      circle at 50% 43%,
      rgba(62, 224, 159, 0.12),
      transparent 42%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.022)
    );
}

.forshop-main-page .forshop-edition-wine {
  background:
    radial-gradient(
      circle at 50% 43%,
      rgba(237, 174, 13, 0.1),
      transparent 42%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.022)
    );
}

.forshop-main-page .forshop-price-featured {
  border-color: rgba(62, 224, 159, 0.36);
  background:
    radial-gradient(
      circle at 82% 18%,
      rgba(62, 224, 159, 0.13),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.025)
    );
}

.forshop-main-page .forshop-hardware-card > div {
  background:
    radial-gradient(
      circle at center,
      rgba(62, 224, 159, 0.08),
      transparent 60%
    ),
    rgba(255, 255, 255, 0.035);
}

/* CHI SIAMO — statement valoriale */
.statement-section {
  position: relative;
  overflow: hidden;
}

.statement-section::before {
  content: "";
  position: absolute;
  top: 18%;
  right: -7rem;
  width: 22rem;
  height: 22rem;
  border: 1px solid rgba(62, 224, 159, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(62, 224, 159, 0.06);
  pointer-events: none;
}

.statement-layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.statement-heading {
  position: relative;
  width: 100%;
}

.statement-heading h2 {
  margin: 0;
  font-size: clamp(3.4rem, 6vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.statement-card {
  position: relative;
  width: 100%;
  padding: clamp(2.2rem, 5vw, 4.8rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-top-color: rgba(62, 224, 159, 0.48);
  border-radius: 28px;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(62, 224, 159, 0.1),
      transparent 35%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.022)
    );
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.statement-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(2.2rem, 5vw, 4.8rem);
  width: 100px;
  height: 3px;
  border-radius: 0 0 99px 99px;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.statement-card p {
  position: relative;
  z-index: 1;
  max-width: 1050px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  line-height: 1.85;
}

/* PIETRE E BLOCKCHAIN — articolo WallyBlog */
.blockchain-article-page {
  background:
    radial-gradient(circle at 14% 10%, rgba(62, 224, 159, 0.09), transparent 24%),
    radial-gradient(circle at 86% 40%, rgba(237, 174, 13, 0.06), transparent 22%),
    linear-gradient(180deg, #0b100e 0%, #0e1512 45%, #0a0f0d 100%);
}

.blockchain-article-hero {
  min-height: 760px;
  display: flex;
  align-items: center;
}

.blockchain-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(400px, 1.05fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.blockchain-article-hero .page-hero-content {
  max-width: 760px;
}

.blockchain-article-hero h1 {
  font-size: clamp(3.7rem, 6.3vw, 6.8rem);
}

.blockchain-hero-intro {
  max-width: 660px !important;
}

.blockchain-article-meta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blockchain-article-meta span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.045);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blockchain-hero-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow:
    0 42px 100px rgba(0, 0, 0, 0.4),
    0 0 70px rgba(62, 224, 159, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: rotate(1.2deg);
}

.blockchain-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, transparent 55%, rgba(62, 224, 159, 0.1));
  pointer-events: none;
}

.blockchain-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.blockchain-article-section {
  position: relative;
  overflow: clip;
  color: var(--white);
}

.blockchain-section-dark {
  background:
    radial-gradient(circle at 72% 18%, rgba(62, 224, 159, 0.15), transparent 28%),
    radial-gradient(circle at 18% 88%, rgba(237, 174, 13, 0.075), transparent 24%),
    linear-gradient(145deg, var(--dark-green) 0%, #0d3b32 52%, #102a21 100%);
}

.blockchain-section-light {
  background:
    radial-gradient(circle at 10% 18%, rgba(62, 224, 159, 0.055), transparent 23%),
    radial-gradient(circle at 92% 74%, rgba(237, 174, 13, 0.04), transparent 19%),
    linear-gradient(150deg, var(--dark-green), #12483a 55%, #123429);
}

.blockchain-reading-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.38fr) minmax(0, 1.22fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.blockchain-article-index {
  position: sticky;
  top: 130px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.blockchain-article-index nav {
  margin-top: 26px;
  display: grid;
}

.blockchain-article-index a {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.blockchain-article-index a:last-child {
  border-bottom: 0;
}

.blockchain-article-index a:hover {
  color: var(--green);
}

.blockchain-article-index a span {
  color: var(--green);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.blockchain-article-narrow {
  width: min(calc(100% - 48px), 1080px);
}

.blockchain-article-copy {
  max-width: 850px;
  margin-inline: auto;
}

.blockchain-reading-layout .blockchain-article-copy {
  max-width: none;
  margin: 0;
}

.blockchain-article-copy h2 {
  margin: 60px 0 24px;
  color: var(--yellow);
  font-size: clamp(2.5rem, 4.8vw, 5rem);
  line-height: 0.98;
}

.blockchain-article-copy .eyebrow + h2 {
  margin-top: 22px;
}

.blockchain-article-copy h3 {
  margin: 50px 0 18px;
  color: var(--yellow);
  font-size: clamp(1.65rem, 2.8vw, 2.6rem);
}

.blockchain-article-copy p,
.blockchain-article-copy blockquote {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.85;
}

.blockchain-article-copy p + p {
  margin-top: 1.4em;
}

.blockchain-article-copy a {
  color: var(--green);
  border-bottom: 1px solid rgba(62, 224, 159, 0.35);
}

.blockchain-article-copy blockquote {
  margin: 30px 0 42px;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border-left: 3px solid var(--green);
  border-radius: 0 20px 20px 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.045);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 650;
}

.blockchain-emphasis {
  margin-block: 38px !important;
  color: var(--green) !important;
  font-size: clamp(1.5rem, 2.5vw, 2.15rem) !important;
  font-weight: 800;
}

.blockchain-wide-image {
  margin: clamp(4rem, 8vw, 7rem) 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 30px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.3);
}

.blockchain-wide-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

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

.blockchain-concept-grid section {
  padding: clamp(1.8rem, 4vw, 3rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.022));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.blockchain-concept-grid section > span {
  color: var(--green);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.blockchain-concept-grid h3 {
  margin-top: 38px;
}

.blockchain-concept-grid p {
  margin-bottom: 0;
  font-size: 1rem;
}

.blockchain-author {
  margin-top: 60px;
  padding-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.blockchain-author span {
  color: var(--green);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.blockchain-author strong {
  color: var(--white);
  font-size: 1.05rem;
}

/* ENOTECA LA CANTINA DEL BARBERA — spazio per il titolo e la sottolineatura */
.cantina-barbera-page .blockchain-hero-layout {
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: clamp(2.5rem, 5vw, 5rem);
}

.cantina-barbera-page .blockchain-article-hero h1 {
  margin-bottom: 0;
  overflow: visible;
}

.cantina-barbera-page .blockchain-article-hero h1 + h1 {
  margin-top: 0.04em;
  margin-bottom: 30px;
}

.cantina-barbera-page .blockchain-article-hero h1 .accent-text {
  display: inline-block;
  padding-bottom: 0.13em;
  line-height: 1.02;
}

.cantina-barbera-page .blockchain-article-hero h1 .accent-text::after {
  right: -0.01em;
  bottom: 0;
  height: 0.08em;
  min-height: 6px;
  box-shadow: 0 0 18px rgba(255, 226, 136, 0.22);
}

.cantina-barbera-page .blockchain-hero-image {
  width: 90%;
  justify-self: end;
}

@media (max-width: 980px) {
  .blockchain-hero-layout,
  .blockchain-reading-layout {
    grid-template-columns: 1fr;
  }

  .cantina-barbera-page .blockchain-hero-layout {
    grid-template-columns: 1fr;
  }

  .blockchain-article-hero {
    padding-bottom: 90px;
  }

  .blockchain-hero-image {
    width: min(100%, 760px);
    transform: none;
  }

  .cantina-barbera-page .blockchain-hero-image {
    width: min(90%, 680px);
    justify-self: start;
  }

  .blockchain-article-index {
    position: static;
  }

  .blockchain-article-index nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }
}

@media (max-width: 680px) {
  .blog-featured.reveal,
  .blockchain-article-page .blockchain-article-hero .page-hero-content.reveal,
  .blockchain-article-page .blockchain-article-copy.reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .blockchain-article-hero h1 {
    font-size: clamp(3.2rem, 15vw, 4.8rem);
  }

  .blockchain-article-narrow {
    width: min(calc(100% - 32px), 1080px);
  }

  .blockchain-article-index nav,
  .blockchain-concept-grid {
    grid-template-columns: 1fr;
  }

  .blockchain-article-copy h2 {
    margin-top: 46px;
  }

  .blockchain-wide-image {
    border-radius: 20px;
  }
}

@media (max-width: 900px) {
  .statement-layout {
    gap: 2.5rem;
  }
}

@media (max-width: 600px) {
  .statement-card {
    padding: 2rem 1.5rem;
    border-radius: 22px;
  }

  .statement-card::after {
    left: 1.5rem;
  }

  .statement-card p {
    font-size: 1rem;
    line-height: 1.75;
  }
}

/* forShop STYLE — stesse tonalità di sfondo della home */
.forshop-style-page {
  background: var(--dark-green);
}

.forshop-style-page .forshop-hero,
.forshop-style-page .forshop-trial,
.forshop-style-page .forshop-capabilities,
.forshop-style-page .forshop-pricing,
.forshop-style-page .forshop-cta {
  background:
    radial-gradient(
      circle at 72% 18%,
      rgba(62, 224, 159, 0.15),
      transparent 28%
    ),
    radial-gradient(
      circle at 18% 88%,
      rgba(237, 174, 13, 0.075),
      transparent 24%
    ),
    linear-gradient(145deg, var(--dark-green) 0%, #111915 52%, #0d1310 100%);
}

.forshop-style-page .forshop-values,
.forshop-style-page .forshop-forware,
.forshop-style-page .forshop-hardware {
  background:
    radial-gradient(
      circle at 10% 18%,
      rgba(62, 224, 159, 0.055),
      transparent 23%
    ),
    radial-gradient(
      circle at 92% 74%,
      rgba(237, 174, 13, 0.04),
      transparent 19%
    ),
    linear-gradient(150deg, var(--dark-green), #121a16 55%, #0c110f);
}

.forshop-values-intro {
  margin-bottom: clamp(4rem, 7vw, 6.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.55fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.forshop-values-intro-copy h2 {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(2.65rem, 4.5vw, 4.8rem);
  font-weight: 800;
}

.forshop-values-intro-copy > p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
}

.forshop-values-video {
  position: relative;
  width: min(100%, 420px);
  margin: 0;
  justify-self: end;
}

.forshop-values-video-aura {
  position: absolute;
  z-index: 0;
  inset: 8% 10%;
  border-radius: 50%;
  background: rgba(62, 224, 159, 0.2);
  filter: blur(75px);
  pointer-events: none;
}

.forshop-values-video .forshop-video-clip {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: clamp(22px, 3vw, 34px);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.34);
}

.forshop-values-video video {
  display: block;
  width: 100%;
  height: auto;
  background: var(--dark-green);
}

.forshop-values-video figcaption {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.forshop-values-video figcaption span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(62, 224, 159, 0.75);
}

.forshop-wine-story-video {
  position: relative;
  width: min(100%, 980px);
  margin: clamp(4rem, 7vw, 6.5rem) auto 0;
}

.forshop-wine-story-video .forshop-video-clip {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: clamp(22px, 3vw, 34px);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.34);
}

.forshop-wine-story-video video {
  display: block;
  width: 100%;
  height: auto;
  background: var(--dark-green);
}

.forshop-wine-story-video figcaption {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.forshop-wine-story-video figcaption span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(62, 224, 159, 0.75);
}

@media (max-width: 600px) {
  .forshop-values-video figcaption {
    font-size: 1rem;
    letter-spacing: 0.1em;
  }

  .forshop-wine-story-video figcaption {
    font-size: 1rem;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 900px) {
  .forshop-values-intro {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .forshop-values-video {
    width: min(100%, 420px);
    justify-self: start;
  }
}

/* =========================================================
   CLOUD SICURO — palette e componenti coerenti con la home
   ========================================================= */
.cloud-page {
  background: var(--dark-green);
}

.cloud-page .cloud-hero,
.cloud-page .cloud-plans,
.cloud-page .cloud-cta {
  background:
    radial-gradient(
      circle at 72% 18%,
      rgba(62, 224, 159, 0.15),
      transparent 28%
    ),
    radial-gradient(
      circle at 18% 88%,
      rgba(237, 174, 13, 0.075),
      transparent 24%
    ),
    linear-gradient(145deg, var(--dark-green) 0%, #111915 52%, #0d1310 100%);
}

.cloud-page .cloud-infrastructure {
  color: var(--white);
  background:
    radial-gradient(
      circle at 10% 18%,
      rgba(62, 224, 159, 0.055),
      transparent 23%
    ),
    radial-gradient(
      circle at 92% 74%,
      rgba(237, 174, 13, 0.04),
      transparent 19%
    ),
    linear-gradient(150deg, var(--dark-green), #121a16 55%, #0c110f);
}

.cloud-hero .quattro-hero-layout {
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
}

.cloud-hero-art {
  position: relative;
  margin: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  filter: drop-shadow(0 32px 42px rgba(0, 0, 0, 0.34));
  transform: rotate(1deg);
}

.cloud-hero-art::after {
  content: none;
}

.cloud-hero-art picture,
.cloud-hero-art img {
  width: 100%;
  display: block;
}

.cloud-hero-art img {
  height: auto;
  aspect-ratio: 2453 / 1133;
  object-fit: cover;
}

.cloud-infrastructure-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: clamp(50px, 9vw, 125px);
  align-items: start;
}

.cloud-infrastructure-layout h2 {
  max-width: 780px;
  font-size: clamp(2.7rem, 5vw, 5.5rem);
}

.cloud-infrastructure-copy {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.cloud-infrastructure-copy p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.78;
}

.cloud-infrastructure-copy p:last-of-type {
  margin-bottom: 0;
}

.cloud-plans {
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.cloud-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.cloud-plan-card {
  position: relative;
  min-height: 560px;
  padding: clamp(30px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 27px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.022));
  box-shadow:
    0 28px 75px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.cloud-plan-card:hover {
  transform: translateY(-7px);
  border-color: rgba(62, 224, 159, 0.4);
  background: linear-gradient(145deg, rgba(62, 224, 159, 0.09), rgba(255, 255, 255, 0.025));
}

.cloud-plan-featured {
  border-color: rgba(255, 226, 136, 0.34);
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 226, 136, 0.14), transparent 31%),
    linear-gradient(145deg, rgba(62, 224, 159, 0.12), rgba(255, 255, 255, 0.025));
}

.cloud-plan-index {
  margin-bottom: 48px;
  color: var(--green);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.cloud-plan-card h2 {
  margin-bottom: 24px;
  color: var(--yellow);
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.cloud-plan-card > p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
}

.cloud-plan-meta {
  margin-top: auto;
  padding-top: 42px;
  display: grid;
  gap: 20px;
}

.cloud-plan-meta strong {
  color: var(--white);
  font-size: clamp(2.6rem, 4vw, 4.5rem);
  line-height: 1;
}

.cloud-plan-meta strong small {
  margin-left: 5px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  font-weight: 600;
}

.cloud-plan-meta > span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.cloud-plan-meta b {
  color: var(--green);
}

.cloud-plan-badge {
  position: absolute;
  top: 25px;
  right: -42px;
  width: 175px;
  padding: 7px;
  color: #07100c;
  background: var(--yellow);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(36deg);
}

.cloud-cta .cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .cloud-hero .quattro-hero-layout,
  .cloud-infrastructure-layout {
    grid-template-columns: 1fr;
  }

  .cloud-hero-art {
    width: min(100%, 760px);
  }

  .cloud-plan-grid {
    grid-template-columns: 1fr;
  }

  .cloud-plan-card {
    min-height: 0;
  }

  .cloud-cta .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .cloud-hero-art {
    border-radius: 22px;
    transform: none;
  }

  .cloud-hero-art img {
    aspect-ratio: 1484 / 666;
  }

  .cloud-plan-card {
    padding: 30px 26px;
  }
}

/* =========================================================
   FORMAZIONE 4UATTRO
   ========================================================= */
.formazione-hero .quattro-hero-layout {
  grid-template-columns: minmax(0, 1.02fr) minmax(400px, 0.98fr);
}

.formazione-hero-art {
  position: relative;
  width: 94%;
  margin: 0;
  margin-left: auto;
  overflow: visible;
  border: 0;
  background: transparent;
  filter: drop-shadow(0 34px 42px rgba(0, 0, 0, 0.35));
  transform: rotate(1.4deg);
}

.formazione-hero-art::after {
  content: none;
}

.formazione-title-nowrap {
  white-space: nowrap;
}

.formazione-hero h1 .accent-text {
  display: inline-block;
  padding-bottom: 0.1em;
}

.formazione-hero-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 1135 / 819;
  object-fit: cover;
}

.formazione-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  align-items: end;
  gap: clamp(50px, 9vw, 125px);
}

.formazione-intro h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(2.7rem, 4.6vw, 5rem);
}

.formazione-intro-copy p {
  color: var(--white);
  font-size: 1.08rem;
}

.formazione-details {
  color: var(--white);
}

.formazione-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.formazione-detail-card {
  position: relative;
  min-height: 440px;
  padding: 38px 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.045);
}

.formazione-detail-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(62, 224, 159, 0.08);
  filter: blur(3px);
}

.formazione-detail-card > * {
  position: relative;
  z-index: 1;
}

.formazione-card-index {
  position: absolute;
  top: 28px;
  right: 30px;
  color: rgba(255, 255, 255, 0.22);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.formazione-detail-card > i {
  margin-bottom: 72px;
  color: var(--green);
  font-size: 2rem;
}

.formazione-detail-card h3 {
  margin-bottom: 18px;
  color: var(--yellow);
  font-size: clamp(1.55rem, 2vw, 2.1rem);
}

.formazione-detail-card p {
  color: rgba(255, 255, 255, 0.75);
}

.formazione-detail-card a {
  color: var(--green);
  font-weight: 800;
}

.formazione-detail-card .formazione-note {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 1rem;
}

.formazione-price-card {
  background: var(--dark-green);
}

.formazione-price {
  margin: 6px 0 20px;
  color: var(--white) !important;
  font-size: clamp(3rem, 4.6vw, 5rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.06em;
}

.formazione-price small {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.formazione-specialists {
  color: var(--white);
  background:
    radial-gradient(circle at 10% 18%, rgba(62, 224, 159, 0.055), transparent 23%),
    radial-gradient(circle at 92% 74%, rgba(237, 174, 13, 0.04), transparent 19%),
    linear-gradient(150deg, var(--dark-green), #121a16 55%, #0c110f);
}

.formazione-specialists .section-heading > p {
  color: var(--white);
}

.formazione-specialist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.formazione-specialist-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 42px;
  padding: 46px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  color: var(--white);
  background: var(--dark);
  box-shadow: var(--shadow);
}

.formazione-specialist-card img {
  width: min(100%, 390px);
  max-height: 110px;
  object-fit: contain;
}

.formazione-specialist-card img.formazione-logo-macchinisti {
  width: 145px;
  max-height: 135px;
}

.formazione-specialist-card span {
  color: var(--green);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.formazione-cta .cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .formazione-hero .quattro-hero-layout,
  .formazione-intro-layout {
    grid-template-columns: 1fr;
  }

  .formazione-hero-art {
    width: min(100%, 760px);
  }

  .formazione-detail-grid {
    grid-template-columns: 1fr;
  }

  .formazione-detail-card {
    min-height: 0;
  }

  .formazione-detail-card > i {
    margin-bottom: 42px;
  }

  .formazione-cta .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .formazione-hero-art {
    border-radius: 22px;
    transform: none;
  }

  .formazione-detail-card,
  .formazione-specialist-card {
    padding: 30px 26px;
  }

  .formazione-specialist-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   SOLUZIONI ENTERPRISE
   ========================================================= */
.enterprise-hero .quattro-hero-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(470px, 1.08fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.enterprise-hero-art {
  position: relative;
  width: 100%;
  margin: 0;
  filter: drop-shadow(0 35px 45px rgba(0, 0, 0, 0.32));
}

.enterprise-hero h1 .accent-text {
  display: inline-block;
  padding-bottom: 0.1em;
}

.enterprise-hero-art img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.enterprise-platform-layout,
.enterprise-proprietary-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  align-items: start;
  gap: clamp(55px, 9vw, 125px);
}

.enterprise-platform h2,
.enterprise-proprietary h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.7rem, 4.7vw, 5rem);
}

.enterprise-platform-copy,
.enterprise-proprietary-copy {
  padding-top: 8px;
}

.enterprise-platform-copy p,
.enterprise-proprietary-copy p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.04rem;
}

.enterprise-platform-copy strong {
  color: var(--yellow);
}

.enterprise-services {
  margin-top: 90px;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(45px, 7vw, 90px);
  align-items: start;
}

.enterprise-services-copy h3 {
  max-width: 460px;
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.enterprise-service-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.enterprise-service-list li {
  min-height: 82px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: 1.02rem;
  font-weight: 750;
}

.enterprise-service-list i {
  color: var(--green);
  font-size: 1.2rem;
}

.enterprise-proprietary {
  position: relative;
}

.enterprise-proprietary-copy {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(12px);
}

.enterprise-proprietary-copy p:last-child {
  margin-bottom: 0;
  color: var(--green);
  font-weight: 750;
}

.enterprise-production-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.enterprise-production-card {
  position: relative;
  min-height: 680px;
  padding: 42px 38px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.18);
}

.enterprise-production-card::after {
  content: "";
  position: absolute;
  right: -95px;
  bottom: -105px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: rgba(62, 224, 159, 0.08);
  filter: blur(6px);
}

.enterprise-production-card > * {
  position: relative;
  z-index: 1;
}

.enterprise-production-index {
  display: block;
  margin-bottom: 58px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.enterprise-production-card > i {
  margin-bottom: 24px;
  color: var(--green);
  font-size: 2.1rem;
}

.enterprise-production-card h3 {
  max-width: 520px;
  color: var(--yellow);
  font-size: clamp(1.75rem, 2.7vw, 2.8rem);
}

.enterprise-production-card > p {
  color: rgba(255, 255, 255, 0.75);
}

.enterprise-cases {
  margin-top: 34px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.enterprise-cases h4 {
  margin: 0 0 14px;
  color: var(--white);
}

.enterprise-cases a,
.enterprise-cases > div {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 75px 1fr;
  gap: 14px;
  padding: 15px 16px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(0, 0, 0, 0.16);
  font-size: 1rem;
}

.enterprise-cases strong {
  color: var(--green);
}

.enterprise-flow {
  margin-top: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.16);
}

.enterprise-flow span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 750;
  text-transform: uppercase;
}

.enterprise-flow strong,
.enterprise-flow i {
  color: var(--green);
}

.enterprise-cta .cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .enterprise-hero .quattro-hero-layout,
  .enterprise-platform-layout,
  .enterprise-proprietary-layout,
  .enterprise-services {
    grid-template-columns: 1fr;
  }

  .enterprise-hero-art {
    width: min(100%, 820px);
    margin: 0;
  }

  .enterprise-production-grid {
    grid-template-columns: 1fr;
  }

  .enterprise-production-card {
    min-height: 0;
  }

  .enterprise-cta .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .enterprise-proprietary-copy,
  .enterprise-production-card {
    padding: 30px 25px;
  }

  .enterprise-production-index {
    margin-bottom: 38px;
  }

  .enterprise-cases a,
  .enterprise-cases > div {
    grid-template-columns: 1fr;
  }

  .enterprise-flow {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .enterprise-flow i {
    transform: rotate(90deg);
  }
}

/* =========================================================
   GUIDA INIZIALE 4UATTRO
   ========================================================= */
.guida-hero .quattro-hero-layout {
  grid-template-columns: minmax(0, 0.93fr) minmax(430px, 1.07fr);
  gap: clamp(2.5rem, 5vw, 5.5rem);
}

.guida-hero h1 .accent-text {
  display: inline-block;
  padding-bottom: 0.1em;
}

.guida-hero-art {
  position: relative;
  width: 94%;
  margin: 0;
  margin-left: auto;
  overflow: visible;
  border: 0;
  background: transparent;
  filter: drop-shadow(0 34px 42px rgba(0, 0, 0, 0.34));
  transform: rotate(1deg);
}

.guida-hero-art img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.guida-manual-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1.42fr);
  align-items: start;
  gap: clamp(55px, 9vw, 120px);
}

.guida-manual-index {
  position: sticky;
  top: 125px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.17);
}

.guida-manual-code {
  display: block;
  margin-bottom: 20px;
  color: var(--green);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.guida-manual-index h2 {
  margin-bottom: 28px;
  color: var(--white);
  font-size: clamp(1.65rem, 2.2vw, 2.3rem);
}

.guida-manual-index ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.guida-manual-index li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.guida-manual-index a {
  min-height: 58px;
  display: grid;
  grid-template-columns: 31px 1fr;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  font-weight: 750;
  transition: color 0.2s ease, transform 0.2s ease;
}

.guida-manual-index a span {
  color: var(--green);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.guida-manual-index a:hover {
  color: var(--yellow);
  transform: translateX(4px);
}

.guida-manual-index > p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
}

.guida-manual-meta {
  margin-bottom: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.guida-manual-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(0, 0, 0, 0.12);
  font-size: 1rem;
  font-weight: 750;
}

.guida-manual-meta i {
  color: var(--green);
}

.guida-manual-content > h2 {
  max-width: 820px;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
}

.guida-manual-lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
}

.guida-manual-chapter {
  margin-top: 70px;
  padding-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  scroll-margin-top: 120px;
}

.guida-chapter-number {
  display: block;
  margin-bottom: 16px;
  color: var(--green);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.guida-manual-chapter h3 {
  max-width: 700px;
  color: var(--yellow);
  font-size: clamp(1.75rem, 3vw, 3rem);
}

.guida-manual-chapter > p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
}

.guida-manual-note {
  max-width: 760px;
  margin-top: 30px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 226, 136, 0.24);
  border-radius: 18px;
  color: var(--white);
  background: rgba(255, 226, 136, 0.07);
}

.guida-manual-note > i {
  color: var(--yellow);
  font-size: 1.25rem;
}

.guida-manual-note strong {
  color: var(--yellow);
}

.guida-manual-note p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
}

.guida-dashboard,
.guida-search,
.guida-actions,
.guida-tools {
  scroll-margin-top: 90px;
}

.guida-start-layout,
.guida-search-layout,
.guida-actions-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.95fr);
  align-items: start;
  gap: clamp(55px, 9vw, 125px);
}

.guida-start h2,
.guida-search h2,
.guida-actions h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.65rem, 4.6vw, 4.9rem);
}

.guida-start-copy,
.guida-search-copy {
  padding-top: 8px;
}

.guida-start-copy p,
.guida-search-copy p,
.guida-actions-layout > div > p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.03rem;
}

.guida-start-copy strong,
.guida-search-copy strong {
  color: var(--yellow);
}

.guida-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.guida-info-card,
.guida-tool-card {
  position: relative;
  padding: 36px 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 25px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.16);
}

.guida-info-card {
  min-height: 430px;
}

.guida-info-card::after,
.guida-tool-card::after {
  content: "";
  position: absolute;
  right: -85px;
  bottom: -95px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(62, 224, 159, 0.08);
}

.guida-info-card > *,
.guida-tool-card > * {
  position: relative;
  z-index: 1;
}

.guida-card-number {
  position: absolute;
  top: 26px;
  right: 28px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.guida-info-card > i,
.guida-tool-card > i {
  margin-bottom: 52px;
  color: var(--green);
  font-size: 1.85rem;
}

.guida-info-card h3,
.guida-tool-card h3 {
  color: var(--yellow);
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.guida-info-card p,
.guida-tool-card p {
  color: rgba(255, 255, 255, 0.74);
}

.guida-info-card .text-link {
  margin-top: 22px;
}

.guida-action-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.guida-action-list li {
  min-height: 78px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
}

.guida-action-list i {
  color: var(--green);
  font-size: 1.12rem;
}

.guida-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.guida-tool-card {
  min-height: 360px;
}

.guida-tool-card > i {
  margin-bottom: 42px;
}

.guida-cta .cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .guida-hero .quattro-hero-layout,
  .guida-manual-layout,
  .guida-start-layout,
  .guida-search-layout,
  .guida-actions-layout {
    grid-template-columns: 1fr;
  }

  .guida-hero-art {
    width: min(100%, 800px);
    margin-left: 0;
  }

  .guida-manual-index {
    position: static;
  }

  .guida-dashboard-grid,
  .guida-tool-grid {
    grid-template-columns: 1fr 1fr;
  }

  .guida-info-card,
  .guida-tool-card {
    min-height: 0;
  }

  .guida-cta .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .guida-hero-art {
    transform: none;
  }

  .guida-manual-index,
  .guida-manual-note {
    padding: 22px 20px;
  }

  .guida-dashboard-grid,
  .guida-tool-grid {
    grid-template-columns: 1fr;
  }

  .guida-info-card,
  .guida-tool-card {
    padding: 30px 25px;
  }
}

/* Mantiene la palette del pannello e la gerarchia dei link dopo gli override globali. */
@media (max-width: 900px) {
  .main-nav {
    background: #07110d;
  }

  .main-nav .submenu a,
  .main-nav .submenu .nav-item-row > a {
    color: rgba(255, 255, 255, 0.76);
  }

  .main-nav .submenu a:hover,
  .main-nav .submenu a:focus-visible {
    color: var(--green);
  }

  .main-nav .nav-has-submenu > .nav-item-row > .submenu-toggle span {
    transform: rotate(45deg);
  }

  .main-nav .nav-has-submenu.submenu-open > .nav-item-row > .submenu-toggle span {
    transform: rotate(225deg) translate(-2px, -2px);
  }
}

/* Storie di successo — griglia realmente responsive sulla home. */
@media (max-width: 1180px) {
  .stories-grid4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .stories-section .section-heading {
    margin-bottom: 34px;
  }

  .stories-grid4 {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .stories-grid4 .story-card {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
  }

  .stories-grid4 .story-visual {
    min-height: 220px;
    padding: 22px;
  }

  .stories-grid4 .story-label {
    max-width: 100%;
    width: fit-content;
    line-height: 1.35;
    white-space: normal;
  }

  .stories-grid4 .story-visual strong {
    width: 100%;
  }

  .stories-grid4 .story-visual .brand-logo {
    width: auto;
    max-width: min(100%, 220px);
    height: 64px;
    object-fit: contain;
    object-position: left center;
  }

  .stories-grid4 .story-body {
    padding: 24px 22px 26px;
    display: flex;
    flex: 1;
    flex-direction: column;
  }

  .stories-grid4 .story-meta {
    margin-bottom: 12px;
  }

  .stories-grid4 .story-body h3 {
    margin-bottom: 24px;
    font-size: clamp(1.2rem, 6vw, 1.45rem);
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .stories-grid4 .story-body .text-link {
    margin-top: auto;
  }
}

/* Tutte le etichette eyebrow mantengono lo stesso contrasto nel sito. */
.eyebrow,
.eyebrow.dark {
  color: #fff !important;
}

/* Il pulsante del form resta chiaramente inattivo finché Turnstile non lo abilita. */
#id_btn_invio:disabled,
#id_btn_invio:disabled:hover,
#id_btn_invio:disabled:focus-visible {
  cursor: not-allowed;
  opacity: 0.45;
  color: #07100c;
  background: var(--green);
  border-color: var(--green);
  box-shadow: none;
  transform: none !important;
}

#id_btn_invio:disabled::before,
#id_btn_invio:disabled:hover::before {
  display: none;
}

/* =========================================================
   PAGINA ERRORE 404
   ========================================================= */
.error-hero {
  min-height: 820px;
  padding-bottom: 120px;
}

.error-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
}

.error-hero .page-hero-content {
  max-width: 720px;
}

.error-hero h1 {
  font-size: clamp(3.6rem, 6.5vw, 7rem);
}

.error-hero-lead {
  max-width: 650px !important;
}

.error-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.error-orb-one {
  width: 420px;
  height: 420px;
  top: 90px;
  right: -140px;
  border: 1px solid rgba(62, 224, 159, 0.14);
  box-shadow:
    inset 0 0 100px rgba(62, 224, 159, 0.08),
    0 0 100px rgba(62, 224, 159, 0.06);
}

.error-orb-two {
  width: 180px;
  height: 180px;
  left: 44%;
  bottom: -75px;
  background: rgba(255, 226, 136, 0.07);
  filter: blur(18px);
}

.error-console-wrap {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 560px;
  justify-self: end;
}

.error-console {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(7, 14, 11, 0.72);
  box-shadow:
    0 38px 100px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(26px) saturate(140%);
  -webkit-backdrop-filter: blur(26px) saturate(140%);
}

.error-console::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 25%,
    rgba(62, 224, 159, 0.055) 46%,
    transparent 67%
  );
  transform: translateX(-100%);
  animation: errorConsoleScan 7s ease-in-out infinite;
}

@keyframes errorConsoleScan {
  0%,
  25% {
    transform: translateX(-100%);
  }
  70%,
  100% {
    transform: translateX(100%);
  }
}

.error-console-bar {
  min-height: 56px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.58);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
}

.console-dots {
  display: flex;
  gap: 6px;
}

.console-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.console-dots i:nth-child(2) {
  background: rgba(255, 226, 136, 0.7);
}

.console-dots i:nth-child(3) {
  background: var(--green);
}

.error-console-bar > strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.error-console-bar > strong i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
  animation: errorStatusPulse 1.8s ease-in-out infinite;
}

@keyframes errorStatusPulse {
  50% {
    opacity: 0.35;
  }
}

.error-console-body {
  padding: clamp(26px, 5vw, 42px);
}

.error-code-lockup {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}

.error-code-lockup > span {
  width: fit-content;
  color: transparent;
  background: linear-gradient(120deg, var(--green), #c6ffe7 52%, var(--gold));
  background-clip: text;
  -webkit-background-clip: text;
  font-size: clamp(6.5rem, 14vw, 10rem);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.09em;
  text-shadow: 0 0 55px rgba(62, 224, 159, 0.16);
}

.error-code-lockup small {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.48);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.requested-route {
  min-width: 0;
  margin-bottom: 22px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
}

.requested-route span {
  color: var(--gold);
  font-weight: 800;
}

.requested-route code {
  min-width: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.58);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.diagnostic-list {
  display: grid;
  gap: 9px;
}

.diagnostic-list > div {
  padding: 9px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.7rem;
}

.diagnostic-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.56);
}

.diagnostic-list span i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px rgba(62, 224, 159, 0.8);
}

.diagnostic-list strong {
  color: var(--green);
  font-size: inherit;
  letter-spacing: 0.06em;
}

.diagnostic-list .status-failed {
  color: var(--gold);
}

.error-console pre {
  margin: 24px 0 0;
  padding: 16px 18px;
  overflow: auto;
  border-left: 2px solid var(--green);
  border-radius: 0 10px 10px 0;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(0, 0, 0, 0.2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.76rem;
  line-height: 1.65;
}

.error-console pre span {
  color: var(--green);
}

.error-signal {
  position: absolute;
  z-index: -1;
  width: 130px;
  height: 130px;
  right: -44px;
  bottom: -44px;
  display: grid;
  place-items: center;
}

.error-signal i {
  position: absolute;
  border: 1px solid rgba(62, 224, 159, 0.24);
  border-radius: 50%;
  animation: errorSignal 3.6s ease-out infinite;
}

.error-signal i:nth-child(2) {
  animation-delay: 1.2s;
}

.error-signal i:nth-child(3) {
  animation-delay: 2.4s;
}

@keyframes errorSignal {
  from {
    width: 10px;
    height: 10px;
    opacity: 0.9;
  }
  to {
    width: 130px;
    height: 130px;
    opacity: 0;
  }
}

.error-routes {
  position: relative;
}

.error-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.error-route-card {
  min-height: 260px;
  padding: 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(62, 224, 159, 0.1), transparent 35%),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.error-route-card:hover,
.error-route-card:focus-visible {
  transform: translateY(-7px);
  border-color: rgba(62, 224, 159, 0.35);
  background:
    radial-gradient(circle at 100% 0, rgba(62, 224, 159, 0.16), transparent 38%),
    rgba(255, 255, 255, 0.055);
}

.error-route-card .route-number {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
}

.error-route-card > div {
  align-self: end;
}

.error-route-card small {
  color: var(--green);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.error-route-card h3 {
  margin: 10px 0 12px;
  color: var(--white);
  font-size: 1.8rem;
}

.error-route-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.94rem;
}

.error-route-card > strong {
  color: var(--green);
  font-size: 1.3rem;
  transition: transform 0.25s ease;
}

.error-route-card:hover > strong,
.error-route-card:focus-visible > strong {
  transform: translate(3px, -3px);
}

@media (max-width: 980px) {
  .error-hero {
    min-height: auto;
  }

  .error-hero-layout {
    grid-template-columns: 1fr;
  }

  .error-console-wrap {
    max-width: 680px;
    justify-self: start;
  }

  .error-route-grid {
    grid-template-columns: 1fr;
  }

  .error-route-card {
    min-height: 210px;
  }
}

@media (max-width: 620px) {
  .error-hero {
    padding-top: 145px;
    padding-bottom: 80px;
  }

  .error-hero h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .error-console-bar {
    grid-template-columns: auto 1fr;
  }

  .error-console-bar > strong {
    display: none;
  }

  .error-code-lockup > span {
    font-size: clamp(6rem, 34vw, 8rem);
  }

  .error-route-card {
    min-height: 230px;
    padding: 24px 20px;
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .error-console::after,
  .error-console-bar > strong i,
  .error-signal i {
    animation: none;
  }
}

/* =========================================================
   4UATTRO BASIC — pagina prodotto
   ========================================================= */
.basic-page {
  color: var(--white);
  background: #07100c;
}

.basic-hero {
  min-height: 820px;
  padding-bottom: clamp(70px, 8vw, 110px);
}

.basic-hero .quattro-hero-layout {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 4vw, 65px);
}

.basic-hero .page-hero-content h2 {
  max-width: 650px;
  margin: 20px 0 18px;
  color: var(--yellow);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.basic-hero-visual {
  position: relative;
  width: min(100%, 760px);
  margin: 0 -4vw 0 0;
  display: grid;
  place-items: center;
  justify-self: end;
  isolation: isolate;
}

.basic-hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% 8%;
  z-index: -1;
  border-radius: 45%;
  background: rgba(62, 224, 159, 0.2);
  filter: blur(70px);
}

.basic-hero-image-halo {
  position: absolute;
  z-index: -1;
  width: 78%;
  aspect-ratio: 1;
  border: 1px solid rgba(62, 224, 159, 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(62, 224, 159, 0.025),
    0 0 90px rgba(62, 224, 159, 0.13);
}

.basic-hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 36px 46px rgba(0, 0, 0, 0.42));
}

.basic-hero-image-label,
.basic-hero-visual figcaption {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: var(--white);
  background: rgba(8, 17, 13, 0.8);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.basic-hero-image-label {
  top: 4%;
  right: 8%;
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--green);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.basic-hero-visual figcaption {
  right: 8%;
  bottom: 5%;
  max-width: 310px;
  padding: 13px 17px;
  border-radius: 14px;
  font-size: 0.76rem;
  line-height: 1.45;
}

.basic-intro {
  background:
    radial-gradient(circle at 10% 18%, rgba(62, 224, 159, 0.09), transparent 25%),
    radial-gradient(circle at 90% 82%, rgba(255, 226, 136, 0.045), transparent 20%),
    linear-gradient(150deg, var(--dark-green), #121a16 55%, #0c110f);
}

.basic-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: start;
}

.basic-intro-layout h2 {
  max-width: 620px;
  font-size: clamp(2.2rem, 4.7vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.basic-intro-copy {
  display: grid;
  gap: 17px;
}

.basic-intro-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.78;
}

.basic-modules {
  margin-top: clamp(55px, 8vw, 105px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.basic-modules article,
.basic-function-card {
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    radial-gradient(circle at 95% 0, rgba(62, 224, 159, 0.11), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.basic-modules article {
  min-height: 260px;
  padding: clamp(26px, 3vw, 38px);
  border-radius: 24px;
}

.basic-modules i,
.basic-function-card > i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 25px;
  border: 1px solid rgba(62, 224, 159, 0.36);
  border-radius: 14px;
  color: var(--green);
  background: rgba(62, 224, 159, 0.07);
}

.basic-modules p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.72;
}

.basic-functions {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(62, 224, 159, 0.11), transparent 24%),
    radial-gradient(circle at 88% 90%, rgba(255, 226, 136, 0.055), transparent 23%),
    linear-gradient(150deg, var(--dark-green), #111a16 58%, #0b110e);
}

.basic-functions-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.basic-function-card {
  grid-column: span 6;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 26px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.basic-function-card:hover {
  transform: translateY(-6px);
  border-color: rgba(62, 224, 159, 0.4);
}

.basic-function-card h3 {
  margin-bottom: 24px;
  color: var(--yellow);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  text-transform: uppercase;
}

.basic-function-card ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
  list-style: none;
}

.basic-function-card li {
  position: relative;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
}

.basic-function-card li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px rgba(62, 224, 159, 0.6);
}

.basic-function-card p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.basic-function-wide {
  grid-column: 1 / -1;
}

.basic-function-card:nth-child(1) { grid-column: span 4; }
.basic-function-card:nth-child(2) { grid-column: span 8; }

.basic-function-wide ul {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.basic-cta {
  background:
    radial-gradient(circle at 76% 18%, rgba(62, 224, 159, 0.2), transparent 28%),
    radial-gradient(circle at 17% 88%, rgba(255, 226, 136, 0.07), transparent 22%),
    linear-gradient(145deg, var(--dark-green), #111915 52%, #0d1310);
}

.basic-cta .cta-actions {
  min-width: min(100%, 280px);
}

.basic-enterprise-link {
  margin-top: 7px;
  justify-content: center;
  color: var(--green);
}

@media (max-width: 980px) {
  .basic-hero .quattro-hero-layout {
    grid-template-columns: 1fr;
  }

  .basic-hero-visual {
    width: min(100%, 760px);
    margin: 0;
    justify-self: start;
  }

  .basic-intro-layout {
    grid-template-columns: 1fr;
  }

  .basic-modules {
    grid-template-columns: 1fr;
  }

  .basic-modules article {
    min-height: 0;
  }

  .basic-function-card,
  .basic-function-card:nth-child(1),
  .basic-function-card:nth-child(2) {
    grid-column: span 6;
  }
}

@media (max-width: 680px) {
  .basic-hero {
    min-height: auto;
  }

  .basic-hero-visual {
    width: 100%;
  }

  .basic-hero-image-label {
    top: 0;
    right: 0;
    font-size: 0.6rem;
  }

  .basic-hero-visual figcaption {
    right: 0;
    bottom: -10px;
    max-width: 245px;
    font-size: 0.68rem;
  }

  .basic-function-wide ul {
    grid-template-columns: 1fr;
  }

  .basic-function-card,
  .basic-function-card:nth-child(1),
  .basic-function-card:nth-child(2),
  .basic-function-wide {
    grid-column: 1 / -1;
  }
}

/* =========================================================
   4UATTRO BUSINESS — pagina prodotto
   ========================================================= */
.business-page {
  background: #07100c;
}

.business-hero-visual {
  width: min(100%, 790px);
}

.business-hero-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.business-intro {
  background:
    radial-gradient(circle at 10% 18%, rgba(62, 224, 159, 0.09), transparent 25%),
    radial-gradient(circle at 90% 82%, rgba(255, 226, 136, 0.045), transparent 20%),
    linear-gradient(150deg, var(--dark-green), #121a16 55%, #0c110f);
}

.business-addons {
  margin-top: clamp(55px, 8vw, 105px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.business-addons article {
  grid-column: span 4;
  min-height: 300px;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  background:
    radial-gradient(circle at 95% 0, rgba(62, 224, 159, 0.11), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.business-addons article:nth-child(4),
.business-addons article:nth-child(5) {
  grid-column: span 6;
}

.business-addons article:hover {
  transform: translateY(-6px);
  border-color: rgba(62, 224, 159, 0.4);
}

.business-addons i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 25px;
  border: 1px solid rgba(62, 224, 159, 0.36);
  border-radius: 14px;
  color: var(--green);
  background: rgba(62, 224, 159, 0.07);
}

.business-addons h3 {
  margin-bottom: 16px;
  color: var(--yellow);
  font-size: 1.35rem;
  text-transform: uppercase;
}

.business-addons p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.business-functions {
  background:
    radial-gradient(circle at 12% 10%, rgba(62, 224, 159, 0.11), transparent 24%),
    radial-gradient(circle at 88% 90%, rgba(255, 226, 136, 0.055), transparent 23%),
    linear-gradient(150deg, #0d1713, #101d17 52%, #09100d);
}

.business-functions-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.business-functions-grid > .basic-function-card,
.business-functions-grid > .basic-function-card:nth-child(1),
.business-functions-grid > .basic-function-card:nth-child(2) {
  grid-column: span 6;
}

.business-functions-grid > .business-function-sales,
.business-functions-grid > .business-function-logistics {
  grid-column: span 7;
}

.business-functions-grid > .business-function-purchases,
.business-functions-grid > .business-function-settings {
  grid-column: span 5;
}

.business-functions-grid > .basic-function-wide {
  grid-column: 1 / -1;
}

.business-function-settings ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin-bottom: 24px;
}

.business-extra-modules ul {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.business-extra-modules strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
}

.business-cta {
  background:
    radial-gradient(circle at 76% 18%, rgba(62, 224, 159, 0.2), transparent 28%),
    radial-gradient(circle at 17% 88%, rgba(255, 226, 136, 0.07), transparent 22%),
    linear-gradient(145deg, var(--dark-green), #111915 52%, #0d1310);
}

@media (max-width: 1100px) {
  .business-addons article,
  .business-addons article:nth-child(4),
  .business-addons article:nth-child(5) {
    grid-column: span 6;
  }

  .business-addons article:last-child {
    grid-column: 1 / -1;
  }

  .business-extra-modules ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .business-addons article,
  .business-addons article:nth-child(4),
  .business-addons article:nth-child(5),
  .business-addons article:last-child,
  .business-functions-grid > .basic-function-card,
  .business-functions-grid > .basic-function-card:nth-child(1),
  .business-functions-grid > .basic-function-card:nth-child(2),
  .business-functions-grid > .business-function-sales,
  .business-functions-grid > .business-function-logistics,
  .business-functions-grid > .business-function-purchases,
  .business-functions-grid > .business-function-settings,
  .business-functions-grid > .basic-function-wide {
    grid-column: 1 / -1;
  }

  .business-addons article {
    min-height: 0;
  }

  .business-function-settings ul,
  .business-extra-modules ul {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   4UATTRO ACCOUNTING — pagina prodotto
   ========================================================= */
.accounting-page {
  background: #07100c;
}

.accounting-hero-visual {
  width: min(100%, 790px);
}

.accounting-hero-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.accounting-intro {
  background:
    radial-gradient(circle at 10% 18%, rgba(62, 224, 159, 0.09), transparent 25%),
    radial-gradient(circle at 90% 82%, rgba(255, 226, 136, 0.045), transparent 20%),
    linear-gradient(150deg, var(--dark-green), #121a16 55%, #0c110f);
}

.accounting-addons {
  margin-top: clamp(55px, 8vw, 105px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.accounting-addons article {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 26px;
  background:
    radial-gradient(circle at 95% 0, rgba(62, 224, 159, 0.11), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.accounting-addons article:hover {
  transform: translateY(-6px);
  border-color: rgba(62, 224, 159, 0.4);
}

.accounting-addons i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 25px;
  border: 1px solid rgba(62, 224, 159, 0.36);
  border-radius: 14px;
  color: var(--green);
  background: rgba(62, 224, 159, 0.07);
}

.accounting-addons h3 {
  margin-bottom: 18px;
  color: var(--yellow);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  text-transform: uppercase;
}

.accounting-addons p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.72;
}

.accounting-addons p:last-child {
  margin-bottom: 0;
}

.accounting-functions {
  background:
    radial-gradient(circle at 12% 10%, rgba(62, 224, 159, 0.11), transparent 24%),
    radial-gradient(circle at 88% 90%, rgba(255, 226, 136, 0.055), transparent 23%),
    linear-gradient(150deg, #0d1713, #101d17 52%, #09100d);
}

.accounting-functions-grid > .basic-function-card,
.accounting-functions-grid > .basic-function-card:nth-child(1),
.accounting-functions-grid > .basic-function-card:nth-child(2) {
  grid-column: span 6;
}

.accounting-functions-grid > .accounting-function-movements,
.accounting-functions-grid > .accounting-function-analysis {
  grid-column: span 7;
}

.accounting-functions-grid > .accounting-function-banks,
.accounting-functions-grid > .accounting-function-settings {
  grid-column: span 5;
}

.accounting-functions-grid > .basic-function-wide {
  grid-column: 1 / -1;
}

.accounting-function-settings ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
}

.accounting-extra-modules ul {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.accounting-extra-modules strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
}

.accounting-cta {
  background:
    radial-gradient(circle at 76% 18%, rgba(62, 224, 159, 0.2), transparent 28%),
    radial-gradient(circle at 17% 88%, rgba(255, 226, 136, 0.07), transparent 22%),
    linear-gradient(145deg, var(--dark-green), #111915 52%, #0d1310);
}

@media (max-width: 1100px) {
  .accounting-extra-modules ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .accounting-addons {
    grid-template-columns: 1fr;
  }

  .accounting-functions-grid > .basic-function-card,
  .accounting-functions-grid > .basic-function-card:nth-child(1),
  .accounting-functions-grid > .basic-function-card:nth-child(2),
  .accounting-functions-grid > .accounting-function-movements,
  .accounting-functions-grid > .accounting-function-analysis,
  .accounting-functions-grid > .accounting-function-banks,
  .accounting-functions-grid > .accounting-function-settings,
  .accounting-functions-grid > .basic-function-wide {
    grid-column: 1 / -1;
  }

  .accounting-function-settings ul,
  .accounting-extra-modules ul {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   4UATTRO PREMIUM — pagina prodotto
   ========================================================= */
.premium-page {
  background: #07100c;
}

.premium-hero-visual {
  width: min(100%, 790px);
}

.premium-hero-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.premium-hero-visual figcaption {
  max-width: 390px;
}

.premium-areas {
  background:
    radial-gradient(circle at 10% 18%, rgba(62, 224, 159, 0.09), transparent 25%),
    radial-gradient(circle at 90% 82%, rgba(255, 226, 136, 0.05), transparent 21%),
    linear-gradient(150deg, var(--dark-green), #121a16 55%, #0c110f);
}

.premium-area-panel {
  position: relative;
  margin-top: 22px;
  padding: clamp(30px, 5vw, 64px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 96% 3%, rgba(62, 224, 159, 0.12), transparent 25%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018));
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.premium-area-panel > header {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: clamp(30px, 5vw, 55px);
}

.premium-area-panel > header > i {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  border: 1px solid rgba(62, 224, 159, 0.4);
  border-radius: 18px;
  color: var(--green);
  background: rgba(62, 224, 159, 0.08);
  font-size: 1.4rem;
}

.premium-area-panel > header span {
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.premium-area-panel > header h2 {
  margin-top: 5px;
  color: var(--yellow);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.premium-area-copy {
  columns: 2 360px;
  column-gap: clamp(35px, 6vw, 80px);
}

.premium-area-copy p {
  margin: 0 0 17px;
  break-inside: avoid;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

.premium-included-grid,
.premium-accounting-modules {
  margin-top: clamp(40px, 6vw, 70px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.premium-included-grid > p,
.premium-accounting-modules > article {
  grid-column: span 4;
  margin: 0;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(0, 0, 0, 0.14);
  line-height: 1.68;
}

.premium-included-grid > p:nth-child(4),
.premium-included-grid > p:nth-child(5) {
  grid-column: span 6;
}

.premium-included-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 1.05rem;
  text-transform: uppercase;
}

.premium-accounting-modules > article {
  grid-column: span 6;
}

.premium-accounting-modules h3 {
  margin-bottom: 15px;
  color: var(--green);
  font-size: 1.35rem;
  text-transform: uppercase;
}

.premium-accounting-modules p {
  margin: 0 0 13px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.68;
}

.premium-accounting-modules p:last-child {
  margin-bottom: 0;
}

.premium-functions {
  background:
    radial-gradient(circle at 12% 10%, rgba(62, 224, 159, 0.11), transparent 24%),
    radial-gradient(circle at 88% 90%, rgba(255, 226, 136, 0.06), transparent 23%),
    linear-gradient(150deg, #0d1713, #101d17 52%, #09100d);
}

.premium-functions-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.premium-functions-grid > .basic-function-card,
.premium-functions-grid > .basic-function-card:nth-child(1),
.premium-functions-grid > .basic-function-card:nth-child(2) {
  grid-column: span 6;
}

.premium-functions-grid > .premium-function-large {
  grid-column: span 7;
}

.premium-functions-grid > .premium-function-large + .basic-function-card {
  grid-column: span 5;
}

.premium-functions-grid > .basic-function-wide {
  grid-column: 1 / -1;
}

.premium-all-modules {
  border-color: rgba(255, 226, 136, 0.26);
  background:
    radial-gradient(circle at 94% 5%, rgba(255, 226, 136, 0.11), transparent 27%),
    linear-gradient(145deg, rgba(62, 224, 159, 0.09), rgba(255, 255, 255, 0.02));
}

.premium-all-modules ul {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.premium-all-modules strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  text-transform: uppercase;
}

.premium-cta {
  background:
    radial-gradient(circle at 76% 18%, rgba(62, 224, 159, 0.2), transparent 28%),
    radial-gradient(circle at 17% 88%, rgba(255, 226, 136, 0.08), transparent 22%),
    linear-gradient(145deg, var(--dark-green), #111915 52%, #0d1310);
}

@media (max-width: 980px) {
  .premium-included-grid > p,
  .premium-included-grid > p:nth-child(4),
  .premium-included-grid > p:nth-child(5) {
    grid-column: span 6;
  }

  .premium-included-grid > p:last-child {
    grid-column: 1 / -1;
  }

  .premium-all-modules ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .premium-area-panel {
    border-radius: 22px;
  }

  .premium-area-copy {
    columns: auto;
  }

  .premium-included-grid > p,
  .premium-included-grid > p:nth-child(4),
  .premium-included-grid > p:nth-child(5),
  .premium-included-grid > p:last-child,
  .premium-accounting-modules > article,
  .premium-functions-grid > .basic-function-card,
  .premium-functions-grid > .basic-function-card:nth-child(1),
  .premium-functions-grid > .basic-function-card:nth-child(2),
  .premium-functions-grid > .premium-function-large,
  .premium-functions-grid > .premium-function-large + .basic-function-card,
  .premium-functions-grid > .basic-function-wide {
    grid-column: 1 / -1;
  }

  .premium-all-modules ul {
    grid-template-columns: 1fr;
  }
}

/* La hero delle condizioni mantiene le proporzioni della home. */
.terms-page .terms-hero {
  min-height: 650px;
}

.terms-page .terms-document > p > b:first-child + br {
  display: none;
}

@media (max-width: 640px) {
  .terms-page .terms-hero {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .terms-page .terms-document::before {
    animation: none;
  }
}
