
html, body {
	margin: 0;
	padding: 0;
}
body {
	font-family: 'Montserrat', sans-serif!important;
	margin: 0;
	padding: 0;
	background: #f9f9f9;
	color: #333;
}
h1,h2,h3{
	color: #263d70;
	line-height: 1.2;
	font-family: 'Montserrat', sans-serif!important;
}
.logo {
	height: 60px;
	padding-left: 20px;
}
header {
	position: absolute;
	background: url('https://www.comfyhost.it/lp/image/pulizie-case-vacanze-landing-promo.jpg.webp') center/cover no-repeat;
	color: rgba(255,255,255,0.5);
	height: calc(100vh + 120px);
	top:0px;
	width:100%;
}
header::before {
	content: "";
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: rgba(0, 0, 0, 0.0); /* overlay scuro */
	z-index: 1;
}
.hero {
	position: relative;
	z-index: 2;
	top:30%;
	text-align: center;
}
.hero h1 {
	font-size: 3.2em;
	margin-bottom: 10px;
	color: #263d70;
	padding-bottom:20px;
}
.hero span {
	background-color: rgb(194, 17, 17);
	padding-left:25px;
	padding-right:25px;
	padding-top:10px;
	padding-bottom:10px;
	color: white;
	font-size: 30px!important;
	font-weight: 600;
	margin-bottom:20px;
}
.hero p {
	font-size: 1.2em;
	margin-bottom: 20px;
}
.cta-button {
	background: #f5ac0dff;
	color: white;
	padding: 12px 24px;
	text-decoration: none;
	border-radius: 5px;
	font-weight: 600;
	display: inline-block;
	transition: background 0.3s ease;
	text-transform: uppercase;
	font-size:22px;
}
.cta-button:hover {
	background: #f5ac0dff;
}
section {
	padding: 40px 20px;
	max-width: 900px;
	margin: auto;
	overflow-x: hidden;
}
.full-bg {
	width: 100%;
	padding: 60px 0;
	max-width: 100%;
}
.bg-light {
	background-color: #f0f0f0;
}
.bg-primary {
	background-color: #3c85e4ff!important;
	color: white;
}
.bg-dark {
	background-color: #333;
	color: white;
}
.bg-image::before {
	content: "";
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: rgba(0, 0, 0, 0.4); /* overlay scuro */
	z-index: 1;
}
.bg-image .container {
	position: relative;
	z-index: 2;
}
.container {
	max-width: 1200px;
	margin: auto;
	padding: 0 20px;
}
.features ul {
	list-style: none;
	padding: 0;
}
.features li {
	margin-bottom: 10px;
	font-size: 1.1em;
}
.features .col-md-4 img {
max-width: 100%;
height: auto;
display: block;
margin: 0 auto;
}
.features .row {
display: flex;
flex-wrap: nowrap;
justify-content: center;
align-items: flex-start;
gap: 2rem;
margin-top: 2rem;
}
.features .col-md-4 {
flex: 1;
}
.feature-block {
margin-bottom: 2rem;
}
.feature-header {
display: flex;
align-items: center;
gap: 0.75rem;
margin-bottom: 0.5rem;
}
.feature-icon {
font-size: 1.6rem;
color: #f5ac0d;
flex-shrink: 0;
}
.feature-header h4 {
font-size: 1.2rem;
font-weight: 600;
margin: 0;
color: #263d70;
}
.feature-block p {
font-size: 1rem;
line-height: 1.5;
color: #333;
}
/* Mobile layout */
@media (max-width: 768px) {
.features .row {
	flex-direction: column;
	gap: 1rem;
}
.features .col-md-4 {
	width: 100%;
	text-align: center;
}
.feature-block {
	text-align: center;
}
.feature-header {
	justify-content: center;
}
.feature-block p {
	text-align: center;
}
}
.service-1{
	padding-top: calc(100vh + 80px);
	background-color: white;
}
.service-1 h2, .service-1 .features-subtitle{
text-align: center;
}
.service-1 h2{
margin-bottom: 0px;
}
.features-subtitle{
font-size: 22px;
padding-bottom: 30px;
text-align: center;
}
.services .grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px;
}
@media (max-width: 768px) {
.services .grid {
	grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 480px) {
.service-1 {
	padding-top: calc(100vh + 150px);
	background-color: white;
}
.services .grid {
	grid-template-columns: 1fr;
}
.hero {
	position: relative;
	z-index: 2;
	top: 85px;
	text-align: center;
	margin: 20px;
}
}
.services .grid .service-box {
	padding: 25px;
	box-shadow: 0 0 10px rgba(0,0,0,0.05);
	text-align: center;
	background: white;
}
.services h3{
	font-size: 23px;
	margin-bottom: 10px;
}
h2{
	font-size: 35px;
}
.services h2{
	text-align: center;
	margin-top: 10px;
}
.section-label {
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1rem;
}
.section-label::before,
.section-label::after {
content: "";
flex: 1;
height: 1px;
background-color: #ccc;
margin: 0 1rem;
max-width: 120px;
}
.section-label span {
font-size: 0.9rem;
font-weight: 600;
text-transform: uppercase;
color: #555;
white-space: nowrap;
}
.circle-wrapper {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	border: 6px solid #f5ac0d;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 15px;
	background-color: #f5ac0d;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.service-icon {
	width: 40px;
	height: 40px;
	object-fit: cover;
}
.bg-image {
	background: url('https://www.comfyhost.it/lp/image/pulizie case vacanse.jpg.webp') center/cover no-repeat;
	position: relative;
	height: 100%;
}
.testimonials h2 {
	color: white;
	z-index:5;
	position:relative;
	text-align: center;
}
.testimonial-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-top: 40px;
}
@media (max-width: 768px) {
	.testimonial-grid {
		grid-template-columns: 1fr;
	}
	header {
		background: url('https://www.comfyhost.it/lp/image/pulizie-case-vacanze-landing-promo-mobile.jpg.webp') center/cover no-repeat;
		height: 115vh;
	}
}
.testimonial-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
margin-top: 40px;
}
.testimonial-box {
background: white;
padding: 30px 20px;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0,0,0,0.05);
text-align: center;
}
.testimonial-photo-wrapper {
width: 100px;
height: 100px;
margin: 0 auto 15px;
border-radius: 50%;
border: 5px solid #f5ac0d;
overflow: hidden;
}
.testimonial-photo {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 50%;
}
.testimonial-role {
font-size: 0.9em;
color: #777;
margin-bottom: 10px;
}
.testimonial-text {
font-size: 1em;
margin-bottom: 15px;
}
.stars {
color: #f5ac0d;
font-size: 1.2em;
}
@media (max-width: 768px) {
.testimonial-grid {
	grid-template-columns: 1fr;
}
}
/* === Preventivo Box === */
.contact {
background: #ffffff;
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0,0,0,0.05);
padding: 50px 30px;
margin: 60px auto;
max-width: 900px;
}
.contact h2 {
text-align: center;
font-size: 2em;
margin-top: 0px;
margin-bottom: 30px;
color: white;
}
/* Form layout */
.contact form {
display: flex;
flex-direction: column;
gap: 20px;
}
.form-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}
.bg-img-form{
	background: url('https://www.comfyhost.it/lp/image/form pulizie case vacanse.jpg.webp') center/cover no-repeat;
	height: 100%;
	width:100%;
}
.form-grid input {
	padding: 14px;
	border: 1px solid #ccc;
	border-radius: 8px;
	font-size: 1em;
	background: #fdfdfd;
	box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}
.contact textarea {
	padding: 14px;
	border: 1px solid #ccc;
	border-radius: 8px;
	font-size: 1em;
	background: #fdfdfd;
	box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
	resize: vertical;
	margin-top: 20px;
}
@media (max-width: 768px) {
.form-grid {
	grid-template-columns: 1fr;
}
}
.contact button {
background: #f5ac0d;
color: white;
padding: 14px 30px;
border: none;
border-radius: 8px;
font-size: 1.1em;
font-weight: bold;
cursor: pointer;
margin-top: 10px;
transition: background 0.3s ease;
text-transform: uppercase;
}
.contact button:hover {
background: #e89a00;
}

@media (max-width: 768px) {
.form-grid input {
	flex: 1 1 100%;
}
}
/* Messaggio di conferma */
.form-response {
margin-top: 15px;
padding: 12px 16px;
border-radius: 6px;
position: relative;
font-weight: bold;
display: none;
max-width: 100%;
}
.response-ok {
background-color: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
}
.response-ko {
background-color: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
}
.form-response .close-btn {
position: absolute;
top: -10px;
right: 0px;
cursor: pointer;
font-weight: bold;
color: inherit;
background: none;
border: none;
font-size: 16px;
}
/* Contatti alternativi */
.alt-contact {
display: flex;
justify-content: space-between;
margin-top: 30px;
font-size: 1em;
}
.alt-contact p {
margin: 0;
}
.alt-contact .right a,
.alt-contact .left a {
color: white;
font-weight: bold;
text-decoration: none;
}

/* === Responsive === */
@media (max-width: 768px) {
.form-grid {
	grid-template-columns: 1fr;
}

.alt-contact {
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 10px;
}
}

@media (max-width: 480px) {
.logo {
    height: 45px;
    padding-left: 20px;
}
.contact {
	margin: 30px 15px;
	padding: 40px 20px;
}
}
footer {
background: #3c85e4ff;
color: white;
text-align: center;
padding: 20px;
}
@media (min-width: 1024px) {
	h1 {
		font-size: 3.0em;
	}
	h2 {
		font-size: 2.7em;
	}
	.features li,
	.services .grid div p {
		font-size: 1.2em;
	}
	.contact input,
	.contact textarea {
		font-size: 1.1em;
	}
}
@media (max-width: 768px) {
	.hero h1 {
		font-size: 1.5em;
		padding-top:4px;
		padding-bottom:8px;
	}
	.hero span {
		padding-left:8px;
		padding-right:8px;
		padding-top:8px;
		padding-bottom:8px;
		color: white;
		font-size: 14px!important;
		margin-bottom:10px;
	}
	h1 {
		font-size: 1.8em;
	}
	h2 {
		font-size: 1.6em;
		text-align: center;
	}
	.features li,
	.services .grid div p {
		font-size: 1em;
	}
	.cta-button {
		font-size:14px;
		padding: 8px 16px;
	}
}
#mainNav {
	position: fixed;
	top: 0;
	width: 100%;
	padding: 10px 0px;
	transition: background 0.3s ease;
	z-index: 999;
	background: rgba(255,255,255,0.5);
}
.nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1400px;
	margin: auto;
}

.nav-button {
	display: none;
	background: #f5ac0d;
	color: white;
	padding: 10px 20px;
	border-radius: 5px;
	text-decoration: none;
	font-weight: bold;
	text-transform: uppercase;
}
#mainNav.scrolled {
	background: white;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
#mainNav.scrolled .nav-button {
	display: inline-block;
}
