.hero-wrap.hero-wrap-2 {
    background-position: center center !important;
}

/*FEATURES SERVICES*/
/* Contenitore con margine superiore per fare spazio al cerchio sporgente */
.feat_services .services-card-wrap {
  position: relative;
  margin-top: 45px;
  display: flex;
  flex-direction: column;
}

/* Cerchio colorato centrato e traslato verso l'alto del 50% della sua altezza */
.feat_services .services-card-wrap .icon-floating {
  width: 80px;
  height: 80px;
  background-color: #1196c4; /* Sostituisci con il colore primario del tuo tema */
  color: #fff;
  border-radius: 50%;
  font-size: 39px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

/* Rettangolo con sfondo bianco, padding superiore extra per non toccare l'icona */
.feat_services .services-card-wrap .card-body-custom {
  background: #ffffff;
  padding: 55px 25px 30px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: all 0.3s ease;
}

.feat_services .services-card-wrap .card-body-custom h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 15px;
}

.feat_services .services-card-wrap .card-body-custom p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Effetto hover coordinato card + icona */
.feat_services .services-card-wrap:hover .icon-floating {
  transform: translate(-50%, -60%);
}

.feat_services .services-card-wrap:hover .card-body-custom {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}





/* Struttura a colonne */
#cerco,
#offro {
  width: 48%;
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
  border: 1px solid #e8e8e8;
  box-sizing: border-box;
  margin-bottom: 30px;
  float: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#cerco {
  margin-right: 4%;
}

#cerco:hover,
#offro:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.11);
}

/* Titoli */
#cerco h1, #offro h1 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin: 0 0 14px 0;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
    letter-spacing: 0.5px;
    background-color: #1196c4;
    padding-left: 21px;
    padding-top: 5px;
}

/* Testi introduttivi */
#cerco p,
#offro p {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 22px;
  text-align: justify;
}

/* Form e Label generiche */
#cerco form,
#offro form {
  width: 100%;
}

#cerco label,
#offro label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 14px;
  line-height: 1.4;
}

/* Campi Input, Select e Textarea */
.inputext,
#cerco select,
#offro select,
#cerco textarea,
#offro textarea {
  display: block;
  width: 100% !important;
  box-sizing: border-box;
  padding: 10px 14px;
  margin-top: 6px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  font-size: 14px;
  color: #495057;
  background-color: #f0efef;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.inputext:focus,
#cerco select:focus,
#offro select:focus,
#cerco textarea:focus,
#offro textarea:focus {
  border-color: #1196c4;
  background-color: #f0efef;
  outline: none;
  box-shadow: 0 0 0 3px rgba(17, 150, 196, 0.15);
}

#cerco textarea,
#offro textarea {
  resize: vertical;
  min-height: 120px;
}

/* Sezione Radio "Ad Uso" */
.contain_radio_cerco,
.contain_radio_offro {
  width: 100%;
  margin-bottom: 15px;
}

.lbl_title_uso {
  margin-bottom: 6px !important;
}

.lbl_ad_uso {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lbl_ad_uso label {
  display: inline-flex !important;
  align-items: center;
  font-weight: normal !important;
  margin-bottom: 0 !important;
  cursor: pointer;
}

.lbl_ad_uso input[type="radio"] {
  margin-right: 6px;
  cursor: pointer;
}

/* Sezione Tipologia Immobile */
.contain_tipologia {
  margin: 15px 0;
}

.lbl_tipo {
  margin-bottom: 4px !important;
}

/* Descrizione */
.lbl_descrizione {
  margin-top: 15px;
}

/* Box Informativa Privacy con altezza fissa, font ridotto e scrollbar */
.tratt_privacy {
  height: 80px;
  overflow-y: auto;
  overflow-x: hidden;
  font-size: 11px;
  line-height: 1.45;
  color: #666666;
  text-align: justify;
  background-color: #f8f9fa;
  border: 1px solid #e2e5e8;
  border-radius: 4px;
  padding: 8px 12px;
  margin: 12px 0 10px 0;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #1196c4 #f1f1f1;
}

/* Scrollbar personalizzata (Webkit) */
.tratt_privacy::-webkit-scrollbar {
  width: 5px;
}

.tratt_privacy::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.tratt_privacy::-webkit-scrollbar-thumb {
  background: #1196c4;
  border-radius: 3px;
}

.tratt_privacy::-webkit-scrollbar-thumb:hover {
  background: #0d769b;
}

/* Adattamento testo e link generati dallo script all'interno */
.tratt_privacy p,
.tratt_privacy span {
  font-size: 11px !important;
  line-height: 1.45 !important;
  margin-bottom: 4px;
}

.tratt_privacy a {
  color: #1196c4;
  text-decoration: underline;
}

/* Bottone Invio */
.btn-invia {
    display: block;
    width: 100% !important;
    padding: 12px 24px;
    background-color: #d3b53c;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.btn-invia:hover {
    background-color: #ff0000;
    box-shadow: 0 4px 12px rgba(17, 150, 196, 0.35);
}

/* Clearfix */
#cerco::after,
#offro::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive */
@media (max-width: 991px) {
  #cerco,
  #offro {
    width: 100%;
    float: none;
    margin-right: 0;
    padding: 22px 18px;
  }
}

/* Layout a due colonne interne per riga */
.form_row_double {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  width: 100%;
}

.form_col_50 {
  flex: 1 1 50%;
  width: 50%;
  box-sizing: border-box;
}

.form_col_50 .contain_radio_cerco,
.form_col_50 .contain_radio_offro {
  margin-bottom: 0;
}

.form_col_50 .lbl_ad_uso {
  margin-top: 10px;
}

/* Adattamento Mobile: torna a colonna singola su schermi stretti */
@media (max-width: 600px) {
  .form_row_double {
    flex-direction: column;
    gap: 0;
  }
  
  .form_col_50 {
    width: 100%;
    flex: 1 1 100%;
  }
}

