.c-preventivo-contact__grid {
  align-items: start;
}

.c-offer-detail-page .c-offer-detail-contact,
.c-preventivo-page .c-offer-detail-contact {
  padding-top: 60px;
  padding-bottom: 80px;
}

.c-offer-detail-page .c-offer-detail-contact__grid,
.c-preventivo-page .c-offer-detail-contact__grid {
  display: grid;
  gap: 40px;
  align-items: start;
}

.c-offer-detail-page .c-offer-detail-contact__content,
.c-preventivo-page .c-offer-detail-contact__content {
  display: grid;
  gap: 30px;
}

.c-offer-detail-page .c-offer-detail-section-title,
.c-preventivo-page .c-offer-detail-section-title {
  margin: 0;
  color: #f4edd8;
  font-family: "Mustica Pro", "Trebuchet MS", "Arial", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 300;
  line-height: unset;
  text-transform: uppercase;
}

.c-offer-detail-page .c-offer-detail-contact__text,
.c-offer-detail-page .c-offer-detail-contact__text p,
.c-offer-detail-page .c-offer-detail-contact__text a,
.c-offer-detail-page .c-offer-detail-contact__text strong,
.c-preventivo-page .c-offer-detail-contact__text,
.c-preventivo-page .c-offer-detail-contact__text p,
.c-preventivo-page .c-offer-detail-contact__text a,
.c-preventivo-page .c-offer-detail-contact__text strong {
  color: #f4edd8;
  font-family: "Mustica Pro", "Trebuchet MS", "Arial", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
}

.c-offer-detail-page .c-offer-detail-contact__text > :first-child,
.c-preventivo-page .c-offer-detail-contact__text > :first-child {
  margin-top: 0;
}

.c-offer-detail-page .c-offer-detail-contact__text > :last-child,
.c-preventivo-page .c-offer-detail-contact__text > :last-child {
  margin-bottom: 0;
}

.c-offer-detail-page .c-offer-detail-contact__features,
.c-room-detail-page .c-offer-detail-contact__features,
.c-preventivo-page .c-offer-detail-contact__features,
.c-made-for-smart-detail-page .c-offer-detail-contact__features{
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.c-room-detail-page .c-offer-detail-contact__features,
.c-made-for-smart-detail-page .c-offer-detail-contact__features{
  margin-bottom: 40px;
}

.c-offer-detail-page .c-offer-detail-contact__feature,
.c-room-detail-page .c-offer-detail-contact__feature,
.c-preventivo-page .c-offer-detail-contact__feature,
.c-made-for-smart-detail-page .c-offer-detail-contact__feature{
  display: flex;
  align-items: center;
  gap: 15px;
}

.c-offer-detail-page .c-offer-detail-contact__feature-icon,
.c-room-detail-page .c-offer-detail-contact__feature-icon,
.c-preventivo-page .c-offer-detail-contact__feature-icon,
.c-made-for-smart-detail-page .c-offer-detail-contact__feature-icon{
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  filter: brightness(0) saturate(100%) invert(89%) sepia(19%) saturate(299%) hue-rotate(341deg) brightness(102%) contrast(92%);
}

.c-room-detail-page .c-offer-detail-contact__feature-icon,
.c-made-for-smart-detail-page .c-offer-detail-contact__feature-icon {
  filter: brightness(0) saturate(100%) invert(33%) sepia(14%) saturate(1407%) hue-rotate(29deg) brightness(91%) contrast(89%);
}

.c-offer-detail-page .c-offer-detail-contact__feature-text,
.c-room-detail-page .c-offer-detail-contact__feature-text,
.c-preventivo-page .c-offer-detail-contact__feature-text,
.c-made-for-smart-detail-page .c-offer-detail-contact__feature-text {
  color: #f4edd8;
  font-family: "Mustica Pro", "Trebuchet MS", "Arial", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
}

.c-room-detail-page .c-offer-detail-contact__feature-text,
.c-made-for-smart-detail-page .c-offer-detail-contact__feature-text {
  color: var(--theme-color-text-on-light-olive);
}

.c-preventivo-page .c-offer-detail-contact {
  margin-top: 0;
  padding-top: 0;
}

.c-preventivo-page .c-offer-detail-contact--standalone-preventivo {
  padding-top: 0;
  padding-bottom: 0;
}

.c-preventivo-page .c-offer-detail-contact--standalone-preventivo .c-offer-detail-contact__content {
  gap: 0;
}

.c-preventivo-contact__notice {
  margin-bottom: 24px;
  padding: 16px 20px;
  border-radius: 16px;
  font: 600 14px/1.5 "Open Sans", sans-serif;
}

.c-preventivo-contact__notice--success {
  background: rgba(162, 197, 90, 0.16);
  color: #3d5c11;
}

.c-preventivo-contact__notice--missing,
.c-preventivo-contact__notice--email,
.c-preventivo-contact__notice--dates,
.c-preventivo-contact__notice--nonce,
.c-preventivo-contact__notice--spam {
  background: rgba(171, 98, 82, 0.14);
  color: #7b2e20;
}

#form_preventivo {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.c-offer-detail-page #form_preventivo,
.c-preventivo-page #form_preventivo {
  gap: 10px 20px;
}

#form_preventivo .campo_preventivo_mobile,
#form_preventivo .campo_preventivo_small {
  width: calc(50% - 10px);
}

#form_preventivo .campo_preventivo_small {
  width: calc(25% - 15px);
}

#form_preventivo .campo_preventivo_wide,
#form_preventivo .camera,
#form_preventivo .clearfix {
  width: 100%;
}

#form_preventivo .camera {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 20px;
  margin-top: 8px;
  border-top: 1px solid rgba(128, 94, 63, 0.18);
}

#form_preventivo .camera strong {
  display: block;
  width: 100%;
  margin-bottom: 16px;
  color: var(--hg-color-text);
  font: 700 18px/1.2 "Sora", sans-serif;
}

#form_preventivo label {
  display: block;
  margin-bottom: 2px;
  color: var(--hg-color-text);
  font: 600 13px/1.4 "Open Sans", sans-serif;
}

.c-offer-detail-page #form_preventivo label,
.c-preventivo-page #form_preventivo label {
  margin-bottom: 2px;
  color: #ffffff;
  font-family: "Mustica Pro", "Trebuchet MS", "Arial", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 135%;
}

#form_preventivo input:not([type="checkbox"]),
#form_preventivo select,
#form_preventivo textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(128, 94, 63, 0.22);
  border-radius: 16px;
  background: #fff;
  color: var(--hg-color-text);
  font: 400 16px/1.4 "Open Sans", sans-serif;
}

.c-offer-detail-page #form_preventivo input:not([type="checkbox"]),
.c-offer-detail-page #form_preventivo select,
.c-offer-detail-page #form_preventivo textarea,
.c-preventivo-page #form_preventivo input:not([type="checkbox"]),
.c-preventivo-page #form_preventivo select,
.c-preventivo-page #form_preventivo textarea {
  min-height: 45px;
  padding: 10px 18px;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  color: rgba(133, 40, 0, 1);
  font-family: "Mustica Pro", "Trebuchet MS", "Arial", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
}

.c-offer-detail-page #form_preventivo textarea,
.c-preventivo-page #form_preventivo textarea {
  min-height: 148px;
}

.c-offer-detail-page #form_preventivo input::placeholder,
.c-offer-detail-page #form_preventivo textarea::placeholder,
.c-preventivo-page #form_preventivo input::placeholder,
.c-preventivo-page #form_preventivo textarea::placeholder {
  color: rgba(134, 142, 150, 1);
  opacity: 1;
}

#form_preventivo input#preventivo_arrivo,
#form_preventivo input#preventivo_partenza {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQgMEgwVjRINFYwWiIgZmlsbD0iI0VCNDMwMSIvPgo8cGF0aCBkPSJNMTEgMEg3VjRIMTFWMFoiIGZpbGw9IiM3MjcyNzIiLz4KPHBhdGggZD0iTTE4IDBIMTRWNEgxOFYwWiIgZmlsbD0iIzcyNzI3MiIvPgo8cGF0aCBkPSJNNCA3SDBWMTFINFY3WiIgZmlsbD0iIzcyNzI3MiIvPgo8cGF0aCBkPSJNMTEgN0g3VjExSDExVjdaIiBmaWxsPSIjNzI3MjcyIi8+CjxwYXRoIGQ9Ik0xOCA3SDE0VjExSDE4VjdaIiBmaWxsPSIjNzI3MjcyIi8+CjxwYXRoIGQ9Ik00IDE0SDBWMThINFYxNFoiIGZpbGw9IiM3MjcyNzIiLz4KPHBhdGggZD0iTTExIDE0SDdWMThIMTFWMTRaIiBmaWxsPSIjNzI3MjcyIi8+CjxwYXRoIGQ9Ik0xOCAxNEgxNFYxOEgxOFYxNFoiIGZpbGw9IiM3MjcyNzIiLz4KPC9zdmc+Cg==");
  background-repeat: no-repeat;
  background-position: calc(100% - 10px) center;
  background-size: 18px auto;
}

#form_preventivo textarea {
  min-height: 148px;
  resize: vertical;
}

#form_preventivo input.errore,
#form_preventivo select.errore,
#form_preventivo textarea.errore {
  border-color: #b7412d;
  box-shadow: 0 0 0 1px rgba(183, 65, 45, 0.16);
}

.c-preventivo-page #form_preventivo input.errore,
.c-preventivo-page #form_preventivo select.errore,
.c-preventivo-page #form_preventivo textarea.errore {
	border: 3px solid #b7412d;
	box-shadow: 0 0 0 1px rgba(183, 65, 45, 0.16);
}
.c-preventivo-page #form_preventivo input.c-preventivo-contact__checkbox-input.errore {
	border: 2px solid #b7412d;
}

.c-preventivo-contact__checkbox-row,
#form_preventivo #preventivo_div_dateflessibili {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.c-offer-detail-page #form_preventivo #preventivo_div_dateflessibili label,
.c-offer-detail-page .c-preventivo-contact__checkbox-label,
.c-preventivo-page #form_preventivo #preventivo_div_dateflessibili label,
.c-preventivo-page .c-preventivo-contact__checkbox-label {
  color: #f4edd8;
}

.c-preventivo-contact__checkbox-input,
#form_preventivo #preventivo_div_dateflessibili input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  min-height: 18px;
  flex: 0 0 18px;
  margin: 2px 0 0;
  border: 1.5px solid rgba(128, 94, 63, 0.45);
  border-radius: 4px;
  background: #fff;
  position: relative;
  cursor: pointer;
}

.c-offer-detail-page .c-preventivo-contact__checkbox-input,
.c-offer-detail-page #form_preventivo #preventivo_div_dateflessibili input,
.c-preventivo-page .c-preventivo-contact__checkbox-input,
.c-preventivo-page #form_preventivo #preventivo_div_dateflessibili input {
  border-color: rgba(244, 237, 216, 0.55);
}

.c-preventivo-contact__checkbox-input:checked,
#form_preventivo #preventivo_div_dateflessibili input:checked {
  background: #1779c6;
  border-color: #1779c6;
}

.c-offer-detail-page .c-preventivo-contact__checkbox-input:checked,
.c-offer-detail-page #form_preventivo #preventivo_div_dateflessibili input:checked,
.c-preventivo-page .c-preventivo-contact__checkbox-input:checked,
.c-preventivo-page #form_preventivo #preventivo_div_dateflessibili input:checked {
  background: #fe4400;
  border-color: #fe4400;
}

.c-preventivo-contact__checkbox-input:checked::after,
#form_preventivo #preventivo_div_dateflessibili input:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 4px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.c-preventivo-contact__checkbox-label,
#form_preventivo #preventivo_div_dateflessibili label {
  margin: 0;
  font-weight: 400;
  cursor: pointer;
}

#form_preventivo a {
  color: var(--hg-color-text);
  text-decoration: underline;
}

#form_preventivo a:hover,
#form_preventivo a:focus-visible {
  text-decoration-thickness: 2px;
}

.c-offer-detail-page #form_preventivo a,
.c-offer-detail-page .c-offer-detail-contact__privacy,
.c-offer-detail-page .c-offer-detail-contact__privacy p,
.c-preventivo-page #form_preventivo a,
.c-preventivo-page .c-offer-detail-contact__privacy,
.c-preventivo-page .c-offer-detail-contact__privacy p {
  color: #f4edd8;
  font-family: "Mustica Pro", "Trebuchet MS", "Arial", sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: unset;
  /*text-decoration: underline;*/
}

.c-preventivo-contact__actions {
  display: flex;
  justify-content: flex-start;
}

.c-offer-detail-page .c-preventivo-contact__actions,
.c-preventivo-page .c-preventivo-contact__actions {
  margin-top: 10px;
}

.c-offer-detail-page #form_preventivo .submit,
.c-preventivo-page #form_preventivo .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 45px;
  padding: 0 20px;
  border: 0;
  border-radius: 0;
  background: #fe4400;
  color: #ffffff;
  font-family: "Mustica Pro", "Trebuchet MS", "Arial", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: unset;
  text-align: right;
  text-transform: uppercase;
  box-shadow: none;
}

.c-offer-detail-page #form_preventivo .submit::after,
.c-preventivo-page #form_preventivo .submit::after {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background-color: currentColor;
  mask: url("../images/arrow-down-left.svg") center / contain no-repeat;
  -webkit-mask: url("../images/arrow-down-left.svg") center / contain no-repeat;
}

.c-offer-detail-page #form_preventivo .submit:hover,
.c-offer-detail-page #form_preventivo .submit:focus-visible,
.c-preventivo-page #form_preventivo .submit:hover,
.c-preventivo-page #form_preventivo .submit:focus-visible {
  background: #852800;
  color: #ffffff;
}

.c-preventivo-intro .c-offer-detail-contact__feature-text {
  color: var(--hg-color-text);
}

.c-thank-you-preventivo-page .c-generic-page-intro {
  padding-bottom: 24px;
}

.c-thank-you-preventivo-showcase__mascot-wrap {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
  margin-bottom: -90px;
  pointer-events: none;
}

.c-family-detail-intro.c-text-box-intro.c-thank-you-preventivo-intro {
  padding-top: 22px;
  padding-bottom: 30px;
}

.c-thank-you-preventivo-page .c-offer-detail-section-title {
  margin-inline: auto;
  text-align: center;
}

.c-thank-you-preventivo-intro .c-family-detail-intro__head {
  margin-inline: auto;
  text-align: center;
}

.c-thank-you-preventivo-intro .c-family-detail-intro__title,
.c-thank-you-preventivo-intro .c-family-detail-intro__text {
  margin-inline: auto;
}

.c-thank-you-preventivo-showcase {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #b5d19c 0 52%, #fff 52% 100%);
  margin-top: -90px;
  padding-top: 120px;
}

.c-thank-you-preventivo-showcase__inner {
  gap: 32px;
}

.c-thank-you-preventivo-showcase__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.c-thank-you-preventivo-showcase__mascot {
  display: block;
  width: 140px;
  height: auto;
}

.c-thank-you-preventivo-showcase__title {
  margin: 0;
  max-width: 760px;
  color: #fff;
  font: 700 42px/1.08 "Sora", sans-serif;
}

.c-thank-you-preventivo-showcase__text {
  margin-top: 18px;
  max-width: 760px;
  color: #fff;
  font: 400 18px/1.7 "Open Sans", sans-serif;
}

.c-thank-you-preventivo-showcase__text p,
.c-thank-you-preventivo-showcase__text a,
.c-thank-you-preventivo-showcase__text strong {
  color: inherit;
}

.c-thank-you-preventivo-showcase__text p {
  margin: 0;
}

.c-thank-you-preventivo-showcase__cta {
  margin-top: 40px;
  margin-bottom: 30px;
}

.c-thank-you-preventivo-showcase__slider-wrap {
  min-width: 0;
  width: min(100%, 260px);
  margin-inline: auto;
}

.c-thank-you-preventivo-showcase__slider {
  overflow: visible;
}

.c-thank-you-preventivo-showcase__card {
  overflow: hidden;
  border-radius: 26px;
}

.c-thank-you-preventivo-showcase__card-image {
  display: block;
  width: 100%;
  aspect-ratio: 1.47 / 1;
  object-fit: cover;
}

.c-thank-you-preventivo-mascot {
  padding-top: 40px;
  padding-bottom: 40px;
}

.c-thank-you-preventivo-mascot__desktop {
  display: none;
}

.c-thank-you-preventivo-mascot__mobile {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 8px;
  text-align: center;
}

.c-thank-you-preventivo-mascot__inner {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 10px;
}

.c-thank-you-preventivo-mascot__media-wrap {
  position: relative;
  z-index: 2;
  justify-self: center;
}

.c-thank-you-preventivo-mascot__figure {
  display: block;
  width: 140px;
  height: auto;
}

.c-thank-you-preventivo-mascot__line-wrap {
  position: relative;
  z-index: 1;
  margin-top: -12px;
}

.c-thank-you-preventivo-mascot__line {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(128, 94, 63, 0.2);
}

.c-thank-you-preventivo-mascot__title {
  margin: 0;
  color: #cb0c6a;
  font-family: "Sora", var(--hg-font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
}

@media (max-width: 991px) {
  .c-offer-detail-page .c-offer-detail-contact {
    padding-top: 40px;
    padding-bottom: 80px;
  }

  .c-preventivo-page .c-offer-detail-contact {
    padding-top: 0;
    padding-bottom: 0;
  }

  .c-preventivo-page .c-offer-detail-contact--standalone-preventivo {
    padding-top: 0;
    padding-bottom: 0;
  }

  #form_preventivo .camera {
    gap: 16px;
  }

  #form_preventivo .campo_preventivo_mobile,
  #form_preventivo .campo_preventivo_small {
    width: 100%;
  }

  .c-offer-detail-page #form_preventivo .submit,
  .c-preventivo-page #form_preventivo .submit {
    width: 100%;
  }

  .c-thank-you-preventivo-showcase__title {
    font-size: 34px;
  }

  .c-thank-you-preventivo-showcase__slider-wrap {
    width: min(100%, 540px);
  }

  .c-thank-you-preventivo-showcase__mascot-wrap {
    margin-bottom: -64px;
  }

  .c-thank-you-preventivo-showcase {
    margin-top: -64px;
    padding-top: 80px;
  }

  .c-thank-you-preventivo-mascot__title {
    font-size: 26px;
  }

  .c-thank-you-preventivo-mascot__figure {
    width: 140px;
  }

  .c-thank-you-preventivo-mascot__line-wrap {
    margin-top: -16px;
  }

  .c-thank-you-preventivo-mascot__desktop {
    display: none;
  }

  .c-thank-you-preventivo-mascot__mobile {
    display: grid;
  }
}

@media (min-width: 992px) {
  .c-offer-detail-page .c-offer-detail-contact__features,
  .c-room-detail-page .c-offer-detail-contact__features,
  .c-preventivo-page .c-offer-detail-contact__features,
  .c-made-for-smart-detail-page .c-offer-detail-contact__features {
    display: flex;
    gap: 50px;
  }

  .c-offer-detail-page .c-offer-detail-contact {
    padding-top: 60px;
    padding-bottom: 100px;
  }

  .c-preventivo-page .c-offer-detail-contact {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .c-preventivo-page .c-offer-detail-contact--standalone-preventivo {
    padding-top: 0;
    padding-bottom: 0;
  }

  .c-offer-detail-page .c-offer-detail-section-title,
  .c-preventivo-page .c-offer-detail-section-title {
    font-size: 60px;
  }

  .c-offer-detail-page .c-preventivo-contact__actions,
  .c-preventivo-page .c-preventivo-contact__actions {
    justify-content: flex-start;
  }

  .c-family-detail-intro.c-text-box-intro.c-thank-you-preventivo-intro {
    padding-bottom: 40px;
  }

  .c-thank-you-preventivo-showcase__inner {
    gap: 42px;
  }

  .c-thank-you-preventivo-showcase__slider-wrap {
    width: min(100%, 780px);
  }

  .c-thank-you-preventivo-showcase__mascot {
    width: 189px;
  }

  .c-thank-you-preventivo-mascot__desktop {
    display: block;
  }

  .c-thank-you-preventivo-mascot__mobile {
    display: none;
  }

  .c-thank-you-preventivo-mascot__inner {
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: center;
    column-gap: 28px;
    row-gap: 0;
  }

  .c-thank-you-preventivo-mascot__title {
    font-size: 42px;
  }

  .c-thank-you-preventivo-mascot__media-wrap {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .c-thank-you-preventivo-mascot__figure {
    width: 200px;
  }

  .c-thank-you-preventivo-mascot__title {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
  }

  .c-thank-you-preventivo-mascot__line-wrap {
    margin-top: -12px;
  }
}
