
h1 {
    font-weight: 200;
}

h2 {
    font-weight: 200;
}
@media (max-width: 991.98px){
  .force-hide-mobile{
    display: none !important;
  }
}
/*
  Mobile stability hardening
  --------------------------
  On mobile, even a 1px horizontal overflow (often introduced by fixed elements,
  Bootstrap modals using 100vw, or translated containers) can trigger a
  transient horizontal scrollbar. That appearance/disappearance can look like a
  loop and can make fixed bottom UI (e.g., the cookie banner) appear to bounce.
*/
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Prevent Bootstrap modal scrollbar compensation from shifting the layout on mobile */
body.modal-open {
    padding-right: 0 !important;
}

/* Spinner removed (was causing mobile layout jitter on some devices) */

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

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

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

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

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

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

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

.btn.btn-primary {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-primary:hover {
    background: var(--bs-white) !important;
    color: var(--bs-primary) !important;
}

.btn.btn-light {
    background: var(--bs-light) !important;
    color: var(--bs-primary) !important;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-light:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-light) !important;
}


.RotateMoveLeft {
    position: relative;
    animation: RotateMoveLeft 10s linear infinite;
}

.RotateMoveRight {
    position: relative;
    animation: RotateMoveLeft 10s linear infinite;
}

@keyframes RotateMoveLeft {
    0%   {left: 0px;}
    50%   {left: 40px;}
    100%  {left: 0px;}
}

@keyframes RotateMoveRight {
    0%   {right: 0px;}
    50%   {right: 40px;}
    100%  {right: 0px;}
}


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 35px 0;
    color: var(--bs-dark) !important;
    font-size: 14px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-primary) !important;
}

.navbar-light .navbar-brand img {
    max-height: 70px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    transition: .5s;
    opacity: 1;
}

.collapse.navbar-collapse {
    transition: 0.5s;
}

@media (max-width: 992px) {
    nav.bg-transparent {
        position: absolute;
        width: 100%;
        background: transparent !important;
    }

    .navbar.navbar-expand-lg button span {
        position: relative;
        z-index: 99;
    }

    .navbar {
        position: relative;
        background: var(--bs-light);
        z-index: 2;
    }

    .sticky-top.navbar-light {
        position: relative;
        background: var(--bs-white) !important;
        padding: 0 20px 20px 20px !important;
    }

    .sticky-top.navbar-light {
        background: transparent;
    }

    nav.navbar {
        padding: 0 30px 30px 0;
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-dark) !important;
    }


    .navbar-light .navbar-brand img {
        max-height: 45;
    }

    .hero-header {
        margin-top: -100px !important;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        background: transparent !important;
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-light) !important;
    }
}
/*** Navbar End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(102, 16, 242, 0.05), rgba(102, 16, 242, 0.05));
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 150px 0 60px 0;
    margin-bottom: 6rem;
    transition: 0.5s;
}

.bg-breadcrumb::after {
    content: "";
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    border-radius: 300px;
    border: 80px solid rgba(247, 71, 128, 0.05);
    background: transparent;
    animation: RotateMoveSingle 5s linear infinite;
    z-index: -1;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
    z-index: 2;
}


@keyframes RotateMoveSingle {
    0% {
        -webkit-transform: rotateZ(0deg) rotate(0deg) translate3d(0, 1%, 0) rotateZ(0deg);
        transform: rotateZ(0deg) rotate(0deg) translate3d(0, 1%, 0) rotateZ(0deg);
    }
      100% {
        -webkit-transform: rotateZ(360deg) rotate(360deg) translate3d(0, 1%, 0) rotateZ(-360deg);
        transform: rotateZ(360deg) rotate(360deg) translate3d(0, 1%, 0) rotateZ(-360deg);
    }

    0% {bottom: 0px;}
    50%   {left: -10px;}
    75%   {bottom: 10%;}
    100%  {bottom: 0px;}
}

.bg-breadcrumb::before {
    content: "";
    position: absolute;
    top: -15%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 300px;
    border: 80px solid rgba(247, 71, 128, 0.04);
    background: transparent;
    animation: RotateMoveSingle 5s linear infinite;
    z-index: -1;
}

@keyframes RotateMoveSingle {
    0% {
        -webkit-transform: rotateZ(0deg) rotate(0deg) translate3d(0, 1%, 0) rotateZ(0deg);
        transform: rotateZ(0deg) rotate(0deg) translate3d(0, 1%, 0) rotateZ(0deg);
    }
      100% {
        -webkit-transform: rotateZ(360deg) rotate(360deg) translate3d(0, 1%, 0) rotateZ(-360deg);
        transform: rotateZ(360deg) rotate(360deg) translate3d(0, 1%, 0) rotateZ(-360deg);
    }

    0% {top: 0px;}
    50%   {top: 10%;}
    100%  {top: 0px;}
}

@media (max-width: 992px) {
    .bg-breadcrumb {
        padding-top: 100px !important;
    }
}

.bg-breadcrumb .breadcrumb-item a {
    color: var(--bs-dark) !important;
}


.breadcrumb-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.breadcrumb-animation li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(102, 16, 242, 0.07);
    animation: animate 25s linear infinite;
    bottom: -150px;
    
}

.breadcrumb-animation li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}


.breadcrumb-animation li:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.breadcrumb-animation li:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.breadcrumb-animation li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.breadcrumb-animation li:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.breadcrumb-animation li:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.breadcrumb-animation li:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.breadcrumb-animation li:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.breadcrumb-animation li:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.breadcrumb-animation li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes animate {

    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100%{
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }

}
/*** Single Page Hero Header End ***/


/*** Hearo Header Start ***/
.header::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: var(--bs-light);
    border-radius: 22% 78% 33% 67% / 32% 0% 100% 68%;
    animation: bgMove 5s linear infinite;
    z-index: -1;
}

@keyframes bgMove {
    0%   {right: 0px;}
    50%   {right: 20px;}
    100%  {right: 0px;}
}

.header::before {
    content: "";
    position: absolute;
    bottom: -9%;
    left: -7%;
    width: 400px;
    height: 400px;
    border-radius: 200px;
    border: 30px solid rgba(247, 71, 128, 0.05);
    background: transparent;
    animation: RotateMoveHeader 5s linear infinite;
    z-index: -1;

}

@keyframes RotateMoveHeader {
    0% {
        -webkit-transform: rotateZ(0deg) rotate(0deg) translate3d(0, 1%, 0) rotateZ(0deg);
        transform: rotateZ(0deg) rotate(0deg) translate3d(0, 1%, 0) rotateZ(0deg);
    }
      100% {
        -webkit-transform: rotateZ(360deg) rotate(360deg) translate3d(0, 1%, 0) rotateZ(-360deg);
        transform: rotateZ(360deg) rotate(360deg) translate3d(0, 1%, 0) rotateZ(-360deg);
    }


    0% {bottom: 0px;}
    50%   {left: -10px;}
    75%   {bottom: 9%;}
    100%  {bottom: 0px;}
}
/* HERO: spacing responsive (desktop + mobile) */

.hero-header {
    padding-top: 0px;
    padding-bottom: 30px;
    position: relative;
}

.hero-header::after {
    content: "";
    position: absolute;
    left: 100px;
    bottom: 30px;
    width: 58px;
    height: 50px;
    background: url(../img/sty-1.png) center center no-repeat;
    animation: RotateMoveSty-3 45s linear infinite;
    transition: 0.5s;
    z-index: -1;
    
}

@keyframes RotateMoveSty-3 {
    0%   {left: 100px;}
    40%   {bottom: -0px;}
    50%   {left: 700px;}
    70%   {bottom: 500px;}
    80%   {left: 400px;}
    95%   {bottom: -0px;}
    100%  {left: 100px;}
}

.hero-header::before {
    content: "";
    position: absolute;
    left: 100px;
    bottom: 100px;
    width: 300px;
    height: 300px;
    border-radius: 150px;
    border: 30px solid rgba(102, 16, 242, 0.05);
    background: transparent;
    animation: RotateMoveSty-4 45s linear infinite;
    transition: 0.5s;
    z-index: -1;
    
}

@keyframes RotateMoveSty-4 {
    0%   {left: 100px;}
    40%   {bottom: -0px;}
    50%   {left: 700px;}
    70%   {bottom: 500px;}
    80%   {left: 400px;}
    95%   {bottom: -0px;}
    100%  {left: 100px;}
}


.hero-header .rotate-img {
    position: absolute;
    top: 70px;
    left: 20px;
}

.hero-header .rotate-img .rotate-sty-2 {
    position: absolute;
    top: 100px;
    left: 50px;
    width: 50px;
    height: 50px;
    border-radius: 30px;
    border: 5px solid rgba(247, 71, 128, 0.1);
    background: transparent;
    animation: RotateMoveSty-2 45s linear infinite;
    transition: 0.5s;

}

@keyframes RotateMoveSty-2 {
    0%   {left: 0px;}
    40%   {top: -30px;}
    50%   {left: 500px;}
    70%   {top: 200px;}
    80%   {left: 100px;}
    95%   {top: -30px;}
    100%  {left: 0px;}
}

.hero-header .rotate-img img {
    position: relative;
    animation: RotateMove 30s linear infinite;
    z-index: -1;
}

@keyframes RotateMove {
    0%   {left: 0px;}
    50%   {left: 200px;}
    100%  {left: 0px;}
}


@media (max-width: 992px) {
    .hero-header {
        padding-top: 280px;
        
    }

    .hero-header .rotate-img img {
        margin-top: 100px;
    }
   
}
/*** Hero Header End ***/


/*** Service Start ***/
.service .service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.1);
}

.service .service-item,
.service .service-item .service-icon,
.service .service-item a {
    transition: 0.5s;
}

.service .service-item:hover {
    background: rgba(102, 16, 242, 0.09);
    border: 1px ;
}


.service .service-item:hover .service-icon,
.service .service-item:hover a {
    background: var(--bs-white) !important;
}

.service .service-item:hover a:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-white);
}

/*** Service End ***/


/*** Features Start ***/
.feature .feature-img {
    background: var(--bs-light);
    border-radius: 58% 42% 21% 79% / 30% 29% 71% 70%;
}
/*** Features End ***/


/*** Pricing Start ***/
.price .price-item {
    position: relative;
    overflow: hidden;
    transition: 0.5s;
}

.price .price-item:hover {
    background: var(--bs-white) !important;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);
}

.price .price-item .pice-item-offer {
    position: absolute;
    width: 200px;
    height: 110px;
    top: -45px;
    right: -80px;
    background: var(--bs-primary) !important;
    color: var(--bs-white);
    transform: rotate(42deg);
    display: flex;
    align-items: end;
    justify-content: center;
    padding-bottom: 10px;
}
/*** Pricing End ***/


/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
}

.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
    background: rgba(102, 16, 242, 0.2);
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.blog .blog-item .blog-img .blog-info {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    padding: 20px;
    background: rgba(102, 16, 242, 0.2);
    color: var(--bs-white) !important;
    display: flex;
    align-items: end;
    justify-content: space-between;
    transition: 0.5s;
}

.blog .blog-item .blog-img:hover .blog-info {
    background: rgba(0, 0, 0, .4);
}


.blog .blog-item .blog-content {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item .blog-img:hover img {
    transform: scale(1.3);
}
/*** Blog End ***/




/*** Contact Start ***/
.contact {
    position: relative;
    overflow: hidden;
    transition: 0.5s;
    z-index: 1;
}

.contact::after {
    content: "";
    position: absolute;
    top: 10%;
    left: -1%;
    width: 400px;
    height: 400px;
    border-radius: 200px;
    border: 60px solid rgba(102, 16, 242, 0.05);
    background: transparent;
    animation: ContactMoveLeft 50s linear infinite;
    z-index: 1;
}

@keyframes ContactMoveLeft {
    0%   {left: 0px;}
    25%   {top: 100px;}
    50%   {left: 90%;}
    75%   {top: 80%;}
    100%  {left: 0px;}
}

.contact::before {
    content: "";
    position: absolute;
    top: 10%;
    right: -1%;
    width: 400px;
    height: 400px;
    border-radius: 200px;
    border: 60px solid rgba(102, 16, 242, 0.05);
    background: transparent;
    animation: ContactMoveRight 50s linear infinite;
    z-index: 1;
}

@keyframes ContactMoveRight {
    0%   {right: 0px;}
    25%   {top: 100px;}
    50%   {right: 90%;}
    75%   {top: 80%;}
    100%  {right: 0px;}
}
/*** Contact End ***/


/*** Footer Start ***/
.footer {
    background: #ffffff;
    border-top: 1px solid #e9edf5;   /* separazione elegante */
    padding-top: 60px;
    padding-bottom: 30px;
    position: relative;
}

/* leggera sfumatura superiore molto delicata */
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(
        to bottom,
        rgba(13, 110, 253, 0.03),
        rgba(13, 110, 253, 0)
    );
    pointer-events: none;
}

/* Titoli colonne */
.footer h5,
.footer h6 {
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--bs-dark);
}

/* Link */
.footer .footer-item a {
    line-height: 35px;
    color: #6c757d;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer .footer-item a:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    transform: translateX(3px);
}

/* Paragrafi */
.footer .footer-item p {
    line-height: 30px;
    color: #6c757d;
}

/* Footer bottom (copyright area se presente) */
.footer .copyright {
    border-top: 1px solid #e9edf5;
    margin-top: 30px;
    padding-top: 20px;
    font-size: 14px;
    color: #8c98a4;
}


/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark) !important;
}
/*** copyright end ***/


/* Cookie consent UI */
.cookie-banner{position:fixed;left:18px;right:18px;bottom:18px;z-index:9999;}
.cookie-banner__inner{max-width:1120px;margin:0 auto;background:rgba(255,255,255,.98);border: none;box-shadow: none;border-radius:14px;display:flex;gap:18px;align-items:center;justify-content:space-between;padding:14px 16px;}
.cookie-banner__title{font-size:28px;font-weight:400;margin-bottom:4px;}
.cookie-banner__desc{color:var(--muted);font-size:14px;line-height:1.4;max-width:680px;}
.cookie-banner__actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;}

.cookie-prefs{position:fixed;inset:0;z-index:10000;background:rgba(11,18,32,.40);display:flex;align-items:center;justify-content:center;padding:18px;}
.cookie-prefs__panel{width:100%;max-width:680px;background:#fff;border: none;border-radius:16px;box-shadow: none;padding:16px;}
.cookie-prefs__dialog{width:100%;max-width:680px;background:#fff;border:none;border-radius:16px;box-shadow:none;padding:16px;}
.cookie-prefs__head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px;}
.cookie-prefs__title{font-weight:600;font-size:18px;}
.cookie-prefs__subtitle{color:var(--muted);font-size:14px;margin-top:4px;}
.cookie-prefs__close{border: none;background:#fff;border-radius:10px;width:36px;height:36px;font-size:20px;line-height:1;cursor:pointer}
.cookie-prefs__item{border: none;border-radius:14px;padding:12px;display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:10px;}
.cookie-prefs__item-title{font-weight:400;}
.cookie-prefs__item-desc{color:var(--muted);font-size:14px;line-height:1.4;}
.cookie-prefs__item-toggle{display:flex;align-items:center;justify-content:center;}
.cookie-prefs__foot{display:flex;justify-content:flex-end;margin-top:12px;}
.cookie-prefs__policy{margin-top:12px;font-size:14px}
.cookie-prefs__policy a{color:var(--primary);text-decoration:underline}
@media (max-width:720px){.cookie-banner__inner{flex-direction:column;align-items:stretch}.cookie-banner__actions{justify-content:flex-start}}

/* Cookie prefs: bootstrap-like switches + nicer layout */
.cookie-prefs__panel{padding:18px}
.cookie-prefs__item{grid-template-columns: 1fr auto; align-items:center;} 
.cookie-prefs__item-left{display:flex; flex-direction:column; gap:4px;}

/* =========================
   Cookie consent — Apple/Stripe style (osbot.ai)
   Works with: #cookie-banner[hidden] + Bootstrap modal #cookiePrefsModal
   ========================= */

/* Banner overlay via pseudo-element (no extra markup/JS needed) */
.cookie-banner{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}
.cookie-banner[hidden]{
  display:none !important;
}
.cookie-banner::before{
  content:"";
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.42);
  backdrop-filter:saturate(140%) blur(6px);
  -webkit-backdrop-filter:saturate(140%) blur(6px);
}

/* Card */
.cookie-banner__inner{
  position:relative;
  width:min(600px, calc(100% - 32px));
  background:rgba(255,255,255,.92);
  border:1px solid rgba(0,0,0,.06) !important;
  border-radius:18px !important;
  box-shadow:
    0 18px 55px rgba(0,0,0,.22),
    0 2px 10px rgba(0,0,0,.08);
  padding:18px 18px;

  display:flex;
  flex-direction:column;   /* <-- actions under text */
  gap:14px;
  align-items:stretch;
  justify-content:flex-start;

  animation: cc_pop .18s ease both;
}


@keyframes cc_pop{
  from{ transform:translateY(6px) scale(.985); opacity:0; }
  to{ transform:translateY(0) scale(1); opacity:1; }
}

.cookie-banner__title{
  font-weight:600;
  font-size:24px;
  letter-spacing:-.01em;
  margin:0 0 6px 0;
  color:#111;
}

.cookie-banner__desc{
  margin:0;
  font-size:14px;
  line-height:1.45;
  color:rgba(17,17,17,.72);
  max-width:600px;
}

.cookie-banner__desc a{
  color:#111;
  text-decoration:none;
  border-bottom:1px solid rgba(17,17,17,.20);
}
.cookie-banner__desc a:hover{
  border-bottom-color:rgba(17,17,17,.45);
}


/* Actions under text (desktop + mobile) */
.cookie-banner__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-start;
  align-items:center;
}


/* Re-skin Bootstrap buttons (without changing classes) */
.cookie-banner .btn{
  border-radius:999px !important;
  padding:10px 14px !important;
  font-size:14px !important;
  line-height:1 !important;
  transition:transform .12s ease, box-shadow .12s ease, opacity .12s ease, background-color .12s ease, border-color .12s ease;
}

.cookie-banner .btn-primary{

  box-shadow:0 8px 24px rgba(0,0,0,.18);
}
.cookie-banner .btn-primary:hover{ opacity:.94; }
.cookie-banner .btn-primary:active{
  transform:translateY(1px);
  box-shadow:0 5px 16px rgba(0,0,0,.16);
}

.cookie-banner .btn-outline-primary{
  background:rgba(255,255,255,.70) !important;
  border-color:rgba(0,0,0,.12) !important;
  color:#111 !important;
}
.cookie-banner .btn-outline-primary:hover{
  background:rgba(255,255,255,.92) !important;
  border-color:rgba(0,0,0,.18) !important;
}
.cookie-banner .btn-outline-primary:active{ transform:translateY(1px); }

.cookie-banner .btn:focus{ outline:none !important; box-shadow:none !important; }
.cookie-banner .btn:focus-visible{
  box-shadow:0 0 0 4px rgba(0,122,255,.25) !important;
  border-color:rgba(0,122,255,.55) !important;
}

@media (max-width:640px){
  .cookie-banner__inner{flex-direction:column; align-items:stretch;}
  .cookie-banner__desc{max-width:none;}
  .cookie-banner__actions{justify-content:stretch;}
  .cookie-banner .btn{width:100%; text-align:center; justify-content:center;}
}

@media (prefers-reduced-motion: reduce){
  .cookie-banner__inner{animation:none;}
}

/* =========================
   Cookie preferences modal — Apple/Stripe skin (Bootstrap)
   ========================= */

/* Backdrop blur (Bootstrap backdrop is a separate element) */
.modal-backdrop.show{
  opacity:.42;
}
@supports ((-webkit-backdrop-filter: blur(6px)) or (backdrop-filter: blur(6px))) {
  .modal-backdrop.show{
    backdrop-filter:saturate(140%) blur(6px);
    -webkit-backdrop-filter:saturate(140%) blur(6px);
  }
}

#cookiePrefsModal .modal-content{
  background:rgba(255,255,255,.92) !important;
  border:1px solid rgba(0,0,0,.06) !important;
  border-radius:18px !important;
  box-shadow:
    0 18px 55px rgba(0,0,0,.22),
    0 2px 10px rgba(0,0,0,.08) !important;
}

#cookiePrefsModal .modal-header{
  border-bottom:1px solid rgba(0,0,0,.06) !important;
}

/* Modal header: place close (X) top-right */
#cookiePrefsModal .modal-header{
  position:relative;
  padding-right:56px;
}
#cookiePrefsModal #cc-close{
  position:absolute;
  top:12px;
  right:12px;
}

#cookiePrefsModal .modal-footer{
  border-top:1px solid rgba(0,0,0,.06) !important;
}

/* Close button (your #cc-close is an <a>) */
#cookiePrefsModal #cc-close{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  border-radius:999px;
  text-decoration:none;
  color:rgba(17,17,17,.75);
  background:rgba(0,0,0,.04);
}
#cookiePrefsModal #cc-close:hover{
  background:rgba(0,0,0,.07);
  color:#111;
}

/* Switch focus */
#cookiePrefsModal .form-check-input:focus{
  box-shadow:0 0 0 4px rgba(0,122,255,.18) !important;
}


.hero-header{
  position: relative;
  overflow: hidden;

  /* Spaziatura fluida desktop → mobile */
  padding-top: clamp(130px, 12vw, 180px);
  padding-bottom: clamp(40px, 6vw, 80px);

  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

/* Container spacing override (Bootstrap px-5 troppo largo su mobile) */
@media (max-width: 767.98px){
  .hero-header{
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* Titolo */


/* Paragrafo */
.hero-header .lead{
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.6;
  margin-top: 20px;
  margin-bottom: 28px;
  color: #5f6c7b;
}

/* Bottoni */
.hero-header .btn{
  padding: 12px 26px;
  font-weight: 600;
  border-radius: 8px;
}

/* Spazio tra bottoni su mobile */
@media (max-width: 576px){
  .hero-header .d-flex{
    flex-direction: column;
    align-items: stretch;
  }

  .hero-header .btn{
    width: 100%;
    text-align: center;
  }
}

/* Immagine lato destro */
.hero-header img{
  max-height: 520px;
  object-fit: contain;
}

/* Su mobile l'immagine scende sotto e respira */
@media (max-width: 991.98px){
  .hero-header img{
    margin-top: 40px;
    max-height: 420px;
  }
}

/* Evita overflow causato da rotate-img */
.rotate-img{
  pointer-events: none;
}

.rotate-img img{
  user-select: none;
}

/* Migliora animazioni WOW evitando micro-shift */
.wow{
  visibility: visible !important;
}

.plugin-section{
  border: 1px solid #e9edf5;
  border-radius: 16px;
  box-shadow: 0 .5rem 1.25rem rgba(0,0,0,.06);
  background: #fff;
}
.plugin-section h2{
  margin-bottom: .5rem;
}
.plugin-section .lead{
  color: #5f6c7b;
}
.bullets{
  list-style: disc;
  padding-left: 1.1rem;
}
.bullets li{
  margin-bottom: .35rem;
  line-height: 1.5;
}
@media (max-width: 991.98px){
  .plugin-section{
    padding: 20px !important;
  }
}
