/* =============================
   ICTPROMO – FORCE COLORS v6
   ============================= */

/* Font Plus Jakarta Sans */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200;300;400;600;700;800&display=swap');

html,body{
  font-family:"Plus Jakarta Sans",system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial,sans-serif !important;
  color:#30424c !important; /* colore testo base copy */
  font-weight:200 !important;
}

/* Gradient text utility */
.text-gradient{
  background:linear-gradient(90deg,#0aa1d6,#0b79c8);
  -webkit-background-clip:text;
          background-clip:text;
  -webkit-text-fill-color:transparent;
}

/* Titoli globali */
h1, h2, .banner_title, #banner_title{
  color:#0aa1d6 !important;
  font-weight:700 !important; /* bold */
  font-size: 2.5rem;
}


.banner_title,
#banner_title {

  text-transform: uppercase;
}

h1,
h2,
.voci_menu_a {
  font-size: 2.1rem;
}

h1,
h2,
.voci_menuparent_a {
  font-size: 1.9rem;
}

h3{
  color:#30424c !important;
  font-weight:200 !important;
  font-size: 1.5rem;
  
  
}
h4, h5{
  color:#072a3b !important;
  font-weight:700 !important;
}

.voci_menu_a {
  text-transform: capitalize;
}

/* Footer */
.form-control {
  min-height: 20px;
}

/* Copy */
p, .lead, span, li, .card-text, #banner_text{
  color:#30424c !important;
  font-weight:200 !important;
}

label {

  font-size: 0.9rem;
    font-weight: 300;
}

/* Banner: override titoli e testi */
#banner, 
#banner p,
#banner li, 
#banner #banner_text{
  color:#ffffff !important;
  font-weight:200 !important;
}
#banner h1, 
#banner h2, 
#banner h3, 
#banner h4, 
#banner h5, 
#banner .banner_title{
  color:#ffffff !important;
  font-weight:800 !important; /* titoli nel banner più bold */
  background:none !important; /* niente gradient di default */
  -webkit-text-fill-color:#ffffff !important;
}

#banner span{
  font-weight:700 !important;
}
.text-cerulean {
    color: #19b1e9 !important;
    font-weight: inherit !important;
}

/* Menu desktop: testi con peso 200 */
#menu_desktop, 
#menu_desktop h1,
#menu_desktop h2,
#menu_desktop h3,
#menu_desktop h4,
#menu_desktop h5,
#menu_desktop p,
#menu_desktop span,
#menu_desktop li,
#menu_desktop .card-text {
  font-weight:200 !important;
}


/* ===== Sezione promo con sfondo in parallasse ===== */
#content .bg-lightgray {
  position: relative;
  background: linear-gradient(180deg, #e6f7ff 0%, #cceeff 100%);
  overflow: hidden;
}

/* Parallasse pattern + logo */
#content .bg-lightgray::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/img/logo_ict.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 50%;
  opacity: 0.05; /* logo molto leggero */
  z-index: 0;
}

#content .bg-lightgray::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cpath d='M10 80c30-50 110-50 140 0M-20 120c30-50 110-50 140 0' fill='none' stroke='%230099cc' stroke-opacity='.08' stroke-width='8'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  animation: movePattern 60s linear infinite;
  z-index: 0;
  opacity: 0.4;
}

@keyframes movePattern {
  from { background-position: 0 0; }
  to { background-position: 300px 600px; }
}

/* Layer interno */
#content .bg-lightgray > .col-12 {
  position: relative;
  z-index: 1;
}

/* Card orizzontali */
#engagement, #analysis, #retention {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
#engagement:hover, #analysis:hover, #retention:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
}

/* Titoli */
#engagement h2, #analysis h2, #retention h2 {
  color: #0aa1dd;
  font-weight: 700;
}

/* Testi */
#engagement p, #analysis p, #retention p {
  color: #30424c;
  font-weight: 200;
}

/* Immagini */
#engagement img, #analysis img, #retention img {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

/* ============ PROMO SECTION ============ */
:root{
  --ict-azure:#04A0DC;          /* azzurro brand */
  --ict-azure-20:rgba(4,160,220,.20);
  --ict-ink:#0E2A36;            /* testo scuro */
  --ict-copy:#30424c;           /* copy */
  --pad-x: clamp(12px, 2.2vw, 28px);
  --pad-y: clamp(24px, 4.2vw, 56px);
}

.promo-wrap{
  position:relative;
  isolation:isolate;
  background: linear-gradient(180deg,#E9F6FC 0%, #F7FBFE 100%);
  overflow:hidden;
}

/* strato “pattern” soffice */
.promo-wrap::before{
  content:"";
  position:absolute; inset:-20% -10% -10% -10%;
  background:
    radial-gradient(50% 50% at 20% 20%, rgba(4,160,220,.10) 0%, transparent 60%),
    radial-gradient(50% 50% at 80% 40%, rgba(4,160,220,.10) 0%, transparent 65%),
    radial-gradient(60% 60% at 40% 90%, rgba(4,160,220,.08) 0%, transparent 70%);
  filter: blur(40px);
  z-index:-2;
  transform: translateZ(0);
}

/* logo gigante in trasparenza */
.promo-wrap::after{
  content:"";
  position:absolute; 
  right:-12vw; bottom:-10vw;
  width:min(70vw,1100px); height:min(70vw,1100px);
  background:url("assets/img/logo_ict.png") no-repeat center/contain;
  opacity:.08;
  z-index:-1;
  will-change: transform;
}

/* Parallax leggero su desktop */
@media (min-width:992px){
  .promo-wrap {
    background-attachment: fixed;
  }
  .promo-wrap::after{
    transform: translateY(-4vh); /* micro parallasse */
  }
}

/* blocchi orizzontali */
.promo-feature{
  display:grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2.4vw, 36px);
  align-items:center;
  padding: var(--pad-y) var(--pad-x);
  border-bottom: 1px solid rgba(14,42,54,.06);
}
.promo-feature:last-child{ border-bottom:none; }

/* layout a 2 colonne su lg+ */
@media (min-width:992px){
  .promo-feature{
    grid-template-columns: 48% 1fr;
    padding: clamp(40px,6vw,80px) var(--pad-x);
  }
  .promo-feature.alt{ grid-template-columns: 1fr 48%; }
}

/* immagine grande, senza cornici */
.promo-figure{
  position:relative; overflow:hidden; border-radius:18px;
  box-shadow: 0 10px 30px rgba(14,42,54,.10);
  background:#fff; /* per far “staccare” la foto */
}
.promo-figure img{ display:block; width:100%; height:auto; }

/* testi */
.promo-copy h2{
  margin:0 0 .35em 0;
  font-weight:700;
  color:var(--ict-azure);
  letter-spacing:.2px;
}
.promo-copy p{
  color:var(--ict-copy);
  font-weight:200;
  line-height:1.6;
  margin:0;
}

/* togliamo “card” precedenti in quell’area */
#content .bg-lightgray .bg-white.rounded{
  background:transparent !important;
  box-shadow:none !important;
  border:none !important;
  padding:0 !important;
}

/* riduci spazi “container” per la fascia */
#content .promo-container{
  padding-left:0; padding-right:0;
}

/* fallback mobile: disattiva parallax forte */
@media (max-width:991.98px){
  .promo-wrap{ background-attachment: scroll; }
}

/* ======= CHE FACCIAMO – fascia full-bleed ======= */
.promo-wrap{
  position:relative; isolation:isolate;
  width:100vw; left:50%; right:50%; margin-left:-50vw; margin-right:-50vw;
  background: linear-gradient(180deg,#E9F6FC 0%, #F7FBFE 100%);
  background-attachment: fixed; /* parallax leggero su desktop */
  overflow:hidden;
}
/* alone soft blobs */
.promo-wrap::before{
  content:""; position:absolute; inset:-20% -10% -10% -10%;
  background:
    radial-gradient(50% 50% at 20% 20%, rgba(4,160,220,.10) 0%, transparent 60%),
    radial-gradient(50% 50% at 80% 40%, rgba(4,160,220,.10) 0%, transparent 65%),
    radial-gradient(60% 60% at 40% 90%, rgba(4,160,220,.08) 0%, transparent 70%);
  filter: blur(40px); z-index:-2;
}
/* logo gigante in trasparenza */
.promo-wrap::after{
  content:""; position:absolute; right:-12vw; bottom:-10vw;
  width:min(70vw,1100px); height:min(70vw,1100px);
  background:url("../img/logo_ict.png") no-repeat center/contain;
  opacity:.08; z-index:-1;
}

/* contenitore interno (mantieni i tuoi gutters) */
.promo-container{ max-width:1200px; margin:0 auto; padding:clamp(20px,4vw,56px) 16px; }

/* blocchi orizzontali senza riquadri */
.promo-feature{
  display:grid; grid-template-columns: 1fr; gap: clamp(16px, 2.2vw, 32px);
  align-items:center; padding: clamp(24px,3.5vw,48px) 0;
  border-bottom: 1px solid rgba(14,42,54,.06);
}
.promo-feature:last-child{ border-bottom:none; }
@media (min-width:992px){
  .promo-feature{ grid-template-columns: minmax(320px,40%) 1fr; }
  .promo-feature.alt{ grid-template-columns: 1fr minmax(320px,40%); }
}

/* figure puliti (NO box bianchi) + immagini più piccole */
.promo-figure{ position:relative; overflow:hidden; border-radius:16px; background:transparent; box-shadow:none; }
.promo-figure img{
  width:100%; height:auto; aspect-ratio: 4 / 3; object-fit: cover;
  display:block; border-radius:16px;
  filter: saturate(1.02) contrast(1.02);
}
/* limiti dimensionali per non “esplodere” */
@media (min-width:992px){
  .promo-figure{ max-width: 520px; }
}
@media (min-width:1400px){
  .promo-figure{ max-width: 560px; }
}

/* testi */
.promo-copy h2{ color:#04A0DC; font-weight:700; margin:0 0 .35em; }
.promo-copy p{ color:#30424c; font-weight:300; line-height:1.6; margin:0; }

/* rimuove vecchi “riquadri” ereditati */
#content .bg-lightgray,
#content .bg-white,
#content .rounded,
#content .leaf-box-text{
  background:transparent !important;
  box-shadow:none !important;
  border:none !important;
  padding:0 !important;
}

/* mobile: disattiva effetto fixed (più fluido) */
@media (max-width:991.98px){
  .promo-wrap{ background-attachment: scroll; }
}

/* ====== FULL-BLEED WRAP + BG PARALLAX CON LOGO ====== */
#promo-fullbleed{
  position: relative;
  /* trucco full-bleed anche se è dentro .container */
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;

  /* background: tinta celeste + logo in overlay + grana leggerissima */
  background:
    radial-gradient(1200px 800px at 20% 15%, rgba(0,153,219,.10) 0%, rgba(0,153,219,0) 60%),
    url("assets/img/logo_ict.png") center/55% auto no-repeat,
    linear-gradient(180deg, #eaf6fd 0%, #dff2fd 100%);
  background-attachment: fixed, fixed, scroll; /* parallasse per tinta+logo */
  padding: 0;
  padding-bottom: 20px;;
}
@media (max-width: 991.98px){
  #promo-fullbleed{
    background-attachment: scroll, scroll, scroll; /* performance mobile */
    background-size: 110% auto, 90% auto, auto;   /* logo più morbido su mobile */
    padding: 48px 0;
  }
}

/* ====== LAYOUT ====== */
.promo-container{
  max-width: 1240px;   /* centrato come il resto del sito */
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  row-gap: 72px;       /* più aria fra i blocchi */
}

/* ogni feature in 2 colonne */
.promo-feature{
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  column-gap: 56px;
  background: transparent !important; /* elimina ogni box bianco residuo */
  box-shadow: none !important;
  border: 0 !important;
}
.promo-feature.alt{ grid-template-columns: 1fr 1fr; } /* testo a sx, img a dx già gestito da HTML */

/* figure & immagini più piccole */
.promo-figure{ margin: 0; }
.promo-figure img{
  width: 100%;
  max-width: 520px;   /* riduce dimensione percepita */
  height: auto;
  display: block;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,.12);
  margin: 0 auto;
}

/* testo con padding interno più generoso */
.promo-copy{
  padding: 24px 8px;     /* più respiro */
  max-width: 560px;      /* evita righe lunghissime */
}
.promo-copy h2{
  margin: 6px 0 12px;
}


.promo-copy .eyebrow{
  display: inline-block;
  font-size: 1rem;
  letter-spacing: .08em;
  color: #1494d1 !important;
  background: none !important;
  border: none !important;
  border-radius: 999px;
  padding: 0px;
  margin-bottom: -10px;
  text-transform: none;
  font-weight: 900 !important;
}


.caption_timeline .eyebrow{
  display: inline-block;
  font-size: 1.6rem;
  letter-spacing: .08em;
  color: #1494d1 !important;
  background: none !important;
  border: none !important;
  border-radius: 999px;
  padding: 6px 24px;
  margin-bottom: -10px;
  text-transform: none;
  font-weight: 900 !important;
      line-height: 1.8rem;
}

/* rimuove qualsiasi card/riquadro bianco ereditato */
#content .bg-white .promo-feature,
#content .promo-feature,
#content .promo-feature *{
  background-color: transparent !important;
}

/* spacing più comodo tra i tre blocchi… e niente “stacco” bianco */
#content .bg-white{ background: transparent; }

/* ====== RESPONSIVE ====== */
@media (max-width: 991.98px){
  .promo-feature{ grid-template-columns: 1fr; row-gap: 28px; }
  .promo-feature.alt .promo-figure{ order: 2; } /* testo prima, immagine dopo */
  .promo-copy{ max-width: 100%; padding: 8px 0; }
  .promo-figure img{ max-width: 100%; }
}

/* ====== ALLEGGERIRE TUTTI GLI <strong> ====== */
strong, b{
  font-weight: 600 !important;   /* prima era 700/800, troppo pesante */
}
.fw-bold{ font-weight: 600 !important; }  /* override bootstrap */


#banner
{
margin-bottom: 2vw;
}

/* tighten vertical spacing between the three promo blocks */
.promo-container{
  row-gap: 40px;           /* era 72px */
}
@media (max-width: 991.98px){
  .promo-container{
    row-gap: 18px;         /* era 28px su mobile */
  }
}

/* ===== Page scope ===== */
.page-chisiamo .bg-lightgray{ background:#f3f7f9; }
.page-chefacciamo .bg-lightgray{ background:transparent !important; }

/* ===== Helpers ===== */
.section{ padding: clamp(48px, 6vw, 96px) 0; }
.eyebrow{ letter-spacing:.12em; text-transform:uppercase; font-size:.8rem; opacity:.9; }
.text-white-70{ color:rgba(255,255,255,.7)!important; }
.text-white-80{ color:rgba(255,255,255,.85)!important; }

/* Buttons */
.btn-cerulean{ background:#19b1e9; border-color:#19b1e9; color:#fff; }
.btn-cerulean:hover{ filter:brightness(.95); color:#fff; }
.shadow-glow{ box-shadow:0 8px 24px rgba(25,177,233,.35); }


/* Feature minis */
.feature-mini{ background:#fff; border-radius:16px; padding:16px;
  box-shadow:0 1px 0 rgba(10,152,200,.05), 0 10px 24px rgba(10,152,200,.08);
  height:100%;
}
.feature-mini i{ font-size:1.6rem; color:#19b1e9; }
.feature-mini h6{ margin:.5rem 0 .25rem; }

/* Cards soft */
.card-soft{ background:#fff; border-radius:18px; padding:20px;
  box-shadow:0 8px 28px rgba(0,0,0,.06);
  transition:transform .2s ease, box-shadow .2s ease;
}
.card-soft:hover{ transform:translateY(-2px); box-shadow:0 14px 36px rgba(0,0,0,.12); }
.card-soft .icon-wrap{ width:40px; height:40px; border-radius:12px;
  display:grid; place-items:center; background:#e8f7fd; color:#0a98c8; margin-bottom:.75rem; }
.link-cerulean{ color:#0a98c8; text-decoration:none; }
.link-cerulean:hover{ color:#067aa3; text-decoration:underline; }

/* Promo cards (ICT in pillole) */
.promo-card{ background:#fff; border-radius:18px; overflow:hidden;
  box-shadow:0 8px 24px rgba(0,0,0,.08); display:flex; flex-direction:column; }
.promo-img{ width:100%; height:180px; object-fit:cover; }
.promo-body{ padding:16px; display:flex; flex-direction:column; gap:.5rem; flex:1; }
.promo-text{ color:#4b5563; }

/* Logos band */
.logos-band img{ filter:grayscale(1) contrast(1.1); opacity:.75; transition:.2s; }
.logos-band img:hover{ filter:none; opacity:1; }

/* Certificazioni */
.cert-grid .card{ height:100%; border-radius:14px; box-shadow:0 4px 16px rgba(0,0,0,.06); }
.cert-grid .card-title{ min-height:2.6rem; }

/* Documenti */
.doc-grid .card{ height:100%; border-radius:14px; box-shadow:0 4px 16px rgba(0,0,0,.06); }
.btn-download{ background:#111; color:#fff; border:0; }
.btn-download:hover{ background:#19b1e9; }

/* ===== Background "Che facciamo" portato in Home ===== */
.ict-surface{
  position: relative;
  isolation: isolate; /* per pseudo-elementi */
  overflow: hidden;
  padding-top: 3rem;
  padding-bottom: 3rem;
  background: linear-gradient(180deg,#eaf7fe 0%, #e9f4fb 45%, #eaf7fe 100%);
}

/* onde morbide + logo ICT in opacità */
.ict-bg-wave::before{
  content:"";
  position:absolute; inset:-20% -10% auto -10%;
  height:140%;
  background:
    radial-gradient(40% 60% at 20% 30%, rgba(0,162,214,.12) 0%, rgba(0,162,214,0) 70%),
    radial-gradient(30% 50% at 80% 70%, rgba(0,162,214,.10) 0%, rgba(0,162,214,0) 65%);
  z-index:-2;
}

.ict-bg-wave::after{
  /* watermark logo */
  content:"";
  position:absolute; right: -120px; bottom:-80px;
  width:480px; height:480px; opacity:.07; filter:grayscale(1);
  background:url("assets/img/logo_ict.png") no-repeat center/contain;
  z-index:-1;
}

/* ===== Titoli sezione (match "Che facciamo") ===== */
.section-title{
  font-family: "azo-sans-web", sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.1;
  color:#0aa1d6;
  margin-bottom: 1rem;
}
.section-title + h3,
.section-title + .subtitle{
  font-weight: 400;
  color:#4c5965;
}

/* ===== Card look & feel ===== */
.ict-card{
  border:0;
  border-radius: 20px;
  background: #fff;
  padding: 1rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.shadow-ict{
  box-shadow: 0 10px 24px rgba(20,43,58,.08), 0 2px 6px rgba(20,43,58,.06);
}
.ict-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(20,43,58,.12), 0 6px 10px rgba(20,43,58,.08);
}

.ict-card-img{
  max-width: 60% !important;
  margin: 0px auto !important;
  border-radius: 14px;
  /*box-shadow: 0 6px 16px rgba(0,0,0,.08);*/
}

/* badge/eyebrow sopra i titoli (opzionale) */
.eyebrow{
  display:inline-block;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color:#1aa7d9;
  background: rgba(26,167,217,.12);
  border:1px solid rgba(26,167,217,.22);
  padding: .25rem .6rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}

/* bottoni "Leggi tutto" / "Download" */
.btn-download,
.read-more-btn{
  --c:#0aa1d6;
  background: var(--c);
  border: 2px solid var(--c);
  color:#fff;
  border-radius: 999px;
  padding: .5rem 1rem;
  font-weight: 600;
}
.btn-download:hover,
.read-more-btn:hover{
  color:#0aa1d6;
  background:#fff !important;
  box-shadow: 0 0 0 4px rgba(10,161,214,.15);
}

/* griglia loghi clienti un filo più ariosa */
#logo-slider .carousel-inner .row > [class^="col-"]{
  filter: grayscale(1);
  opacity:.85;
  transition: filter .2s, opacity .2s, transform .2s;
}
#logo-slider .carousel-inner .row > [class^="col-"]:hover{
  filter:none; opacity:1; transform: scale(1.04);
}

/* spacing verticale un po’ più “compresso” ma respirante */
.ict-surface .container{
  padding-top: .25rem;
  padding-bottom: .25rem;
}
@media (min-width: 992px){
  .ict-surface{ padding-top: 0rem; padding-bottom: 4rem; }
}

/* tipografia strong meno “pesante” (coerente col resto del sito) */
b, strong{ font-weight: 650; }

/* Chips fascia soluzioni */
.chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 400;
  background-color: #f1f6fa; /* azzurrino chiaro */
  color: #30424c; /* grigio scuro copy */
  transition: all 0.25s ease;
  cursor: default;
}

.chip:hover {
  background: #0aa1d6;
  color: #fff;
}

/* Chips */
.chips-wrap{display:flex;flex-wrap:wrap;gap:.6rem}
.chip{display:inline-block;padding:.4rem .9rem;border-radius:25px;font-size:.9rem;background:#f1f6fa;color:#30424c;transition:all .25s}
.chip:hover{background: #0aa1d6;;color:#fff}

/* Accordion as cards (coerente con leaf-box) */
.accordion-item.leaf-box{border:0;overflow:hidden}
.accordion-button{background:transparent;box-shadow:none}
.accordion-button:not(.collapsed){background:#ffffff}
.accordion-button.leaf-box-title{font-weight:700}
.accordion-body{background:#ffffff;border-top:1px solid rgba(0,0,0,.05)}

/* ---- CHIPS con look "eyebrow" (gradiente azzurro + testo bianco) ---- */
.chips-wrap{display:flex;flex-wrap:wrap;gap:.6rem}
.chip{
  display:inline-block;
  padding:.42rem .9rem;
  border-radius:999px;
  font-size:.9rem;
  line-height:1;
  color:#fff;
  background: linear-gradient(90deg, #00a1e0 0%, #0066cc 100%);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  white-space:nowrap;
   display: inline-block;
  font-size: 1rem;
  letter-spacing: .08em;
  color: #1494d1;
  background: rgba(20,148,209,.10);
  border: 1px solid rgba(20,148,209,.25);
  border-radius: 999px;
  padding: 6px 10px;
  margin-bottom: 8px;
}
.chip:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  filter: brightness(1.07);
  color: #ffffff;
}

#banner .chip span {
  color: #ffffff !important;
  font-weight: 300 !important;
}

/* ---- TAB D2C più pulite, coerenti con lo stile esistente ---- */
#d2c .nav-tabs{border-bottom:1px solid rgba(0,0,0,.06)}
#d2c .nav-tabs .nav-link{
  background:transparent;
  border:none;
  margin:0 .25rem;
  color:#30424c;
  opacity:.7;
}
#d2c .nav-tabs .nav-link .leaf-box-title{font-weight:700}
#d2c .nav-tabs .nav-link.active{
  opacity:1;
  color:#0a93d1;
  position:relative;
}
#d2c .nav-tabs .nav-link.active::after{
  content:"";
  position:absolute;
  left:10%;
  right:10%;
  bottom:-1px;
  height:3px;
  border-radius:3px;
  background: linear-gradient(90deg, #00a1e0 0%, #0066cc 100%);
}

/* Pane spacing */
#d2c .tab-content{border-top:0}

/* ---- Bullet numerati per i 3 livelli CRM ---- */
.num-card{position:relative;padding-top:3rem}
.num-bullet{
  position:absolute;top:-12px;left:16px;
  width:44px;height:44px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-weight:800;font-size:1rem;
  background: linear-gradient(135deg, #00a1e0 0%, #0066cc 100%);
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
@media (min-width:992px){
  .num-bullet{left:24px}
}

/* --- D2C: tabs pulite in stile card/pill --- */
.d2c-tabs .nav-link{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: .9rem 1.4rem;
  margin: 0 .35rem;
  font-weight: 700;
  letter-spacing: .5px;
  background: #fff;
  color: #234;
  transition: all .2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
}
.d2c-tabs .nav-link:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,.08);
}
.d2c-tabs .nav-link.active{
  color:#fff;
  border-color: transparent;
  background: linear-gradient(90deg,#00a1e0 0%, #0066cc 100%);
  box-shadow: 0 8px 18px rgba(0,102,204,.22);
}

/* --- D2C: card con immagine + contenuto --- */
.d2c-card{
  display:flex;
  gap: 1rem;
  background:#fff;
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.06);
  align-items:center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.d2c-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,0,0,.10);
}
.d2c-card-figure{
  flex:0 0 120px;
  margin:0;
  border-radius: 14px;
  overflow:hidden;
  background: #f3f7fb;
}
.d2c-card-figure img{ width:100%; height:auto; display:block; }
.d2c-card-body{ flex:1; }
.d2c-card .eyebrow{ margin-bottom:.25rem; }

/* --- D2C: steps numerati (bullet) --- */
.d2c-steps .d2c-step{
  background:#fff;
  border-radius:18px;
  padding: 1.25rem;
  border:1px solid rgba(0,0,0,.06);
  box-shadow: 0 8px 30px rgba(0,0,0,.05);
  height:100%;
}
.d2c-step-head{
  display:flex;
  align-items:center;
  gap:.6rem;
  margin-bottom:.25rem;
}
.badge-num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px; height:28px;
  border-radius:999px;
  color:#fff;
  font-weight:800;
  font-size:.9rem;
  background: linear-gradient(90deg,#00a1e0 0%, #0066cc 100%);
  box-shadow: 0 4px 10px rgba(0,102,204,.25);
}


/* Responsive ritocchi */
@media (max-width: 991.98px){
  .d2c-card{ align-items:flex-start; }
  .d2c-card-figure{ flex-basis:100px; }
}

/* ====== TABS D2C: azzurro pieno + testo bianco ====== */
.d2c-tabs .nav-link.active{
  color:#fff;
  background:#0aa1d6;
  border-color:transparent;
  box-shadow:0 6px 16px rgba(10,161,214,.25);
}
.d2c-tabs .nav-link{
  color:#0aa1d6;
  background:#e9f7fc;
  border-color:transparent;
}
.d2c-tabs .nav-link:hover{
  color:#fff;
  background:#088ab6;
  box-shadow:0 6px 14px rgba(10,161,214,.25);
  transform:translateY(-1px);
}

/* ====== Badge numerati (riuso ovunque) ====== */
.badge-num{
  display:inline-flex;align-items:center;justify-content:center;
  width:36px;height:36px;border-radius:999px;
  font-weight:800;font-size:.95rem;line-height:1;color:#fff;
  background:#0aa1d6;box-shadow:0 4px 10px rgba(10,161,214,.25);
  z-index:2; /* sopra la linea */
}

/* ====== Timeline orizzontale a 3 step ====== */
.d2c-steps{
  position:relative;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:2.5rem 3rem;
  align-items:flex-start;
  margin:28px 0 8px;
  padding:22px 6px 0;
}
.d2c-steps::before{
  content:"";
  position:absolute;
  left:6px; right:6px;
  top:40px; /* passa dietro ai badge */
  height:3px;
  background:rgba(10,161,214,.25);  /* linea tenue */
  border-radius:2px;
}
.step{
  position:relative;
  display:flex; gap:.75rem; align-items:flex-start;
}
.step .badge-num{
  flex:0 0 auto;
  box-shadow:0 6px 16px rgba(10,161,214,.25);
}
.step-copy{ margin-top:-1px; }
.step-title{
  margin:0 0 .2rem 0;
  font-weight:800; letter-spacing:.02em;
  text-transform:uppercase; font-size:1rem; color:#0a2840;
  line-height: 1rem;
}
.step-text{ margin:0; color:#2b3a44; }

/* micro-dot sotto ogni badge per “aggancio” alla linea */
.step::after{
  content:"";
  position:absolute;
  left:18px; /* centrato sotto il badge (36px/2) */
  top:40px; /* stessa quota della linea */
  transform:translateX(-50%);
  width:10px;height:10px;border-radius:999px;
  /*background:#0aa1d6; box-shadow:0 0 0 4px rgba(10,161,214,.15);*/
}

/* ====== Responsive ====== */
@media (max-width: 991.98px){
  .d2c-steps{
    grid-template-columns:1fr;
    padding-left:18px; padding-right:0;
  }
  .d2c-steps::before{
    left:18px; right:auto;
    width:3px; height:calc(100% - 18px);
    top:18px; bottom:0;
  }
  .step{ gap:.65rem; }
  .step::after{
    left:18px; transform:none;
    top:18px; width:10px; height:10px;
  }
  .step .badge-num{ width:32px;height:32px; }
}

/* --- Carousel IMG: cartiglio dell'indicatore attivo che si apre --- */
#carouselIMG .carousel-indicators {
  position: static;
  display: block;
  margin: 1rem 0 0 0;
  text-align: left;
}
#carouselIMG2 .carousel-indicators {
  position: static;
  display: block;
  margin: 1rem 0 0 0;
  text-align: left;
}
#carouselIMG3 .carousel-indicators {
  position: static;
  display: block;
  margin: 1rem 0 0 0;
  text-align: left;
}

#carouselIMG4 .carousel-indicators {
  position: static;
  display: block;
  margin: 1rem 0 0 0;
  text-align: left;
}

/* Ogni indicatore occupa lo stesso posto ma è "chiuso" di default */
#carouselIMG .carousel-indicators [data-bs-target] {
  display: block;
  width: 100%;
  border: 0;
  background: transparent !important;
  overflow: hidden;
  max-height: 0;      /* CHIUSO */
  opacity: 0;         /* nascosto */
  padding: 0;
  margin: 0;
  pointer-events: none;               /* opzionale: niente click sui non attivi */
  transition: max-height .35s ease, opacity .35s ease;
}
#carouselIMG2 .carousel-indicators [data-bs-target] {
  display: block;
  width: 100%;
  border: 0;
  background: transparent !important;
  overflow: hidden;
  max-height: 0;      /* CHIUSO */
  opacity: 0;         /* nascosto */
  padding: 0;
  margin: 0;
  pointer-events: none;               /* opzionale: niente click sui non attivi */
  transition: max-height .35s ease, opacity .35s ease;
}
#carouselIMG3 .carousel-indicators [data-bs-target] {
  display: block;
  width: 100%;
  border: 0;
  background: transparent !important;
  overflow: hidden;
  max-height: 0;      /* CHIUSO */
  opacity: 0;         /* nascosto */
  padding: 0;
  margin: 0;
  pointer-events: none;               /* opzionale: niente click sui non attivi */
  transition: max-height .35s ease, opacity .35s ease;
}

#carouselIMG4 .carousel-indicators [data-bs-target] {
  display: block;
  width: 100%;
  border: 0;
  background: transparent !important;
  overflow: hidden;
  max-height: 0;
  /* CHIUSO */
  opacity: 0;
  /* nascosto */
  padding: 0;
  margin: 0;
  pointer-events: none;
  /* opzionale: niente click sui non attivi */
  transition: max-height .35s ease, opacity .35s ease;
}

/* Immagine del cartiglio */
#carouselIMG .carousel-indicators [data-bs-target] img {
  display: block;
  width: 100%;
  height: auto;
  /* border-radius: 14px;                come i tuoi elementi arrotondati */
  /* box-shadow: 0 6px 18px rgba(0,0,0,.12); */
}
#carouselIMG2 .carousel-indicators [data-bs-target] img {
  display: block;
  width: 100%;
  height: auto;
  /* border-radius: 14px;                come i tuoi elementi arrotondati */
  /* box-shadow: 0 6px 18px rgba(0,0,0,.12); */
}
#carouselIMG3 .carousel-indicators [data-bs-target] img {
  display: block;
  width: 100%;
  height: auto;
  /* border-radius: 14px;                come i tuoi elementi arrotondati */
  /* box-shadow: 0 6px 18px rgba(0,0,0,.12); */
}

#carouselIMG4 .carousel-indicators [data-bs-target] img {
  display: block;
  width: 100%;
  height: auto;
  /* border-radius: 14px;                come i tuoi elementi arrotondati */
  /* box-shadow: 0 6px 18px rgba(0,0,0,.12); */
}

/* Stato ATTIVO: si apre e diventa visibile */
#carouselIMG .carousel-indicators .active {
  max-height: 280px;  /* apri il cartiglio (regola la misura) */
  opacity: 1;
  pointer-events: auto;               /* cliccabile se vuoi */
}
#carouselIMG2 .carousel-indicators .active {
  max-height: 280px;  /* apri il cartiglio (regola la misura) */
  opacity: 1;
  pointer-events: auto;               /* cliccabile se vuoi */
}
#carouselIMG3 .carousel-indicators .active {
  max-height: 280px;  /* apri il cartiglio (regola la misura) */
  opacity: 1;
  pointer-events: auto;               /* cliccabile se vuoi */
}

#carouselIMG4 .carousel-indicators .active {
  max-height: 280px;
  /* apri il cartiglio (regola la misura) */
  opacity: 1;
  pointer-events: auto;
  /* cliccabile se vuoi */
}

/* Accessibilità: niente animazioni se l'utente le riduce */
@media (prefers-reduced-motion: reduce) {
  #carouselIMG .carousel-indicators [data-bs-target] {
    transition: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  #carouselIMG2 .carousel-indicators [data-bs-target] {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #carouselIMG3 .carousel-indicators [data-bs-target] {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #carouselIMG4 .carousel-indicators [data-bs-target] {
    transition: none;
  }
}


/* =============  INDICATORI #carouselIMG come immagine full-width con fade  ============= */
#carouselIMG .carousel-indicators{
  position: relative;          /* contenitore per posizionare gli indicatori sovrapposti */
  display: block;
  bottom: auto;                /* annulla posizione default Bootstrap */
  margin: 12px 0 0 0;
  height: 140px;               /* altezza “vetrina” dell’immagine */
}
#carouselIMG2 .carousel-indicators{
  position: relative;          /* contenitore per posizionare gli indicatori sovrapposti */
  display: block;
  bottom: auto;                /* annulla posizione default Bootstrap */
  margin: 12px 0 0 0;
  height: 140px;               /* altezza “vetrina” dell’immagine */
}#carouselIMG3 .carousel-indicators{
  position: relative;          /* contenitore per posizionare gli indicatori sovrapposti */
  display: block;
  bottom: auto;                /* annulla posizione default Bootstrap */
  margin: 12px 0 0 0;
  height: 140px;               /* altezza “vetrina” dell’immagine */
}
#carouselIMG4 .carousel-indicators {
  position: relative;
  /* contenitore per posizionare gli indicatori sovrapposti */
  display: block;
  bottom: auto;
  /* annulla posizione default Bootstrap */
  margin: 12px 0 0 0;
  height: 140px;
  /* altezza “vetrina” dell’immagine */
}

@media (min-width: 992px){
  #carouselIMG .carousel-indicators{ height: 200px; } /* desktop */
}
@media (min-width: 992px){
  #carouselIMG2 .carousel-indicators{ height: 200px; } /* desktop */
}
@media (min-width: 992px){
  #carouselIMG3 .carousel-indicators{ height: 200px; } /* desktop */
}
@media (min-width: 992px) {
  #carouselIMG4 .carousel-indicators {
    height: 200px;
  }

  /* desktop */
}

/* ogni indicatore diventa uno “slide” sovrapposto, invisibile per default */
#carouselIMG .carousel-indicators [data-bs-target]{
  position: absolute;
  inset: 0;                    /* top/right/bottom/left: 0 */
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility 0s linear .4s; /* prima sfuma, poi diventa non visibile */
  pointer-events: none;        /* non cliccabile quando non attivo */
}
#carouselIMG2 .carousel-indicators [data-bs-target]{
  position: absolute;
  inset: 0;                    /* top/right/bottom/left: 0 */
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility 0s linear .4s; /* prima sfuma, poi diventa non visibile */
  pointer-events: none;        /* non cliccabile quando non attivo */
}
#carouselIMG3 .carousel-indicators [data-bs-target]{
  position: absolute;
  inset: 0;                    /* top/right/bottom/left: 0 */
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility 0s linear .4s; /* prima sfuma, poi diventa non visibile */
  pointer-events: none;        /* non cliccabile quando non attivo */
}

#carouselIMG4 .carousel-indicators [data-bs-target] {
  position: absolute;
  inset: 0;
  /* top/right/bottom/left: 0 */
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility 0s linear .4s;
  /* prima sfuma, poi diventa non visibile */
  pointer-events: none;
  /* non cliccabile quando non attivo */
}

/* immagine dentro l’indicatore: riempi l’area mantenendo proporzioni */
#carouselIMG .carousel-indicators [data-bs-target] img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;         /* evita tagli: l’immagine è sempre intera */
}
#carouselIMG2 .carousel-indicators [data-bs-target] img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;         /* evita tagli: l’immagine è sempre intera */
}#carouselIMG3 .carousel-indicators [data-bs-target] img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;         /* evita tagli: l’immagine è sempre intera */
}
#carouselIMG4 .carousel-indicators [data-bs-target] img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* evita tagli: l’immagine è sempre intera */
}

/* solo l’attivo è visibile, con fade-in */
#carouselIMG .carousel-indicators .active{
  opacity: 1;
  visibility: visible;
  transition: opacity .4s ease, visibility 0s; /* visibile subito, sfuma in/op */
  pointer-events: auto;        /* cliccabile se desideri */
}
#carouselIMG2 .carousel-indicators .active{
  opacity: 1;
  visibility: visible;
  transition: opacity .4s ease, visibility 0s; /* visibile subito, sfuma in/op */
  pointer-events: auto;        /* cliccabile se desideri */
}
#carouselIMG3 .carousel-indicators .active{
  opacity: 1;
  visibility: visible;
  transition: opacity .4s ease, visibility 0s; /* visibile subito, sfuma in/op */
  pointer-events: auto;        /* cliccabile se desideri */
}
#carouselIMG4 .carousel-indicators .active {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s ease, visibility 0s;
  /* visibile subito, sfuma in/op */
  pointer-events: auto;
  /* cliccabile se desideri */
}

/* opzionale: rimuovi qualsiasi bullet di Bootstrap residuo 
#carouselIMG .carousel-indicators [data-bs-target]::before,
#carouselIMG .carousel-indicators [data-bs-target]::after{
  display:none;
  content:none;
}

*/

/* se l'utente riduce le animazioni, niente fade */
@media (prefers-reduced-motion: reduce){
  #carouselIMG .carousel-indicators [data-bs-target]{
    transition: none;
  }
}
@media (prefers-reduced-motion: reduce){
  #carouselIMG2 .carousel-indicators [data-bs-target]{
    transition: none;
  }
}
@media (prefers-reduced-motion: reduce){
  #carouselIMG3 .carousel-indicators [data-bs-target]{
    transition: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  #carouselIMG4 .carousel-indicators [data-bs-target] {
    transition: none;
  }
}




/* Area indicatori: larga 100% e molto più alta */
#carouselIMG .carousel-indicators{
  position: relative;
  display: block;
  width: 100%;
  height: 100%; /* ↑ regola qui l’altezza */
  margin: 0;
  padding: 0;
  bottom: auto; /* niente offset verso il basso */
}
#carouselIMG2 .carousel-indicators{
  position: relative;
  display: block;
  width: 100%;
  height: 100%; /* ↑ regola qui l’altezza */
  margin: 0;
  padding: 0;
  bottom: auto; /* niente offset verso il basso */
}
#carouselIMG3 .carousel-indicators{
  position: relative;
  display: block;
  width: 100%;
  height: 100%; /* ↑ regola qui l’altezza */
  margin: 0;
  padding: 0;
  bottom: auto; /* niente offset verso il basso */
}
#carouselIMG4 .carousel-indicators {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  /* ↑ regola qui l’altezza */
  margin: 0;
  padding: 0;
  bottom: auto;
  /* niente offset verso il basso */
}

/* Ogni indicatore (button) occupa TUTTA l’area e sfuma con opacità */
#carouselIMG .carousel-indicators [data-bs-target]{
  position: absolute;
  inset: 0;                 /* top/right/bottom/left: 0 */
  width: 100% !important;
  height: 100% !important;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility 0s linear .4s;
  pointer-events: none;
  box-shadow: none !important;
      margin-top: 20px;

}
#carouselIMG2 .carousel-indicators [data-bs-target]{
  position: absolute;
  inset: 0;                 /* top/right/bottom/left: 0 */
  width: 100% !important;
  height: 100% !important;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility 0s linear .4s;
  pointer-events: none;
  box-shadow: none !important;
      margin-top: 20px;

}
#carouselIMG3 .carousel-indicators [data-bs-target]{
  position: absolute;
  inset: 0;                 /* top/right/bottom/left: 0 */
  width: 100% !important;
  height: 100% !important;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility 0s linear .4s;
  pointer-events: none;
  box-shadow: none !important;
      margin-top: 20px;

}
#carouselIMG4 .carousel-indicators [data-bs-target] {
  position: absolute;
  inset: 0;
  /* top/right/bottom/left: 0 */
  width: 100% !important;
  height: 100% !important;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility 0s linear .4s;
  pointer-events: none;
  box-shadow: none !important;
  margin-top: 20px;

}

ente l’area dell’indicatore */
#carouselIMG .carousel-indicators [data-bs-target] img{
  display: block;
  width: 100% !important;
  height: 100% !important;
  box-shadow: none !important;
  object-fit: cover;  /* mantiene l’immagine intera. Metti 'cover' se vuoi zero bande */
}
#carouselIMG2 .carousel-indicators [data-bs-target] img{
  display: block;
  width: 100% !important;
  height: 100% !important;
  box-shadow: none !important;
  object-fit: contain;  /* mantiene l’immagine intera. Metti 'cover' se vuoi zero bande */
}#carouselIMG3 .carousel-indicators [data-bs-target] img{
  display: block;
  width: 100% !important;
  height: 100% !important;
  box-shadow: none !important;
  object-fit: cover;  /* mantiene l’immagine intera. Metti 'cover' se vuoi zero bande */
}
#carouselIMG4 .carousel-indicators [data-bs-target] img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  box-shadow: none !important;
  object-fit: cover;
  /* mantiene l’immagine intera. Metti 'cover' se vuoi zero bande */
}

/* Solo l’attivo è visibile */
#carouselIMG .carousel-indicators .active{
  opacity: 1;
  visibility: visible;
  transition: opacity .4s ease, visibility 0s;
  pointer-events: auto;
}
/* Solo l’attivo è visibile */
#carouselIMG2 .carousel-indicators .active{
  opacity: 1;
  visibility: visible;
  transition: opacity .4s ease, visibility 0s;
  pointer-events: auto;
}
/* Solo l’attivo è visibile */
#carouselIMG3 .carousel-indicators .active{
  opacity: 1;
  visibility: visible;
  transition: opacity .4s ease, visibility 0s;
  pointer-events: auto;
}
#carouselIMG4 .carousel-indicators .active {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s ease, visibility 0s;
  pointer-events: auto;
}

/* Elimina eventuali “pallini” nativi di Bootstrap 
#carouselIMG .carousel-indicators [data-bs-target]::before,
#carouselIMG .carousel-indicators [data-bs-target]::after{
  display: none;
  content: none;
}
*/
@media (prefers-reduced-motion: reduce){
  #carouselIMG .carousel-indicators [data-bs-target]{ transition: none; }
}
@media (prefers-reduced-motion: reduce){
  #carouselIMG2 .carousel-indicators [data-bs-target]{ transition: none; }
}
@media (prefers-reduced-motion: reduce){
  #carouselIMG3 .carousel-indicators [data-bs-target]{ transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  #carouselIMG4 .carousel-indicators [data-bs-target] {
    transition: none;
  }
}


#carouselIMG .carousel-indicators button.active img {
    width: 100% !important;
    margin-bottom: 0px;
    height: auto;
    max-height: 85px !important;
    display: block;
    transition: 1s;
        margin-top: 20px;
}


#carouselIMG2 .carousel-indicators button.active img {
    width: 100% !important;
    margin-bottom: 0px;
    height: auto;
    display: block;
    transition: 1s;
        margin-top: 20px;
}
#carouselIMG3 .carousel-indicators button.active img {
    width: 100% !important;
    margin-bottom: 0px;
    height: auto;
    display: block;
    transition: 1s;
        margin-top: 20px;
}
#carouselIMG4 .carousel-indicators button.active img {
  width: 100% !important;
  margin-bottom: 0px;
  height: auto;
  display: block;
  transition: 1s;
  margin-top: 20px;
}

#carouselIMG .carousel-inner {
  position: relative;
  background-color: #0aa1d6; /* colore sfondo box */
  border-radius: 8px;
  /* padding: 20px; */
  width: 100%;
}
#carouselIMG2 .carousel-inner {
  position: relative;
  background-color: #0aa1d6; /* colore sfondo box */
  border-radius: 8px;
  /* padding: 20px; */
  width: 100%;
}
#carouselIMG3 .carousel-inner {
  position: relative;
  background-color: #0aa1d6; /* colore sfondo box */
  border-radius: 8px;
  /* padding: 20px; */
  width: 100%;
}
#carouselIMG4 .carousel-inner {
  position: relative;
  background-color: #0aa1d6;
  /* colore sfondo box */
  border-radius: 8px;
  /* padding: 20px; */
  width: 100%;
}

#carouselIMG .carousel-inner::after {
  content: "";
  position: absolute;
  bottom: -15px;  /* quanto sporge */
  left: 50%;      /* centrato */
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid #0aa1d6; /* stesso colore del box */
}
#carouselIMG2 .carousel-inner::after {
  content: "";
  position: absolute;
  bottom: -15px;  /* quanto sporge */
  left: 50%;      /* centrato */
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid #0aa1d6; /* stesso colore del box */
}
#carouselIMG3 .carousel-inner::after {
  content: "";
  position: absolute;
  bottom: -15px;  /* quanto sporge */
  left: 50%;      /* centrato */
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid #0aa1d6; /* stesso colore del box */
}
#carouselIMG4 .carousel-inner::after {
  content: "";
  position: absolute;
  bottom: -15px;
  /* quanto sporge */
  left: 50%;
  /* centrato */
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid #0aa1d6;
  /* stesso colore del box */
}


#carouselIMG .carousel-indicators button.active:before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #19b1e9;
}
#carouselIMG2 .carousel-indicators button.active:before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #19b1e9;
}
#carouselIMG3 .carousel-indicators button.active:before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #19b1e9;
}
#carouselIMG4 .carousel-indicators button.active:before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #19b1e9;
}

#carouselIMG {
  box-shadow: none !important;
}
#carouselIMG2 {
  box-shadow: none !important;
}
#carouselIMG3 {
  box-shadow: none !important;
}
#carouselIMG4 {
  box-shadow: none !important;
}
#carouselIMG .carousel-indicators button.active {
    position: relative;
    margin: 0px;
}
#carouselIMG2 .carousel-indicators button.active {
    position: relative;
    margin: 0px;
}

#carouselIMG3 .carousel-indicators button.active {
    position: relative;
    margin: 0px;
}
#carouselIMG4 .carousel-indicators button.active {
  position: relative;
  margin: 0px;
}
#carouselIMG .carousel-indicators button.active img.caro-box{
  max-height: 175px !important;
}
#carouselIMG2 .carousel-indicators button.active img.caro-box {
  max-height: 135px !important;
}


/* Animazione altezza carousel*/

#carouselIMG .carousel-inner,
#carouselIMG2 .carousel-inner,
#carouselIMG3 .carousel-inner,
#carouselIMG4 .carousel-inner {
  overflow: hidden;
}


/* Eyebrow (mini titolo sopra i titoli) */
.eyebrow{
  display:inline-block;
  font-size:1.25rem;
  letter-spacing:0em;
  color:#19b1e9;
        color: #1494d1 !important;
        background: none !important;
        border: none !important;
        border-radius: 999px;
        margin-bottom: -10px;
        text-transform: none;
        font-weight: 900 !important;
        padding: 0 !important;
}

/* Chips piccole, sobrie */
.chips{display:flex; flex-wrap:wrap; gap:.5rem; padding:0; margin:1rem 0 0;}
.chip{
  list-style:none; display:inline-flex; align-items:center;
  padding:.38rem .75rem; border-radius:999px;
  font-size:.9rem; font-weight:600; color:#0a5d78;
  background:rgba(25,177,233,.08); border:1px solid rgba(25,177,233,.25);
}

/* Wrapper azzurrino molto leggero (sfondo appena percettibile) */
.soft-az{
  /* background:linear-gradient(180deg,#f8fcff 0%, #ffffff 100%); */
}

/* Dettagli minimi di coerenza */
.banner_tecnologie .hr-cerulean{width:72px; border:0; border-top:3px solid #19b1e9; opacity:1;}
.card.bg-light{background:#f8fbfe !important; border:1px solid rgba(25,177,233,.12);}

/* ====== TECNOLOGIE ====== */
/* --- Posizionamento overlay dentro il display del laptop --- */
.laptop-wrap { /* container del laptop */
  /* niente di speciale, width controllata dal parent */
}

.laptop-wrap .dashboard-overlay {
    position: absolute;
    left: 10.8%;
    right: 10.6%;
    top: 12.2%;
    bottom: 13.7%;
    overflow: hidden;
    border-radius: 0px;
    background: #f6f7fb;
    box-shadow: 0 0 0 1px rgba(0,0,0,.05) inset;
}

/* barra superiore scura come nel mock */
.desk-topbar{
  height: 42px;
  background: #1d2530;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* --- KPI: mini bar chart animato ma soft --- */
.bars{
  display: grid;
  grid-template-columns: repeat(10,1fr);
  gap: 6px;
  height: 72px;
  align-items: end;
}
.bars span{
  display: block;
  width: 100%;
  background: linear-gradient(#3a7bd5,#2a6ac5);
  border-radius: 4px 4px 0 0;
  height: 20%;
  opacity: .9;
  animation: rise 6s ease-in-out infinite;
}
@keyframes rise{
  0%,100%{ transform: scaleY(.4); }
  50%{ transform: scaleY(1); }
}
/* variazione piccola tra colonne per evitare sincronismo rigido */
.bars span:nth-child(2){ animation-delay:.1s }
.bars span:nth-child(3){ animation-delay:.2s }
.bars span:nth-child(4){ animation-delay:.3s }
.bars span:nth-child(5){ animation-delay:.4s }
.bars span:nth-child(6){ animation-delay:.5s }
.bars span:nth-child(7){ animation-delay:.6s }
.bars span:nth-child(8){ animation-delay:.7s }
.bars span:nth-child(9){ animation-delay:.8s }
.bars span:nth-child(10){ animation-delay:.9s }

/* --- Line chart soft: una sola polyline che scorre --- */
.line-chart{
  position: relative;
  height: 120px;
  background: linear-gradient(180deg, #ffffff, #f2f4f8);
  border: 1px solid #e8edf5;
  border-radius: 8px;
  overflow: hidden;
}
.line-chart::before{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(to right, rgba(0,0,0,.04) 1px, transparent 1px) 0 0/32px 100%,
    linear-gradient(to bottom, rgba(0,0,0,.04) 1px, transparent 1px) 0 0/100% 32px;
}
.line-chart::after{
  content:"";
  position:absolute; top:0; left:-60%;
  width:160%; height:100%;
  background:
    radial-gradient(120px 80px at 15% 60%, rgba(49,115,212,.35) 2px, transparent 3px),
    radial-gradient(120px 80px at 40% 45%, rgba(49,115,212,.5) 2px, transparent 3px),
    radial-gradient(120px 80px at 70% 75%, rgba(49,115,212,.45) 2px, transparent 3px);
  filter: blur(2px) saturate(140%);
  opacity:.9;
  mask: linear-gradient(transparent, #000 10% 90%, transparent);
  animation: slide 12s linear infinite;
}
@keyframes slide{
  from{ transform: translateX(0) }
  to  { transform: translateX(37%) }
}

/* --- Feature cards in basso --- */
.feature-card{
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
  box-shadow: 0 6px 14px rgba(20,50,90,.06);
}
.fc-title{
  font-weight: 700;
  font-size: 1.05rem;
}
.fc-ico{
  width: 56px; height: 56px; margin: 0 auto;
  background-size: contain; background-repeat:no-repeat; background-position:center;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.08));
}
/* usa le stesse icone che hai già nella pagina */
.fc-coupon    { background-image:url('../img/icon_winbox2.png'); }
.fc-rush      { background-image:url('../img/icon_giftbox2.png'); }
.fc-collection{ background-image:url('../img/icon_cashbox2.png'); }
.fc-gamify    { background-image:url('../img/icon_tradebox2.png'); }

/* Rispetto per reduced motion */
@media (prefers-reduced-motion: reduce){
  .bars span, .line-chart::after{ animation: none; }
}

/* ================== FIT NELLO SCHERMO ================== */
.laptop-wrap .dashboard-overlay{
  /* non tocchiamo il perimetro del display, ma stringiamo i contenuti */
}
.laptop-wrap .dashboard-overlay > .p-3{
  transform: scale(.92);            /* riduce altezza complessiva */
  transform-origin: top center;
}
.laptop-wrap .dashboard-overlay .row.g-3{
  /* stringiamo i gutter per recuperare spazio in altezza */
  --bs-gutter-x: .75rem;
  --bs-gutter-y: .75rem;
}
.laptop-wrap .dashboard-overlay .feature-card{
  padding: 14px 12px;
}
.laptop-wrap .dashboard-overlay .fc-title{
  font-size: 1rem;
}

/* ================== BAR CHART: COMPLETAMENTO ================== */
/* Ogni barra ha una % finale diversa; animiamo l’altezza da 0 a quella %. */
.bars{ height: 72px; align-items: end; }
.bars span{
  height: 0;                         /* parte da 0 */
  /*background: linear-gradient(#3a7bd5,#2a6ac5);*/
background:linear-gradient(180deg,#1ab7ea 0%,#0a98c8 100%);
  border-radius: 0;
  animation: barsGrow 2.2s cubic-bezier(.2,.8,.2,1) forwards; /* 1 sola volta */
  transform: translateZ(0);          /* GPU-friendly */
}
@keyframes barsGrow{
  from{ height: 0; }
  to  { height: var(--h, 45%); }     /* usa la variabile per il target */
}
/* altezze “finali” (simili al mock) + piccoli sfasamenti */
.bars span:nth-child(1) { --h: 18%; animation-delay:.05s }
.bars span:nth-child(2) { --h: 22%; animation-delay:.10s }
.bars span:nth-child(3) { --h: 28%; animation-delay:.15s }
.bars span:nth-child(4) { --h: 32%; animation-delay:.20s }
.bars span:nth-child(5) { --h: 40%; animation-delay:.25s }
.bars span:nth-child(6) { --h: 48%; animation-delay:.30s }
.bars span:nth-child(7) { --h: 56%; animation-delay:.35s }
.bars span:nth-child(8) { --h: 63%; animation-delay:.40s }
.bars span:nth-child(9) { --h: 72%; animation-delay:.45s }
.bars span:nth-child(10){ --h: 84%; animation-delay:.50s }

/* ================== LINE CHART: DISEGNO PROGRESSIVO ================== */
/* La linea che avevi in ::after resta; aggiungiamo un "panno" che si ritira. */
.line-chart{ position: relative; overflow: hidden; }
.line-chart::after{
  /* tua linea “statica” (già presente); lasciala com’è */
}

/* Cover che si ritira verso destra, rivelando la linea sotto */
.line-chart::before{
  content:"";
  position:absolute; inset:0;
  background:#f6f7fb;              /* stesso bg del grafico */
  animation: revealLine 7.6s ease-out forwards .3s;
}
/* da coperta totale a scoperta completa da sx -> dx */
@keyframes revealLine{
  from{ clip-path: inset(0 0 0 0); }        /* copre tutto */
  to  { clip-path: inset(0 100% 0 0); }     /* si ritira a destra */
}

/* ================== ACCESSIBILITÀ ================== */
@media (prefers-reduced-motion: reduce){
  .bars span, .line-chart::before{ animation: none; }
}

/* Pausa di default */
.dashboard-overlay .bars span,
.dashboard-overlay .line-chart::before{
  animation-play-state: paused;
}

/* Parte quando entra in viewport */
.dashboard-overlay.inview .bars span,
.dashboard-overlay.inview .line-chart::before{
  animation-play-state: running;
}

/* Rispetta utenti che riducono le animazioni */
@media (prefers-reduced-motion: reduce){
  .dashboard-overlay .bars span,
  .dashboard-overlay .line-chart::before{
    animation: none !important;
  }
}

/* griglia tenue (resta come hai ora) */
.line-chart {
  position: relative;
  height: 120px;
  background: linear-gradient(180deg,#ffffff,#f2f4f8);
  border: 1px solid #e8edf5;
  border-radius: 8px;
  overflow: hidden;
}
.line-chart .grid {
  position:absolute; inset:0;
  background:
    linear-gradient(to right, rgba(0,0,0,.04) 1px, transparent 1px) 0 0/32px 100%,
    linear-gradient(to bottom, rgba(0,0,0,.04) 1px, transparent 1px) 0 0/100% 32px;
  pointer-events:none;
}

/* SVG full-bleed nel box */
.line-chart .lc-svg{
  position:absolute; inset:0;
  width:100%; height:100%;
}

/* linea */
.line-chart .lc-path{
  stroke:#3173d4;       /* azzurro coerente col sito */
  stroke-width:3;
  stroke-linecap:round;
  stroke-linejoin:round;
  fill:none;
  /* animazione “scrittura” */
  stroke-dasharray: 600;
  stroke-dashoffset: 600;   /* parte nascosta */
  transition: stroke-dashoffset 6.2s ease-out;
}

/* attiva quando la .dashboard-overlay entra in viewport */
.dashboard-overlay.inview .lc-path{
  stroke-dashoffset: 0;
}

/* opzionale: puntini morbidi */
.line-chart .lc-dots{
  fill:#3173d4;
  opacity:.22;
}

/* riduciamo/semplifichiamo: togli la vecchia “linea” in ::after */
.line-chart::after{ content:none; }
/* la “coperta” di reveal non serve più */
.line-chart::before{ content:none; }

/* stato base: linea “nascosta” (pronta a ripartire) */
.line-chart .lc-path{
  stroke: #2f80ed;
  stroke-width: 3;
  fill: none;
  stroke-dasharray: var(--lc-len, 600);
  stroke-dashoffset: var(--lc-len, 600);
  transition: none;                 /* nessuna animazione a riposo */
}

/* quando entra in viewport */
.dashboard-overlay.inview .line-chart .lc-path{
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1800ms ease; 
}

/* (le barrette le lasci come sono: partono solo con .inview) */

/* testo tab più leggibile e corto */
.tab-lead{
  font-weight:300;
  margin-bottom:.5rem;
  max-width:48ch;
}
.tab-body{
  font-weight:300;
  opacity:.95;
}

/* bullets compatti e brandizzati */
.tab-bullets{margin:0 0 .5rem 0; padding:0; list-style:none;}
.tab-bullets li{
  position:relative; padding-left:26px; margin:.25rem 0;
  font-weight:300;
}
.tab-bullets li::before{
  content:"\f26e"; /* bootstrap-icons check2-circle */
  font-family:"bootstrap-icons"; position:absolute; left:0; top:1px;
  font-size:1rem; color:#19b1e9;
}

.tab-bullets-white {
  margin: 0 0 .5rem 0;
  padding: 0;
  list-style: none;
}

.tab-bullets-white li {
  position: relative;
  padding-left: 26px;
  margin: .25rem 0;
  font-weight: 300;
}

.tab-bullets-white li::before {
  content: "\f26e";
  /* bootstrap-icons check2-circle */
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 1rem;
  color: #ffffff;
}

/* link collapse */
.tab-toggle{
  display:inline-block; margin-top:.25rem; font-weight:600;
  text-decoration:none; color:#0a98c8;
}
.tab-toggle:hover{ text-decoration:underline; }

/* figure coerente: immagine “incorniciata” */
.tab-figure{ border-radius:16px; overflow:hidden; background:#fff; box-shadow:0 10px 30px rgba(0,0,0,.08); }
.tab-figure img{ display:block; width:100%; height:auto; }

/* ===== Timeline base ===== */
#timeline-container{
  position: relative;
  width: 80%;
  margin: 8% auto 8% auto;
}
#timeline-line{
  position: relative;
  height: 4px;
  background: rgba(10,161,214,.25); /* binario tenue */
  border-radius: 4px;
}
#timeline-line .timeline-progress{
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;                               /* cresce via JS */
  background: linear-gradient(90deg,#00a1e0,#0066cc);
  border-radius: 4px;
  transform-origin: left center;
}

/* punti sulla linea */
#timeline-line .timeline-point{
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #0aa1d6;
  box-shadow: 0 0 0 6px rgba(10,161,214,.16);
}

/* caption sopra i punti */
#timeline-line .caption_timeline{
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%, -10px);
  white-space: nowrap;
  text-align: center;
}

/* stato iniziale: nascosto (tranne il primo) */
.tl-hidden{
  opacity: 0;
  transform: translate(-50%, -10px) scale(.6);
}

/* quando il punto entra: piccola rimbalzata */
@keyframes tl-bounce-in{
  0%   { transform: translate(-50%, -10px) scale(.6); opacity: 0; }
  60%  { transform: translate(-50%, -14px) scale(1.08); opacity: 1; }
  100% { transform: translate(-50%, -10px) scale(1); opacity: 1; }
}
.tl-show{
  animation: tl-bounce-in .45s cubic-bezier(.2,.9,.2,1) both;
}

/* rispettare chi riduce le animazioni */
@media (prefers-reduced-motion: reduce){
  #timeline-line .timeline-progress{ transition: none !important; }
  .tl-show{ animation: none !important; opacity: 1 !important; transform: translate(-50%,-10px) scale(1) !important; }
}

/* ===== Timeline pulita: mostra SOLO la linea che si estende ===== */
#timeline-line{
  position: relative;
  height: 4px;
  background: transparent;          /* niente binario visibile */
  border-radius: 4px;
  overflow: visible;
}

/* linea che cresce */
#timeline-line .timeline-progress{
  position: absolute;
  inset: 0 auto 0 0;                /* top:0; left:0; bottom:0 */
  width: 0%;                        /* parte da 0, poi cresce */
  height: 4px;
  background: linear-gradient(90deg, #c3f0fc, #19b1e9, #c3f0fc);
  border-radius: 4px;
  transform-origin: left center;
  will-change: width;
}

/* punti */
#timeline-line .timeline-point{
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) scale(.6);
  width: 16px; height: 16px; border-radius: 50%;
  background: #0aa1d6;
  box-shadow: 0 0 0 8px rgba(10,161,214,.12);
  opacity: 0;                       /* si vedono solo quando chiamati */
}

/* caption */
#timeline-line .caption_timeline{
  position: absolute;
  bottom: 100%; left: 50%;
  transform: translate(-50%, -8px) scale(.8);
  opacity: 0;
  white-space: nowrap; text-align:center;
}

/* caption */
#timeline-line .timeline_bottom {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -8px) scale(.8);
  opacity: 0;
  white-space: nowrap;
  text-align: center;
}

/* bounce elastico (overshoot realistico) */
@keyframes spring-in {
  0%   { transform: translate(-50%, -8px) scale(.5);   opacity: 0; }
  55%  { transform: translate(-50%, -14px) scale(1.25); opacity: 1; }
  75%  { transform: translate(-50%, -6px)  scale(.92);  opacity: 1; }
  88%  { transform: translate(-50%, -9px)  scale(1.05); opacity: 1; }
  100% { transform: translate(-50%, -8px)  scale(1);    opacity: 1; }
}
@keyframes dot-spring {
  0%   { transform: translate(-50%, -50%) scale(.4);   opacity: 0; }
  55%  { transform: translate(-50%, -54%) scale(1.3);  opacity: 1; }
  75%  { transform: translate(-50%, -48%) scale(.92);  opacity: 1; }
  88%  { transform: translate(-50%, -51%) scale(1.06); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1);    opacity: 1; }
}
.tl-dot-in   { animation: dot-spring .55s cubic-bezier(.16,1.1,.3,1) both; }
.tl-cap-in   { animation: spring-in   .55s cubic-bezier(.16,1.1,.3,1) both; }

/* rispetto reduce-motion */
@media (prefers-reduced-motion: reduce){
  #timeline-line .timeline-progress{ transition: none !important; }
  .tl-dot-in,.tl-cap-in { animation: none !important; opacity:1 !important; transform:none !important; }
}


.btn-primary {
  --c:#0aa1d6;
  background: var(--c);
  border: 2px solid var(--c);
  color:#fff;
  border-radius: 999px;
  padding: .5rem 1rem;
  font-weight: 600;
}
.btn-primary:hover {
  color:#0aa1d6;
  background:#fff !important;
  box-shadow: 0 0 0 4px rgba(10,161,214,.15);
}

/* —— TIMELINE: cuori + heartbeat + EKG spike —— */
#timeline-line{ position:relative; }

/* cuore dentro ogni point */
.timeline-point{
  position:absolute;
  top:50%;
  transform:translate(-50%,-50%);
  width:28px; height:28px;
  opacity:1;                    /* JS gestisce la visibilità step-by-step */
  z-index:2;
}
.timeline-point::before{
  content:"";
  display:block;
  width:100%; height:100%;
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23e31b5f' d='M12 21s-6.7-4.6-9.3-7.2C.9 11 .9 7.9 3 5.8 4.5 4.3 6.9 4 8.6 5.4c.5.4 1 .9 1.4 1.6.4-.7.9-1.2 1.4-1.6C13.1 4 15.5 4.3 17 5.8c2.1 2.1 2.1 5.2.3 8C18.7 16.4 12 21 12 21z'/%3E%3C/svg%3E")
    center/contain no-repeat;
  transform-origin:center;
  filter: drop-shadow(0 2px 6px rgba(227,27,95,.25));
}

/* colore alternativo (brand) — usa .heart-brand su #timeline-line per azzurro */
#timeline-line.heart-brand .timeline-point::before{
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%230aa1d6' d='M12 21s-6.7-4.6-9.3-7.2C.9 11 .9 7.9 3 5.8 4.5 4.3 6.9 4 8.6 5.4c.5.4 1 .9 1.4 1.6.4-.7.9-1.2 1.4-1.6C13.1 4 15.5 4.3 17 5.8c2.1 2.1 2.1 5.2.3 8C18.7 16.4 12 21 12 21z'/%3E%3C/svg%3E");
  filter: drop-shadow(0 2px 6px rgba(10,161,214,.25));
}

/* battito: sequenza breve ed elastica alla comparsa */
@keyframes heartbeat {
  0%   { transform:scale(.2); opacity:0; }
  18%  { transform:scale(1.25); opacity:1; }
  32%  { transform:scale(.92); }
  48%  { transform:scale(1.12); }
  68%  { transform:scale(1.00); }
  100% { transform:scale(1.00); }
}

/* la tua JS già aggiunge .tl-dot-in: agganciamo lì il battito */
.timeline-point.tl-dot-in::before{
  animation: heartbeat 680ms cubic-bezier(.2,.8,.2,1) both;
}


/*------------cuori pulsanti------------------*/
/* battito iniziale (già presente) */
.timeline-point.tl-dot-in::before {
  animation: heartbeat 680ms cubic-bezier(.2, .8, .2, 1) both;
}

/* battito in loop dopo il completamento della timeline */
.timeline-point.tl-heart-loop::before {
  animation: heartbeat 680ms cubic-bezier(.2, .8, .2, 1) infinite;
}
/*--------------------------*/

/* spike EKG: elemento effimero disegnato con SVG */
.ekg-pulse{
width: 140px;
  /* era 90px */
  height: 44px;
  /* era 28px → più alto = spike più pronunciato */
  transform: translate(-50%, -26px);
  /* alzato leggermente sopra la linea */
  pointer-events:none; z-index:3;
  opacity:.95;
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 90 28' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline fill='none' stroke='%23e31b5f' stroke-width='2.2' stroke-linejoin='round' stroke-linecap='round' points='18,14 24,14 28,0 32,25 36,14 46,14'/%3E%3C/svg%3E")
    center/contain no-repeat;
  filter: drop-shadow(0 2px 8px rgba(227,27,95,.25));
}
#timeline-line.heart-brand .ekg-pulse{
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 90 28' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline fill='none' stroke='%230aa1d6' stroke-width='2.2' stroke-linejoin='round' stroke-linecap='round' points='18,14 24,14 28,0 32,25 36,14 46,14'/%3E%3C/svg%3E");
  filter: drop-shadow(0 2px 8px rgba(10,161,214,.25));
}

/* animazione: fade+traslazione leggera verso dx */
@keyframes ekgFly {
  0%   { transform:translate(-50%,-50%) translateX(-8px); opacity:0; }
  12%  { opacity:1; }
  100% { transform:translate(-50%,-50%) translateX(12px); opacity:0; }
}
.ekg-pulse{ animation: ekgFly 900ms ease-out forwards; }

/* accessibilità */
@media (prefers-reduced-motion: reduce){
  .timeline-point.tl-dot-in::before,
  .ekg-pulse{ animation:none !important; opacity:1; }
}






/* —— TIMELINE: cuori + heartbeat + EKG spike —— */
#timeline-line {
  position: relative;
}

/* cuore dentro ogni point */
.timeline-point {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  opacity: 1;
  /* JS gestisce la visibilità step-by-step */
  z-index: 2;
}

.timeline-point::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-image: url('../img/heart.svg');
  transform-origin: center;
  filter: drop-shadow(0 2px 6px rgba(227, 27, 95, .25));
}

/* colore alternativo (brand) — usa .heart-brand su #timeline-line per azzurro */
#timeline-line.heart-brand .timeline-point::before {
background-image: url('../img/heart.svg');
  filter: drop-shadow(0 2px 6px rgba(10, 161, 214, .25));
}

/* battito: sequenza breve ed elastica alla comparsa */
@keyframes heartbeat {
  0% {
    transform: scale(.2);
    opacity: 0;
  }

  18% {
    transform: scale(1.25);
    opacity: 1;
  }

  32% {
    transform: scale(.92);
  }

  48% {
    transform: scale(1.12);
  }

  68% {
    transform: scale(1.00);
  }

  100% {
    transform: scale(1.00);
  }
}

/* la tua JS già aggiunge .tl-dot-in: agganciamo lì il battito */
.timeline-point.tl-dot-in::before {
  animation: heartbeat 680ms cubic-bezier(.2, .8, .2, 1) both;
}

/* spike EKG: elemento effimero disegnato con SVG */
.ekg-pulse {
  position: absolute;
  top: 50%;
  width: 140px;
    /* era 90px */
    height: 44px;
    /* era 28px → più alto = spike più pronunciato */
    transform: translate(-50%, -26px);
    /* alzato leggermente sopra la linea */
  pointer-events: none;
  z-index: 3;
  opacity: .95;
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 90 28' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline fill='none' stroke='%230aa1d6' stroke-width='2.2' stroke-linejoin='round' stroke-linecap='round' points='18,14 24,14 28,0 32,25 36,14 46,14'/%3E%3C/svg%3E") center/contain no-repeat;
  filter: drop-shadow(0 2px 8px rgba(227, 27, 95, .25));
}

/* —— TIMELINE: cuori + heartbeat + EKG spike —— */
#timeline-line {
  position: relative;
}

/* cuore dentro ogni point */
.timeline-point {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  opacity: 1;
  /* JS gestisce la visibilità step-by-step */
  z-index: 2;
}

.timeline-point::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23e31b5f' d='M12 21s-6.7-4.6-9.3-7.2C.9 11 .9 7.9 3 5.8 4.5 4.3 6.9 4 8.6 5.4c.5.4 1 .9 1.4 1.6.4-.7.9-1.2 1.4-1.6C13.1 4 15.5 4.3 17 5.8c2.1 2.1 2.1 5.2.3 8C18.7 16.4 12 21 12 21z'/%3E%3C/svg%3E") center/contain no-repeat;
  transform-origin: center;
  filter: drop-shadow(0 2px 6px rgba(227, 27, 95, .25));
}

/* colore alternativo (brand) — usa .heart-brand su #timeline-line per azzurro */
#timeline-line.heart-brand .timeline-point::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%230aa1d6' d='M12 21s-6.7-4.6-9.3-7.2C.9 11 .9 7.9 3 5.8 4.5 4.3 6.9 4 8.6 5.4c.5.4 1 .9 1.4 1.6.4-.7.9-1.2 1.4-1.6C13.1 4 15.5 4.3 17 5.8c2.1 2.1 2.1 5.2.3 8C18.7 16.4 12 21 12 21z'/%3E%3C/svg%3E");
  filter: drop-shadow(0 2px 6px rgba(10, 161, 214, .25));
}

/* battito: sequenza breve ed elastica alla comparsa */
@keyframes heartbeat {
  0% {
    transform: scale(.2);
    opacity: 0;
  }

  18% {
    transform: scale(1.25);
    opacity: 1;
  }

  32% {
    transform: scale(.92);
  }

  48% {
    transform: scale(1.12);
  }

  68% {
    transform: scale(1.00);
  }

  100% {
    transform: scale(1.00);
  }
}

/* la tua JS già aggiunge .tl-dot-in: agganciamo lì il battito */
.timeline-point.tl-dot-in::before {
  animation: heartbeat 680ms cubic-bezier(.2, .8, .2, 1) both;
}



#timeline-line.heart-brand .ekg-pulse {
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 90 28' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline fill='none' stroke='%230aa1d6' stroke-width='2.2' stroke-linejoin='round' stroke-linecap='round' points='18,14 24,14 28,0 32,25 36,14 46,14'/%3E%3C/svg%3E");
  filter: drop-shadow(0 2px 8px rgba(10, 161, 214, .25));
}



.ekg-pulse {
  animation: ekgFly 900ms ease-out forwards;
}

/* accessibilità */
@media (prefers-reduced-motion: reduce) {

  .timeline-point.tl-dot-in::before,
  .ekg-pulse {
    animation: none !important;
    opacity: 1;
  }
}






/* —— TIMELINE: cuori + heartbeat + EKG spike —— */
#timeline-line {
  position: relative;
}

/* cuore dentro ogni point */
.timeline-point {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  opacity: 1;
  /* JS gestisce la visibilità step-by-step */
  z-index: 2;
}

.timeline-point::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-image: url('../img/heart.svg');
  transform-origin: center;
  filter: drop-shadow(0 2px 6px rgba(227, 27, 95, .25));
}

/* colore alternativo (brand) — usa .heart-brand su #timeline-line per azzurro */
#timeline-line.heart-brand .timeline-point::before {
  background-image: url('../img/heart.svg');
  filter: drop-shadow(0 2px 6px rgba(10, 161, 214, .25));
  
}

/* battito: sequenza breve ed elastica alla comparsa */
@keyframes heartbeat {
  0% {
    transform: scale(.2);
    opacity: 0;
  }

  18% {
    transform: scale(1.25);
    opacity: 1;
  }

  32% {
    transform: scale(.92);
  }

  48% {
    transform: scale(1.12);
  }

  68% {
    transform: scale(1.00);
  }

  100% {
    transform: scale(1.00);
  }
}

/* la tua JS già aggiunge .tl-dot-in: agganciamo lì il battito */
.timeline-point.tl-dot-in::before {
  animation: heartbeat 680ms cubic-bezier(.2, .8, .2, 1) both;
}



#timeline-line.heart-brand .ekg-pulse {
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 90 28' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline fill='none' stroke='%230aa1d6' stroke-width='2.2' stroke-linejoin='round' stroke-linecap='round' points='18,14 24,14 28,0 32,25 36,14 46,14'/%3E%3C/svg%3E") center/contain no-repeat;
  filter: drop-shadow(0 2px 8px rgba(10, 161, 214, .25));
}


/* ==========================================================
   TIMELINE – Cuori SVG + Spike EKG (aggiornato 2025-10)
   ========================================================== */

/* Colore globale per cuori e spike */
#timeline-line.heart-brand {
  color: #0aa1d6;
  /* Azzurro brand coerente con il resto del sito */
  --heart-size: 30px;
  /* grandezza regolabile (default 28–30px) */
}

/* Punti timeline a forma di cuore */
#timeline-line.heart-brand .timeline-point {
  position: absolute;
  left: var(--left, 0);
  top: 0;
  width: var(--heart-size);
  height: var(--heart-size);
  transform: translate(-50%, -50%);
  transform-origin: center;
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* animazione: fade+traslazione leggera verso dx */
@keyframes ekgFly {
  0% {
    transform: translate(-50%, -50%) translateX(-120px) scaleY(100%);
    opacity: 0;
  }

  12% {
    opacity: 1;
    /* transform: scaleY(300%); */
  }

  100% {
    transform: translate(-50%, -50%) translateX(0px) scaleY(100%);
    opacity: 0;
  }
}
 
/* ==========================================================
   TIMELINE – Cuori SVG + Spike EKG (aggiornato 2025-10)
   ========================================================== */

/* Colore globale per cuori e spike */
#timeline-line.heart-brand {
  color: #0aa1d6;
  /* Azzurro brand coerente con il resto del sito */
  --heart-size: 30px;
  /* grandezza regolabile (default 28–30px) */
}

/* Punti timeline a forma di cuore */
#timeline-line.heart-brand .timeline-point {
  position: absolute;
  left: var(--left, 0);
  top: 0;
  width: var(--heart-size);
  height: var(--heart-size);
  transform: translate(-50%, -50%);
  transform-origin: center;
  background: transparent;
  border: 0;
  box-shadow: none;
}


/* === TIMELINE VERSIONE VERTICALE (usa .timeline-hori) === */
.timeline-hori {
  position: relative;
  width: 4px;
  background-color: rgba(10, 161, 214, .15);
  margin: 0 auto;
  min-height: 400px;
}

/* progress verticale */
.timeline-hori .timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #0aa1d6;
  transform-origin: top;
  height: 0%;
  transition: height .6s cubic-bezier(.16, 1.2, .3, 1.05);
}

/* pallini (niente cuori) */
.timeline-hori .timeline-point {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #0aa1d6;
  opacity: 0.4;
  z-index: 2;
  transition: opacity .3s, transform .3s;
}

.timeline-hori .timeline-point.tl-dot-in {
  opacity: 1;
  transform: translateX(-50%) scale(1.2);
}

/* testi a sinistra */
.timeline-hori .caption_timeline {
  position: absolute;
  top: 50%;
  right: calc(100% + 30px);
  transform: translateY(-50%);
  text-align: right;
  max-width: 260px;
  opacity: 0;
  transition: opacity .5s;
}

.timeline-hori .caption_timeline.tl-cap-in {
  opacity: 1;
}

/* responsive */
@media (max-width: 768px) {
  .timeline-hori {
    margin-left: 20px;
  }

  .timeline-hori .caption_timeline {
    position: relative;
    right: auto;
    transform: none;
    margin-top: 10px;
    text-align: left;
  }
}


/* === TIMELINE VERTICALE (solo per .timeline-hori) === */
.timeline-hori {
  position: relative;
  width: 4px;
  /* spessore linea */
  background: rgba(10, 161, 214, .15);
  min-height: 420px;
  /* altezza minima */
  margin: 0;
  /* attaccata a sx nella colonna */
}

/* barra di avanzamento (dal top verso il basso) */
.timeline-hori .timeline-progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  /* parte da 0 */
  background: #0aa1d6;
  transform-origin: top;
  transition: height .6s cubic-bezier(.16, 1.2, .3, 1.05);
}

/* punti: posizionamento ASSOLUTO su top:% */
.timeline-hori .timeline-point {
  position: absolute;
  /* <-- importante per usare top:% */
  left: 50%;
  /* centrato sulla linea */
  transform: translateX(-50%);
  width: 0;
  height: 0;
  /* il punto lo disegniamo con i pseudo */
  opacity: 1;
}

/* rimuove qualunque “cuore” ereditato + disegna solo pallini */
.timeline-hori .timeline-point::before,
.timeline-hori .timeline-point::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  background: none;
  box-shadow: none;
}

.timeline-hori .timeline-point::before {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #0aa1d6;
  /* pallino pieno */
  box-shadow: 0 0 0 6px rgba(10, 161, 214, .15);
  /* alone soft */
}

.timeline-hori .timeline-point::after {
  display: none;
  /* nessun secondo livello (no cuori) */
}

/* didascalie a SINISTRA della linea, allineate a destra */
.timeline-hori .caption_timeline {
  position: absolute;
  top: 0;
  /* la posizioniamo dal centro del punto */
  right: calc(100% + 18px);
  /* spostata a sinistra della linea */
  left: auto;
  transform: translateY(-50%);
  max-width: 320px;
  text-align: right;
  /* testi allineati a dx perché stanno a sinistra della linea */
}

/* Mobile: lascia i testi sotto il pallino, allineati a sinistra */
@media (max-width:768px) {
  .timeline-hori {
    margin-left: 10px;
  }

  .timeline-hori .caption_timeline {
    position: relative;
    right: auto;
    left: 24px;
    /* testo a destra del pallino su mobile */
    transform: none;
    margin-top: 10px;
    text-align: left;
    max-width: 100%;
  }
}

/* === TIMELINE VERTICALE — fissa (no animazioni) === */
#timeline-line.timeline-hori {
  position: relative;
  width: 4px;
  /* spessore linea */
  background: rgba(10, 161, 214, .15);
  min-height: 360px;
  /* altezza contenitore */
  margin-left: 0;
  /* attaccata a sinistra */
}

/* PALLINI */
#timeline-line.timeline-hori .timeline-point {
  position: absolute;
  /* userai top:% su ciascun punto */
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  /* il punto è nel ::before */
  opacity: 1;
}

/* forza “solo pallini”: niente background-image ereditati (cuori) */
#timeline-line.timeline-hori .timeline-point::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #0aa1d6 !important;
  /* pallino pieno azzurro */
  background-image: none !important;
  box-shadow: 0 0 0 6px rgba(10, 161, 214, .15);
  filter: none !important;
}

/* Testi a SINISTRA della linea, allineati a destra */
#timeline-line.timeline-hori .caption_timeline {
  position: relative;
  transform: none !important;
  max-width: 340px;
  text-align: right;
  opacity: 1;
  margin-top: -10% !important;
  /* sempre visibili 
  top: 0% !important;
  bottom: 0% !important;
  right: 0% !important;
  left: 0% !important;
  */
}

/* Mobile: metti il testo a destra del pallino, allineato a sinistra */
@media (max-width:768px) {
  #timeline-line.timeline-hori {
    margin-left: 10px;
  }

  #timeline-line.timeline-hori .caption_timeline {
    right: auto;
    left: 24px;
    transform: none;
    text-align: left;
    max-width: 100%;
  }
}

/* Disattiva eventuali animazioni generiche che potresti avere */
#timeline-line.timeline-hori .timeline-progress {
  display: none !important;
}

#timeline-line.timeline-hori .timeline-point,
#timeline-line.timeline-hori .caption_timeline {
  animation: none !important;
  transition: none !important;
  text-align: left;
}

/* === VERTICALE .timeline-hori — resa fissa, no animazioni, no cuori === */
#timeline-line.timeline-hori {
  /* micro-tuning */
  --capGapX: 28px;
  /* distanza orizzontale testo–linea */
  --baselineShift: -0.55em;
  /* alza la caption: 1a riga allineata al centro pallino */

  position: relative;
  width: 4px;
  background: rgba(10, 161, 214, .18);
  min-height: 220px;
  /* altezza linea; aumentala se serve */
}

/* punti (pallino doppio) */
#timeline-line.timeline-hori .timeline-point {
  position: absolute;
  left: 10px;
  /* pallino sulla linea */
  transform: none;
}

#timeline-line.timeline-hori .timeline-point::before,
#timeline-line.timeline-hori .timeline-point::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

#timeline-line.timeline-hori .timeline-point::before {
  /* alone + cerchio */
  width: 18px;
  height: 18px;
  left: -9px;
  /* centra su linea 4px */
  top: calc(50% - 9px);
  background: #0aa1d6;
  box-shadow: 0 0 0 10px rgba(10, 161, 214, .18);
}

#timeline-line.timeline-hori .timeline-point::after {
  /* pallino interno scuro */
  width: 8px;
  height: 8px;
  left: -4px;
  top: calc(50% - 4px);
  background: #00324f;
}

/* progress pieno (linea già composta) */
#timeline-line.timeline-hori .timeline-progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #0aa1d6;
  opacity: .25;
}

/* ===== CAPTION =====
   Agganciata al centro del punto, ma traslata verso l'alto di "baselineShift"
   così la PRIMA RIGA (il titolo) cade esattamente alla quota del centro pallino
*/
#timeline-line.timeline-hori .caption_timeline {
  position: absolute;
  top: -140%;
    left: calc(20% + var(--capGapX));
  transform: translateY(var(--baselineShift));
  max-width: 520px;
  text-align: left;
}

/* tipografia e spaziature */
#timeline-line.timeline-hori .caption_timeline .eyebrow {
  display: inline-block;
  margin: 0;
  line-height: 1.15;
  /* controlla l'altezza della prima riga */
  font-weight: 800;
  letter-spacing: .02em;
  color: #0aa1d6;
}

#timeline-line.timeline-hori .caption_timeline br {
  display: none;
}

/* non serve più */
#timeline-line.timeline-hori .caption_timeline p {
  margin: .35rem 0 0 0;
  /* paragrafo subito sotto al titolo */
  line-height: 1.5;
  color: #00324f;
}

/* mobile: metti il testo sotto al punto, sempre allineato a sinistra */
@media (max-width: 768px) {
  #timeline-line.timeline-hori {
    margin-left: 18px;
  }

  #timeline-line.timeline-hori .caption_timeline {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: .5rem 0 1.25rem 0;
  }
}

/* === TIMELINE VERTICALE (.timeline-hori) — PUNTI A CUORE === */

/* dimensioni/posizionamento del punto */
#timeline-line.timeline-hori .timeline-point {
  position: absolute;
  left: 10px;
  /* il punto sta sulla linea verticale */
  transform: none;
  width: 30px;
  height: 30px;
}

/* cuore come nell’homepage: sovrascrive i “pallini” */
#timeline-line.timeline-hori .timeline-point::before {
  content: "";
  position: absolute;
  left: -22%;
  top: 0;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 0;
  /* rimettiamo l’icona cuore e togliamo forzature dei pallini */
  background: url('../img/heart.svg') center/contain no-repeat !important;
  /* <- cuore */
  box-shadow: none;
  filter: drop-shadow(0 2px 6px rgba(10, 161, 214, .25));
  /* glow azzurro come home */
}

/* (opzionale) se vuoi un cuore leggermente più piccolo */
@media (max-width: 768px) {
  #timeline-line.timeline-hori .timeline-point {
    width: 26px;
    height: 26px;
  }
}

/* Line chart */
.lc-svg {
  overflow: visible;
}

.lc-path {
  fill: none;
  stroke: #3a86ff;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: var(--lc-len, 600);
  stroke-dashoffset: var(--lc-len, 600);
}

/* avvio draw quando .dashboard-overlay entra in view */
.dashboard-overlay.inview .lc-path {
  animation: lc-draw var(--lc-dur, 1.8s) ease forwards;
}

@keyframes lc-draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* Cuore: nascosto finché non finisce la traccia */
.lc-heart {
  opacity: 0;
  transform-origin: center;
  /* Se vuoi una tinta unica anche per SVG esterno, puoi applicare un filtro:
     filter: hue-rotate(0deg) saturate(1.2);
     (oppure lascia il colore del file com’è) */
}

/* il cuore “poppa” dopo la durata della linea */
.dashboard-overlay.inview .lc-heart {
  animation: heart-pop .5s ease forwards;
  animation-delay: var(--lc-dur, 1.8s);
}

@keyframes heart-pop {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}



.heartbeatpulse {
  /* color: #ff3366; */
  /* colore del cuore */
  animation: heartbeatpulse 1.3s ease-in-out infinite;
  transform-origin: center;
  font-size: 2rem;
}

/* Effetto “battito cardiaco” */
@keyframes heartbeatpulse {

  0%,
  20%,
  40%,
  60%,
  80%,
  100% {
    transform: scale(1);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: scale(1.25);
  }
}

.banner_title i {
  -webkit-text-fill-color: initial;
  background: none;
}

/* Rendi visibile l'icona anche con .text-gradient sul titolo */
.banner_title i.bi,
.banner_title i.bi::before {
  -webkit-text-fill-color: currentColor !important;
  background: none !important;
}

/* L'icona deve essere scalabile (gli inline non scalano bene) */
.heartbeatpulse {
  display: inline-block;
  /* fondamentale per scale() */
  transform-origin: center;
  /* scala dal centro */
  animation: heartbeatpulse 1.3s ease-in-out infinite;
}

/* Effetto “battito cardiaco” */
@keyframes heartbeatpulse {

  0% {
      transform: scale(.8);
    }
  
    18% {
      transform: scale(1.25);
    }
  
    32% {
      transform: scale(.92);
    }
  
    48% {
      transform: scale(1.12);
    }
  
    68% {
      transform: scale(1.00);
    }
  
    100% {
      transform: scale(1.00);
    }
}


/*=========VIDEO BANNER========*/

#banner {
  background-color: #fff;
  position: relative;
  width: 100%;
  z-index: 100;
  min-height: 850px;
  /* max-height: 90vh; */
  box-shadow: 5px 5px 5px rgba(0, 0, 0, .3);
  overflow: hidden;
}

#banner video {
  position: absolute;
  top: 45px;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

@media (max-width: 768px) {
  #banner video {
      position: absolute;
      top: 45px;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: contain;
      z-index: -1;
    }
}



/* .card-cuore:before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #19b1e9;
} */

.txt-info {
  font-weight: 700 !important;
  }

  .txt-info a{
  font-weight: 700 !important;
  color: #0aa1d6 !important;
  text-decoration: none;
  }

        .txt-info a:hover {
          font-weight: 700;
          color: inherit !important;
          text-decoration: underline;
        }



        /*===========LAPTOP COUPON=============*/

.laptop-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  /* regola a piacere */
  margin: 0 auto;
}

.scroll-container {
  position: absolute;
  top: 6%;
  /* regola per centrare nello schermo del laptop */
  left: 8%;
  width: 84%;
  /* area visibile del display */
  height: 80%;
  /* area visibile del display */
  overflow: hidden;
}

.scrolling-image {
  position: relative;
  width: 100%;
  animation: scrollImage 35s linear infinite;
}

.laptop-frame {
  width: 100%;
  position: relative;
  z-index: 2;
  /* sempre sopra */
}

/* animazione di scorrimento verticale */
@keyframes scrollImage {
  0% {
    top: 0;
  }

  50% {
    top: -175%;
  }

  100% {
    top: 0;
  }
}

.card-title-small {
  color: #0aa1d6 !important;
  font-weight: 700 !important;
  font-size: 1.5rem;
  line-height: 1.5rem;
  text-align: center;
  line-height: inherit !important;
}

#banner::before {
  visibility: hidden;

}

.card-blue-text {
  color: #ffffff !important;
  
    font-weight: 900 !important;
display: block;
  margin: 0;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
/* 
  white-space: nowrap;
  word-break: keep-all; */
}

.card-blue-text span{
  
            display: block;
            font-weight: 900 !important;
            color: #0aa1d6 !important;
              font-weight: 900 !important;
            
              -webkit-text-stroke: 4px #ffffff;
              paint-order: stroke fill;
            opacity: 0;
              transform: translateY(4px);
              /* leggero sollevamento all’ingresso */
              transition:
                opacity 0.45s ease-out,
                transform 0.45s ease-out,
                font-size 0.35s ease-out;
}

.carousel-item.active .card-blue-text span {
  opacity: 1;
    transform: translateY(0);
}

.card-blue-text-hori {
  color: #ffffff !important;
  font-size: 3vw;

  font-weight: 900 !important;
  margin: 0;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  /* 
  white-space: nowrap;
  word-break: keep-all; */
}

.card-blue-text-hori span {

  font-weight: 900 !important;
  color: #0aa1d6 !important;

  -webkit-text-stroke: 4px #ffffff;
  paint-order: stroke fill;
  opacity: 0;
  transform: translateY(4px);
  /* leggero sollevamento all’ingresso */
  transition:
    opacity 0.45s ease-out,
    transform 0.45s ease-out,
    font-size 0.35s ease-out;
}

.carousel-item.active .card-blue-text-hori span {
  opacity: 1;
  transform: translateY(0);
}

.line1{
    color: #ffffff !important;
    -webkit-text-stroke: 0px !important;
  }

    .line2 {
      color: #0aa1d6 !important;
        font-weight: 900 !important;
      
        -webkit-text-stroke: 4px #ffffff;
        paint-order: stroke fill;
    }


.highlight {
  background-color: #d0ecfa;
}

/* Battito continuo dei cuori sulla timeline CHI SIAMO */
.heart-brand .timeline-point.tl-heart-loop::before {
  /* override dell’animazione iniziale */
  animation: tl-heart-beat 1.2s ease-in-out infinite;
      margin-top: 50%;
      margin-left: 50%;
}

/* keyframe del battito (riprende lo “scatto” di ingresso) */
@keyframes tl-heart-beat {
  0% {
    transform: translateX(-50%) translateY(-50%) scale(1);
    /* box-shadow: 0 0 0 0 rgba(10, 161, 214, 0.25); */
  }

  25% {
    transform: translateX(-50%) translateY(-50%) scale(1.18);
    /* box-shadow: 0 0 18px 6px rgba(10, 161, 214, 0.25); */
  }

  40% {
    transform: translateX(-50%) translateY(-50%) scale(1);
    /* box-shadow: 0 0 0 0 rgba(10, 161, 214, 0.12); */
  }

  60% {
    transform: translateX(-50%) translateY(-50%) scale(1.12);
    /* box-shadow: 0 0 14px 4px rgba(10, 161, 214, 0.18); */
  }

  100% {
    transform: translateX(-50%) translateY(-50%) scale(1);
    /* box-shadow: 0 0 0 0 rgba(10, 161, 214, 0.10); */
  }
}

.bi-arrow-left-circle-fill::before {
  content: "\f129";
  font-size: 3rem;
  color: #0aa1d6;
  margin-top: 30%;
}

.bi-arrow-right-circle-fill::before {
  content: "\f133";
  font-size: 3rem;
  color: #0aa1d6;
  margin-top: 30%;
}

#banner_title,
.banner_title {
  line-height: normal !important;
}

.menutop {
  display: flex !important;
}

@media (max-width: 768px) {
.menutop {
    display: none !important;
  }
}

.dropdown-menu {
  border: none !important;
  padding: 6px;
}

.dropdown-item {
    color: #0aa1d6;
    font-weight: inherit;
}

ol {
  column-count: 1;
}
