/*** Spinner Start ***/

#spinner{
  position: fixed;
  inset: 0; /* top:0 right:0 bottom:0 left:0 */
  width: 100vw;
  height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #0b1220; /* oppure bianco o gradient */
  z-index: 99999;

  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease, visibility .6s ease;
}

#spinner.show{
  opacity: 1;
  visibility: visible;
}

/* =========================
   STICKY NAVBAR (NO FIXED)
========================= */
.sw-sticky-nav{
  position: sticky;
  top: 0;                 /* di default attacca in alto */
  z-index: 9999999;          /* sopra al contenuto (bootstrap navbar = 1030 ok) */
  background: #fff;       /* fondamentale */
  will-change: transform;
}

/* Ombra soft quando sticky (facoltativa, ma fa premium) */
.sw-sticky-nav{
  box-shadow: 0 8px 26px rgba(0,0,0,.06);
}

/* Se vuoi che su desktop resti SOTTO la topbar (che è  py-2) */
@media (min-width: 768px){
  .sw-sticky-nav{
    top: 40px; /* regola: 38-44px a seconda dell’altezza reale della topbar */
  }
}

/* Mobile: niente offset, sta in alto */
@media (max-width: 767.98px){
  .sw-sticky-nav{
    top: 0;
  }
}

/* centro contenuto */
#spinner .spinner-inner{
  display:flex;
  align-items:center;
  justify-content:center;
}

/*** Spinner End ***/


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-md-square {
    width: 46px;
    height: 46px;
}

.btn-lg-square {
    width: 58px;
    height: 58px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.back-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

/*** Button End ***/


/*** Topbar Start ***/

.topbar .top-info {
    letter-spacing: 1px;
}

.topbar .top-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar .top-link a {
    margin-right: 0px;
    color: #fff !important;
}

.topbar .top-link a:hover {
    text-decoration: underline;
    color: #fff;
}

#note {
    width: 500px;
    overflow: hidden;
}

#note small {
    position: relative;
    display: inline-block;
    animation: mymove 5s infinite;
    animation-timing-function: all;
}

@keyframes mymove {
    from {left: -100%;}
    to {left: 100%;}
}

/*** Topbar End ***/


/* ====== NAVBAR  ====== */
.navbar.navbar-light{
  background:#fff !important;
}

.navbar .navbar-brand img{ display:block; }

.navbar .navbar-nav{
  gap: 4px;
}

.navbar .navbar-nav .nav-link{
  color:#2b2b2b !important;
  font-weight: 700;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;}

.navbar .navbar-nav .nav-link:hover::before,
.navbar .navbar-nav .nav-link.active::before{
  transform: translateX(-50%) scaleX(1);
}

.navbar .navbar-nav .nav-link:hover{
  color:#72549b !important;
}

.navbar .navbar-nav .nav-link.active{
  color:#72549b !important;
}

.navbar .dropdown-toggle::after{
  border: 0 !important;
  content:"";
  display:inline-block !important;
  width: 28px;
  height: 28px;
  margin-left: 0px;
  vertical-align: -2px;
  opacity: .9;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cpath fill='%232b2b2b' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  transition: transform .25s ease, opacity .25s ease, filter .25s ease;
}

.navbar .dropdown:hover > .dropdown-toggle::after,
.navbar .dropdown.show > .dropdown-toggle::after{
  opacity:1;
  transform: rotate(180deg);
  filter: brightness(0) saturate(100%) invert(35%) sepia(23%) saturate(1196%) hue-rotate(231deg) brightness(94%) contrast(92%);
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after{
  color:#72549b !important;
}

.dropdown-menu.sw-dd{
  border: 1px solid rgba(0,0,0,.06);
  background: #fff;
  box-shadow: 0 18px 45px rgba(0,0,0,.12);
  padding: 10px;
  min-width: 360px;
  margin-top: 0;
  border-radius: 0;
  border-bottom-left-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
}

.dropdown-menu.sw-dd .dropdown-item{
  padding: 14px 14px;
  font-weight: 600;
  color:#2b2b2b;
  border-radius: 10px;
  background: transparent;
  white-space: normal;
}

.dropdown-menu.sw-dd .dropdown-item:hover,
.dropdown-menu.sw-dd .dropdown-item:focus,
.dropdown-menu.sw-dd .dropdown-item.active {
  background: rgba(114,84,155,.10) !important;
  color: #72549b !important;
}

/* ====== HOVER OPEN DESKTOP ====== */
@media (min-width: 992px){
  .nav-item.dropdown{ position: relative; }

  .nav-item.dropdown .dropdown-menu.sw-dd{
    display:block;
    opacity:0;
    transform: translateY(10px);
    pointer-events:none;
    transition: opacity .35s ease, transform .35s ease;
  }

  .nav-item.dropdown:hover > .dropdown-menu.sw-dd{
    opacity:1;
    transform: translateY(0);
    pointer-events:auto;
  }
}

/*** Navbar End ***/

/*** Carousel Start ***/

.carousel-item {
    position: relative;
}

.carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      600px 300px at 15% 10%,
      rgba(11, 18, 32, 0.45),
      transparent 60%
    ),
    linear-gradient(
      135deg,
      rgba(11, 18, 32, 0.85),
      rgba(11, 18, 32, 0.55)
    );
}

.carousel-caption {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.carousel-item p {
    max-width: 700px;
    margin: 0 auto 35px auto;
}

.carousel-control-prev {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 0;
    background: var(--bs-primary);
    border-radius: 0 50px 50px 0;
    opacity: 1;
}

.carousel-control-prev:hover {
    background: #FFF;
    transition: .8s;
}

.carousel-control-next {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    right: 0;
    background: var(--bs-primary);
    border-radius: 50px 0 0 50px;
    opacity: 1;
}

.carousel-control-next:hover {
    background: #FFF;
    transition: .8s;
}

.carousel-caption .carousel-content a button.carousel-content-btn1 {
    background: #72549b;
    color: #fff;
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn1:hover {
    background: #ffffff;
    color: #000;
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2 {
    background: var(--bs-primary);
    color: var(--bs-white);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2:hover {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

#carouselId .carousel-indicators li {
    width: 30px;
    height: 10px;
    background: var(--bs-primary);
    margin: 10px;
    border-radius: 30px;
    opacity: 1;
}

#carouselId .carousel-indicators li:hover {
    background: var(--bs-secondary);
    opacity: 1;
}

.page-header {
  background:
    radial-gradient(
      600px 320px at 15% 10%,
      rgba(11, 18, 32, 0.45),
      transparent 60%
    ),
    linear-gradient(
      135deg,
      rgba(11, 18, 32, 0.88),
      rgba(11, 18, 32, 0.55)
    ),
    url(../img/webagency-1.webp) center center no-repeat;

  background-size: auto, auto, cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}

/*** Carousel End ***/


/*** Services Start ***/

.services .services-item {
    box-shadow: 0 0 60px rgba(0, 0, 0, .2);
    width: 100%;
    height: 100%;
    border-radius: 10px;
    padding: 10px 0;
    position: relative;
}

.services-content::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-radius: 10px 10px 0 0;
    background: rgba(3, 43, 243, 0.8);
    transition: .5s;
}

.services-content::after {
    top: 0;
    bottom: auto;
    border-radius: 10px 10px 10px 10px;
}

.services-item:hover .services-content::after {
    height: 100%;
    opacity: 1;
    transition: .5s;
}

.services-item:hover .services-content-icon {
    position: relative;
    z-index: 2;
}

.services-item .services-content-icon i,
.services-item .services-content-icon p {
    transition: .5s;
}

.services-item:hover .services-content-icon i {
    color: var(--bs-secondary) !important;
}

.services-item:hover .services-content-icon p {
    color: var(--bs-white);
}

/*** Services End ***/


/*** Project Start ***/

.project-img {
    position: relative;
    padding: 15px;
}

.project-img::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    top: 0;
    left: 0;
    background: var(--bs-secondary);
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
    transition: .5s;
}

.project-img::after {
    content: "";
    width: 150px;
    height: 150px;
    position: absolute;
    right: 0;
    bottom: 0;
    background: var(--bs-primary);
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
    transition: .5s;
}

.project-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.project-content a {
    display: inline-block;
    padding: 20px 25px;
    background: var(--bs-primary);
    border-radius: 10px;
}

.project-item:hover .project-content {
    opacity: 1;
    transition: .5s;
}

.project-item:hover .project-img::before,
.project-item:hover .project-img::after {
    opacity: 0;
}

/*** Project End ***/


/*** Blog Start ***/
.blog-item .blog-btn {
    z-index: 2;
}

.blog-btn .blog-btn-icon {
    height: 50px;
    position: relative;
    overflow: hidden;
}

.blog-btn-icon .blog-icon-2 {
    display: flex;
    position: absolute;
    top: 6px;
    left: -140px;

}

.blog-btn-icon:hover .blog-icon-2 {
    transition: 1s;
    left: 5px;
    top: 6px;
    padding-bottom: 5px;
}
.blog-icon-1 {
    position: relative;
    top: -4px;
}
.blog-btn-icon:hover .blog-icon-1 {
    top: 0;
    right: -140px;
    transition: 1s;
}

/*** Blog End ***/


/*** Team Start ***/

.team-item {
    border-top: 30px solid var(--bs-secondary) !important;
    background: rgba(239, 239, 241, 0.8);
}

.team-content::before {
    height: 200px;
    display: block;
    content: "";
    position: relative;
    top: -101px;
    background: var(--bs-secondary);
    clip-path: polygon(50% 50%, 100% 50%, 50% 100%, 0% 50%);
    padding: 60px;
    opacity: 1;
}

.team-img-icon {
    position: relative;
    margin-top: -200px;
    padding: 30px;
    padding-bottom: 0;
}

.team-img {
    border: 15px solid var(--bs-white);
}

.team-img img {
    border: 10px solid var(--bs-secondary);
    transition: .5s;
}

.team-item:hover h4 {
    color: var(--bs-primary);
    transition: .5s;
}

.team-item:hover .team-img img {
    transform: scale(1.05);
    border: 10px solid var(--bs-secondary);
}

.team-carousel .owl-stage {
    position: relative;
    width: 100%;
    height: 100%;
}

.team-carousel .owl-nav {
    position: absolute;
    top: -100px;
    right: 50px;
    display: flex;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    width: 56px;
    height: 56px;
    border-radius: 56px;
    margin-left: 15px;
    background: var(--bs-secondary);
    color: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

/*** Team End ***/


/*** Testimonial Start ***/

.testimonial-item {
    background: #e3f0eb;

}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #c1dad0;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}

/*** Testimonial End ***/


/*** Contact Start ***/
.contact-detail::before {
    position: absolute;
    content: "";
    height: 50%;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(rgb(210, 243, 235, 1), rgba(230, 250, 245, .3)), url(../img/background.jpg) center center no-repeat;
    background-size: cover;
    border-radius: 10px;
    z-index: -1;
}

.contact-map {
    background: #72549b;
}

.contact-form {
    background: #72549b;
}

/*** Contact End ***/


/*** Footer Start ***/

.footer .short-link a,
.footer .help-link a,
.footer .contact-link a {
    transition: .5s;
}

.footer .short-link a:hover,
.footer .help-link a:hover,
.footer .contact-link a:hover {
    letter-spacing: 1px;
}

.footer .hightech-link a:hover {
    background: var(--bs-secondary);
    border: 0;
}

/*** CARD SERVIZI ***/
:root{
  --sw-hover:#72549b;      /* purple brand */
  --sw-ink:#070816;
}

/* =========================
   SEZIONE – TITOLI
========================= */
#services{
    background: #f4f6fa;
}

/* =========================
   GRID
========================= */
.sw-services-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:24px;
}

/* =========================
   CARD BASE
========================= */
.sw-service-card{
  position:relative;
  height:420px;                 /* stessa altezza sempre */
  border-radius:28px;
  overflow:hidden;
  background:#111;
  box-shadow:0 18px 40px rgba(0,0,0,.14);
  transform: translateZ(0);
}

/* immagine */
.sw-service-card img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
  transform:scale(1.03);
}

/* overlay BASE (sempre presente) */
.sw-service-card::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background: linear-gradient(
    180deg,
    rgba(7,8,22,.92) 0%,
    rgba(7,8,22,.8) 45%,
    rgba(7,8,22,.4) 100%
  );
}

/* bordo interno */
.sw-service-card::after{
  content:"";
  position:absolute;
  inset:14px;
  z-index:3;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.12);
  pointer-events:none;
}

/* =========================
   CONTENUTO
========================= */
.sw-service-body{
  position:relative;
  z-index:2;
  padding:28px;
  height:100%;
  display:flex;
  flex-direction:column;
  gap:14px;
  color:#fff;
}

/* header: icona + titolo */
.sw-service-head{
  display:flex;
  align-items:center;
  gap:14px;
}

/* icona FA5 */
.sw-service-icon{
  width:52px;
  height:52px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  flex:0 0 auto;
}
.sw-service-icon i{
  font-size:20px;
  color:#fff;
}

/* titolo */
.sw-service-title{
  margin:0;
  font-size:34px;
  font-weight:800;
  line-height:1.05;
  letter-spacing:-.8px;
  color:#fff;
}

/* testo */
.sw-service-text{
  margin:0;
  margin-top: 19px;
  font-size:18px;
  line-height:1.55;
  color:rgba(255,255,255,.95);
  max-width:44ch;
}

/* =========================
   MENU
========================= */
.sw-service-menu{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:6px;

  opacity:0;
  transform:translateY(18px);
  pointer-events:none;
}
.sw-service-menu a{
  font-size:20px;
  font-weight:600;
  color:rgba(255,255,255,.96);
  text-decoration:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.sw-service-menu a .arr{
  opacity:.7;
  transform:translateX(0);
}

/* =========================
   TRANSIZIONI (LENTE)
========================= */
.sw-service-card,
.sw-service-card img,
.sw-service-card::before,
.sw-service-icon,
.sw-service-text,
.sw-service-menu,
.sw-service-menu a .arr{
  transition: all .6s cubic-bezier(.4,0,.2,1);
}

/* =========================
   HOVER GENERICO
========================= */
.sw-service-card:hover img{
  transform:scale(1.12);
}

/* overlay hover – PIÙ SCURO e COPRENTE */
.sw-service-card:hover::before{
  background: linear-gradient(
    180deg,
    rgba(114,84,155,.82) 0%,   /* purple deciso */
    rgba(7,8,22,.96) 45%,     /* centro molto scuro */
    rgba(114,84,155,.76) 100%
  );
}

/* icona hover */
.sw-service-card:hover .sw-service-icon{
  background:rgba(114,84,155,.38);
  border-color:rgba(114,84,155,.65);
  transform:translateY(-4px) scale(1.06);
}

/* =========================
   CARD CON MENU
========================= */
.sw-service-card[data-has-menu="true"] .sw-service-text{
  opacity:1;
  max-height:240px;
  overflow:hidden;
}

/* hover: testo svanisce */
.sw-service-card[data-has-menu="true"]:hover .sw-service-text{
  opacity:0;
  max-height:0;
}

/* hover: menu appare */
.sw-service-card[data-has-menu="true"]:hover .sw-service-menu{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}

/* hover link */
.sw-service-menu a:hover{
  color:#ffffff;
}
.sw-service-menu a:hover .arr{
  transform:translateX(6px);
  opacity:1;
}

/* =========================
   CARD SENZA MENU
========================= */
.sw-service-card[data-has-menu="false"] .sw-service-menu{
  display:none;
}

/* =========================
   MOBILE
========================= */
@media (hover:none){
  .sw-service-card{
    height:auto;
    min-height:420px;
  }

  .sw-service-card[data-has-menu="true"] .sw-service-menu{
    opacity:1;
    transform:none;
    pointer-events:auto;
  }

  .sw-service-card[data-has-menu="true"] .sw-service-text{
    opacity:1;
    max-height:none;
  }
}

/* ====== BUTTON BASE ====== */
.sw-btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 36px;
  border-radius: 999px;

  background: #72549b;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .3px;

  text-decoration: none;
  border: none;
  cursor: pointer;

  z-index: 1;
}

/* hover pulito */
.sw-btn:hover{
  background:#6a4a93;
  color:#fff;
}

/* ====== BORDO PIENO CHE PULSA ====== */
.sw-btn-border-pulse::after{
  content:"";
  position:absolute;
  inset:-4px;                 /* bordo leggermente esterno */
  border-radius: inherit;

  border: 3px solid #72549b;  /* ✅ BORDO PIENO */
  opacity: .65;

  transform: scale(1);
  z-index: -1;

  animation: sw-border-pulse 2.6s cubic-bezier(.4,0,.2,1) infinite;
}

/* animazione */
@keyframes sw-border-pulse{
  0%{
    opacity: .65;
    transform: scale(1);
  }
  70%{
    opacity: 0;
    transform: scale(1.18);
  }
  100%{
    opacity: 0;
    transform: scale(1.18);
  }
}

/* ====== STOP pulse on hover (consigliato) ====== */
.sw-btn-border-pulse:hover::after{
  animation-play-state: paused;
}

/* =========================
   WHY + KPI (Swieky)
========================= */
.sw-why{
  padding: 90px 0 40px;
  background:#fff;
}

.sw-why-top{
  display:grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: 60px;
  align-items:start;
}

.sw-why h2{
  font-size: 45px;
  line-height: 1.05;
  letter-spacing: -1px;
  font-weight: 800;
  color:#0f1222;
  margin:0;
}
.sw-why h2 span{ font-weight: 900; }

.sw-why2{
  font-size: 45px;
  font-weight: 800;
  color:#0f1222;
  margin:0;
}

.sw-why-right p{
  font-size: 18px;
  line-height: 1.65;
  color:#2a2f45;
  margin: 0 0 18px;
}

.sw-whyp{
  font-size: 18px;
  color:#2a2f45;
  margin: 0 0 18px;
}
.sw-why-right .sw-why-strong{
  margin-top: 18px;
  font-weight: 700;
}

.sw-cta-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top: 14px;
  font-weight: 800;
  color:#72549b;
  text-decoration:none;
  transition: transform .15s ease, opacity .15s ease;
}
.sw-cta-link:hover{
  transform: translateX(2px);
  opacity:.9;
}

/* KPI row */
.sw-kpi{
  margin-top: 60px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.sw-kpi-item{
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.sw-kpi-num{
  font-size: 110px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -2px;
}

.sw-kpi-label{
  font-size: 18px;
  color:#0f1222;
  font-weight: 700;
}

/* KPI colors */
.sw-kpi-pink{ color:#cc3b6e; }
.sw-kpi-green{ color:#8bb34a; }
.sw-kpi-blue{ color:#56aee7; }

/* =========================
   FIND / MAP (Swieky)
========================= */
.sw-find{
  padding: 70px 0 90px;
  background:#f4f6fa;
}

.sw-find-grid{
  display:grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: 60px;
  align-items:center;
}

.sw-find-copy h2{
  font-size: 45px;
  line-height: 1.05;
  letter-spacing: -1px;
  font-weight: 900;
  color:#0f1222;
  margin:0 0 18px;
}
.sw-find-copy h2 span{ color:#0f1222; }

.sw-find-copy p{
  font-size: 18px;
  line-height: 1.65;
  color:#2a2f45;
  margin: 0 0 18px;
  max-width: 62ch;
}

/* CTA area */
.sw-find-actions{
  margin-top: 18px;
  display:flex;
  align-items:center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Bottone principale */
.sw-find-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 14px 44px;
  border-radius: 999px;
  background:#cc3b6e;
  color:#fff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration:none;
  box-shadow: 0 12px 26px rgba(204,59,110,.28);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.sw-find-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(204,59,110,.34);
  opacity:.98;
  color:#fff;
}

/* Link secondario */
.sw-find-link{
  font-weight: 800;
  color:#72549b;
  text-decoration:none;
  transition: transform .15s ease, opacity .15s ease;
}
.sw-find-link:hover{
  transform: translateX(2px);
  opacity:.9;
}

/* Box mappa */
.sw-find-media{
  background:#fff;
  border-radius: 16px;
  overflow:hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

.sw-find-media img,
.sw-find-media iframe{
  width:100%;
  height: 360px;
  display:block;
  border:0;
  object-fit: cover;
}

/* =========================
   MICRO CTA (optional)
========================= */
.sw-micro-cta{
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(114,84,155,.08);
  border: 1px solid rgba(114,84,155,.18);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.sw-micro-cta p{
  margin:0;
  font-weight: 700;
  color:#0f1222;
}
.sw-micro-cta a{
  font-weight: 900;
  color:#72549b;
  text-decoration: underline;
}

/* =========================
   FOOTER (sw-footer)
========================= */
:root{
  --sw-purple:#72549b;
  --sw-ink:#0f1222;
  --sw-muted:#6b7280;
  --sw-bg:#0b0d18;
  --sw-border:rgba(255,255,255,.10);
}

/* Footer wrapper */
.sw-footer{
  background: var(--sw-bg);
  color: rgba(255,255,255,.92);
  padding-top: 36px;
}

/* CTA box */
.sw-footer-cta{
  display:flex;
  gap: 22px;
  align-items:center;
  justify-content:space-between;
  padding: 22px 22px;
  border-radius: 18px;
  background: #72549b;
  border: 1px solid var(--sw-border);
  margin-bottom: 34px;
}
.sw-footer-cta__copy h3{
  margin:0 0 6px;
  font-weight: 900;
  font-size: 26px;
  color:#fff;
}
.sw-footer-cta__copy p{
  margin:0;
  color: rgba(255,255,255,.85);
  max-width: 62ch;
  line-height: 1.6;
}

.sw-footer-cta__actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content:flex-end;
}

.sw-btn-footer{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--sw-purple);
  color:#fff;
  font-weight: 800;
  text-decoration:none;
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .15s ease, opacity .15s ease;
}
.sw-btn-footer:hover{ transform: translateY(-1px); opacity:.95; color:#fff; }

.sw-btn-footer--ghost{
  background: transparent;
  border: 1px solid rgba(114,84,155,.55);
}

/* Grid */
.sw-footer__grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding: 20px 0 34px;
}

.sw-footer__logo{
  width: 220px;
  height: auto;
  display:block;
  margin-bottom: 12px;
}

.sw-footer__col h4{
  margin: 0 0 12px;
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.95);
  font-weight: 900;
}

.sw-footer__text{
  margin: 0 0 14px;
  color: rgba(255,255,255,.82);
  line-height: 1.65;
}

.sw-footer__col a{
  display:block;
  color: rgba(255,255,255,.82);
  text-decoration:none;
  padding: 7px 0;
  transition: color .15s ease, transform .15s ease;
}
.sw-footer__col a:hover{
  color:#fff;
  transform: translateX(2px);
}

.sw-footer__meta{
  display:block;
  margin-top: 10px;
  color: rgba(255,255,255,.65);
  font-size: 13px;
}

/* Social */
.sw-footer__social{
  display:flex;
  gap: 10px;
  margin-top: 12px;
}
.sw-footer__social a{
  width: 40px;
  height: 40px;
  display:grid;
  place-items:center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color:#fff;
  padding:0;
}
.sw-footer__social a:hover{
  border-color: rgba(114,84,155,.6);
  background: rgba(114,84,155,.18);
}

/* Newsletter form */
.sw-footer__form{
  display:flex;
  gap: 10px;
  margin-top: 10px;
}
.sw-footer__form input{
  flex:1;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:#fff;
  padding: 0 12px;
  outline: none;
}
.sw-footer__form input::placeholder{ color: rgba(255,255,255,.55); }

.sw-footer__form button{
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: var(--sw-purple);
  color:#fff;
  font-weight: 900;
  cursor:pointer;
  transition: transform .15s ease, opacity .15s ease;
}
.sw-footer__form button:hover{ transform: translateY(-1px); opacity:.95; }

/* Bottom bar */
.sw-footer__bottom{
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 14px 0;
}
.sw-footer__bottom-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  color: rgba(255,255,255,.65);
  font-size: 13px;
}
.sw-footer__legal{
  display:flex;
  gap: 14px;
}
.sw-footer__legal a{
  color: rgba(255,255,255,.70);
  text-decoration:none;
}
.sw-footer__legal a:hover{ color:#fff; }

/* ===== Footer clean con mondo overlay ===== */
.sw-footer2{
  position:relative;
  background:#0b0d18;
  color:rgba(255,255,255,.92);
  overflow:hidden;
  padding: 56px 0 18px;
}

.sw-footer2__bg{
  position:absolute;
  inset:0;
  background:
    radial-gradient(closest-side at 20% 30%, rgba(114,84,155,.25), transparent 55%),
    radial-gradient(closest-side at 80% 40%, rgba(114,84,155,.18), transparent 55%);
  opacity:1;
  pointer-events:none;
}

/* Metti qui la tua immagine "mondo" */
.sw-footer2::after{
  content:"";
  position:absolute;
  inset:0;
  background-image: url("../img/world-overlay.jpg"); /* <-- crea/aggiungi questo file */
  background-repeat:no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
  opacity: .09;                  /* overlay morbido */
  mix-blend-mode: screen;
  pointer-events:none;
}

.sw-footer2__wrap{ position:relative; z-index:2; }

.sw-footer2__top{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 28px;
  align-items:start;
}

.sw-footer2__logo{ width: 220px; height:auto; display:block; margin-bottom: 12px; }

.sw-footer2__text{ color: rgba(255,255,255,.80); line-height:1.65; margin:0 0 14px; }

.sw-footer2__cta{ display:flex; flex-wrap:wrap; gap:10px; margin: 12px 0 10px; }

.sw-footer2__social{ display:flex; gap:10px; margin-top: 10px; }
.sw-footer2__social a{
  width: 40px; height: 40px;
  display:grid; place-items:center;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color:#fff;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.sw-footer2__social a:hover{
  transform: translateY(-1px);
  background: rgba(114,84,155,.18);
  border-color: rgba(114,84,155,.55);
}

.sw-footer2__col h4{
  margin: 0 0 12px;
  font-size: 14px;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:900;
  color:#fff;
}

.sw-footer2__col a{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 8px 0;
  color: rgba(255,255,255,.84);
  text-decoration:none;
  transition: transform .15s ease, color .15s ease;
}
.sw-footer2__col a i{
  width: 18px;
  opacity:.9;
  color: rgba(255,255,255,.85);
}
.sw-footer2__col a:hover{
  color:#fff;
  transform: translateX(2px);
}

.sw-footer2__mini-links{
  margin-top: 10px;
  display:flex;
  flex-wrap:wrap;
  gap: 10px 14px;
}
.sw-footer2__mini-links a{
  display:inline-block;
  padding:0;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity:.9;
}

.sw-footer2__form .input{
  flex:1;
  height: 44px;
  border-radius: 50rem;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:#fff;
  padding: 0 12px;
  outline: none;
  width: 100%;

}
.sw-footer2__form input::placeholder{ color: rgba(255,255,255,.55); }

.sw-footer2__form button{
  height: 44px;
  padding: 0 16px;
  border-radius: 50rem;
  border: 1px solid rgba(255,255,255,.12);
  background: #72549b;
  color:#fff;
  font-weight: 900;
  cursor:pointer;
  transition: transform .15s ease, opacity .15s ease;
  margin-top:6px;
  width: 100%;
  font-weight: 700;

}
.sw-footer2__form button:hover{ transform: translateY(-1px); opacity:.95; }

.sw-footer2__meta{ color: rgba(255,255,255,.65); }
.sw-footer2__meta a{ color: rgba(255,255,255,.85); text-decoration: underline; text-underline-offset:3px; }

.sw-footer2__bottom{
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.10);
  display:flex;
  flex-wrap:wrap;
  gap: 10px 16px;
  align-items:center;
  justify-content:space-between;
  color: rgba(255,255,255,.65);
  font-size: 13px;
}
.sw-footer2__bottom-center{
  display:flex;
  gap: 14px;
  flex-wrap:wrap;
}
.sw-footer2__bottom-center a{
  color: rgba(255,255,255,.75);
  text-decoration:none;
}
.sw-footer2__bottom-center a:hover{ color:#fff; }


/* =========================================================
   @MEDIA UNIFICATI (SOLO QUESTO)
========================================================= */

/* ====== MOBILE NAVBAR ====== */
@media (max-width: 991.98px){
  .navbar .navbar-nav .nav-link{
    padding: 14px 12px !important;
    display:flex;                 /* full width mobile ok */
    justify-content: space-between;
  }

  .navbar .navbar-nav .nav-link::before{
    display:none;                 /* niente barretta su mobile */
  }

  .dropdown-menu.sw-dd{
    box-shadow:none;
    border: 0;
    padding: 6px 0;
    min-width: auto;
  }

  .dropdown-menu.sw-dd .dropdown-item{
    padding: 12px 12px;
    border-radius: 10px;
  }

  .hide-mobile{
    display:none !important;
  }
}

/* ====== MAX 1250 (UNICO BLOCCO) ====== */
@media (max-width: 1250px) {

  /* Carousel */
  .carousel-item {
      min-height: 500px;
  }

  .carousel-item img {
      min-height: 500px;
      object-fit: cover;
  }

  .carousel-item h1 {
      font-size: 40px !important;
  }

  .carousel-item h2 {
      font-size: 40px !important;
  }

  .carousel-item h3 {
      font-size: 40px !important;
  }

  .carousel-item h4 {
      font-size: 40px !important;
  }

  .carousel-item h5 {
      font-size: 40px !important;
  }
  .carousel-item p {
      font-size: 16px !important;
  }

  .py-5{
   padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .my-5 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }

  /* Team */
  .team-carousel {
      margin-top: 3rem;
  }

  .team-carousel .owl-nav {
      top: -85px;
      left: 50%;
      right: auto;
      transform: translateX(-50%);
      margin-left: -15px;
  }

  /* Services grid */
  .sw-services-grid{
    grid-template-columns: 1fr;
  }

  /* Why */
  .sw-why-top{
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .sw-why h2{ font-size: 36px; }
  .sw-why-right p{ font-size: 18px; }
  .sw-why2{ font-size: 36px; }
  .sw-whyp{ font-size: 18px; }

  .sw-kpi{
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 34px;
  }
  .sw-kpi-num{ font-size: 84px; }
  .sw-kpi-label{ font-size: 18px; }

  /* Find */
  .sw-find-grid{
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .sw-find-copy h2{ font-size: 36px; }
  .sw-find-copy p{ font-size: 18px; }
  .sw-find-media img,
  .sw-find-media iframe{ height: 280px; }

  /* Footer sw-footer */
  .sw-footer-cta{
    flex-direction: column;
    align-items:flex-start;
  }
  .sw-footer__grid{
    grid-template-columns: 1fr;
  }
  .sw-footer__bottom-inner{
    flex-direction: column;
    align-items:flex-start;
  }

  /* Footer2 */
  .sw-footer2__top{ grid-template-columns: 1fr; }
  .sw-footer2::after{ background-size: 620px auto; opacity:.14; }
}

/* ====== MAX 768 (UNICO BLOCCO) ====== */
@media (max-width: 768px) {
    .sw-contact-icon{
      width:54px;
      height:54px;
    }

    .sw-contact-value{
      font-size:1.25rem;
    }

    .carousel-item {
        min-height: 400px;
    }

    .carousel-item img {
        min-height: 400px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 28px !important;
    }

    .carousel-item h2 {
        font-size: 28px !important;
    }

    .carousel-item h3 {
        font-size: 28px !important;
    }

    .carousel-item h4 {
        font-size: 28px !important;
    }

    .carousel-item h5 {
        font-size: 28px !important;
    }

    .carousel-item p {
        font-size: 14px !important;
    }

    .py-5{
     padding-top: 2rem !important;
      padding-bottom: 2rem !important;
    }

    .my-5 {
      margin-top: 0rem !important;
      margin-bottom: 0rem !important;
    }

    .sw-why {
      padding: 0px 20px 40px 20px !important;
    }

    .sw-find {
      padding: 40px 20px 40px 20px !important;
    }
    .btn{
      width: 100% !important;
    }
}

/* =========================
   CONTACT BOX (CONTATTI)
========================= */
.sw-contact-box{
  padding: 26px;
}

.sw-contact-item{
  display:flex;
  align-items:center;
  gap:18px;
}

.sw-contact-icon{
  width:64px;
  height:64px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(114,84,155,.10);
  border:1px solid rgba(114,84,155,.20);
  color: var(--sw-primary);
  flex:0 0 auto;
}

.sw-contact-text{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.sw-contact-label{
  font-size:.9rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color: var(--sw-muted);
}

.sw-contact-value{
  font-size:1.45rem;
  font-weight:900;
  line-height:1.1;
  color: var(--sw-ink);
  text-decoration:none;
}

.sw-contact-value:hover{
  text-decoration:underline;
}

.sw-contact-note{
  font-size:.9rem;
  color: var(--sw-muted);
}

.sw-contact-divider{
  height:1px;
  background: var(--sw-border);
  margin:20px 0;
}

.sw-contact-footnote{
  display:block;
  margin-top:8px;
  font-size:.85rem;
  color: var(--sw-muted);
}

@media (max-width: 480px){
  .sw-contact-item{
    gap:14px;
  }
  .sw-contact-icon{
    width:48px;
    height:48px;
  }
  .sw-contact-value{
    font-size:1.15rem;
  }
}
.sw-meet-wrapper{
  width:100%;
  height:100vh; /* ALTEZZA SCHERMO */
}

.sw-meet-wrapper iframe{
  width:100%;
  height:100%;
  border:0;
}

/* =========================================================
   TOPBAR – TRANSIZIONE SOFT
========================================================= */
.topbar-wrap{
  transition:
    opacity .45s ease,
    transform .45s ease,
    max-height .45s ease;
  transform: translateY(0);
  opacity: 1;
  max-height: 80px;
  will-change: opacity, transform;
}

body.is-scrolled .topbar-wrap{
  opacity: 0;
  transform: translateY(-12px);
  max-height: 0;
  pointer-events: none;
}

/* =========================================================
   NAVBAR STICKY + OMBRA SOFT
========================================================= */
#site-header{
  position: sticky;
  top: 0;
  z-index: 2000;
  transition: box-shadow .35s ease, backdrop-filter .35s ease;
}

body.is-scrolled #site-header{
  box-shadow: 0 14px 40px rgba(0,0,0,.08);
}

/* navbar contenitore */
.sw-sticky-nav{
  background: rgba(255,255,255);
  backdrop-filter: blur(6px);
}