/* reset */
*, *::before, *::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
input, button, textarea, select {
  font: inherit;
}

/* regole */
p b {font-family: 'HelveticaNeueBold';}
hr {margin-top: 45px; margin-bottom: 45px;}
.py-45 {padding-top: 45px; padding-bottom: 45px;}
.px-45 {padding-left: 45px; padding-right: 45px;}
.pl-45 {padding-left: 45px;}
.pr-45 {padding-right: 45px;}
.mb-15 {margin-bottom: 15px;}
.text-white {color: #fff;}
.text-grey {color: #768698;}
.text-dark-grey {color: #596268;}
.text-italic {font-style: italic;}
.text-red {color: #8e3a34;}
.text-yell {color: #CDAC3D;}
hr.text-white {border-top: 1px solid #fff;}
.back-yell {background-color: #CDAC3D;}
.back-grey {background-color: #768698;}
.back-dark-grey {background-color: #596268;}
.img-intro {font-size: 0; background-color: #586575;}
.img-intro img:first-child, .img-intro img:last-child {display: inline-block; width: 28%;}
.img-intro img:nth-child(2) {display: inline-block; width: 44%;}

#intro {padding-top: 60px; padding-bottom: 60px;}
#intro h1 {font-family: 'HelveticaNeueBold'; font-style: italic;}
#intro h2 {font-family: 'HelveticaNeueBold'; font-style: italic; color: #768698;}
#intro p {font-size: 26px; color: #768698;}

#valore {background: linear-gradient(90deg, #CDAC3D 37%, #768698 37%);}
#valore .col-sm-4 p {font-size: 17px;}
#valore h2 {margin-bottom: 0;}
#valore .col-sm-8 p {font-size: 26px;}
#valore hr {margin-top: 25px; margin-bottom: 25px;}
#valore .container {display: flex; flex-wrap: wrap;}

.box-categorie .col-sm-4 {margin-bottom: 50px;}
.box-casa {background-image: url('../img/box-casa.jpg');}
.box-appartamento {background-image: url('../img/box-appartamento.jpg');}
.box-ufficio {background-image: url('../img/box-ufficio.jpg');}
.box-negozio {background-image: url('../img/box-negozio.jpg');}
.box-impresa {background-image: url('../img/box-impresa.jpg');}
.box-locale {background-image: url('../img/box-locale.jpg');}

#action {background: linear-gradient(90deg, #596268 37%, #CDAC3D 37%);}
#action .col-sm-8 p {font-size: 26px;}
#action .container {display: flex; flex-wrap: wrap;}

.checkbox-group {display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px; margin-bottom: 30px; margin-top: 15px;}
.checkbox-group input[type="radio"] {appearance: none; -webkit-appearance: none; width: 18px; height: 18px; background: #fff; border: none; border-radius: 0; margin: 0 6px 0 0; cursor: pointer; vertical-align: middle; position: relative;}
.checkbox-group input[type="radio"]:checked::after {content: "✓"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #333; font-size: 16px; font-weight: bold;}
.checkbox-group label {display: inline-flex; align-items: center; cursor: pointer; gap: 6px; color: #596268;}
.contatti textarea {height: 70px !important;}
.contatti input[type="submit"] {text-align: center; float: left; font-size: 20px; margin-top: 30px; padding: 15px 40px; width: auto; text-transform: uppercase; font-family: 'HelveticaNeueBold'; color: #596268;}
label b {font-family: 'HelveticaNeueBold';}

/* mobile */
@media screen and (max-width: 600px) {
	/* .img-intro img:first-child, .img-intro img:last-child {display: none;}
	.img-intro img:nth-child(2) {width: 100%;} */

	#intro h1 {font-size: 30px;}
	#intro h2 {font-size: 25px;}
	#intro p {font-size: 22px;}
}