/*FONT*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* VARIABILI COLORI */
:root {
  --color-primary: #003870;
  --color-primary-light: #0077c8;
  --color-accent: #00b7ff;
  --color-grey-dark: #333;
  --color-grey-light: #f2f2f2;
  --color-white: #fff;
}

/* ===========================
   RESET E BASE
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-size: 48.5%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* CONTENITORI E GRID */
.container {
  width: 90%;
  max-width: 200rem;
  margin: 0 auto;
  margin-top: 4rem;
}

.grid {
  display: grid;
  gap: 5rem;
}

.grid--2-cols {
  grid-template-columns: repeat(2, 1fr);
}
.grid--4-cols {
  grid-template-columns: repeat(3, 1fr);
}

/* TIPOGRAFIA */
.heading-primary {
  font-size: 6rem;
  color: #d6eaff;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2.4rem;
}

.heading-secondary {
  font-size: 3rem;
  font-weight: 600;
  color: #094e93;
  margin-bottom: 2rem;
  text-align: center;
}

.heading-tertiary {
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 1.2rem;
}

.subheading {
  font-size: 2.3rem;
  color: var(--color-grey-dark);
  text-align: center;
  margin-bottom: 4.8rem;
}

/* ===========================
   HEADER
=========================== */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-white);
  height: 12.5rem;
  padding: 0 4.8rem;
  position: relative; 
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
  transition: all 0.3s ease;
}
.header.scrolled {
  height: 9rem; /* Diventa piÃ¹ piccola */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); /* Ombra piÃ¹ marcata */
}
.header.scrolled .logo {
  height: 80px; /* Logo piÃ¹ piccolo quando scrolli */
  transition: height 0.3s ease;
}

.logo {
  height: 70px;
  margin-left: 30px;
}

/* HAMBURGER */

.mobile-nav-footer {
  display: none;
}
.btn-mobile-nav {
  border: none;
  background-color: #e9e9e9;
  color: var(--color-accent);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  padding: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
   width: 40px;
  height: 40px;
}

.btn-mobile-nav:hover {
  background: rgb(221, 220, 220);
  transform: scale(1.05);
}
.btn-mobile-nav:active {
  transform: scale(0.95);
}

.hamburger {
  width: 30px;
  height: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-primary-light);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.header.nav-open .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}
.header.nav-open .hamburger span:nth-child(2) {
  opacity: 0;
}
.header.nav-open .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}


.header.nav-open .main-nav {
  right: 0;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 900;
  display: none; 
}

.header.nav-open .nav-overlay {
  pointer-events: all;
  opacity: 1;
}

.main-nav-list {
  display: flex;
  list-style: none;
  gap: 3.2rem;
}
.main-nav-list li {
  animation: slideInFromTop 0.5s ease forwards;
}
.main-nav-list li:nth-child(1) {
  animation-delay: 0.1s;
}
.main-nav-list li:nth-child(2) {
  animation-delay: 0.2s;
}
.main-nav-list li:nth-child(3) {
  animation-delay: 0.3s;
}
.main-nav-list li:nth-child(4) {
  animation-delay: 0.4s;
}
.main-nav-list li:nth-child(5) {
  animation-delay: 0.5s;
}

.main-nav-link {
  position: relative;
  text-decoration: none;
  color: var(--color-grey-dark);
  font-weight: 500;
  font-size: 1.9rem;
  transition: all 0.3s ease;
}
.main-nav-link:not(.nav-cta)::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transition: width 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.main-nav-link:not(.nav-cta):hover::after {
  width: 100%;
}

.main-nav-link:not(.nav-cta):hover {
  color: var(--color-primary);
  transform: translateY(-2px);
}

.nav-cta {
  position: relative; 
  z-index: 50; 
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 1.2rem 2.4rem;
  border-radius: 9px;
  cursor: pointer; 
  transition: all 0.3s ease;
}
.nav-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.nav-cta:hover::before {
  width: 300px;
  height: 300px;
}

.nav-cta:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 56, 112, 0.3);
}
.nav-cta:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(0, 56, 112, 0.3);
}

.main-nav-link.nav-cta:hover {
  background-color: var(--color-primary-light);
  color: var(--color-white);
  transform: scale(1.05);
}
.nav-cta:active {
  transform: scale(0.98);
}

/* ===========================
   HERO
=========================== */


.section-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #002f5d 0%, #001a3d 50%, #003870 100%);
  color: var(--color-white);
  padding: 8rem 0 10rem 0;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
/* Forme decorative animate */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}

.section-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
  z-index: 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(0, 183, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 183, 255, 0.3);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.4rem;
  margin-bottom: 3rem;
  animation: slideInDown 0.8s ease-out;
}

.hero-badge ion-icon {
  font-size: 2rem;
  color: #ffea76;
}
.section-featured,
.section-vantaggi,
.section-how {
  padding: 14rem 0;
}
.section-how {
  padding: 8rem 0 5rem;
}
.section-how .container {
  max-width: 150rem; /* Limita larghezza */
}
.section-how .grid {
  gap: 4rem;
}
.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}
  .hero-description {
    font-size: 2rem;
    margin-bottom: 4rem;
    line-height: 1.7;
    color: rgba(233, 244, 255, 0.9);
    animation: fadeInUp 1s ease-out 0.6s backwards;
}
.hero-description.info{
  text-align: center;
  font-size: 2.4rem;
}
.hero-description span{
  color: var(--color-primary);
  font-weight: bold;
}
.hero-description strong {
  color: #00b7ff;
  font-weight: 700;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
  animation: fadeInUp 1s ease-out 0.8s backwards;
}

.hero-stat {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}
.stat-number {
  display: block;
  font-size: 3.5rem;
  font-weight: 800;
  color: #00b7ff;
  margin-bottom: 0.5rem;
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-cta {
  display: flex;
  gap: 2rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 1s backwards;
}

.hero-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.8rem;
  padding: 1.8rem 3.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}
.hero-cta .btn ion-icon {
  font-size: 2.2rem;
  transition: transform 0.3s ease;
}

.hero-cta .btn--full {
  background: linear-gradient(135deg, #00b7ff, #0077c8);
  box-shadow: 0 10px 30px rgba(0, 183, 255, 0.4);
}

.hero-cta .btn--full:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 183, 255, 0.5);
}
.contact-form-box .btn--full-enter:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 183, 255, 0.5);
}
.hero-cta .btn--full:hover ion-icon {
  transform: translateX(5px);
}
.trust-text {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.trust-item ion-icon {
  font-size: 2rem;
  color: #87ff78;
}
/* Hero Image */
.hero-img-box {
  position: relative;
  animation: fadeInRight 1.2s ease-out 0.4s backwards;
}

.hero-img-wrapper {
  position: relative;
}
.hero-img-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(0, 183, 255, 0.3) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
  animation: pulse 4s ease-in-out infinite;
}
.floating-card {
  position: absolute;
  background: white;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-primary);
  z-index: 3;
  backdrop-filter: blur(10px);
  animation: floatCard 3s ease-in-out infinite;
}

.floating-card ion-icon {
  font-size: 2.5rem;
}

.floating-card-1 {
  top: 10%;
  right: -5%;
  animation-delay: 0s;
}

.floating-card-1 ion-icon {
  color: #27ae60;
}

.floating-card-2 {
  top: 50%;
  left: -8%;
  animation-delay: 1s;
}

.floating-card-2 ion-icon {
  color: #e67e22;
}

.floating-card-3 {
  bottom: 15%;
  right: 5%;
  animation-delay: 2s;
}

.floating-card-3 ion-icon {
  color: #9b59b6;
}


.trust-logos {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}
.hero-stat:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 183, 255, 0.2);
}
.section-contatti p{
    color: var(--color-primary);
  }
.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/*HERO TITLE*/
.hero-title {
  font-family: "Montserrat", sans-serif;
  font-size: 5.5rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.2s backwards;
}


.hero-dynamic {
  display: block;
  margin: 2rem 0 3rem;
  font-size: 2.8rem;
  font-weight: 600;
  color: #F9E7B2;
  min-height: 4rem;
  opacity: 1;
  transition: opacity 0.4s ease;
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-img {
  width: 100%;
  border-radius: 2rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 1.6rem;
  padding: 1.6rem 3.2rem;
  border-radius: 9px;
  transition: all 0.3s;
  font-weight: 500;
  margin-right: 1.2rem;
}
/* .btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
} */
.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn--full,
.btn--outline {
  position: relative;
  z-index: 20; /* sopra overlay o altri elementi */
  transition: transform 0.3s ease;

  color: var(--color-white);
}
.btn--full.margin {
  background-color: var(--color-accent);
  font-size:2rem;
}
.btn--outline{
  font-size: 2rem;
}
.btn--full:hover {
  background-color: var(--color-primary-light);
  transform: scale(1.05);
}
.btn--full:active {
  background-color: var(--color-primary-light);
  transform: scale(1.05);
}
.btn--outline {
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
}
.btn--outline:hover {
  background-color: var(--color-grey-light);
  color: var(--color-grey-dark);
  transform: scale(1.05);
}

/*sezione dati*/
.section-dati {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  border-bottom: 0.9px solid var(--color-primary-light);

}
.section-dati::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230077c8' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

.section-dati .container {
  position: relative;
  z-index: 1;
}

/* Header Section */
.dati-header {
  text-align: center;
  margin-bottom: 6rem;
}

.icon-wrapper {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #0077c8, #00b7ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  box-shadow: 0 10px 40px rgba(0, 119, 200, 0.3);
  animation: pulseIcon 3s ease-in-out infinite;
  margin-bottom: 8rem;
}

.timeline--icon{
  background: linear-gradient(135deg, #025994, #0f70cc);

}

.icon-wrapper ion-icon {
  font-size: 5rem;
  color: white;
}
.dati-header .heading-secondary {
  font-size: 4.5rem;
  font-weight: 700;
  color: #003870;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #003870, #0077c8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.subheading-intro {
  font-size: 2.3rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Content Grid */
.dati-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  margin-bottom: 6rem;
}
.dati-text {
  padding: 2rem;
}

.feature-card {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 2.5rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-left: 5px solid var(--color-primary-light);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 119, 200, 0.05), transparent);
  transition: width 0.4s ease;
  z-index: 0;
}

.feature-card:hover::before {
  width: 100%;
}
.feature-card:hover {
  transform: translateX(10px);
  box-shadow: 0 15px 50px rgba(0, 119, 200, 0.15);
}

.feature-card-content {
  position: relative;
  z-index: 1;
}

.feature-number {
  display: inline-flex;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #0077c8, #00b7ff);
  color: white;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 119, 200, 0.3);
}
.feature-card h3 {
  font-size: 2.4rem;
  color: #003870;
  margin-bottom: 1rem;
  font-weight: 600;
}

.feature-card p {
  font-size: 1.7rem;
  color: #666;
  line-height: 1.7;
}

.feature-card strong {
  color: #0077c8;
  font-weight: 600;
}

.dati-image {
  position: relative;
  perspective: 1000px;
}

.image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.image-wrapper:hover {
  transform: translateY(-15px) rotateY(5deg);

}

.dati-image img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}
.image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(0, 183, 255, 0.3) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  animation: glowPulse 4s ease-in-out infinite;
}
.stat-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0077c8, #00b7ff);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.stat-card:hover::after {
  transform: scaleX(1);
}
.stat-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(0, 119, 200, 0.2);
}

.stat-icon {
  font-size: 5rem;
  color: #00b7ff;
  margin-bottom: 1.5rem;
}
.stat-number-dati {
  font-size: 4.5rem;
  font-weight: 800;
  color: #003870;
  margin-bottom: 1rem;
  line-height: 1;
  background: linear-gradient(135deg, #003870, #0077c8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label-dati {
  font-size: 1.6rem;
  color: #666;
  font-weight: 500;
}

.dati-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 6rem;
}

.stat-card {
  background: white;
  padding: 3.5rem 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}
.dati-text strong{
  color: var(--color-primary);
}
.dati-image img {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

}
.dati-image img:hover{
  transform: translateY(-8px);
}
.primary-text {
  color: var(--color-primary);
  font-weight: 600;
}
.cta {
  display: flex;
  justify-content: center;
  color: var(--color-primary);
}

/*==========================
   SOLUZIONI TIMLINE
==========================*/
.section-timeline {
  padding: 10rem 0;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
}

/* Background pattern */
.section-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230077c8' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

.section-timeline .container {
  position: relative;
  z-index: 1;
}

/* Timeline Container */
.timeline {
  position: relative;
  padding: 4rem 0;
  max-width: 1400px;
  margin: 0 auto;
}

/* Linea centrale verticale */
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #0077c8 0%, #00b7ff 50%, #27ae60 100%);
  transform: translateX(-50%);
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0, 119, 200, 0.3);
}

/* Ogni item della timeline */
.timeline-item {
  position: relative;
  margin-bottom: 10rem;
  opacity: 0;
  transform: translateY(80px);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Icona centrale sulla linea */
.timeline-icon {
  position: absolute;
  left: 50%;
  top: 50%;
 transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #0077c8, #00b7ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 119, 200, 0.4);
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 4px solid white;
}

.timeline-icon ion-icon {
  font-size: 4.5rem;
  color: white;
}

.timeline-item:hover .timeline-icon {
  transform: translate(-50%, -50%) scale(1.2) rotate(5deg);
  box-shadow: 0 15px 40px rgba(0, 119, 200, 0.6);
}

/* Colori diversi per ogni icona */
.timeline-item:nth-child(2) .timeline-icon {
  background: linear-gradient(135deg, #e67e22, #f39c12);
  box-shadow: 0 10px 30px rgba(230, 126, 34, 0.4);
}

.timeline-item:nth-child(2):hover .timeline-icon {
  box-shadow: 0 15px 40px rgba(230, 126, 34, 0.6);
}

.timeline-item:nth-child(3) .timeline-icon {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  box-shadow: 0 10px 30px rgba(39, 174, 96, 0.4);
}

.timeline-item:nth-child(3):hover .timeline-icon {
  box-shadow: 0 15px 40px rgba(39, 174, 96, 0.6);
}

/* Content box - alternano lato sinistro/destro */
.timeline-content {
  width: 45%;
  background: white;
  padding: 4rem 3.5rem;
  border-radius: 24px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: 0;
  margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
  margin-right: 0;
}

.timeline-content:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

/* Bordo colorato superiore */
.timeline-content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #0077c8, #00b7ff);
  border-radius: 24px 24px 0 0;
}

.timeline-item:nth-child(2) .timeline-content::after {
  background: linear-gradient(90deg, #e67e22, #f39c12);
}

.timeline-item:nth-child(3) .timeline-content::after {
  background: linear-gradient(90deg, #27ae60, #2ecc71);
}

/* Freccia che punta alla linea centrale */
.timeline-content::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border-style: solid;
  z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -25px;
  border-width: 25px 0 25px 25px;
  border-color: transparent transparent transparent white;
  transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -25px;
  border-width: 25px 25px 25px 0;
  border-color: transparent white transparent transparent;
  transform: translateY(-50%);
}

/* Badge numero */
.timeline-badge {
  position: absolute;
  top: -20px;
  left: 3.5rem;
  background: linear-gradient(135deg, #003870, #0077c8);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 900;
  box-shadow: 0 6px 20px rgba(0, 56, 112, 0.4);
  border: 4px solid white;
  z-index: 5;
}

.timeline-item:nth-child(2) .timeline-badge {
  background: linear-gradient(135deg, #e67e22, #f39c12);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

.timeline-item:nth-child(3) .timeline-badge {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

/* Tag categoria */
.timeline-tag {
  display: inline-block;
  background: rgba(0, 119, 200, 0.1);
  color: #0077c8;
  padding: 0.6rem 1.6rem;
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2.5rem;
}

.timeline-item:nth-child(2) .timeline-tag {
  background: rgba(230, 126, 34, 0.1);
  color: #e67e22;
}

.timeline-item:nth-child(3) .timeline-tag {
  background: rgba(39, 174, 96, 0.1);
  color: #27ae60;
}

/* Contenuto */
.timeline-title {
  font-size: 3rem;
  color: #003870;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
  font-weight: 700;
}

.timeline-description {
  font-size: 1.8rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.timeline-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.timeline-features li {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.9rem;
  color: #666;
  transition: all 0.3s ease;
}

.timeline-features li:hover {
  color: #003870;
  transform: translateX(5px);
}

.timeline-features ion-icon {
  color: #2776ae;
  font-size: 2.2rem;
  flex-shrink: 0;
}

/* Immagine nell'altro lato */
.timeline-image {
  width: 33%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 2rem;
}
.timeline-image img{
  width: 90%;
  border-radius: 5%;
}
.timeline-item:nth-child(odd) .timeline-image {
  right: 1%;
}

.timeline-item:nth-child(even) .timeline-image {
  left: 5%;
}

.timeline-image img {
  width: 80%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}


.timeline-item:hover .timeline-image img {
  transform: scale(1.08);
}


/* ===========================
  SOLUZIONI
=========================== */
/* SOLUZIONI CARDS */
.soluzioni-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}

.soluzione-card {
  background: white;
  border-radius: 1.6rem;
  padding: 4rem 2rem;
  text-align: center;

  transition: all 0.3s ease;

}


.soluzione-icon {
  width: 8rem;
  height: 8rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.soluzione-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-grey-dark);
  margin: 0;
}
.step-title-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.step-icon {
  font-size: 4rem;
  color: var(--color-accent);
  background: linear-gradient(135deg, rgba(0, 119, 200, 0.1), rgba(0, 183, 255, 0.1));
  padding: 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.step-text-box:hover .step-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(0, 119, 200, 0.2), rgba(0, 183, 255, 0.2));
}

/* Lista features */
.step-features {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.7rem;
  color: #555;
}

.step-features ion-icon {
  font-size: 2.2rem;
  color: #277cae;
  flex-shrink: 0;
}
/* ===========================
   EVENT CARD
=========================== */
.event-card {
  background: linear-gradient(135deg, #fff 0%, #e9e9e958 100%);
  border-radius: 20px;
  padding: 5rem 4rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  font-size: 1.7rem;
  max-width: 130rem;
  margin: 0 auto 3rem auto;
  width: 90%;
  position: relative;
  z-index: 1;

}
.event-date {
  display: inline-block;
  background: var(--color-primary);
  color: white;
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}


/*SEZIONE SOLUZIONI*/
.solution-item {
  margin-bottom: 2rem;
}
.step-number {
  position: relative;
  font-size: 8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.6rem;
  display: inline-block;
  line-height: 1;
}

.solution-item:nth-child(1) .step-number {
  background: linear-gradient(135deg, #0077c8, #00b7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.solution-item:nth-child(2) .step-number {
  background: linear-gradient(135deg, #2281e6, #12c6f3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.solution-item:nth-child(3) .step-number {
  background: linear-gradient(135deg, #2773ae, #2ea4cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.step-description {
  font-size: 2rem;
  color: var(--color-grey-dark);
  line-height: 1.6;
}
.step-img {
  width: 100%;
  border-radius: 1.2rem;
  max-width: 450px;
  margin: 0 auto;
}
.step-img-box {
   position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem;
}
.section-vantaggi .heading-secondary {
  margin-bottom: 4.8rem;
}
.step-text-box {
  max-width: 50rem; 
}

/* ===========================
   FEATURE
=========================== */
.suite-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 5rem;
}
.suite-card:last-child{
  grid-column: 1 / -1;

}
.feature {
  text-align: center;
  transition: transform 0.3s ease;
  padding: 2rem 1.5rem; 
}
.feature-icon {
  width: 5rem;
  height: 5rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}
.feature-icon.location{
  position: relative;
  color: var(--color-primary);
  justify-content: center;
  align-items: center;
}

.icon-inner {
  height: 100%;
  width: 100%;
}
.ionicon {
  stroke: var(--color-primary);
}

.feature:hover {
  transform: translateY(-8px);
}
.feature img {
  height: 140px;
  width: 140px;
  margin-bottom: 1.5rem;
}
.feature-text {
  font-size: 2.1rem;
}
.container.grid--3-cols > :last-child {
  grid-column: 1 / -1; 
}

/*TRANSAZIONI*/
.feature,
.pricing-card,
.solution-item {
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.solution-item:nth-child(1) {
  transition-delay: 0.1s;
}
.solution-item:nth-child(2) {
  transition-delay: 0.3s;
}
.solution-item:nth-child(3) {
  transition-delay: 0.5s;
}
.feature:hover {
  transform: translateY(-5px);
}
.grid.grid--3-cols.f5 {
  grid-column: -3;   /* occupa tutta la riga */
  display: flex;
  justify-content: center;
}
.feature-center {
  display: flex;
  justify-content: center;
}

.feature-center .feature {
  max-width: 33%;
}

.suite-card {
  position: relative;
  background: white;
  border-radius: 24px;
  padding: 4rem 3rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  overflow: hidden;
}

/* Bordi colorati diversi */
.suite-card[data-color="blue"] {
  border-top: 4px solid #0077c8;
}
.suite-card[data-color="purple"] {
  border-top: 4px solid #9b59b6;
}
.suite-card[data-color="green"] {
  border-top: 4px solid #27ae60;
}
.suite-card[data-color="orange"] {
  border-top: 4px solid #e67e22;
}
.suite-card[data-color="cyan"] {
  border-top: 4px solid #00b7ff;
}
/* Background gradient on hover */
.suite-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.suite-card:hover::before {
  opacity: 1;
}

/* Badge angolo */
.suite-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 119, 200, 0.3);
  z-index: 2;
}
.suite-icon-box {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.suite-icon-box img {
  width: 230px;
  height: 230px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

}


.suite-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(0,119,200,0.2) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  animation: pulse 3s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.suite-card.suite-hidden {
  opacity: 0;
  transform: translateY(30px);
}

.suite-card.suite-visible {
  opacity: 1;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.suite-card:hover .suite-glow {
  opacity: 1;
}


/* Titolo */
.suite-card .heading-tertiary {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  color: var(--color-primary);
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
  }
  .suite-card:hover .heading-tertiary {
    color: var(--color-accent);
  }
  
  /* Descrizione */
  .suite-description {
    font-size: 1.6rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
  }
  /* Tags features */
.suite-features {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.suite-tag {
  display: inline-block;
  background: rgba(0, 119, 200, 0.1);
  color: var(--color-primary);
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.suite-card:hover .suite-tag {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

/* Varianti colori badge per ogni card */
.suite-card[data-color="blue"] .suite-badge {
  background: linear-gradient(135deg, #0077c8, #00b7ff);
}
.suite-card[data-color="purple"] .suite-badge {
  background: linear-gradient(135deg, #8e44ad, #9b59b6);
}
.suite-card[data-color="green"] .suite-badge {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
}
.suite-card[data-color="orange"] .suite-badge {
  background: linear-gradient(135deg, #d35400, #e67e22);
}
.suite-card[data-color="cyan"] .suite-badge {
  background: linear-gradient(135deg, #00b7ff, #00d4ff);
}
/* ===========================
   Licenze
=========================== */

 .pricing-container {
  align-items: stretch;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible; /* Cambiato per badge */
  background: white;
  padding: 4rem 3rem;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 2px solid #094e93;
}

/* Card in evidenza */
.pricing-card.featured {
  border: 3px solid var(--color-accent);
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 119, 200, 0.2);
}

.pricing-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border-color: var(--color-primary-light);
}


/* Licenze */
.divider-line.pricing{
margin: 2rem 0;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: 2rem 0 1rem;
  gap: 0.5rem;
}

.price-amount {
  font-size: 5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.price-period {
  font-size: 2rem;
  color: #666;
  font-weight: 500;
}

.pricing-subtitle {
  text-align: center;
  font-size: 1.8rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 3rem;
}

/* Stelline piÃ¹ grandi */
.container-icon.stella {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.container-icon.stella .feature-icon {
  width: 6rem;
  height: 6rem;
}

/* Titoli card */
.pricing-card h3 {
  font-size: 3rem;
  margin-bottom: 0;
  color: var(--color-primary);
  text-align: center;
}

.pricing-card h4 {
  font-size: 1.6rem;
  padding: 2rem 1rem;
  text-align: center;
  color: #666;
  line-height: 1.4;
}

/* Features list */
.features-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  flex-grow: 1;
}

.features-list li {
  margin-bottom: 1.5rem;
  padding-left: 3rem;
  position: relative;
  font-size: 2rem;
  line-height: 1.6;
  
}

.features-list li::before {
  content: "✔\FE0E";
  position: absolute;
  left: 0;
  color: var(--color-accent)!important;
  font-weight: bold;
  font-size: 2rem;
  flex-shrink: 0;
}
.features-list h4 {
  text-align: center;
  padding: 2rem 0;
  margin: 2rem 0;
  position: relative;
  font-size: 1.8rem;
  color: var(--color-grey-dark);
}

.features-list h4::before,
.features-list h4::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ddd, transparent);
}

.features-list h4::before {
  left: 0;
}

.features-list h4::after {
  right: 0;
}

/* CTA Button */
.plan-btn {
  margin-top: auto;
  text-align: center;
  padding-top: 2rem;
}

.btn--full-enter {
  width: 100%;
  padding: 1.8rem 3rem;
  font-size: 1.8rem;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.featured .btn--full-enter {
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  box-shadow: 0 8px 20px rgba(0, 119, 200, 0.3);
}

.featured .btn--full-enter:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 119, 200, 0.4);
}

/* ===========================
   CONTACT
=========================== */
.checkbox {
    margin-bottom: 2rem;
    font-size: 1rem;
}
.checkbox label{
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  cursor: pointer;
  line-height: 1.6;
  color: #666;
}

.checkbox input[type="checkbox"] {
  margin-top: 0.3rem;
  width: 15px;
  height: 15px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: var(--color-primary);
  margin-right: 1rem;
}
.checkbox a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 600;
  margin-top: 2rem;
}
.fa-solid.fa-envelope,
.fa-solid.fa-phone,
.fa-solid.fa-location-dot {
  font-size: 18px;
  padding: 8px;
  background-color: #002f5def;
  color: #cde2ff;
  border-radius: 27px;
  margin-right: 10px;
  margin-top: 22px;
  margin-left: -23px;
}
.section-contatti {
  background-color: var(--color-grey-light);
  padding: 12rem 6rem;
  padding-top: 10rem;

}
.contact-text-box {
  padding-right: 4.8rem;
}

.contact-info a {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 2.3rem;
}
.contact-info li{
  font-size: 2rem;
} 

.contact-info a:hover {
  text-decoration: underline;
}
.contact-info li:nth-child(3) {
  color: var(--color-primary);
}
.contact-info li:nth-child(3) strong {
  color: black;
}
.contact-form-box {
  position: relative;
  background-color: var(--color-white);
  padding: 7rem;
  border-radius: 2.2rem;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.1);
  max-width: 90rem; 
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 3.4rem;
}
.contact-form label {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  display: block;
  color: var(--color-primary);

}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1.6rem 2rem;
  font-size: 1.6rem;
  border: 1px solid #ccc;
  border-radius: 1.2rem;
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 4px rgba(0, 119, 200, 0.2);
}
.btn--full-enter {
  z-index: 20; /* sopra overlay o altri elementi */
  transition: transform 0.3s ease;
  background-color: var(--color-primary);
  color: var(--color-white);
}
.btn--full-enter:hover {
  background-color: var(--color-primary-light);
  transform: scale(1.05);
}
.btn--full-enter:active {
  background-color: var(--color-primary-light);
  transform: scale(1.05);
}

/* ===========================
   FOOTER
=========================== */
.container-icon svg {
  width: 28px;
  height: 28px;
  pointer-events: none;
}
.footer {
  margin: 0;
  padding-bottom: 0;
  background: linear-gradient(180deg, #002f5d 0%, #001f3d 100%);
  color: var(--color-white);
  padding: 7rem 0;
  font-size: 1.4rem;
  border-top: 1rem solid rgb(159, 159, 159);
   margin-top: 6rem;

}

.footer a {
  text-decoration: none;
  color: inherit;
}
.grid--footer {
  grid-template-columns: 1.5fr 1fr 1fr;
}
.logo-col {
  display: flex;
  align-items: center;
  margin-left: -2rem;

}
.footer-logo img:last-child {
  height: 58px;
  width: auto;
  display: block;
  opacity: 0.6;
  margin-top: -3rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.footer-logo img {
  height: 128px;
  display: inline-block;
  margin-bottom: 2.8rem;
  margin-top: 0px;
  margin-left: 100px;
  opacity: 70%;
}
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1.6rem;
}

.footer-link {
  color: var(--color-white);
  text-decoration: none;
  font-size: 1.4rem;
}

.container-icon {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}
.container a {
  fill: var(--color-white);
}
.address-col a {
  font-weight: 500;
}

.address-col address {
  font-size: 1.6rem;
  line-height: 2rem;
}
.contact-info {
  list-style: none;
  margin-top: 6rem;
  font-size: 1.9rem;
  line-height: 5;
  margin-left: 4rem;
}
.footer-nav li {
  padding-left: 0;
}
.footer-link {
  position: relative;
}

.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.3s;
}
.footer-link:hover::after {
  width: 100%;
}
.footer-social {
  margin-top: 2.4rem;
}
.footer-bottom {
  width: 100%;
  margin-top: 6rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 1.2rem;
  opacity: 0.7;
}
/*MAPPA SECTION*/
.container-icon.location,
.container-icon.stella{
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 1.5rem;
}

.section-mappa {
  width: 100%;
  height: 400px;
  border: none;
  margin-bottom: 90px;
  
}
.mappa-box {
  margin-top: 3.2rem;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.1);
}
.subtitle {
  font-size: 1.4rem;
  margin-bottom: 25px;
  text-align: center;
}
.main-nav-link.home{
  color: var(--color-primary);
  font-weight: 600;
  position: relative;
}
.main-nav-link.home::after {
  width: 100%; /* Sottolineatura sempre visibile */
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
}

.main-nav-link.home:hover {
  color: var(--color-primary-light);
}
.main-nav a:hover{
  color: var(--color-primary-light);
}

/*  sezione prodotti */
.section-prodotti {
  margin-top: 130px;
  margin-bottom: 200px;
}
.section-featured#prodotti {
  padding-top: 6rem; 
  padding-bottom: 10rem; 
}
.section-featured {
  padding-top: 8rem 0; 
  padding-bottom: 10rem;

}
.section-featured#licenze{
  background: linear-gradient(0deg, #dcdcdc 5%, #ececec 6%, #ededed 100%);

}
/* .section-featured .container {
  max-width: 140rem; 
} */


.prodotto-card {
  background: rgba(255, 255, 255, 0.08); 
  backdrop-filter: blur(10px); 
  border-radius: 2rem;
  padding: 9rem 6rem;
  text-align: center;
  box-shadow: 0 8px 25px rgb(0 0 0 / 9%);
  transition:
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.6s ease;
  position: relative;
  overflow: hidden;
}
.img-container img{
  width: 100%;
  border-radius: 1.2rem;
}
.section-prodotti p{
  color: #001a3d;

}

.prodotto-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.prodotto-card img {
    width: auto;
    height: 23rem;
    margin-bottom: 8rem;
}

.prodotto-card h3 {
  font-size: 1.9rem;
  margin-bottom: 0.8rem;
  color: var(--color-primary);
}

.prodotto-card p {
  font-size: 1.6rem;
  margin-bottom: 1.8rem;
  color: var(--color-primary-light);
}

.prodotto-card button {
  bottom: 0.5rem;
  margin-bottom: 3rem;
  padding: 1rem 4rem;
  border-radius: 50px;
  font-size: 1.8rem;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  left: 0rem;
}

.prodotto-card button:hover {
  box-shadow: 0 5px #e6e6e6;
}

.prodotti-grid {
  display: grid;
    grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem;
  margin-top: 4rem;
  align-items: start;
}
.prodotto-card .btn{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.prodotto-dettagli {
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    max-height 0.6s ease,
    opacity 0.4s ease,
    transform 0.4s ease;
}
.prodotto-card.active .prodotto-dettagli {
  max-height: 400px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 2.5rem;
}
.prodotto-features {
  list-style: none;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 56, 112, 0.15);
  margin-top: 5rem;
}
.prodotto-features li {
  display: flex;
  align-items: center;
  gap: 0.8rem; 
  padding-left: 0;
  font-size: 1.6rem;
  transform: translateX(-10px);
  color: var(--color-primary);
  transition:
  opacity 0.4s ease,
  transform 0.4s ease;
}
.prodotto-features li::before {
  content: "✓";
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.prodotto-card.active {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 56, 112, 0.25);
}

.prodotto-card.active .prodotto-features li:nth-child(1) { transition-delay: 0.1s; }
.prodotto-card.active .prodotto-features li:nth-child(2) { transition-delay: 0.2s; }
.prodotto-card.active .prodotto-features li:nth-child(3) { transition-delay: 0.3s; }
.prodotto-card.active .prodotto-features li:nth-child(4) { transition-delay: 0.4s; }

.prodotto-toggle {
  transition: all 0.4s ease;
}



/*STICKY NAVIGATION*/
.sticky .header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 10rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  background-color: rgba(235, 235, 235, 0.867);
  backdrop-filter: blur(10px);
  z-index: 1000;
  animation: slideDown 0.3s ease-out;
}
.sticky .logo img {
  height: 110px;
  transition: height 0.3s ease-in-out;
}
.sticky .logo-scritta {
  height: 180px; /* prima era 180px */
  transition: height 0.3s ease-in-out;
}
.sticky .section-hero {
  margin-top: 9.6rem;
}
.sticky .event-card {
  margin-top: 9rem; 
}

.header.nav-open .main-nav-list li {
  animation: slideInFromRight 0.4s ease forwards;
}

.header.nav-open  .nav-overlay {
  display: block; 
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  backdrop-filter: blur(3px);
  
}
.main-nav-link:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  transform: translateX(10px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

#company {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}


.soluzioni-modern-grid {
  display: grid;
  gap: 3rem;
  margin-top: 9rem;
  margin-bottom: 13rem;

}

.soluzione-modern-card {
  background: white;
  padding: 4rem 3rem;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.soluzione-modern-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.soluzione-modern-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 50px rgba(0, 56, 112, 0.15);
}
.soluzione-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.soluzione-icon-wrapper ion-icon {
  font-size: 4rem;
  color: white;
}
.soluzione-number {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(0, 119, 200, 0.1);
}

.soluzione-features {
  list-style: none;
  margin-top: 2rem;
}
.soluzione-features li {
  font-size: 1.5rem;
  padding: 0.8rem 0;
  color: #666;
}

.section-news {
  padding: 2rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  position: relative;
  overflow: hidden;
}

.section-news::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%230077c8' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}
.section-news .news-header {
  text-align: center;
  margin-bottom: 6rem;
  position: relative;
  z-index: 1;
}

.section-news .news-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: white;
  padding: 0.6rem 1.8rem;
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 2rem;
}

.section-news .news-subheading {
  font-size: 2.2rem;
  color: #666;
  max-width: 70rem;
  margin: 0 auto;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}
.news-card {
  background: white;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.news-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(0, 56, 112, 0.2);
}
.news-image {
  height: 22rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-card:hover img {
  transform: scale(1.1);
}
.news-content {
  padding: 2.5rem;
}

.news-title {
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.news-excerpt {
  font-size: 1.6rem;
  color: #666;
  line-height: 1.6;
}
.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 1.5rem;
  margin-top: 2rem;
  transition: gap 0.3s ease;
}

.news-card:hover .news-read-more {
  gap: 1.2rem;
}
@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/*invio form  */
.form-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-radius: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 50;
}
.form-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.form-overlay-content {
  text-align: center;
  max-width: 42rem;
  padding: 4rem;
  animation: overlayFadeUp 0.5s ease both;
}
.form-overlay-content h3 {
  font-size: 2.6rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.form-overlay-content p {
  font-size: 1.7rem;
  color: #001a3d;
  margin-bottom: 3rem;
}
.check-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-primary-light)
  );
  color: white;
  font-size: 3.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: checkPop 0.5s ease;
}
/* ===========================
   SCROLL TO TOP BUTTON
=========================== */
.scroll-to-top {
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  z-index: 999;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: white;
  font-size: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 56, 112, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

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

.scroll-to-top:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 30px rgba(0, 56, 112, 0.45);
}