/* 004 Channel — tab prodotto (full-bleed, pesanti, esplorabili) */

/* —— Titoli centrati su tutta la pagina 004 —— */
body.page-id-1675 .section-title-container,
body.page-id-1675 .section-title,
body.page-id-1675 h1.section-title,
body.page-id-1675 h2.section-title,
body.page-id-1675 h3.section-title,
body.page-004-channel .section-title-container,
body.page-004-channel .section-title {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page-id-1675 .section-title-container,
body.page-004-channel .section-title-container {
  width: 100%;
  max-width: 920px;
}

body.page-id-1675 .section-title span.section-title-main,
body.page-004-channel .section-title span.section-title-main {
  text-align: center;
}

/* Hero e colonne testo: centrare copy sotto i titoli */
body.page-id-1675 .col.align-center,
body.page-id-1675 .col[class*="align-center"],
body.page-004-channel .col.align-center {
  text-align: center;
}

body.page-id-1675 .col.align-center .button,
body.page-004-channel .col.align-center .button {
  float: none;
}

.itsos-004-tech {
  --c4-orange: #ed7511;
  --c4-orange-soft: #ff9517;
  --c4-ink: #1c2b46;
  --c4-muted: rgba(28, 43, 70, 0.62);
  --c4-panel: #f7f5f2;
  --c4-line: rgba(28, 43, 70, 0.1);
}

.itsos-004-tech .itsos-004-tech__intro {
  max-width: 760px;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.itsos-004-tech .itsos-004-tech__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c4-orange);
  margin-bottom: 0.65rem;
}

.itsos-004-tech .itsos-004-tech__lead {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.65;
  color: var(--c4-muted);
  margin: 0.75rem auto 0;
  max-width: 42rem;
}

.itsos-004-tech .itsos-004-tech__hints {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 0.7rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.itsos-004-tech .itsos-004-tech__hints li {
  margin: 0;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(237, 117, 17, 0.08);
  color: var(--c4-ink);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid rgba(237, 117, 17, 0.18);
}

/* Tab shell — tutta larghezza utile */
.itsos-004-tech .itsos-004-tabs.tabbed-content {
  width: 100%;
  max-width: none;
}

.itsos-004-tech .itsos-004-tabs > ul.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: stretch;
  align-items: stretch;
  gap: 0.65rem;
  width: 100%;
  margin: 0 0 1.5rem;
  padding: 0.55rem;
  list-style: none;
  background: var(--c4-panel);
  border: 1px solid var(--c4-line);
  border-radius: 14px;
  box-shadow: none;
}

.itsos-004-tech .itsos-004-tabs > ul.nav > li.tab {
  flex: 1 1 160px;
  margin: 0 !important;
  float: none !important;
  text-align: center;
}

.itsos-004-tech .itsos-004-tabs > ul.nav > li.tab > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.85rem 1.1rem !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  background: transparent;
  color: var(--c4-ink) !important;
  font-size: clamp(0.95rem, 1.5vw, 1.12rem) !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-transform: none !important;
  text-decoration: none !important;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.itsos-004-tech .itsos-004-tabs > ul.nav > li.tab > a span {
  font-weight: inherit;
}

.itsos-004-tech .itsos-004-tabs > ul.nav > li.tab:not(.active) > a:hover {
  background: #fff;
  border-color: rgba(237, 117, 17, 0.35) !important;
  color: var(--c4-orange) !important;
  transform: translateY(-1px);
}

.itsos-004-tech .itsos-004-tabs > ul.nav > li.tab.active > a,
.itsos-004-tech .itsos-004-tabs > ul.nav > li.active > a {
  background: var(--c4-orange) !important;
  border-color: var(--c4-orange) !important;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(237, 117, 17, 0.28);
}

/* Pannelli ampi */
.itsos-004-tech .itsos-004-tabs .tab-panels {
  width: 100%;
  margin: 0;
  padding: 1.5rem 1.35rem 1.75rem;
  background: #fff;
  border: 1px solid var(--c4-line);
  border-radius: 14px;
}

.itsos-004-tech .itsos-004-tabs .tab-panels > .panel {
  padding: 0.25rem 0.15rem 0.5rem;
}

/* Contenuto tab: blocco centrato (2 colonne non a sinistra) */
.itsos-004-tab-center {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.itsos-004-tab-center .itsos-004-tab-lead,
.itsos-004-tab-center > p,
.itsos-004-tabs .itsos-004-tab-lead {
  text-align: center;
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}

.itsos-004-tab-center .row,
.itsos-004-tab-center .row-inner,
.itsos-004-tab-center .flex-row {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
}

.itsos-004-tab-center .col,
.itsos-004-tab-center .col-inner,
.itsos-004-tab-center [class*="col-inner"] {
  float: none !important;
  text-align: left;
}

.itsos-004-tab-center table {
  margin-left: auto;
  margin-right: auto;
}

.itsos-004-tab-center ul {
  text-align: left;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

/* Liste dentro le card: restano leggibili a sinistra nel box, box centrati */
.itsos-004-tab-center .col-inner {
  text-align: left;
}

.itsos-004-tech .itsos-004-tabs .tab-panels .panel > .row:first-child,
.itsos-004-tech .itsos-004-tabs .tab-panels .panel > p:first-child {
  margin-top: 0;
}

/* Tipografia “cicciotta” nei pannelli — default scuro su chiaro */
.itsos-004-tech .itsos-004-tabs .tab-panels {
  font-size: clamp(1.02rem, 1.35vw, 1.12rem);
  line-height: 1.65;
  color: var(--c4-ink);
}

.itsos-004-tech .itsos-004-tabs .tab-panels h3,
.itsos-004-tech .itsos-004-tabs .tab-panels strong {
  font-weight: 700;
}

.itsos-004-tech .itsos-004-tabs .tab-panels ul {
  margin: 0.35rem 0 0.85rem;
  padding-left: 1.15rem;
}

.itsos-004-tech .itsos-004-tabs .tab-panels li {
  margin-bottom: 0.35rem;
}

/* Box chiari dentro le tab: testo scuro */
.itsos-004-tech .itsos-004-tabs .tab-panels .col-inner[style*="rgb(248"],
.itsos-004-tech .itsos-004-tabs .tab-panels .col-inner[style*="rgb(255"],
.itsos-004-tech .itsos-004-tabs .tab-panels .col-inner[style*="#fff"],
.itsos-004-tech .itsos-004-tabs .tab-panels .col-inner[style*="#f7"],
.itsos-004-tech .itsos-004-tabs .tab-panels .col-inner[style*="#f8"] {
  color: var(--c4-ink) !important;
}

.itsos-004-tech .itsos-004-tabs .tab-panels .col-inner[style*="rgb(248"] p,
.itsos-004-tech .itsos-004-tabs .tab-panels .col-inner[style*="rgb(248"] li,
.itsos-004-tech .itsos-004-tabs .tab-panels .col-inner[style*="rgb(255"] p,
.itsos-004-tech .itsos-004-tabs .tab-panels .col-inner[style*="rgb(255"] li {
  color: var(--c4-ink) !important;
}

/* Box scuri / charcoal dentro le tab: testo chiaro + titoli arancioni */
.itsos-004-tech .itsos-004-tabs .tab-panels .col-inner[style*="rgb(36"],
.itsos-004-tech .itsos-004-tabs .tab-panels .col-inner[style*="rgb(28"],
.itsos-004-tech .itsos-004-tabs .tab-panels .col-inner[style*="#242"],
.itsos-004-tech .itsos-004-tabs .tab-panels .col-inner[style*="#1c"],
.itsos-004-tech .itsos-004-tabs .tab-panels .banner[style*="rgb(36"],
.itsos-004-tech .itsos-004-tabs .tab-panels .ux-banner[style*="rgb(36"],
.itsos-004-tech .itsos-004-tabs .tab-panels .has-hover[style*="rgb(36"] {
  color: #fff !important;
}

.itsos-004-tech .itsos-004-tabs .tab-panels .col-inner[style*="rgb(36"] p,
.itsos-004-tech .itsos-004-tabs .tab-panels .col-inner[style*="rgb(36"] li,
.itsos-004-tech .itsos-004-tabs .tab-panels .col-inner[style*="rgb(36"] span,
.itsos-004-tech .itsos-004-tabs .tab-panels .col-inner[style*="rgb(36"] td {
  color: rgba(255, 255, 255, 0.92) !important;
}

.itsos-004-tech .itsos-004-tabs .tab-panels .col-inner[style*="rgb(36"] strong,
.itsos-004-tech .itsos-004-tabs .tab-panels .col-inner[style*="rgb(36"] b,
.itsos-004-tech .itsos-004-tabs .tab-panels .col-inner[style*="rgb(36"] h3,
.itsos-004-tech .itsos-004-tabs .tab-panels .col-inner[style*="rgb(36"] p[style*="color:#ff"],
.itsos-004-tech .itsos-004-tabs .tab-panels .col-inner[style*="rgb(36"] p[style*="#ff9517"],
.itsos-004-tech .itsos-004-tabs .tab-panels .col-inner[style*="rgb(36"] p[style*="#ed7511"] {
  color: #ff9517 !important;
}

/* Box arancione: testo bianco */
.itsos-004-tech .itsos-004-tabs .tab-panels .col-inner[style*="rgb(237"],
.itsos-004-tech .itsos-004-tabs .tab-panels .col-inner[style*="#ed75"] {
  color: #fff !important;
}

.itsos-004-tech .itsos-004-tabs .tab-panels .col-inner[style*="rgb(237"] p,
.itsos-004-tech .itsos-004-tabs .tab-panels .col-inner[style*="rgb(237"] li,
.itsos-004-tech .itsos-004-tabs .tab-panels .col-inner[style*="rgb(237"] strong {
  color: #fff !important;
}

/* Tabelle specifiche / risparmio a tutta larghezza */
.itsos-004-tech .itsos-004-tabs .tab-panels table {
  width: 100% !important;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 10px;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
}

.itsos-004-tech .itsos-004-tabs .tab-panels table th {
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.95rem 1rem !important;
}

.itsos-004-tech .itsos-004-tabs .tab-panels table td {
  padding: 0.9rem 1rem !important;
  vertical-align: top;
}

.itsos-004-tech .itsos-004-tabs .tab-panels table tbody tr:hover td {
  background: rgba(237, 117, 17, 0.04);
}

@media (max-width: 849px) {
  .itsos-004-tech .itsos-004-tabs > ul.nav {
    gap: 0.45rem;
    padding: 0.4rem;
  }

  .itsos-004-tech .itsos-004-tabs > ul.nav > li.tab {
    flex: 1 1 calc(50% - 0.45rem);
  }

  .itsos-004-tech .itsos-004-tabs > ul.nav > li.tab > a {
    min-height: 3rem;
    padding: 0.7rem 0.75rem !important;
    font-size: 0.95rem !important;
  }

  .itsos-004-tech .itsos-004-tabs .tab-panels {
    padding: 1.1rem 0.85rem 1.25rem;
  }
}

@media (max-width: 549px) {
  .itsos-004-tech .itsos-004-tabs > ul.nav > li.tab {
    flex: 1 1 100%;
  }
}

/* —— Fasce scorrevoli: live chat sito + CMS/SIP —— */
.itsos-004-marquee {
  --c4-orange: #ed7511;
  --c4-ink: #1c2b46;
  overflow: hidden;
}

.itsos-004-marquee__intro {
  max-width: 820px;
  margin: 0 auto 2rem;
  text-align: center;
}

.itsos-004-marquee__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c4-orange);
  margin-bottom: 0.55rem;
}

.itsos-004-marquee__lead {
  font-size: clamp(1.05rem, 1.7vw, 1.18rem);
  line-height: 1.65;
  color: rgba(28, 43, 70, 0.68);
  margin: 0.7rem auto 0;
}

.itsos-004-marquee__tracks {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.itsos-004-marquee__track {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 12px;
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}

.itsos-004-marquee__track--dark {
  background: #24262a;
}

.itsos-004-marquee__track--orange {
  background: var(--c4-orange);
}

.itsos-004-marquee__track--soft {
  background: #f3efe9;
  border: 1px solid rgba(28, 43, 70, 0.08);
}

.itsos-004-marquee__rail {
  display: flex;
  width: max-content;
  gap: 0.75rem;
  padding: 0.95rem 0;
  animation: itsos004MarqueeRtl 42s linear infinite;
  will-change: transform;
}

.itsos-004-marquee__track--slow .itsos-004-marquee__rail {
  animation-duration: 52s;
}

.itsos-004-marquee__track--fast .itsos-004-marquee__rail {
  animation-duration: 34s;
}

.itsos-004-marquee__track:hover .itsos-004-marquee__rail {
  animation-play-state: paused;
}

.itsos-004-marquee__item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-size: clamp(0.92rem, 1.3vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  line-height: 1.25;
}

.itsos-004-marquee__track--dark .itsos-004-marquee__item {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.itsos-004-marquee__track--orange .itsos-004-marquee__item {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.itsos-004-marquee__track--soft .itsos-004-marquee__item {
  background: #fff;
  color: var(--c4-ink);
  border: 1px solid rgba(28, 43, 70, 0.1);
}

.itsos-004-marquee__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
  flex: 0 0 auto;
}

.itsos-004-marquee__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 980px;
  margin: 1.75rem auto 0;
}

.itsos-004-marquee__card {
  padding: 1.25rem 1.35rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(28, 43, 70, 0.1);
  text-align: left;
}

.itsos-004-marquee__card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--c4-ink);
}

.itsos-004-marquee__card p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(28, 43, 70, 0.72);
}

.itsos-004-marquee__card strong {
  color: var(--c4-orange);
}

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

@media (prefers-reduced-motion: reduce) {
  .itsos-004-marquee__rail {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    padding: 0.75rem;
  }
}

@media (max-width: 749px) {
  .itsos-004-marquee__cards {
    grid-template-columns: 1fr;
  }
}

/* —— Phone artwork nelle sezioni verticali —— */
.itsos-004-phone {
  position: relative;
  display: block;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.45s ease, transform 0.45s ease;
}

.itsos-004-phone img,
.itsos-004-phone .ux-image-inner img,
.itsos-004-phone .img-inner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  filter: brightness(0.48) contrast(1.05) saturate(0.78);
  transform: scale(1.01);
  transition:
    filter 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Velo scuro sopra (oscuramento) */
.itsos-004-phone::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20, 22, 28, 0.55) 0%, rgba(20, 22, 28, 0.22) 45%, rgba(20, 22, 28, 0.5) 100%);
  opacity: 1;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
}

/* Alone arancio al bordo, spento di default */
.itsos-004-phone::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1.5px rgba(255, 149, 23, 0.15);
  z-index: 3;
  transition: box-shadow 0.45s ease;
}

.itsos-004-phone:hover,
.itsos-004-phone:focus-within {
  transform: translateY(-4px);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(255, 149, 23, 0.18),
    0 0 0 1px rgba(255, 149, 23, 0.25);
}

.itsos-004-phone:hover img,
.itsos-004-phone:hover .ux-image-inner img,
.itsos-004-phone:hover .img-inner img,
.itsos-004-phone:focus-within img {
  filter: brightness(1.06) contrast(1.04) saturate(1.08);
  transform: scale(1.035);
}

.itsos-004-phone:hover::after,
.itsos-004-phone:focus-within::after {
  opacity: 0;
}

.itsos-004-phone:hover::before,
.itsos-004-phone:focus-within::before {
  box-shadow: inset 0 0 0 1.5px rgba(255, 149, 23, 0.55);
}

/* Caption sottile sotto il phone (opzionale via title attr) */
.itsos-004-phone-caption {
  text-align: center;
  margin-top: 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(28, 43, 70, 0.55);
}

.section-dark .itsos-004-phone-caption,
.dark .itsos-004-phone-caption {
  color: rgba(255, 255, 255, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  .itsos-004-phone,
  .itsos-004-phone img,
  .itsos-004-phone::after {
    transition: none;
  }
}

@media (max-width: 849px) {
  .itsos-004-phone {
    max-width: 320px;
  }
}

/* Hero: sfondo premium + telefono che scrolla L/R */
body.page-id-1675 .itsos-004-hero,
body.page-004-channel .itsos-004-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 78% 42%, rgba(237, 117, 17, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 55% 50% at 18% 20%, rgba(255, 149, 23, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 70% 80% at 50% 120%, rgba(0, 0, 0, 0.55) 0%, transparent 60%),
    linear-gradient(165deg, #12141a 0%, #1a1d26 42%, #0e1015 100%) !important;
}

body.page-id-1675 .itsos-004-hero::before,
body.page-004-channel .itsos-004-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  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: 48px 48px;
  mask-image: radial-gradient(ellipse 75% 70% at 70% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 70% 45%, #000 20%, transparent 75%);
}

body.page-id-1675 .itsos-004-hero > .section-content,
body.page-id-1675 .itsos-004-hero .row,
body.page-004-channel .itsos-004-hero > .section-content {
  position: relative;
  z-index: 1;
}

body.page-id-1675 .itsos-004-hero-stage,
body.page-004-channel .itsos-004-hero-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 1.25rem 1.35rem;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 149, 23, 0.28) 0%, transparent 42%),
    radial-gradient(circle at 80% 80%, rgba(237, 117, 17, 0.12) 0%, transparent 45%),
    linear-gradient(160deg, rgba(28, 32, 42, 0.95) 0%, rgba(12, 14, 20, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(255, 149, 23, 0.18),
    0 24px 60px rgba(0, 0, 0, 0.45);
}

body.page-id-1675 .itsos-004-hero-stage::before,
body.page-004-channel .itsos-004-hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 149, 23, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 149, 23, 0.09) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.55;
  mask-image: radial-gradient(circle at 50% 45%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 10%, transparent 72%);
}

body.page-id-1675 .itsos-004-hero-stage::after,
body.page-004-channel .itsos-004-hero-stage::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 149, 23, 0.35) 0%, transparent 70%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
  animation: itsos004GlowPulse 4.5s ease-in-out infinite;
}

body.page-id-1675 .itsos-004-hero-stage .itsos-004-phone-hero,
body.page-id-1675 .itsos-004-hero-stage .itsos-004-phone-caption {
  position: relative;
  z-index: 1;
}

body.page-id-1675 .itsos-004-phone-hero,
body.page-004-channel .itsos-004-phone-hero {
  overflow: visible;
  background: transparent !important;
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* Oscillazione L/R rapida + leggero tilt (pagina ferma, telefono vivo) */
body.page-id-1675 .itsos-004-phone-hero,
body.page-004-channel .itsos-004-phone-hero {
  animation: itsos004PhoneSwing 2.4s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  transform-origin: center 70%;
  will-change: transform;
}

body.page-id-1675 .itsos-004-phone-hero img,
body.page-id-1675 .itsos-004-phone-hero .img-inner img,
body.page-004-channel .itsos-004-phone-hero img {
  animation: itsos004PhoneInnerZoom 5.5s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform, filter;
  /* toglie il “cemento” grezzo dell’asset: scurisce e fonda sullo stage */
  filter: brightness(0.72) contrast(1.08) saturate(1.05);
}

body.page-id-1675 .itsos-004-phone-hero:hover,
body.page-004-channel .itsos-004-phone-hero:hover {
  animation-play-state: paused;
}

body.page-id-1675 .itsos-004-phone-hero:hover img,
body.page-id-1675 .itsos-004-phone-hero:hover .img-inner img {
  animation-play-state: paused;
  filter: brightness(1.05) contrast(1.04) saturate(1.08);
}

@keyframes itsos004PhoneSwing {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }
  15% {
    transform: translateX(16px) rotate(3deg);
  }
  30% {
    transform: translateX(-14px) rotate(-2.6deg);
  }
  45% {
    transform: translateX(12px) rotate(2.2deg);
  }
  60% {
    transform: translateX(-10px) rotate(-1.8deg);
  }
  75% {
    transform: translateX(8px) rotate(1.4deg);
  }
  90% {
    transform: translateX(-4px) rotate(-0.8deg);
  }
}

@keyframes itsos004PhoneInnerZoom {
  0%,
  100% {
    transform: scale(1.02);
  }
  50% {
    transform: scale(1.07);
  }
}

@keyframes itsos004GlowPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 0.9;
    transform: translateX(-50%) scale(1.15);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-id-1675 .itsos-004-phone-hero,
  body.page-id-1675 .itsos-004-phone-hero img,
  body.page-id-1675 .itsos-004-hero-stage::after {
    animation: none !important;
  }
}

body.page-id-1675 .itsos-004-phone-hero::after {
  /* meno “velo cemento”, più blend con lo stage */
  background: linear-gradient(
    180deg,
    rgba(12, 14, 20, 0.28) 0%,
    rgba(12, 14, 20, 0.08) 45%,
    rgba(12, 14, 20, 0.32) 100%
  );
  opacity: 0.65;
}

body.page-id-1675 .itsos-004-phone-hero:hover::after {
  opacity: 0;
}

@media (max-width: 849px) {
  body.page-id-1675 .itsos-004-hero-stage {
    padding: 1.1rem 0.85rem 1rem;
    border-radius: 20px;
  }
}

/* Plus fiducia — seconda riga box bianchi: testo arancione leggibile */
body.page-id-1675 .itsos-004-plus-soft,
body.page-id-1675 .itsos-004-plus-soft .text-box,
body.page-id-1675 .itsos-004-plus-soft .text-box p,
body.page-id-1675 .itsos-004-plus-soft .ux-text,
body.page-id-1675 .itsos-004-plus-soft .ux-text p,
body.page-id-1675 .itsos-004-plus-soft span {
  color: #ed7511 !important;
}

body.page-id-1675 .itsos-004-plus-soft strong,
body.page-id-1675 .itsos-004-plus-soft b {
  color: #ed7511 !important;
  font-weight: 700;
}

/* Funzionalità: assicurare fondo scuro sul box sicurezza/extra */
body.page-id-1675 .itsos-004-tabs .itsos-004-box-dark > .col-inner,
body.page-id-1675 .itsos-004-tabs .col.itsos-004-box-dark > .col-inner {
  background-color: rgb(36, 38, 42) !important;
}

/* —— Contrasto globale pagina 004 —— */
body.page-id-1675,
body.page-004-channel {
  --c4-ink: #1c2b46;
  --c4-orange: #ff9517;
}

/* Sezioni chiare: niente testo bianco “fantasma” */
body.page-id-1675 .section:not(.dark) .section-title-main,
body.page-004-channel .section:not(.dark) .section-title-main {
  color: var(--c4-ink) !important;
}

body.page-id-1675 .section:not(.dark) .ux-text[style*="color: rgb(255"],
body.page-id-1675 .section:not(.dark) .ux-text[style*="color:rgb(255"],
body.page-id-1675 .section:not(.dark) [style*="color: rgb(255,255,255)"],
body.page-id-1675 .section:not(.dark) [style*="color:rgb(255,255,255)"],
body.page-id-1675 .section:not(.dark) [style*="color: #fff"],
body.page-id-1675 .section:not(.dark) [style*="color:#fff"],
body.page-004-channel .section:not(.dark) [style*="color: rgb(255,255,255)"] {
  color: var(--c4-ink) !important;
}

/* Eccezione: se il testo bianco è DENTRO un box scuro/accent, resta chiaro */
body.page-id-1675 .itsos-004-box-dark [style*="color: rgb(255"],
body.page-id-1675 .itsos-004-box-dark [style*="color:rgb(255"],
body.page-id-1675 .itsos-004-box-accent [style*="color: rgb(255"],
body.page-id-1675 .itsos-004-box-dark .ux-text,
body.page-id-1675 .section.dark .itsos-004-box-dark {
  color: inherit;
}

/* Box scuri: testo chiaro + titoli/accenti arancioni */
body.page-id-1675 .itsos-004-box-dark,
body.page-id-1675 .itsos-004-box-dark > .col-inner,
body.page-id-1675 .itsos-004-box-dark .col-inner,
body.page-004-channel .itsos-004-box-dark {
  color: #fff !important;
}

body.page-id-1675 .itsos-004-box-dark p,
body.page-id-1675 .itsos-004-box-dark li,
body.page-id-1675 .itsos-004-box-dark span,
body.page-id-1675 .itsos-004-box-dark .ux-text,
body.page-id-1675 .itsos-004-box-dark .ux-text p,
body.page-id-1675 .itsos-004-box-dark .ux-text li,
body.page-id-1675 .itsos-004-list-on-dark,
body.page-id-1675 .itsos-004-list-on-dark li {
  color: rgba(255, 255, 255, 0.94) !important;
}

body.page-id-1675 .itsos-004-box-dark .itsos-004-accent-title,
body.page-id-1675 .itsos-004-box-dark .itsos-004-accent-title strong,
body.page-id-1675 .itsos-004-box-dark p.itsos-004-accent-title,
body.page-id-1675 .itsos-004-box-dark strong,
body.page-id-1675 .itsos-004-box-dark b {
  color: #ff9517 !important;
}

/* Liste sul dark: strong inline resta arancio solo nei titoli; nelle liste strong può restare bianco caldo */
body.page-id-1675 .itsos-004-list-on-dark strong {
  color: #ffb84d !important;
}

/* Box arancione: testo bianco */
body.page-id-1675 .itsos-004-box-accent,
body.page-id-1675 .itsos-004-box-accent .col-inner,
body.page-id-1675 .itsos-004-box-accent p,
body.page-id-1675 .itsos-004-box-accent li,
body.page-id-1675 .itsos-004-box-accent strong,
body.page-id-1675 .itsos-004-box-accent .ux-text {
  color: #fff !important;
}

/* Box chiari: testo scuro */
body.page-id-1675 .itsos-004-box-light,
body.page-id-1675 .itsos-004-box-light .col-inner,
body.page-id-1675 .itsos-004-box-light p,
body.page-id-1675 .itsos-004-box-light li,
body.page-id-1675 .itsos-004-box-light .ux-text {
  color: var(--c4-ink) !important;
}

body.page-id-1675 .itsos-004-box-light strong {
  color: var(--c4-ink) !important;
}

/* Banner scuri (ux_banner) in sezioni chiare: testo chiaro */
body.page-id-1675 .itsos-004-box-dark .text-box,
body.page-id-1675 .itsos-004-box-dark .text-box p,
body.page-id-1675 .banner.itsos-004-box-dark .text-box,
body.page-id-1675 .img .overlay + .caption {
  color: #fff !important;
}

/* Card bianche dentro sezioni dark (pricing): testo scuro */
body.page-id-1675 .section.dark .ux-banner[style*="rgb(255"],
body.page-id-1675 .section.dark .itsos-004-box-light,
body.page-id-1675 .section.dark .itsos-004-box-light p,
body.page-id-1675 .section.dark .itsos-004-box-light li,
body.page-id-1675 .section.dark .itsos-004-box-light strong {
  color: var(--c4-ink) !important;
}

/* Tab panel: non forzare ink su discendenti di box dark */
.itsos-004-tech .itsos-004-tabs .tab-panels .itsos-004-box-dark,
.itsos-004-tech .itsos-004-tabs .tab-panels .itsos-004-box-dark p,
.itsos-004-tech .itsos-004-tabs .tab-panels .itsos-004-box-dark li {
  color: rgba(255, 255, 255, 0.94) !important;
}

.itsos-004-tech .itsos-004-tabs .tab-panels .itsos-004-box-dark .itsos-004-accent-title,
.itsos-004-tech .itsos-004-tabs .tab-panels .itsos-004-box-dark .itsos-004-accent-title strong,
.itsos-004-tech .itsos-004-tabs .tab-panels .itsos-004-box-dark strong {
  color: #ff9517 !important;
}

.itsos-004-tech .itsos-004-tabs .tab-panels .itsos-004-list-on-dark strong {
  color: #ffb84d !important;
}


/* Pricing Start / Enterprise — testo e CTA arancioni su bianco */
body.page-id-1675 #fasce .itsos-004-price-soft,
body.page-id-1675 #fasce .itsos-004-price-soft .text-box,
body.page-id-1675 #fasce .itsos-004-price-soft .text-box p,
body.page-id-1675 #fasce .itsos-004-price-soft .ux-text,
body.page-id-1675 #fasce .itsos-004-price-soft .ux-text p,
body.page-id-1675 #fasce .itsos-004-price-soft span,
body.page-id-1675 #fasce .itsos-004-price-soft strong,
body.page-004-channel #fasce .itsos-004-price-soft,
body.page-004-channel #fasce .itsos-004-price-soft p,
body.page-004-channel #fasce .itsos-004-price-soft strong {
  color: #ed7511 !important;
}

body.page-id-1675 #fasce .itsos-004-price-soft .button,
body.page-id-1675 #fasce .itsos-004-price-soft a.button,
body.page-id-1675 #fasce .itsos-004-price-soft .button.secondary.is-outline,
body.page-id-1675 #fasce .itsos-004-price-soft .button.is-outline,
body.page-004-channel #fasce .itsos-004-price-soft .button {
  color: #ed7511 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 2px solid #ed7511 !important;
  box-shadow: none !important;
}

body.page-id-1675 #fasce .itsos-004-price-soft .button:hover,
body.page-id-1675 #fasce .itsos-004-price-soft a.button:hover,
body.page-004-channel #fasce .itsos-004-price-soft .button:hover {
  color: #fff !important;
  background: #ed7511 !important;
  background-color: #ed7511 !important;
  border-color: #ed7511 !important;
}

/* —— Form demo 004: 2 colonne compatto —— */
body.page-id-1675 .itsos-004-demo-form,
body.page-004-channel .itsos-004-demo-form {
  padding: 8px 4px 4px;
}

body.page-id-1675 .itsos-004-demo-form .gform_wrapper,
body.page-004-channel .itsos-004-demo-form .gform_wrapper {
  margin: 0 !important;
  max-width: 100%;
}

body.page-id-1675 .itsos-004-demo-form .gform_wrapper .gform_body,
body.page-id-1675 .itsos-004-demo-form .gform_wrapper .gform_fields {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0;
}

body.page-id-1675 .itsos-004-demo-form .gform_wrapper .gfield,
body.page-004-channel .itsos-004-demo-form .gform_wrapper .gfield {
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  width: 100%;
  clear: none !important;
}

body.page-id-1675 .itsos-004-demo-form .gform_wrapper .gfield.gf_left_half,
body.page-id-1675 .itsos-004-demo-form .gform_wrapper .gfield.gf_right_half {
  width: calc(50% - 7px) !important;
  max-width: calc(50% - 7px) !important;
}

body.page-id-1675 .itsos-004-demo-form .gform_wrapper .gfield.gf_clear,
body.page-id-1675 .itsos-004-demo-form .gform_wrapper .gfield.itsos-004-demo-privacy {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100%;
}

body.page-id-1675 .itsos-004-demo-form .gform_wrapper .gfield_label,
body.page-id-1675 .itsos-004-demo-form .gform_wrapper legend.gfield_label {
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  margin-bottom: 4px !important;
  line-height: 1.25 !important;
}

body.page-id-1675 .itsos-004-demo-form .gform_wrapper .gfield_description {
  font-size: 0.78rem !important;
  line-height: 1.35 !important;
  margin-top: 3px !important;
  opacity: 0.75;
}

body.page-id-1675 .itsos-004-demo-form .gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
body.page-id-1675 .itsos-004-demo-form .gform_wrapper select,
body.page-id-1675 .itsos-004-demo-form .gform_wrapper textarea {
  padding: 8px 10px !important;
  min-height: 40px !important;
  font-size: 0.95rem !important;
  line-height: 1.3 !important;
}

body.page-id-1675 .itsos-004-demo-form .gform_wrapper textarea {
  min-height: 72px !important;
}

/* Privacy più piccola e compatta */
body.page-id-1675 .itsos-004-demo-form .gform_wrapper .itsos-004-demo-privacy .ginput_container_consent,
body.page-id-1675 .itsos-004-demo-form .gform_wrapper .itsos-004-demo-privacy label,
body.page-id-1675 .itsos-004-demo-form .gform_wrapper .itsos-004-demo-privacy .gfield_consent_description,
body.page-id-1675 .itsos-004-demo-form .gform_wrapper .itsos-004-demo-privacy .gfield_label {
  font-size: 0.78rem !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
}

body.page-id-1675 .itsos-004-demo-form .gform_wrapper .itsos-004-demo-privacy .gfield_consent_label,
body.page-id-1675 .itsos-004-demo-form .gform_wrapper .itsos-004-demo-privacy label.gfield_consent_description {
  font-size: 0.78rem !important;
}

body.page-id-1675 .itsos-004-demo-form .gform_wrapper .gform_footer,
body.page-id-1675 .itsos-004-demo-form .gform_wrapper .gform_page_footer {
  margin: 8px 0 0 !important;
  padding: 0 !important;
  width: 100%;
}

body.page-id-1675 .itsos-004-demo-form .gform_wrapper .gform_footer input[type="submit"],
body.page-id-1675 .itsos-004-demo-form .gform_wrapper .gform_button {
  padding: 10px 18px !important;
  font-size: 0.95rem !important;
}

@media (max-width: 749px) {
  body.page-id-1675 .itsos-004-demo-form .gform_wrapper .gfield.gf_left_half,
  body.page-id-1675 .itsos-004-demo-form .gform_wrapper .gfield.gf_right_half {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* —— Cadence toggle + pricing cards + checkout form —— */
body.page-004-channel .itsos-004-cadence-wrap,
body.page-id-1675 .itsos-004-cadence-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 14px 0 20px;
  padding: 0;
  box-sizing: border-box;
}

body.page-004-channel .itsos-004-cadence,
body.page-id-1675 .itsos-004-cadence {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0 auto;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  overflow: visible;
  background: rgba(0, 0, 0, 0.28);
  line-height: 1;
  box-sizing: border-box;
}

body.page-004-channel .itsos-004-cadence button,
body.page-id-1675 .itsos-004-cadence button {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 0 !important;
  border-radius: 7px;
  outline: none;
  box-shadow: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1;
  padding: 11px 20px;
  min-height: 42px;
  height: 42px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  box-sizing: border-box;
}

body.page-004-channel .itsos-004-cadence button.is-active,
body.page-id-1675 .itsos-004-cadence button.is-active {
  background: #ed7511;
  color: #fff;
}

body.page-004-channel .itsos-004-cadence button:hover:not(.is-active),
body.page-id-1675 .itsos-004-cadence button:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.1);
}

body.page-004-channel .itsos-004-cadence button:focus-visible,
body.page-id-1675 .itsos-004-cadence button:focus-visible {
  outline: 2px solid #ff9517;
  outline-offset: 1px;
}

/* Pricing cards: readable commercial sizes */
body.page-004-channel #fasce .itsos-004-price-block,
body.page-id-1675 #fasce .itsos-004-price-block {
  text-align: center;
  line-height: 1.45;
  font-size: 1.08rem;
}

body.page-004-channel #fasce .itsos-004-price-block .itsos-004-price-label,
body.page-id-1675 #fasce .itsos-004-price-block .itsos-004-price-label {
  margin: 0 0 6px;
  font-size: 1.12rem;
  letter-spacing: 0.06em;
  font-weight: 700;
}

body.page-004-channel #fasce .itsos-004-price-block .itsos-004-price-amount,
body.page-id-1675 #fasce .itsos-004-price-block .itsos-004-price-amount {
  margin: 10px 0 12px;
  font-size: clamp(2.35rem, 3.4vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

body.page-004-channel #fasce .itsos-004-price-block .itsos-004-price-amount [data-004-price-unit],
body.page-id-1675 #fasce .itsos-004-price-block .itsos-004-price-amount [data-004-price-unit] {
  font-size: 0.4em;
  font-weight: 600;
  letter-spacing: 0;
  margin-left: 3px;
}

body.page-004-channel #fasce .itsos-004-price-block [data-004-price-note],
body.page-id-1675 #fasce .itsos-004-price-block [data-004-price-note] {
  margin: 0;
  font-size: 1.15rem !important;
  line-height: 1.55 !important;
  opacity: 0.98;
}

body.page-004-channel #fasce .itsos-004-price-block .itsos-004-price-hint,
body.page-id-1675 #fasce .itsos-004-price-block .itsos-004-price-hint {
  margin: 12px 0 0;
  font-size: 1rem;
  line-height: 1.4;
  opacity: 0.92;
}

body.page-004-channel #fasce .itsos-004-price-block .itsos-004-price-cta,
body.page-id-1675 #fasce .itsos-004-price-block .itsos-004-price-cta {
  margin: 18px 0 0;
}

body.page-004-channel #fasce .ux_banner,
body.page-id-1675 #fasce .ux_banner {
  min-height: 440px;
}

/* Form attiva: nascosto al load, si apre a tendina su Attiva Start/Business */
body.page-004-channel #form-attiva-004,
body.page-id-1675 #form-attiva-004 {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  transition:
    grid-template-rows 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease,
    padding 0.45s ease,
    visibility 0s linear 0.55s;
}

body.page-004-channel #form-attiva-004 > .section-content,
body.page-id-1675 #form-attiva-004 > .section-content {
  overflow: hidden;
  min-height: 0;
}

body.page-004-channel #form-attiva-004.is-open,
body.page-id-1675 #form-attiva-004.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  padding-top: 70px !important;
  padding-bottom: 70px !important;
  transition:
    grid-template-rows 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease 0.05s,
    padding 0.45s ease,
    visibility 0s linear 0s;
}

@media (max-width: 849px) {
  body.page-004-channel #form-attiva-004.is-open,
  body.page-id-1675 #form-attiva-004.is-open {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-004-channel #form-attiva-004,
  body.page-id-1675 #form-attiva-004,
  body.page-004-channel #form-attiva-004.is-open,
  body.page-id-1675 #form-attiva-004.is-open {
    transition: none;
  }
}

body.page-004-channel .itsos-004-checkout,
body.page-id-1675 .itsos-004-checkout {
  padding: 8px 4px 12px;
}

body.page-004-channel .itsos-004-checkout-grid,
body.page-id-1675 .itsos-004-checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}

body.page-004-channel .itsos-004-checkout-field,
body.page-id-1675 .itsos-004-checkout-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.page-004-channel .itsos-004-checkout-field.is-full,
body.page-id-1675 .itsos-004-checkout-field.is-full {
  grid-column: 1 / -1;
}

body.page-004-channel .itsos-004-checkout label,
body.page-id-1675 .itsos-004-checkout label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #2a2a2a;
}

body.page-004-channel .itsos-004-checkout input,
body.page-004-channel .itsos-004-checkout select,
body.page-id-1675 .itsos-004-checkout input,
body.page-id-1675 .itsos-004-checkout select {
  padding: 9px 11px;
  min-height: 42px;
  border: 1px solid #d8d5d0;
  border-radius: 4px;
  font: inherit;
  font-size: 0.95rem;
  background: #fff;
}

body.page-004-channel .itsos-004-checkout input:focus,
body.page-004-channel .itsos-004-checkout select:focus,
body.page-id-1675 .itsos-004-checkout input:focus,
body.page-id-1675 .itsos-004-checkout select:focus {
  outline: 2px solid rgba(237, 117, 17, 0.35);
  border-color: #ed7511;
}

body.page-004-channel .itsos-004-checkout-summary,
body.page-id-1675 .itsos-004-checkout-summary {
  margin: 4px 0 2px;
  padding: 10px 12px;
  background: #fff8f0;
  border-left: 3px solid #ed7511;
  font-weight: 600;
  color: #2a2a2a;
}

body.page-004-channel .itsos-004-checkout-privacy,
body.page-id-1675 .itsos-004-checkout-privacy {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #444;
}

body.page-004-channel .itsos-004-checkout-privacy input,
body.page-id-1675 .itsos-004-checkout-privacy input {
  min-height: 0;
  margin-top: 3px;
}

body.page-004-channel .itsos-004-checkout-actions,
body.page-id-1675 .itsos-004-checkout-actions {
  margin-top: 6px;
}

body.page-004-channel .itsos-004-checkout-actions button,
body.page-id-1675 .itsos-004-checkout-actions button {
  appearance: none;
  border: 0;
  background: #ed7511;
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 22px;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
}

body.page-004-channel .itsos-004-checkout-actions button:disabled,
body.page-id-1675 .itsos-004-checkout-actions button:disabled {
  opacity: 0.65;
  cursor: wait;
}

body.page-004-channel .itsos-004-checkout-status,
body.page-id-1675 .itsos-004-checkout-status {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.4;
}

body.page-004-channel .itsos-004-checkout-status.is-pending,
body.page-id-1675 .itsos-004-checkout-status.is-pending {
  color: #555;
}

body.page-004-channel .itsos-004-checkout-status.is-ok,
body.page-id-1675 .itsos-004-checkout-status.is-ok {
  color: #1a7a3a;
}

body.page-004-channel .itsos-004-checkout-status.is-err,
body.page-id-1675 .itsos-004-checkout-status.is-err {
  color: #b00020;
}

@media (max-width: 749px) {
  body.page-004-channel .itsos-004-checkout-grid,
  body.page-id-1675 .itsos-004-checkout-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Form stage: aurora + griglia in movimento (attiva + demo) —— */
body.page-004-channel #form-demo-004,
body.page-id-1675 #form-demo-004,
body.page-004-channel #form-attiva-004.is-open,
body.page-id-1675 #form-attiva-004.is-open {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 55% at 12% 18%, rgba(255, 149, 23, 0.28) 0%, transparent 58%),
    radial-gradient(ellipse 55% 50% at 88% 78%, rgba(237, 117, 17, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 45% 40% at 72% 12%, rgba(255, 200, 120, 0.14) 0%, transparent 50%),
    linear-gradient(155deg, #1a1c22 0%, #24262c 38%, #2a241c 72%, #1e1a16 100%) !important;
  color: rgba(255, 255, 255, 0.92);
}

/* Flatsome mette il bg su .section-bg — lo spegniamo e usiamo il nostro layer */
body.page-004-channel #form-demo-004 > .section-bg,
body.page-id-1675 #form-demo-004 > .section-bg,
body.page-004-channel #form-attiva-004.is-open > .section-bg,
body.page-id-1675 #form-attiva-004.is-open > .section-bg {
  background: transparent !important;
  opacity: 0 !important;
}

body.page-004-channel #form-demo-004::before,
body.page-id-1675 #form-demo-004::before,
body.page-004-channel #form-attiva-004.is-open::before,
body.page-id-1675 #form-attiva-004.is-open::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle 42vmin at 20% 30%, rgba(237, 117, 17, 0.45) 0%, transparent 55%),
    radial-gradient(circle 36vmin at 78% 22%, rgba(255, 168, 60, 0.32) 0%, transparent 52%),
    radial-gradient(circle 48vmin at 55% 85%, rgba(237, 117, 17, 0.28) 0%, transparent 58%),
    radial-gradient(circle 28vmin at 90% 60%, rgba(255, 210, 140, 0.18) 0%, transparent 50%);
  filter: blur(8px);
  animation: itsos-004-aurora-drift 18s ease-in-out infinite alternate;
  will-change: transform;
}

body.page-004-channel #form-demo-004::after,
body.page-id-1675 #form-demo-004::after,
body.page-004-channel #form-attiva-004.is-open::after,
body.page-id-1675 #form-attiva-004.is-open::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.38;
  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: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 15%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 15%, transparent 78%);
  animation: itsos-004-grid-drift 28s linear infinite;
  will-change: background-position;
}

@keyframes itsos-004-aurora-drift {
  0% {
    transform: translate3d(-4%, -2%, 0) scale(1) rotate(0deg);
  }
  33% {
    transform: translate3d(5%, 3%, 0) scale(1.06) rotate(2deg);
  }
  66% {
    transform: translate3d(-2%, 6%, 0) scale(1.03) rotate(-1.5deg);
  }
  100% {
    transform: translate3d(3%, -4%, 0) scale(1.08) rotate(1deg);
  }
}

@keyframes itsos-004-grid-drift {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 56px 56px, 56px 56px;
  }
}

body.page-004-channel #form-demo-004 > .section-content,
body.page-id-1675 #form-demo-004 > .section-content,
body.page-004-channel #form-attiva-004.is-open > .section-content,
body.page-id-1675 #form-attiva-004.is-open > .section-content {
  position: relative;
  z-index: 1;
}

/* Testi chiari sul nuovo stage scuro */
body.page-004-channel #form-demo-004 .section-title-main,
body.page-id-1675 #form-demo-004 .section-title-main,
body.page-004-channel #form-attiva-004.is-open .section-title-main,
body.page-id-1675 #form-attiva-004.is-open .section-title-main,
body.page-004-channel #form-demo-004 h2,
body.page-id-1675 #form-demo-004 h2,
body.page-004-channel #form-attiva-004.is-open h2,
body.page-id-1675 #form-attiva-004.is-open h2 {
  color: #fff !important;
}

body.page-004-channel #form-demo-004 .ux-text p,
body.page-id-1675 #form-demo-004 .ux-text p,
body.page-004-channel #form-attiva-004.is-open .ux-text p,
body.page-id-1675 #form-attiva-004.is-open .ux-text p,
body.page-004-channel #form-demo-004 .ux-text li,
body.page-id-1675 #form-demo-004 .ux-text li,
body.page-004-channel #form-attiva-004.is-open .ux-text li,
body.page-id-1675 #form-attiva-004.is-open .ux-text li {
  color: rgba(255, 255, 255, 0.88) !important;
}

body.page-004-channel #form-demo-004 a,
body.page-id-1675 #form-demo-004 a,
body.page-004-channel #form-attiva-004.is-open a,
body.page-id-1675 #form-attiva-004.is-open a {
  color: #ffb84d;
}

body.page-004-channel #form-demo-004 a:hover,
body.page-id-1675 #form-demo-004 a:hover,
body.page-004-channel #form-attiva-004.is-open a:hover,
body.page-id-1675 #form-attiva-004.is-open a:hover {
  color: #ffd089;
}

/* Pannello form: vetro chiaro leggibile */
body.page-004-channel #form-demo-004 .col[style*="background"],
body.page-id-1675 #form-demo-004 .col[style*="background"],
body.page-004-channel #form-attiva-004.is-open .col[style*="background"],
body.page-id-1675 #form-attiva-004.is-open .col[style*="background"],
body.page-004-channel #form-demo-004 .col-inner[style*="background"],
body.page-id-1675 #form-demo-004 .col-inner[style*="background"],
body.page-004-channel #form-attiva-004.is-open .col-inner[style*="background"],
body.page-id-1675 #form-attiva-004.is-open .col-inner[style*="background"] {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(12px) saturate(1.15);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.35) inset;
  border-radius: 10px;
}

body.page-004-channel #form-attiva-004.is-open .itsos-004-checkout,
body.page-id-1675 #form-attiva-004.is-open .itsos-004-checkout,
body.page-004-channel #form-demo-004 .itsos-004-demo-form,
body.page-id-1675 #form-demo-004 .itsos-004-demo-form {
  position: relative;
  z-index: 1;
}

body.page-004-channel #form-attiva-004.is-open .itsos-004-checkout label,
body.page-id-1675 #form-attiva-004.is-open .itsos-004-checkout label {
  color: #2a2a2a;
}

body.page-004-channel #form-attiva-004.is-open .itsos-004-checkout-summary,
body.page-id-1675 #form-attiva-004.is-open .itsos-004-checkout-summary {
  background: rgba(255, 248, 240, 0.95);
  color: #2a2a2a;
}

body.page-004-channel #form-attiva-004.is-open .itsos-004-checkout-privacy,
body.page-id-1675 #form-attiva-004.is-open .itsos-004-checkout-privacy {
  color: #444;
}

body.page-004-channel #form-attiva-004.is-open .itsos-004-checkout-privacy a,
body.page-id-1675 #form-attiva-004.is-open .itsos-004-checkout-privacy a {
  color: #ed7511;
}

@media (prefers-reduced-motion: reduce) {
  body.page-004-channel #form-demo-004::before,
  body.page-id-1675 #form-demo-004::before,
  body.page-004-channel #form-attiva-004.is-open::before,
  body.page-id-1675 #form-attiva-004.is-open::before,
  body.page-004-channel #form-demo-004::after,
  body.page-id-1675 #form-demo-004::after,
  body.page-004-channel #form-attiva-004.is-open::after,
  body.page-id-1675 #form-attiva-004.is-open::after {
    animation: none;
  }
}

/* —— Guida download modal —— */
.itsos-004-guide-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0s linear 0.28s;
}

.itsos-004-guide-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.28s ease, visibility 0s linear 0s;
}

.itsos-004-guide-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 18, 0.72);
  backdrop-filter: blur(4px);
}

.itsos-004-guide-modal__panel {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  background: #fff;
  color: #1a1a1a;
  border-radius: 10px;
  padding: 28px 26px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(12px);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.itsos-004-guide-modal.is-open .itsos-004-guide-modal__panel {
  transform: translateY(0);
}

.itsos-004-guide-modal__x {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: #666;
}

.itsos-004-guide-modal__eyebrow {
  margin: 0 0 6px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #ed7511;
}

.itsos-004-guide-modal__panel h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.25;
  color: #12141a;
}

.itsos-004-guide-modal__lead {
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444;
}

.itsos-004-guide-modal__panel label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.itsos-004-guide-modal__panel input[type="email"] {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d8d5d0;
  border-radius: 4px;
  font: inherit;
  font-size: 1rem;
  margin-bottom: 10px;
}

.itsos-004-guide-modal__panel input[type="email"]:focus {
  outline: 2px solid rgba(237, 117, 17, 0.35);
  border-color: #ed7511;
}

.itsos-004-guide-modal__note {
  margin: 0 0 14px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #666;
}

.itsos-004-guide-modal__note a {
  color: #ed7511;
}

.itsos-004-guide-modal__submit {
  appearance: none;
  border: 0;
  width: 100%;
  background: #ed7511;
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 18px;
  border-radius: 4px;
  cursor: pointer;
}

.itsos-004-guide-modal__submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.itsos-004-guide-modal__status {
  margin: 10px 0 0;
  font-size: 0.88rem;
}

.itsos-004-guide-modal__status.is-pending { color: #555; }
.itsos-004-guide-modal__status.is-ok { color: #1a7a3a; }
.itsos-004-guide-modal__status.is-err { color: #b00020; }

body.page-004-channel .itsos-004-download-guide,
body.page-id-1675 .itsos-004-download-guide,
body.page-004-channel a.button.itsos-004-download-guide,
body.page-id-1675 a.button.itsos-004-download-guide {
  margin-left: 0.35rem;
}
