@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Just+Me+Again+Down+Here&display=swap");

:root {
  --font-inter: "Inter Tight", sans-serif;
  --font-bricolage: "Bricolage Grotesque", sans-serif;
  --font-just: "Just Me Again Down Here", cursive;
  --text-color: #1f1f1f;
  --body-color: #f9faf5;
  --purple-color: #e9d6f6;
  --withe-color: #fff;
  --font-size-base: 16px;
  --font-size-medium: 18px;
  --font-size-medium-1: 22px;
  --font-size-big: 32px;
  --font-size-large: 50px;
  --font-size-extra-large: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (min-width: 1650px) {
  html {
    font-size: 110%;
  }
}

@media (min-width: 1800px) {
  html {
    font-size: 120%;
  }
}

@media (min-width: 2400px) {
  html {
    font-size: 140%;
  }
}

body {
  cursor: default;
  font-family: var(--font-inter);
  color: var(--text-color);
  background-color: var(--body-color);

  background-image: radial-gradient(
    var(--text-color) 0.5px,
    var(--body-color) 0.5px
  );
  background-size: 20px 20px;
}

.article-body {
  font-family: var(--font-inter);
  color: var(--text-color);
  background-color: var(--body-color) !important;
  background-image: none !important;
}

a, button, [role="button"], label, select {
  cursor: pointer;
}

a {
  text-decoration: none;
  color: var(--text-color);
}

p {
  font-size: var(--font-size-medium);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-bricolage) !important;
}

h2 {
  font-size: var(--font-size-large);
}

h5 {
  font-size: var(--font-size-medium);
}

/***********************************************************************************/
/********************************* BANNER ANIMATO **********************************/
/***********************************************************************************/
.banner {
  background-color: var(--purple-color);
  overflow: hidden;
  position: relative;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 900;
}

.banner-wrapper {
  overflow: hidden;
  white-space: nowrap;
}

.banner-track {
  display: inline-flex;
  gap: 1rem;
  animation: scroll-left 20s linear infinite;
  will-change: transform;
}

.banner-item {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  margin: 5px 0;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

.banner-item:hover {
  text-decoration: underline;
}

.banner-text {
  color: var(--text-color);
  font-weight: 400;
  font-size: var(--font-size-base);
  font-family: var(--font-bricolage);
  white-space: nowrap;
}

.banner img {
  flex-shrink: 0;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.banner:hover .banner-track {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .banner-track {
    animation-duration: 30s;
  }
}

/***********************************************************************************/
/************************************* HEADER **************************************/
/***********************************************************************************/
.header-main {
  position: fixed;
  top: 33px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--body-color);
}

.header-main .navbar {
  padding: 0.2rem 0;
  position: relative;
}

.header-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.header-cta-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 50%;
  transform: translate(-50%, -50%);
}

.btn-header-cta {
  background-color: var(--purple-color);
  color: var(--text-color);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-family: var(--font-bricolage);
  font-weight: 500;
  font-size: var(--font-size-base);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  white-space: nowrap; /* 👈 AGGIUNTO */
}

.btn-header-cta:hover {
  background-color: transparent;
  border-color: var(--purple-color);
  color: var(--text-color);
}

.navbar-nav .nav-link {
  color: var(--text-color);
  font-family: var(--font-inter);
  font-weight: 400;
  font-size: var(--font-size-base);
  transition: opacity 0.3s ease;
  position: relative;
}

.last-nav {
  border: 1px solid var(--text-color) !important;
  border-radius: 24px;
  padding: 0.1rem 1rem !important;
  margin-top: 5px;
}

.last-nav:hover {
  border: none !important;
  background-color: var(--purple-color);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--text-color);
  transition: width 0.3s ease;
}

.last-nav::after {
  content: "";
  position: absolute;
  bottom: 0px !important;
  left: 0;
  width: 0;
  height: 0px !important;
  background-color: var(--text-color);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-toggler {
  border: none;
  padding: 0;
  width: 30px;
  height: 24px;
  position: relative;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:hover {
  box-shadow: none !important;
  outline: none !important;
  border: none !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(31, 31, 31, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 30px;
  height: 24px;
}

.offcanvas {
  background-color: var(--body-color);
  width: 90vw !important;
}

.offcanvas-header {
  padding: 3rem 1.5rem 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(31, 31, 31, 0.1);
  width: 100%;
}

.btn-close-custom {
  background: none;
  border: none;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: auto;
}

.btn-close-custom:focus,
.btn-close-custom:active,
.btn-close-custom:hover {
  box-shadow: none !important;
  outline: none !important;
  border: none !important;
  background: none !important;
}

.close-icon {
  font-size: 30px;
  color: var(--text-color);
  line-height: 1;
  font-weight: 300;
}

.offcanvas-body {
  padding: 2rem 1.5rem;
}

.navbar-nav-mobile {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-item-mobile {
  margin-bottom: 1.5rem;
}

.nav-link-mobile {
  color: var(--text-color);
  font-family: var(--font-inter);
  font-weight: 400;
  font-size: 3vh;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

body {
  padding-top: 100px;
}

@media (max-width: 1023px) {
  .header-main {
    top: 34px;
  }
  body {
    padding-top: 90px;
  }
}

@media (min-width: 1024px) {
  .offcanvas {
    visibility: hidden;
  }
}

/***********************************************************************************/
/************************************* HERO SECTION ********************************/
/***********************************************************************************/
.hero-section {
  height: 85vh;
  margin-top: 15px;
  position: relative;
  display: flex;
}

@media (min-width: 1750px) {
  .hero-section {
    height: 55vh;
  }
}

.box-main-hero {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translate(-50%, 0);
  width: 90%;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 1400px) {
  .box-main-hero {
    top: 10%;
  }
}

.box-right {
  position: absolute;
  top: 50%;
  left: 5%;
}

.box-left {
  position: absolute;
  top: 50%;
  right: 5%;
}

.box-icon-wrap {
  display: inline-block;
  opacity: 0;
  transform: scale(0.3);

  animation: boxEnter 1.1s ease-out forwards;
}

@keyframes boxEnter {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .box-right {
    display: none;
  }

  .box-left {
    display: none;
  }
}

.badge-hero {
  border: 1px solid var(--text-color);
  display: inline-flex;
  padding: 0.3rem 1.5rem;
  background-color: var(--body-color);
  border-radius: 24px;
  font-family: var(--font-bricolage);
  font-size: var(--font-size-base);
  color: var(--text-color);
  text-align: center;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .badge-hero {
    padding: 0.3rem 0.8rem;
  }
}

.hero-title {
  font-size: var(--font-size-extra-large);
  font-weight: 700;
  line-height: 0.9;
  color: var(--text-color);
  font-family: var(--font-bricolage);
  text-align: center;
}

.hero-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

.hero-text {
  display: inline-block;
}

.hero-icon {
  display: inline-block;
  height: 5rem;
  width: auto;
  object-fit: contain;
}

.hero-arrow {
  height: 4rem;
  display: inline-block;
  animation: arrowBounce 1.4s ease-in-out infinite;
}

@keyframes arrowBounce {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(10px);
  }
  100% {
    transform: translateX(0);
  }
}

.hero-asterisk {
  height: 4.5rem;
  display: inline-block;
  opacity: 0;
  transform: scale(0.3) rotate(-180deg);

  animation:
    asteriskEnter 1.2s ease-out forwards,
    asteriskRotate 6s linear infinite;

  animation-delay: 0s, 1.2s;
}

@keyframes asteriskEnter {
  0% {
    opacity: 0;
    transform: scale(0.3) rotate(-180deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes asteriskRotate {
  from {
    transform: scale(1) rotate(0deg);
  }
  to {
    transform: scale(1) rotate(360deg);
  }
}

.hero-icon-wave {
  display: inline-block;
  animation: bounceWave 2.2s ease-in-out infinite;
  will-change: transform;
}

@keyframes bounceWave {
  0% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(0);
  }
}

.hero-smile {
  height: 4rem;
  animation-delay: 0s;
}

.hero-heart {
  height: 4rem;
  animation-delay: 0.5s;
}

@media (max-width: 1200px) {
  .hero-section {
    height: 60vh;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-icon {
    height: 4rem;
  }

  .hero-arrow {
    height: 3rem;
  }

  .hero-asterisk {
    height: 2.5rem;
  }
}

@media (max-width: 820px) {
  .hero-section {
    height: 60vh;
  }

  .box-main-hero {
    width: 95%;
    top: 15%;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-line {
    gap: 0.75rem;
  }

  .hero-icon {
    height: 2.5rem;
  }

  .hero-arrow {
    height: 2rem;
  }

  .hero-asterisk {
    height: 2.5rem;
  }

  .hero-smile {
    height: 2.2rem;
  }

  .hero-heart {
    height: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 70vh;
  }

  .box-main-hero {
    width: 95%;
    top: 15%;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-line {
    gap: 0.75rem;
  }

  .hero-icon {
    height: 2.5rem;
  }

  .hero-arrow {
    height: 2rem;
  }

  .hero-asterisk {
    height: 2.5rem;
  }

  .hero-smile {
    height: 2.2rem;
  }

  .hero-heart {
    height: 2.2rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: 650px;
  }
  .box-main-hero {
    top: 5%;
  }
  .hero-title {
    font-size: 2.3rem;
    line-height: 32px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-asterisk {
    display: none;
  }

  .hero-line {
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .hero-icon {
    height: 2.3rem;
  }
}

@media (max-width: 390px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-arrow {
    display: none;
  }

  .hero-icon {
    height: 2rem;
  }

  .hero-asterisk {
    display: none;
  }
}

.button-hero {
  background-color: var(--body-color);
  color: var(--text-color);
  border-bottom: 1px solid var(--text-color) !important;
  border: none;
  padding-bottom: 0.5rem;
  margin-top: 8px;
  font-family: var(--font-bricolage);
}

.box-final-left {
  position: absolute;
  bottom: 0%;
  left: 0%;
}

.text-box-final-right {
  font-weight: 500;
  line-height: 1.2;
}

.box-final-right {
  position: absolute;
  bottom: 1%;
  right: 2%;
  width: 280px;
  display: inline-flex;
  flex-direction: column;
}

.title-box-final-right {
  font-size: var(--font-size-big);
  font-weight: 00;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.title-line {
  display: block;
  position: relative;
}

.title-line::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--text-color);
}

.title-line:last-child::after {
  display: none;
}

.text-box-final-right {
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-color);
  margin: 0;
}

@media (max-width: 768px) {
  .box-final-right {
    width: 240px;
  }
}

@media (max-width: 480px) {
  .box-final-right {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translate(-50%, 0);
    width: 280px;
  }

  .box-final-left {
    position: absolute;
    bottom: 4%;
    left: 50%;
    transform: translate(-50%, 0);
    width: auto;
  }

  .text-box-final-right,
  .title-box-final-right {
    text-align: center;
  }

  .title-box-final-right {
    font-size: 28px;
  }
}

/***********************************************************************************/
/************************************* BANNER 1 ************************************/
/***********************************************************************************/
.banner-1 {
  background-color: var(--purple-color);
  overflow: hidden;
  position: relative;
  width: 100%;
}

.banner-wrapper-1 {
  overflow: hidden;
  white-space: nowrap;
}

.banner-track-1 {
  display: inline-flex;
  gap: 2rem;
  animation: scroll-left 20s linear infinite;
  will-change: transform;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .banner-track-1 {
    display: inline-flex;
    gap: 2rem;
    animation: scroll-left 30s linear infinite;
    will-change: transform;
  }
}

/***********************************************************************************/
/************************************* SECTION 1 ************************************/
/***********************************************************************************/
.section-1 {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: start;
  padding: 5%;
}

@media (min-width: 1750px) {
  .section-1 {
    height: 55vh;
  }
}

.box-text-section-1 p {
  font-size: var(--font-size-big);
  max-width: 1100px;
  line-height: 1.2;
  font-weight: 400;
}

.badge-inline {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background-color: transparent;
  border: 1px solid var(--text-color);
  border-radius: 20px;
  vertical-align: middle;
  background-color: var(--body-color);
  transform-origin: center;
  will-change: transform, opacity;
}

.icon-inline img {
  height: 40px;
  width: 40px;
}

.strong-light {
  font-weight: 500;
}

@media (max-width: 820px) {
  .box-text-section-1 p {
    font-size: 24px;
    line-height: 1.4;
  }

  .icon-inline img {
    height: 30px;
    width: 30px;
  }
}

@media (max-width: 520px) {
  .section-1 {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 30% 5% 10% 5%;
  }

  .box-text-section-1 p {
    font-size: 24px;
    line-height: 1.6;
  }

  .icon-inline img {
    height: 25px;
    width: 25px;
  }

  .badge-inline {
    padding: 0rem 0.5rem;
  }
}

.icon-inline {
  display: inline-block;
}

.icon-inline img {
  display: inline-block;
  transform-origin: center;
  will-change: transform;
}

/***********************************************************************************/
/************************************* SECTION 2 ************************************/
/***********************************************************************************/
.section-2 {
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5% 5% 15% 5%;
  flex-direction: column;
  position: relative;
}

@media (min-width: 1750px) {
  .section-2 {
    height: 55vh;
  }
}

.box-section-2 {
  max-width: 620px;
  font-weight: bold;
  margin: 0 auto;
}

.box-right-section-2 {
  position: absolute;
  top: 50%;
  left: 20%;
}

.box-left-section-2 {
  position: absolute;
  top: 50%;
  right: 20%;
}

@media (max-width: 1025px) {
  .box-right-section-2 {
    left: 10%;
  }

  .box-left-section-2 {
    right: 10%;
  }
}

@media (max-width: 768px) {
  .box-right-section-2 {
    display: none;
  }

  .box-left-section-2 {
    display: none;
  }
}

@media (max-width: 480px) {
  .section-2 {
    height: 70vh;
    padding: 5%;
  }

  h2 {
    font-size: 34px;
  }
}

/***********************************************************************************/
/************************************* SECTION 3 ************************************/
/***********************************************************************************/
.section-3 {
  position: relative;
  padding: 8% 5%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1750px) {
  .section-3 {
    padding: 10% 5%;
  }
}

.icon-heart-section-3 {
  position: absolute;
  top: 20%;
  left: 15%;
  width: 45px;
  height: 45px;
}

.icon-asterisco-section-3 {
  position: absolute;
  bottom: 20%;
  left: 10%;
  width: 45px;
  height: 45px;
}

.icon-smile-section-3 {
  position: absolute;
  top: 30%;
  right: 10%;
  width: 45px;
  height: 45px;
  transform: rotate(20deg);
}

.parent {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: auto auto auto auto;
  grid-column-gap: 2rem;
  grid-row-gap: 3rem;
  max-width: 900px;
  width: 100%;
  position: relative;
}

@media (min-width: 1750px) {
  .parent {
    grid-column-gap: 4rem;
    grid-row-gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
  }
}

.box-center-section-3 {
  grid-column: 2 / 4;
  grid-row: 2 / 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.img-box-center-section-3 {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.badge-section-3 {
  border: 0.5px solid var(--text-color);
  display: inline-flex;
  padding: 0.3rem 1.5rem;
  border-radius: 24px;
  font-family: var(--font-just);
  font-size: 20px;
  color: var(--text-color);
  text-align: center;
  background-color: var(--body-color);
}

/* riga 1 — sopra */
.div1 {
  grid-area: 1 / 2 / 2 / 3;
}
.div2 {
  grid-area: 1 / 3 / 2 / 4;
}

/* riga 2 — sinistra e destra */
.div3 {
  grid-area: 2 / 1 / 3 / 2;
}
.div4 {
  grid-area: 2 / 4 / 3 / 5;
}

/* riga 3 — sinistra e destra */
.div5 {
  grid-area: 3 / 1 / 4 / 2;
}
.div6 {
  grid-area: 3 / 4 / 4 / 5;
}

/* riga 4 — sotto */
.div7 {
  grid-area: 4 / 2 / 5 / 3;
}
.div8 {
  grid-area: 4 / 3 / 5 / 4;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin-bottom: 1rem;
  position: relative;
}

@media (min-width: 1750px) {
  .team-circle {
    width: 200px;
    height: 200px;
  }
}

.team-circle--placeholder {
  background-color: color-mix(in srgb, var(--purple-color) 20%, transparent);
  border: 1.5px dashed var(--purple-color);
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.arrow-badge {
  position: absolute;
  bottom: 0px;
  right: 15px;
  width: 30px;
  height: 30px;
  background-color: var(--purple-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.arrow-icon {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.team-name {
  font-family: var(--font-bricolage);
  font-weight: 600;
  margin: 0;
  margin-bottom: 0.25rem;
  color: var(--text-color);
  text-transform: uppercase;
}

.team-role {
  font-family: var(--font-inter);
  font-size: var(--font-size-base);
  font-weight: 400;
  margin: 0;
  color: var(--text-color);
}

@media (max-width: 520px) {
  .section-3 {
    padding: 15% 5%;
  }

  .icon-heart-section-3,
  .icon-asterisco-section-3,
  .icon-smile-section-3 {
    display: none;
  }

  .parent {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    grid-column-gap: 1.5rem;
    grid-row-gap: 2.5rem;
    max-width: 400px;
  }

  .div1 {
    grid-area: 1 / 1 / 2 / 2;
  }
  .div2 {
    grid-area: 1 / 2 / 2 / 3;
  }
  .div3 {
    grid-area: 2 / 1 / 3 / 2;
  }
  .div4 {
    grid-area: 2 / 2 / 3 / 3;
  }
  .div5 {
    grid-area: 3 / 1 / 4 / 2;
  }
  .div6 {
    grid-area: 3 / 2 / 4 / 3;
  }
  .div7 {
    grid-area: 4 / 1 / 5 / 2;
  }
  .div8 {
    grid-area: 4 / 2 / 5 / 3;
  }

  .box-center-section-3 {
    grid-column: 1 / -1;
    grid-row: 5 / 6;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin-top: 1rem;
  }

  .team-circle {
    width: 120px;
    height: 120px;
  }

  .img-box-center-section-3 {
    width: 120px;
    height: 120px;
  }

  .arrow-badge {
    width: 25px;
    height: 25px;
    bottom: 0;
    right: 10px;
  }

  .arrow-icon {
    width: 12px;
    height: 12px;
  }
}

/***********************************************************************************/
/************************************* SECTION 4 ************************************/
/***********************************************************************************/

.section-4 {
  height: 100vh;
  padding: 5% 5% 20% 5%;
  display: flex;
  align-items: center;
  justify-items: center;
}

@media (min-width: 1750px) {
  .section-4 {
    height: 55vh;
  }
}

.box-section-4 {
  position: relative;
}

.icon-section-4 {
  height: auto;
  position: absolute;
  top: 25%;
  left: 30%;
  width: 60px;
}

.subtitle-section-4 {
  font-size: var(--font-size-medium-1);
  font-family: var(--font-just);
  line-height: 1;
}

.btn-section-4 {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background-color: var(--purple-color);
  border-radius: 50px;
  font-family: var(--font-bricolage);
  font-weight: 500;
  color: var(--text-color);
  text-decoration: none;
  align-self: flex-start;
  white-space: nowrap;
}

.btn-section-4:hover {
  background-color: transparent;
  border: 1px solid var(--purple-color);
  color: var(--text-color);
}

.info-card {
  background-color: var(--purple-color);
  border-radius: 24px;
  padding: 2rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.info-card-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.info-card-title {
  font-family: var(--font-bricolage);
  font-weight: 700;
  margin: 0;
  color: var(--text-color);
}

.info-card-body {
  padding-left: 0;
}

.info-card-text {
  font-family: var(--font-inter);
  font-size: var(--font-size-base);
  line-height: 1.4;
  color: var(--text-color);
  margin-bottom: 0.75rem;
}

.info-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: var(--font-bricolage);
  font-weight: 600;
  color: var(--text-color);
  text-decoration: none;
}

.info-card-link:hover .arrow-link-icon {
  transform: translateY(2px);
}

.arrow-link-icon {
  width: 32px;
  height: 32px;
  padding: 8px;
  transition: transform 0.3s ease;
  background-color: var(--body-color);
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .section-4 {
    height: 100%;
    padding: 5%;
    display: flex;
    align-items: center;
    justify-items: center;
  }
  .info-card {
    padding: 1.5rem;
  }

  .info-card-icon {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 520px) {
  .section-4 {
    height: auto;
    padding-bottom: 20%;
  }

  .info-card {
    padding: 1.25rem;
    border-radius: 20px;
  }

  .info-card-header {
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .info-card-icon {
    width: 24px;
    height: 24px;
  }

  .info-card-text {
    line-height: 1.5;
    font-size: var(--font-size-medium);
  }
}

/***********************************************************************************/
/************************************* SECTION 5 ************************************/
/***********************************************************************************/

.box-section-5 {
  max-width: 620px;
  margin: 0 auto;
}

/***********************************************************************************/
/************************************* SECTION 6 ************************************/
/***********************************************************************************/
.section-6 {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1750px) {
  .section-6 {
    height: 55vh;
    padding-bottom: 10%;
  }
}

.pacchetto-card {
  height: 580px;
  width: 400px;
  background-color: var(--withe-color);
  border-radius: 20px;
  padding: 10%;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 1750px) {
  .pacchetto-card {
    height: 700px;
    width: 400px;
    background-color: var(--withe-color);
    border-radius: 20px;
    padding: 10%;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

.h4-card {
  font-size: var(--font-size-big);
  font-weight: 600;
}

.card-content {
  flex: 1;
}

.btn-section-4 {
  margin-top: auto !important;
}

ul {
  padding-left: 0.5rem;
  margin-left: 0.5rem;
  margin: 0.5rem;
}

@media (max-width: 1024px) {
  .section-6 {
    height: 100vh;
  }

  .pacchetto-card {
    height: 600px;
    width: 100%;
    margin-bottom: 2rem;
  }
}

@media (max-width: 820px) {
  .section-6 {
    height: 100%;
  }
}

@media (max-width: 768px) {
  .pacchetto-card {
    height: auto;
    min-height: 500px;
    width: 100%;
    margin-bottom: 2rem;
    padding: 5%;
  }

  .section-6 {
    height: auto;
    padding: 20% 5%;
  }
}

/***********************************************************************************/
/************************************* SECTION 7 ************************************/
/***********************************************************************************/

.section-7 {
  padding: 5%;
  background-color: var(--purple-color);
}

.h2-section-7 {
  color: var(--text-color);
  font-weight: 700 !important;
}

.p-section-7 {
  color: var(--text-color);
}

.btn-section-7 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: white;
  border-radius: 50px;
  font-family: var(--font-bricolage);
  font-weight: 500;
  color: var(--text-color);
  text-decoration: none;
}

.btn-section-7:hover {
  background-color: white;
  color: var(--text-color);
  border: 1px solid var(--text-color);
}

@media (max-width: 768px) {
  .section-7 {
    padding: 10% 5%;
  }
}

/***********************************************************************************/
/************************************* SECTION 9 ************************************/
/***********************************************************************************/
.section-9 {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#carouselExampleIndicators {
  background: transparent;
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
}

.testimonial-content {
  text-align: center;
  padding: 2rem 1rem;
  height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: transparent;
}

.testimonial-text {
  font-size: var(--font-size-big);
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-color);
  max-width: 800px;

  margin: 0.5rem 0;
}

.testimonial-author {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.75rem;
  box-shadow:
    rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
    rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
  background-color: white;
}

.author-name {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
  width: 30px;
  height: 30px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-indicators {
  bottom: -40px;
}

.carousel-indicators button {
  background-color: var(--text-color);
  border-radius: 50%;
  width: 10px;
  height: 10px;
  margin: 0 5px;
}

.carousel-indicators button.active {
  background-color: var(--text-color);
}

.carousel-indicators [data-bs-target] {
  background-color: #d3d3d3;
  border: none;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  opacity: 0.5;
}

.carousel-indicators [data-bs-target].active {
  background-color: var(--text-color);
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial-text {
    font-size: var(--font-size-medium);
  }

  .testimonial-content {
    padding: 1rem;
    height: 400px; /* CAMBIATO: da min-height a height fisso */
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 10%;
  }
}

/***********************************************************************************/
/************************************* SECTION 10 ************************************/
/***********************************************************************************/

.section-10 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5%;
  position: relative;
}

.icon-section-10-smile {
  position: absolute;
  top: 30%;
  right: 10%;
  rotate: calc(30deg);
}

.icon-section-10-cube {
  position: absolute;
  bottom: 20%;
  right: 15%;
  rotate: calc(30deg);
  width: 70px;
}

.vertical-accordion {
  display: flex;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  height: 600px;
  background-color: var(--withe-color);
  border-radius: 24px;
}

.accordion-item {
  display: flex;
  position: relative;
  transition: all 0.4s ease;
}

.accordion-tab {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background-color: transparent;
  border: none;
  border-left: 2px solid var(--purple-color);
  padding: 30px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 80px;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  border-radius: 24px;
}

.accordion-tab:hover {
  background-color: var(--withe-color);
}

.tab-number {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
  white-space: nowrap;
}

.tab-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--purple-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.tab-icon svg {
  stroke: var(--text-color);
  transform: rotate(180deg);
}

.accordion-content {
  width: 0;
  overflow: hidden;
  background-color: var(--withe-color);
  display: flex;
  align-items: flex-start;
  padding: 0;
  transition: all 0.4s ease;
  opacity: 0;
}

.accordion-content p {
  padding: 30px;
  margin: 0;
  font-size: var(--font-size-medium);
  line-height: 1.6;
  color: var(--text-color);
}

.accordion-item.active .accordion-content {
  width: 280px;
  opacity: 1;
  padding: 0;
}

.accordion-item.active .tab-icon svg {
  transform: rotate(0deg);
}

@media (max-width: 1024px) {
  .section-10 {
    padding: 2%;
  }
  .vertical-accordion {
    flex-direction: column;
    height: auto;
    width: 100%;
  }

  .accordion-item {
    flex-direction: column;
    width: 100%;
  }

  .accordion-tab {
    writing-mode: horizontal-tb;
    transform: none;
    border-left: none;
    border-bottom: 1px solid var(--purple-color);
    padding: 20px;
    min-width: 100%;
    width: 100%;
    height: auto;
    flex-direction: row;
    justify-content: space-between;
  }

  .tab-number {
    font-size: 16px;
    white-space: normal;
  }

  .tab-icon {
    width: 40px;
    height: 40px;
  }

  .tab-icon svg {
    transform: rotate(90deg);
  }

  .accordion-content {
    width: 100%;
    height: 0;
  }

  .accordion-content p {
    padding: 20px;
    font-size: var(--font-size-base);
  }

  .accordion-item.active .accordion-content {
    width: 100%;
    height: auto;
  }

  .accordion-item.active .tab-icon svg {
    transform: rotate(-90deg);
  }
}

/***********************************************************************************/
/************************************* SECTION 11 ************************************/
/***********************************************************************************/

.horizontal-accordion {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.h-accordion-item {
  border: 2px solid var(--purple-color);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s ease;
  background-color: white;
}

.h-accordion-header {
  width: 100%;
  background-color: transparent;
  border: none;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s ease;
  gap: 20px;
}

.h-accordion-title {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-color);
  text-align: left;
  flex: 1;
}

.h-accordion-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--purple-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.h-accordion-icon svg {
  stroke: var(--text-color);
  transition: transform 0.3s ease;
}

.h-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0rem 1rem;
  background-color: transparent;
}

.h-accordion-body p {
  margin: 0;
  padding-bottom: 5px;
  font-size: var(--font-size-base);
  line-height: 1.2;
  color: var(--text-color);
}

.h-accordion-item.active .h-accordion-body {
  max-height: 400px;
}

.h-accordion-item.active .h-accordion-icon svg {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .h-accordion-header {
    padding: 15px 20px;
  }

  .h-accordion-icon {
    width: 40px;
    height: 40px;
  }
}

/***********************************************************************************/
/************************************* SECTION 12 ************************************/
/***********************************************************************************/

.section-12 {
  padding: 5%;
  background-color: var(--purple-color);
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-12 .container {
  max-width: 1200px;
  margin: 0 auto;
}

.box-form {
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

.contact-form {
  width: 100%;
  max-width: 100%;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 14px;
  color: var(--text-color);
  background-color: white;
  border: 1px solid var(--text-color);
  border-radius: 24px;
  outline: none;
  transition: all 0.3s ease;
  font-family: var(--font-inter);
}

.form-input::placeholder {
  color: var(--text-color);
}

.form-input:focus {
  border-color: var(--text-color);
  background-color: var(--body-color);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23000' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 14px;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-select:focus {
  cursor: pointer;
}

.form-textarea {
  border-radius: 24px;
  resize: vertical;
  min-height: 120px;
  padding: 1rem;
}

.btn-submit {
  padding: 0.85rem 1rem;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  background-color: white;
  border: 1px solid var(--text-color);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-bricolage);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-submit:hover {
  background-color: white;
  transform: translateY(-2px);
}

.btn-submit:active {
  transform: translateY(0);
}

.contact-form .row {
  row-gap: 1.5rem;
}

@media (max-width: 991px) {
  .section-12 {
    padding: 8% 5%;
  }

  .section-12 .container {
    max-width: 100%;
  }

  .form-input {
    padding: 0.7rem 0.9rem;
  }

  .btn-submit {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.5rem;
  }
}

@media (max-width: 575px) {
  .form-input {
    padding: 0.65rem 0.85rem;
  }

  .form-select {
    background-position: right 0.85rem center;
    padding-right: 2.2rem;
  }

  .emoji-form {
    font-size: 16px;
  }
}

.notification-web3 {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  padding: 20px 40px;
  border-radius: 50px;
  font-family: var(--font-inter);
  font-weight: 500;
  font-size: 16px;
  z-index: 9999;
  transition: top 0.5s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  max-width: 90%;
  text-align: center;
}

.notification-web3.show {
  top: 120px;
}

.notification-web3.success {
  background-color: #4caf50;
  color: white;
}

.notification-web3.error {
  background-color: #f44336;
  color: white;
}

/***********************************************************************************/
/************************************* PAGIN BLOG ************************************/
/***********************************************************************************/

.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 0.8rem;
}

figcaption {
  font-size: 1rem !important;
  color: var(--text-color) !important;
}

.figure-caption-1 {
  font-size: 0.8rem !important;
}

.figure-caption-1 a {
  color: var(--text-color) !important;
}

.em-cpanel {
  font-size: 0.8rem;
}

.card-blog {
  border: none;
  margin-bottom: 1.5rem;
  height: 100%;
}

.tag-label {
  font-size: 0.7rem;
  padding: 0.3rem 0.5rem;
  border-radius: 5rem;
  color: var(--text-color);
  align-self: start;
  width: auto;
}

.filter-btn.active {
  color: #d96a9e;
  border: 1px solid #d96a9e !important;
}

.filter-btn {
  padding: 0.5rem 0.8rem;
  border-radius: 2rem;
  border: none;
  margin: 0.3rem;
  border: 1px solid var(--text-color) !important;
  font-size: 0.9rem;
  background-color: var(--body-color);
  color: var(--text-color) !important;
}

.filter-btn:hover {
  color: #d96a9e !important;
  border: 1px solid #d96a9e !important;
}

.link {
  color: var(--text-color);
  border-radius: 5rem;
  background-color: #d96a9e;
  padding: 0.5rem 0.8rem;
  align-self: start;
  width: auto;
  text-decoration: none;
}

.sviluppo {
  background-color: #c3b0e7;
}

.linkedin {
  background-color: #b7cdda;
}

.freelance {
  background-color: orange;
}

.sitiweb {
  background-color: #fede6f;
}

.trend {
  background-color: #d96a9e;
}

.web {
  background-color: bisque;
}

.ads {
  background-color: blue;
  color: white;
}

.body-articolo {
  max-width: 1024px;
  margin: 0 auto;
}
.briciole a {
  color: black;
}

.img-articolo {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.img-articol-1 {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: flex;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
}

.list-group-flush li a {
  color: #f682a5 !important;
}

.img-testo {
  object-fit: cover;
  object-position: top;
  height: 15rem !important;
}

.img-testo-1 {
  object-fit: contain;
  margin: 0 auto;
  height: 15rem !important;
  display: flex;
  justify-content: center;
}

.sottotitolo-1 {
  font-size: 1rem;
}

.img-separatore {
  object-fit: contain;
  object-position: center;
  height: 40vh !important;
  width: 100%;
  margin: 0 auto;
}

.link-interni {
  color: #f682a5;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .img-testo {
    object-fit: cover;
    object-position: center;
    height: 20vh !important;
    width: 100% !important;
  }

  .img-separatore {
    height: 30vh !important;
    width: 100% !important;
    object-fit: cover;
    object-position: center;
  }
}

table {
  margin: 20px 0;
  border: 1px solid #ddd;
}
th,
td {
  padding: 12px;
  text-align: center;
}
th {
  background-color: #f2f2f2;
}

.finale {
  background-color: #f2f2f2;
}

blockquote p {
  font-size: 14px !important;
}

figcaption {
  font-size: 1rem !important;
  color: black !important;
}

.figure-caption-1 {
  font-size: 0.8rem !important;
}

.figure-caption-1 a {
  color: #0b1b26 !important;
}

.em-cpanel {
  font-size: 0.8rem;
}

.tag {
  font-size: 14px;
}

.box-conclusioni {
  width: auto;
  height: auto;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border-radius: 2rem;
}

.alert-link {
  color: black;
  text-decoration: underline !important;
}

.h1-articoli {
  font-size: 42px;
  line-height: 2.5rem;
  color: #d96a9e;
}

.h2-articoli {
  font-size: 46px !important;
  line-height: 2.5rem;
  color: #d96a9e;
}

.h3-articoli {
  font-size: 36px;
  line-height: 2.5rem;
  color: #d96a9e;
}

.h4-articoli {
  font-size: 28px;
  line-height: 2rem;
  color: #d96a9e;
}

.p-articoli {
  font-size: 21px;
  margin-bottom: 32px;
  font-weight: 400 !important;
  line-height: 1.5rem;
}

/***********************************************************************************/
/************************************* FOOTER ************************************/
/***********************************************************************************/
footer {
  padding-top: 5rem;
  margin-top: 0;
  background: linear-gradient(135deg, var(--text-color) 0%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--purple-color) 50%,
    transparent 100%
  );
}

.footer-main {
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.footer-brand {
  margin-bottom: 2rem;
}

.footer-logo {
  font-size: var(--font-size-big);
  font-weight: 700;
  color: var(--body-color);
  margin-bottom: 0.5rem;
}

.video-footer {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.footer-title {
  font-weight: 600;
  font-size: 16px;
  color: var(--body-color);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--body-color);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--purple-color);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--purple-color);
  transform: translateX(4px);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%
  );
  margin: 0 2rem;
}

.footer-bottom {
  padding: 1.5rem 0;
}

.footer-copyright,
.footer-credit {
  font-size: 14px;
  color: var(--body-color);
}

.heart-pulse {
  display: inline-block;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1);
  }
}

.face-icon-footer,
.heart-icon-footer {
  position: absolute;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.face-icon-footer {
  bottom: 8%;
  right: 15%;
  height: 60px;
  width: 60px;
  animation: float 6s ease-in-out infinite;
}

.heart-icon-footer {
  top: 70%;
  left: 20%;
  height: 50px;
  width: 50px;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@media (max-width: 991px) {
  .footer-main {
    padding-top: 3rem;
    padding-bottom: 2rem;
  }

  .footer-logo {
    text-align: center;
  }

  .footer-tagline {
    text-align: center;
  }

  .video-footer {
    max-width: 220px;
    margin: 0 auto;
    display: block;
  }

  .face-icon-footer,
  .heart-icon-footer {
    display: none;
  }
}

@media (max-width: 767px) {
  .footer-divider {
    margin: 0 1rem;
  }
}

/***********************************************************************************/
/************************************* MODALI ************************************/
/***********************************************************************************/

.modal-custom-width {
  max-width: 100%;
}

.modal-body {
  padding: 5% !important;
}

.modal-content {
  background-color: var(--body-color);
  max-width: 980px !important;
  margin: 0 auto !important;
  padding: 2%;
}

.modal-header {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border-bottom: none;
  padding: 1.5rem 1rem;
}

.modal-badge {
  flex: 1;
  display: flex;
  justify-content: center;
}

.container-modal-body {
  max-width: 740px;
  margin: 0 auto;
}

.text-badge-modal {
  font-size: var(--font-size-base);
  border: 1px solid var(--text-color);
  border-radius: 24px;
  padding: 0.5rem 0.8rem;
  margin: 0;
  text-align: center;
}

.da-google {
  text-decoration: underline;
}

.btn-close {
  background-color: var(--purple-color);
  border-radius: 50%;
  position: absolute;
  right: 1rem;
  width: 1.2rem;
  height: 1.2rem;
  opacity: 0.8;
  padding: 0;
}

.subtitle-modale {
  color: var(--text-color);
  font-weight: 600;
  font-family: var(--font-bricolage);
}

.title-modale {
  color: var(--text-color);
  font-weight: 700;
  font-family: var(--font-bricolage);
  font-size: var(--font-size-large);
  line-height: 1;
  text-align: center;
}

.btn-close:hover {
  opacity: 1;
}

.img-hero-work {
  width: 100%;
  height: 100%;
  border-radius: 24px;
}

.box-recensione {
  padding: 1.5rem;
  border-radius: 24px;
  background: var(--withe-color);
}

.text-recensione-modale {
  font-weight: 400;
}

@media (min-width: 1024px) {
  .modal-custom-width {
    max-width: 70vw;
  }
}

@media (max-width: 1024px) {
  .title-modale {
    font-size: 42px;
  }
}

@media (max-width: 480px) {
  .title-modale {
    font-size: 28px;
  }
}

/* NEWSLETTER*/
.newsletter-modal {
  background: var(--purple-color);
  border-radius: 24px;
  border: none;
  max-width: 500px;
  position: relative;
}

.btn-close-newsletter {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-color);
  z-index: 10;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-close-newsletter:hover {
  opacity: 0.7;
}

.newsletter-title {
  font-size: var(--font-size-medium-1);
  font-weight: 600;
  text-align: center;
  color: var(--text-color);
  margin-bottom: 24px;
  font-family: var(--font-bricolage);
}

.newsletter-description {
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.6;
  font-size: var(--font-size-base);
}

.newsletter-note p {
  font-family: var(--font-just);
}

.smile-newsletter {
  width: 48px;
  bottom: 40%;
  position: absolute;
  left: 10%;
  transform: rotate(-15deg);
}

.arrow-newsletter {
  width: 28px;
  bottom: 32%;
  position: absolute;
  right: 15%;
  transform: rotate(-15deg);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-input-newsletter {
  border: 0.5px solid var(--text-color);
  border-radius: 28px;
  padding: 10px 12px;
  outline: none;
}

.form-input-newsletter:focus {
  border-color: #000;
  outline: none;
}

.btn-newsletter-submit {
  padding: 14px 20px;
  background: var(--body-color);
  color: var(--text-color);
  border: none;
  border-radius: 28px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.7);
}

@media (max-width: 480px) {
  .smile-newsletter {
    width: 48px;
    bottom: 40%;
    position: absolute;
    left: 7%;
    transform: rotate(-15deg);
  }

  .arrow-newsletter {
    width: 28px;
    bottom: 30%;
    position: absolute;
    right: 15%;
    transform: rotate(-15deg);
  }
}

.floating-cards {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mini-card {
  background: var(--body-color);
  padding: 3%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  width: 250px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.mini-card:hover {
  transform: translateY(-5px);
}

.mini-card img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.title-mini-card {
  font-weight: 600;
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
  max-width: max-content;
  background-color: var(--purple-color);
}

.text-mini-card {
  margin: 0;
  font-size: 12px;
  color: var(--text-color);
}

@media (max-width: 480px) {
  .mini-card {
    padding: 3%;
    width: 200px;
  }

  .mini-card img {
    width: 42px;
    height: 42px;
  }
}

/* ── THANK YOU PAGE ─────────────────────────────────────────── */

.thankyou-main {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 6rem 1rem;
}

.thankyou-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--text-color);
  color: var(--body-color);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.thankyou-title {
  font-family: var(--font-bricolage);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.thankyou-subtitle {
  font-family: var(--font-bricolage);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.thankyou-body {
  font-family: var(--font-inter);
  font-size: 1rem;
  line-height: 1.75;
  color: #555;
  margin-bottom: 2.5rem;
}

.thankyou-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.thankyou-btn-primary {
  background: var(--text-color);
  color: var(--body-color);
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-family: var(--font-bricolage);
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.thankyou-btn-primary:hover {
  opacity: 0.8;
  color: var(--body-color);
}

.thankyou-btn-secondary {
  border: 1.5px solid var(--text-color);
  color: var(--text-color);
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-family: var(--font-bricolage);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}

.thankyou-btn-secondary:hover {
  background: var(--text-color);
  color: var(--body-color);
}
