:root {
  --title-font: "din-condensed", sans-serif;
  --body-font: "avenir-light", sans-serif;
  --black-color: #0a0a0a;
  --gold-color: #7a7272;
  --yellow-color: #bc9850;
  --white-color: #fff;
  --pink-color: #fff6fd;
  --purple-color: #630f30;
  --body-color: #bb6f92;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--body-font);
  transition: background-color 0.5s ease;
  background-color: var(--pink-color);
}

@media (min-width: 1100px) {
  h1 {
    font-size: 60px !important;
    line-height: 1 !important;
    letter-spacing: -2px !important;
    color: var(--purple-color);
  }
}

h1 {
  font-family: var(--title-font);
  font-size: 40px;
  letter-spacing: -1px;
  color: var(--purple-color);
}

h2 {
  font-family: var(--title-font);
  font-size: 30px;
  color: var(--purple-color);
}

.title-footer {
  font-family: var(--title-font) !important;
  font-size: 30px !important;
  color: var(--gold-color) !important;
  line-height: 30px !important;
}

h3 {
  font-family: var(--title-font);
  font-size: 40px;
  color: var(--black-color);
}

strong {
  color: var(--purple-color);
}

.overline {
  font-family: var(--title-font);
  font-size: 16px;
  color: var(--gold-color);
}

.overline-1 {
  font-family: var(--body-font);
  font-weight: 600;
}

.container {
  padding: 0 1rem 0 1rem;
}

/***************************BANNER***************************/

.banner {
  background-color: var(--purple-color);
  color: var(--white-color);
  font-weight: 400;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
}

.logo-divisore {
  width: 100px;
}

/***************************HEADER***************************/
header {
  border-bottom: 1px solid var(--yellow-color);
  position: sticky;
  top: 40px;
  width: 100%;
  background-color: var(--pink-color);
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
  z-index: 99;
}

.logo {
  width: 8rem;
  height: auto;
}

@media (max-width: 768px) {
  .logo {
    width: 6rem;
    height: auto;
  }
}

/***************************HERO***************************/
.airone {
  width: 50%;
  z-index: -1;
  right: -15%;
  bottom: -10%;
}

@media (max-width: 780px) {
  .airone {
    display: inline;
    width: 80%;
    z-index: -1;
    right: -25%;
    bottom: -5%;
  }
}

@media (max-width: 540px) {
  .airone {
    display: inline;
    width: 100%;
    z-index: -1;
    right: -30%;
    bottom: 3%;
  }
}

@media (min-width: 1200px) {
  .desktop {
    height: 70vh !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.text-with-img {
  gap: 0.5rem;
  line-height: 2.9rem;
}

.img-hero {
  width: 100px;
  height: 40px;
  border-radius: 50%;
  object-fit: contain;
}

.text-hero {
  color: var(--black-color);
  line-height: 1.2;
  font-weight: 300;
}

.text-hero-1 {
  font-size: 14px;
  color: var(--gold-color);
  line-height: 1.2;
  font-weight: 300;
}

.step-indicator {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.step-indicator::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 20px;
  right: 20px;
  height: 1px;
  background-color: var(--gold-color);
  z-index: 0;
  transform: translateY(-50%);
}

.step {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--yellow-color);
  background-color: white;
  color: var(--purple-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  background-color: #fff;
}

.step.active {
  background-color: var(--yellow-color);
  color: white;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 10px;
  margin: 15px 0;
  font-size: 16px;
  box-sizing: border-box;
}

.checkbox-container {
  margin-top: 20px;
}

.checkbox-container label {
  font-size: 14px;
}

.buttons {
  display: flex;
  justify-content: space-between;
}

button {
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  background-color: var(--purple-color);
  color: white;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--title-font);
}

button:disabled {
  background-color: #999;
}

/***************************SECTION 1***************************/

strong {
  font-weight: 600;
}

.text-section-1 {
  color: var(--black-color);
  line-height: 1.2;
  font-weight: 300;
  max-width: 760px;
}

.image-project-container {
  position: relative;
  height: 300px;
  width: 100%;

  overflow: hidden;
  border-radius: 1rem;
  margin-bottom: 24px !important;
}

.image-project-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.overlay-project-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 200px;
  width: 100%;
  background: linear-gradient(
    to top,
    rgba(27, 27, 27, 1),
    rgba(27, 27, 27, 0.8),
    transparent
  );
  pointer-events: none;
}

.overlay-project-content h5 {
  font-size: 3rem; /* numero grande */
  font-weight: 600;
  margin: 0;
  font-family: var(--title-font);
}

.overlay-project-content h5 span {
  display: block;
  font-size: 1rem; /* sottotitolo più piccolo */
  font-weight: 600;
  font-family: var(--body-font);
  letter-spacing: 0px;
}

.overlay-project-content p {
  margin-top: 8px;
  font-size: 0.9rem;
  max-width: 480px;
}

.overlay-project-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  text-align: center;
  color: white;
  padding: 16px;
}

/***************************SECTION 1***************************/

@media (max-width: 768px) {
  .image-project-container {
    position: relative;
    height: 300px;
    width: 100%;
    overflow: hidden;
    border-radius: 1rem;
    margin-bottom: 24px !important;
  }

  .image-project-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}

.tigre {
  width: 50%;
  z-index: -1;
  left: -20%;
  top: 10%;
}

.serpe {
  width: 50%;
  z-index: -1;
  right: -10%;
  top: -30%;
}

.airone-1 {
  width: 50%;
  z-index: -1;
  right: 10%;
  bottom: -30%;
}

@media (max-width: 1025px) {
  .tigre {
    width: 60%;
    z-index: -1;
    left: -20%;
    top: 14%;
  }

  .serpe {
    width: 60%;
    z-index: -1;
    right: -25%;
    top: -15%;
  }

  .airone-1 {
    width: 60%;
    z-index: -1;
    right: 5%;
    bottom: -25%;
  }
}

@media (max-width: 770px) {
  .tigre {
    width: 65%;
    z-index: -1;
    left: -20%;
    top: 35%;
  }

  .serpe {
    width: 65%;
    z-index: -1;
    right: -25%;
    top: -3%;
  }

  .airone-1 {
    width: 65%;
    z-index: -1;
    right: 10%;
    bottom: -5%;
  }
}

@media (max-width: 540px) {
  .tigre {
    width: 100%;
    z-index: -1;
    left: -35%;
    top: 35%;
  }

  .serpe {
    width: 100%;
    z-index: -1;
    right: -60%;
    top: 8%;
    transform: rotate(40deg);
  }

  .airone-1 {
    width: 100%;
    z-index: -1;
    right: -30%;
    bottom: 15%;
  }
}

/***************************SECTION 3***************************/

.faq-accordion .accordion-item {
  border: none;
  border-bottom: 1px solid var(--gold-color);
  background: #fff;
  border-radius: 0;
}

.faq-accordion .accordion-button {
  background: #fff;
  color: var(--black-color);
  font-weight: bold;
  box-shadow: none;
  font-size: 16px;
  font-family: var(--body-font);
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
}

.faq-accordion .accordion-body {
  background: #fff;
  color: var(--black-color);
}

.faq-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}

/***************************SECTION 4***************************/

.section-black {
  color: var(--gold-color);
  height: 100%;
}

/* Step Indicator */
.my-step-indicator {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.my-step-indicator::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 20px;
  right: 20px;
  height: 1px;
  background-color: var(--yellow-color);
  z-index: 0;
  transform: translateY(-50%);
}

.my-step {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--yellow-color);
  background-color: var(--yellow-color);
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.my-step.active {
  background-color: white;
  color: black;
}

/* Form Steps */
.my-form-step {
  display: none;
}

.my-form-step.active {
  display: block;
}

/* Inputs */
#myMultiStepForm input[type="text"],
#myMultiStepForm input[type="email"] {
  width: 100%;
  padding: 10px;
  margin: 15px 0;
  font-size: 16px;
  box-sizing: border-box;
  background: transparent;
  border: 1px solid #fff;
  color: white;
}

#myMultiStepForm input::placeholder {
  color: white;
}

/* Checkbox */
.my-checkbox-container {
  margin-top: 20px;
}

.my-checkbox-container label {
  font-size: 14px;
  color: white;
}

.my-checkbox-container input[type="checkbox"] {
  margin-right: 8px;
}

/* Buttons */
.my-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

#myMultiStepForm button {
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  background-color: white;
  color: black;
  font-weight: 600;
  cursor: pointer;
}

#myMultiStepForm button:disabled {
  background-color: #999;
  cursor: not-allowed;
}

.link-crea {
  color: white !important;
  text-decoration: none !important;
}

.footer {
  height: 100vh;
}

.img-finale {
  width: 25%;
}

.title-footer {
  color: white;
  font-size: clamp(7rem, 15vw, 15rem);
  text-align: center;
  font-family: var(--title-font);
  margin-top: 0;
  line-height: 3.5rem;
}

.subtitle-footer {
  color: white;
  font-size: 3.5rem !important;
  text-align: center;
  font-family: var(--title-font);
  margin-top: 0;
}

.editore {
  color: white !important;
  font-family: var(--title-font);
  text-decoration: none !important;
  cursor: pointer;
  margin-bottom: 5rem;
}

@media (max-width: 768px) {
  .img-finale {
    width: 60%;
  }
}

/***************************THANK YOU PAGE***************************/
.custom-img {
  max-height: 80vh; /* si adatta all’altezza dello schermo */
  object-fit: contain;
}
