/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jul 09 2026 | 10:04:31 */
/* ====== VARIABILI E RESET MINIMO ====== */
.avs-showcase {
  /* Variabili per spazi, colori e proporzioni */
  --gap: 28px;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --c-title: #0b3b66;
  --c-text: #394655;
  --c-muted: #7a8a99;
  --phone-ratio: 0.479675;
  --screen-top: 2.3229%;
  --screen-right: 4.8426%;
  --screen-bottom: 3.4843%;
  --screen-left: 4.8426%;
  --screen-radius: 24px;
  --phone-frame: url("/wp-content/uploads/2026/03/phone-frame-1.webp");
}

.avs-showcase * {
  box-sizing: border-box;
}

.avs-showcase {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--c-text);
  width: 100%;
  overflow-x: hidden;
}
#btn-account, .btn-account {
    background: #16aa2b !important;
}
/* ====== LAYOUT GRIGLIA ====== */
.avs-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: var(--gap);
  align-items: center;
}

.avs-col, .avs-phone {
  min-width: 0;
}

.avs-col {
  display: grid;
  gap: var(--gap);
}

/* ====== TELEFONO CENTRALE ====== */
.avs-phone {
  position: relative;
  height: 900px;
  aspect-ratio: var(--phone-ratio);
  margin-inline: auto;
}

/* Stile per il frame del telefono */
.avs-phone::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--phone-frame);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 2;
  pointer-events: none; /* Evita che il frame intercetti i click */
}

/* Stile per la finestra dello schermo */
.avs-screen-wrap {
  position: absolute;
  z-index: 1;
  top: var(--screen-top);
  right: var(--screen-right);
  bottom: var(--screen-bottom);
  left: var(--screen-left);
  overflow: hidden;
  border-radius: var(--screen-radius);
}

.avs-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .35s ease;
}

.avs-screen.is-fading {
  opacity: 0;
}

/* ====== BOX FUNZIONE ====== */
.avs-box {
  background: transparent;
  border-radius: var(--radius);
  box-shadow: none;
  padding: 18px 18px;
  cursor: pointer;
  transition: all .25s ease;
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.avs-box:hover,
.avs-box.is-active {
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.avs-title {
  color: var(--c-title);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.2;
  margin: 0 0 8px 0;
  letter-spacing: .2px;
}

.avs-desc {
  margin: 0;
  line-height: 1.55;
  color: var(--c-muted);
  font-size: 15px;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1200px) {
  .avs-phone {
    height: 780px;
  }
}

@media (max-width: 1024px) {
  .avs-phone {
    height: 680px;
  }
}

@media (max-width: 900px) {
  .avs-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .avs-col {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .avs-phone {
    order: -1;
    height: 500px;
    margin-bottom: 24px;
    
    /* Regole per mantenere il telefono visibile durante lo scroll */
    position: sticky;
    top: 20px;
    z-index: 10;
  }
}

@media (max-width: 560px) {
  .avs-col {
    grid-template-columns: 1fr;
  }

  .avs-phone {
    height: 420px;
  }
}