:root {
   --cc-bg: #212736!important;
  --primary: #0f172a;
  --bg: #f8fafc;
  --card: #fff;
  --fg: #f8fafc;
  --fgd: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --fg-60: rgba(248, 250, 252, .60);
  --fg-50: rgba(248, 250, 252, .50);
  --fg-40: rgba(248, 250, 252, .40);
  --fg-35: rgba(248, 250, 252, .35);
  --fg-30: rgba(248, 250, 252, .30);
  --accent: #d4aa3c;
  --accent-90: rgba(212, 170, 60, .90);
  --accent-15: rgba(212, 170, 60, .15);
  --accent-10: rgba(212, 170, 60, .10);
  --accent-06: rgba(212, 170, 60, .06);
  --accent-03: rgba(212, 170, 60, .03);
  --accent-sh: rgba(212, 170, 60, .20);
  --w05: rgba(255, 255, 255, .05);
  --w06: rgba(255, 255, 255, .06);
  --w07: rgba(255, 255, 255, .07);
  --w08: rgba(255, 255, 255, .08);
  --w15: rgba(255, 255, 255, .15);
  --w30: rgba(255, 255, 255, .30);
  --nav-h: 64px;
  --max-w: 1280px;
  --r2xl: 16px;
  --rxl: 12px;
  --rlg: 10px;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--primary);
  color: var(--fg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: inherit;
}
.hidden {
  display: none;
}
@keyframes navIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes barGrow {
  to {
    transform: scaleY(1);
  }
}
@keyframes slideInL {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInR {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.reveal {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.from-bottom {
  transform: translateY(30px);
}
.reveal.from-left {
  transform: translateX(-30px);
}
.reveal.from-right {
  transform: translateX(30px);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
nav#site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(15, 23, 42, .95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--w05);
  opacity: 0;
  transform: translateY(-20px);
  animation: navIn 0.6s ease forwards;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg {
  width: 16px;
  height: 16px;
}
.logo-wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.025em;
}
.logo-wordmark span {
  color: var(--accent);
}
.nav-links {
  display: none;
}
@media (min-width: 768px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 1rem;
  }
}
.nav-links a:not(.nav-cta) {
  color: rgba(248, 250, 252, .70);
  transition: color 0.3s;
}
.nav-links a:not(.nav-cta):hover {
  color: var(--accent);
}
.nav-cta {
  margin-left: 8px;
  padding: 8px 20px;
  background: var(--accent);
  color: black !important;
  font-weight: 600;
  border-radius: var(--rlg);
  transition: background 0.3s;
  font-size: 1rem;
}
.nav-cta:hover {
  background: var(--accent-90);
  color: black !important;
}
section#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary);
}
.bg-circle-tr {
  position: absolute;
  top: 0;
  right: 0;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: var(--accent-06);
  transform: translate(33%, -50%);
  pointer-events: none;
}
.bg-circle-bl {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: var(--accent-03);
  transform: translate(-25%, 50%);
  pointer-events: none;
}
.bg-radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(212, 170, 60, .06) 0%, transparent 60%);
  pointer-events: none;
}
.bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding: 100px 20px 60px;
}
@media (min-width: 768px) {
  .hero-content {
    padding: 128px 24px 80px;
  }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 9999px;
  background: var(--accent-10);
  border: 1px solid rgba(212, 170, 60, .20);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s 0.2s ease forwards;
}
.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s 0.35s ease forwards;
  text-wrap: balance;
}
@media (min-width: 768px) {
  .hero-h1 {
    font-size: clamp(2.4rem, 3.4vw, 3.4rem);
  }
}
.hero-h1 .accent {
  color: var(--accent);
}
.hero-p1 {
  color: var(--fg-60);
  font-size: 1.125rem;
  line-height: 1.75;
  max-width: 576px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s 0.5s ease forwards;
  text-wrap: balance;
}
.hero-p1.accent {
  color: var(--accent);
}
.hero-p2 {
  color: var(--fg-50);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 576px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s 0.6s ease forwards;
  text-wrap: balance;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s 0.75s ease forwards;
}
.hero-friction {
  font-size: 0.8rem;
  color: var(--fg-40);
  margin-top: 12px;
  letter-spacing: 0.015em;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent);
  color: var(--primary);
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  border-radius: var(--rxl);
  box-shadow: 0 4px 20px var(--accent-sh);
  transition: background 0.3s, transform 0.2s;
}
.btn-primary svg {
  transition: transform 0.3s;
}
.btn-primary:hover {
  background: var(--accent-90);
  transform: translateY(-1px);
}
.btn-primary:hover svg {
  transform: translateX(4px);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1px solid var(--w15);
  color: rgba(248, 250, 252, .80);
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  border-radius: var(--rxl);
  transition: border-color 0.3s, color 0.3s;
}
.btn-outline:hover {
  border-color: var(--w30);
  color: var(--fg);
}
.hero-kpi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s 0.5s ease forwards;
}
@media (min-width: 768px) {
  .hero-kpi {
    gap: 16px;
    transform: translateX(30px);
    animation: fadeRight 0.8s 0.5s ease forwards;
  }
}
.kpi-card {
  background: var(--w05);
  border: 1px solid var(--w08);
  border-radius: var(--r2xl);
  padding: 24px;
}
.kpi-card.span2 {
  grid-column: span 2;
}
.kpi-card.accent-bg {
  background: var(--accent-10);
  border-color: var(--accent-15);
}
.kpi-card.accent-bg .kpi-label {
  color: rgba(212, 170, 60, .60);
}
.kpi-card.minimal {
  background: rgba(255, 255, 255, .03);
  border-color: var(--w06);
}
.kpi-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-40);
  margin-bottom: 8px;
}
.kpi-value {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}
.kpi-value.xl {
  font-size: 2.4rem;
}
@media (min-width: 768px) {
  .kpi-value.xl {
    font-size: 3rem;
  }
}
.kpi-value.lg {
  font-size: 2rem;
}
@media (min-width: 768px) {
  .kpi-value.lg {
    font-size: 2.5rem;
  }
}
.kpi-value.md {
  font-size: 1.5rem;
}
.kpi-value.accent {
  color: var(--accent);
}
.kpi-value.muted {
  color: rgba(248, 250, 252, .70);
}
.kpi-unit {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--fg-50);
  margin-left: 8px;
}
.kpi-sub {
  font-size: 0.75rem;
  color: var(--fg-30);
  margin: 16px 0 24px;
}
.kpi-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.bar-chart {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  height: 32px;
  margin-top: 16px;
}
.bar-chart .bar {
  flex: 1;
  border-radius: 2px;
  background: rgba(212, 170, 60, .30);
  transform-origin: bottom;
  transform: scaleY(0);
}
.bars-wrap {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  height: auto;
  min-height: 40px;
  overflow: visible;
}
@media (min-width: 768px) {
  .bars-wrap {
    min-height: 56px;
  }
}
section#dati {
  position: relative;
  padding: 100px 0;
  background: var(--bg);
  overflow: hidden;
}
section#dati .bg-blob {
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--accent-03);
  transform: translate(50%, -25%);
  pointer-events: none;
}
section#dati .section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
section#dati .section-head {
  margin-bottom: 80px;
}
section#dati .data-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
@media (min-width: 768px) {
  section#dati .data-grid {
    grid-template-columns: 2fr 3fr;
  }
}
.section-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, .05);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-title-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 768px) {
  .section-title-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.section-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--fgd);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 440px;
}
.section-h2 .accent {
  color: var(--accent);
}
.section-desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 400px;
}
@media (min-width: 768px) {
  .section-desc {
    text-align: right;
  }
}
.data-feature-card {
  background: var(--primary);
  border-radius: var(--r2xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-height: max-content;
  margin: auto;
}
.data-feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 16px;
}
.data-feature-card p {
  color: rgba(248, 250, 252, .50);
  font-size: 1.15rem;
  line-height: 1.75;
}
.data-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--accent-15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.data-feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}
@media (min-width: 768px) {
  .data-feature-icon {
    width: 60px;
    height: 60px;
  }
  .data-feature-icon svg {
    width: 48px;
    height: 48px;
  }
}
.data-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 768px) {
  .data-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 16px;
    margin-bottom: 80px;
  }
}
.data-list-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--rxl);
  padding: 16px 24px;
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s, box-shadow 0.3s;
  cursor: default;
}
.data-list-item:hover {
  border-color: rgba(212, 170, 60, .20);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
}
.data-list-item:hover .data-list-icon {
  background: var(--accent-10);
}
.data-list-item:hover .data-list-icon svg {
  color: var(--accent);
  opacity: 1;
}
@media (min-width: 768px) {
  .data-list-item {
    justify-content: center;
    height: 100%;
    flex-direction: column;
  }
  .data-list-item:nth-child(2), .data-list-item:nth-child(4) {
    margin-top: 48px;
  }
}
.data-list-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: background 0.3s;
}
.data-list-icon svg {
  width: 16px;
  height: 16px;
  color: var(--fgd);
  transition: color 0.3s;
  opacity: 0.5;
}
@media (min-width: 768px) {
  .data-list-icon {
    width: 48px;
    height: 48px;
  }
  .data-list-icon svg {
    width: 36px;
    height: 36px;
  }
}
.data-list-text h3 {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--fgd);
  margin-bottom: 8px;
}
.data-list-text p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
}
.data-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* minmax(0) previene overflow */
  gap: 16px;
  border-radius: var(--r2xl);
  overflow: hidden;
}
@media (min-width: 768px) {
  .data-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
.data-stat {
  background: var(--accent-10);
  padding: 32px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--rxl);
}
.data-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.data-stat-label {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--fgd);
  margin-bottom: 4px;
}
.data-stat-sub {
  font-size: 1rem;
  color: var(--muted);
}
.data-kpi-phases {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.data-kpi-phase {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-60);
}
.data-kpi-phase-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.data-kpi-phase-arrow {
  font-size: 0.85rem;
  color: var(--fg-35);
}
section#soluzioni {
  position: relative;
  padding: 100px 0;
  background: var(--primary);
}
section#soluzioni .section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  color: var(--fg);
}
section#soluzioni .sol-head {
  text-align: center;
  margin-bottom: 64px;
}
section#soluzioni .sol-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.1;
}
section#soluzioni .sol-h2 .accent {
  color: var(--accent);
}
section#soluzioni .sol-desc {
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto;
}
.sol-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .sol-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.sol-card {
  background: var(--w05);
  border: 1px solid var(--w08);
  border-radius: var(--r2xl);
  padding: 24px;
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.5s, border-color 0.5s;
  cursor: default;
}
.sol-card:hover {
  box-shadow: 0 8px 32px rgba(15, 23, 42, .08);
  border-color: rgba(212, 170, 60, .20);
}
.sol-card:hover .sol-card-icon {
  background: var(--accent-10);
}
.sol-card:hover .sol-card-icon svg {
  color: var(--accent);
}
.sol-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}
.sol-card p {
  font-size: 1rem;
  color: var(--fg-60);
  line-height: 1.7;
}
.sol-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(15, 23, 42, .05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.5s;
}
.sol-card-icon svg {
  width: 20px;
  height: 20px;
  color: rgba(248, 250, 252, .30);
  transition: color 0.5s;
}
section#piattaforma {
  position: relative;
  padding: 100px 0;
  background: var(--primary);
  overflow: hidden;
}
section#piattaforma .bg-radial2 {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at bottom left, rgba(212, 170, 60, .04) 0%, transparent 50%);
}
section#piattaforma .section-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
section#piattaforma .plat-head {
  text-align: center;
  margin-bottom: 56px;
}
section#piattaforma .plat-head .section-badge {
  background: var(--accent-10);
  border: 1px solid rgba(212, 170, 60, .20);
  color: var(--accent);
}
section#piattaforma .plat-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  line-height: 1.1;
}
section#piattaforma .plat-h2 .accent {
  color: var(--accent);
}
section#piattaforma .plat-desc {
  color: var(--fg-50);
  font-size: 1.125rem;
  line-height: 1.75;
  max-width: 672px;
  margin: 0 auto;
}
.plat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
@media (min-width: 768px) {
  .plat-grid {
    grid-template-columns: 2fr 3fr;
  }
}
.plat-tabs {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
@media (min-width: 768px) {
  .plat-tabs {
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
}
.plat-tab {
  display: flex;
  align-items: center;
  border: 1px solid var(--w05);
  background: var(--w05);
  color: rgba(248, 250, 252, .45);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
  font-family: 'DM Sans', sans-serif;
  flex-shrink: 0;
  gap: 0;
  padding: 9px 16px;
  border-radius: 9999px;
  white-space: nowrap;
  justify-content: center;
}
@media (min-width: 768px) {
  .plat-tab {
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--rxl);
    white-space: normal;
    justify-content: flex-start;
    text-align: left;
  }
}
.plat-tab:hover:not(.active) {
  background: rgba(255, 255, 255, .05);
  color: rgba(248, 250, 252, .70);
}
.plat-tab.active {
  background: var(--accent-10);
  border-color: rgba(212, 170, 60, .25);
  color: var(--fg);
}
.plat-tab.active .plat-tab-icon {
  color: var(--accent);
}
.plat-tab-icon {
  display: none;
}
@media (min-width: 768px) {
  .plat-tab-icon {
    display: block;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: rgba(248, 250, 252, .30);
    transition: color 0.25s;
  }
}
.plat-tab-label {
  display: none;
}
@media (min-width: 768px) {
  .plat-tab-label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
  }
}
.plat-tab-label-short {
  display: inline;
  font-size: 0.8rem;
  font-weight: 600;
}
@media (min-width: 768px) {
  .plat-tab-label-short {
    display: none;
  }
}
.plat-panel {
  background: var(--w05);
  border: 1px solid var(--w08);
  border-radius: var(--r2xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 320px;
  animation: panelIn 0.35s ease forwards;
}
.plat-panel:not(.active) {
  display: none;
}
.plat-panel h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 24px;
  line-height: 1.3;
}
.plat-panel-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}
.plat-panel-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}
.plat-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plat-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: var(--fg-60);
  line-height: 1.5;
}
.plat-bullets li svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--accent);
  margin-top: 2px;
}
section#problema {
  position: relative;
  padding: 100px 0;
  background: var(--bg);
}
section#problema .section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
section#problema .section-head {
  margin-bottom: 80px;
}
.problema-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
}
@media (min-width: 768px) {
  .problema-header {
    flex-wrap: nowrap;
  }
}
.problema-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  background: #fdf0f0;
  color: #c0392b;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.problema-h2 {
  font-size: 28px;
  font-weight: 500;
  color: var(--primary);
  margin: 0;
}
.problema-subtitle {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
  max-width: 100%;
  text-align: left;
  margin: 0;
}
@media (min-width: 768px) {
  .problema-subtitle {
    max-width: 350px;
    text-align: right;
    flex-shrink: 0;
  }
}
.problema-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.problema-row:last-child {
  border-bottom: none;
}
@media (min-width: 768px) {
  .problema-row {
    flex-wrap: nowrap;
    gap: 2rem;
  }
}
.problema-num {
  font-family: monospace;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.12em;
  flex-shrink: 0;
  width: 20px;
  opacity: 0.5;
  order: 1;
}
@media (min-width: 768px) {
  .problema-num {
    order: unset;
  }
}
.problema-title {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary);
  width: 100%;
  flex-shrink: 0;
  line-height: 1.35;
  margin: 0;
  order: 2;
}
@media (min-width: 768px) {
  .problema-title {
    width: 260px;
    order: unset;
  }
}
.problema-line {
  display: none;
}
@media (min-width: 768px) {
  .problema-line {
    display: block;
    flex: 1;
    height: 0.5px;
    background: #e0e0e0;
    min-width: 40px;
  }
}
.problema-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  width: 100%;
  flex-shrink: 0;
  margin: 0;
  order: 3;
}
@media (min-width: 768px) {
  .problema-text {
    width: 450px;
    order: unset;
    white-space: break-spaces;
  }
}
.problema-watermark {
  display: none;
}
@media (min-width: 768px) {
  .problema-watermark {
    display: block;
    position: absolute;
    right: 0;
    top: 65%;
    transform: translateY(-50%);
    font-size: 8rem;
    font-weight: 500;
    color: var(--primary);
    opacity: 0.05;
    line-height: 1;
    user-select: none;
    pointer-events: none;
  }
}
section#cta {
  position: relative;
  padding: 120px 0;
  background: var(--bg);
  overflow: hidden;
}
section#cta .bg-radial-cta {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(212, 170, 60, .07) 0%, transparent 60%);
}
section#cta .cta-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.cta-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.cta-h2 .accent {
  color: var(--accent);
}
.cta-desc {
  color: var(--primary);
  font-size: 1.125rem;
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 40px;
}
.cta-friction {
  font-size: 0.8rem;
  color: rgba(248, 250, 252, .35);
  margin-top: 14px;
  letter-spacing: 0.015em;
}
footer#contatti {
  background: var(--primary);
  border-top: 1px solid var(--w05);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.footer-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo-icon svg {
  width: 16px;
  height: 16px;
}
.footer-wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.025em;
}
.footer-wordmark span {
  color: var(--accent);
}
.footer-tagline {
  color: rgba(248, 250, 252, .40);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 400px;
}
@media (min-width: 768px) {
  .footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
  }
}
.footer-right h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}
.footer-right p {
  color: rgba(248, 250, 252, .40);
  font-size: 1rem;
  margin-bottom: 16px;
}
.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--rxl);
  transition: color 0.3s;
}
.footer-email:hover {
  color: var(--accent-90);
  text-decoration: underline !important;
}
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

#form-message {
  margin-top:16px;
  width:100%;
  text-align: center;
}
#form-message p{
  color: var(--fg);
  margin: 16px 0px 0px 0px;
  font-size: .9rem;
  text-align: center;
}

@media (min-width: 768px) {
  #contact-form {
    max-width: 450px;
  }
  #form-message {
    max-width: 450px;
    width: 100%;
    margin-top: 16px;
  }
}

#form-message p.error {
  color: #ef6c60;
}
#contact-form input {
  padding: 16px;
  background: var(--w05);
  border: 1px solid var(--w08);
  border-radius: var(--r2xl);
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid var(--w05);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}
.footer-copy, .footer-credit {
  font-size: 0.85rem;
  color: rgba(248, 250, 252, .30);
}
.footer-credit span {
  color: rgba(248, 250, 252, .40);
  font-weight: 500;
}


#cc-main .cm{
  .cm__btn-group:nth-child(1) button:nth-child(1) {
    background: var(--accent)!important;
    border-color: var(--accent)!important;
  }
  .cm__btn-group:nth-child(1) button:nth-child(2),
  .cm__btn-group:nth-child(2) button:nth-child(1) {
    color: var(--fg)!important;
    background: var(--primary)!important;
    border-color: var(--primary)!important;
  }

  .cm__btn-group:nth-child(1) button:nth-child(1):hover {
    filter: brightness(1.1);
  }
  .cm__btn-group:nth-child(1) button:nth-child(2):hover ,
  .cm__btn-group:nth-child(2) button:nth-child(1):hover  {
    filter: brightness(1.3);
  }
}
