/* Lamezia Taxi Web – pagine ricostruite (_nx_rebuilt=1): solo ottimizzazioni invisibili.
   L'aspetto resta quello dei widget Elementor originali. */

/* <picture> WebP intorno alle immagini: non deve cambiare il layout */
.nx-pic { display: contents; }

/* Titoli con tag corretto ma stesso aspetto di prima (dimensioni dal kit 5990) */
body.nx-page .nx-as-h1 { font-size: 32px; }
body.nx-page .nx-as-h2 { font-size: 28px; }
body.nx-page h2.nx-as-h3 { font-size: 24px; }
body.nx-page h3.nx-as-h4,
body.nx-page p.nx-as-h4 { font-size: 20px; }
body.nx-page p.nx-as-h4 { font-weight: 500; line-height: 1.2; margin-block-start: .5rem; margin-block-end: 1rem; }
@media (max-width: 767px) {
	body.nx-page .nx-as-h1 { font-size: 24px; }
	body.nx-page .nx-as-h2 { font-size: 22px; }
	body.nx-page h2.nx-as-h3 { font-size: 20px; }
	body.nx-page h3.nx-as-h4,
	body.nx-page p.nx-as-h4 { font-size: 18px; }
}

/* Sottotitolo hero: contrasto leggermente migliorato */
body.nx-page .nx-hero-sub { text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }

/* Form preventivi (widget Elementor Pro con classe nx-form): stile del calcolatore prezzi */
.nx-form .elementor-field-group > label,
.nx-form .elementor-field-label { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 15px; color: #000; }
.nx-form .elementor-field-textual,
.nx-form select.elementor-field,
.nx-form .elementor-field-group .elementor-select-wrapper select {
	font-family: "Poppins", sans-serif; font-size: 16px; /* 16px: su iPhone niente zoom */
	min-height: 50px; padding: 12px 14px; color: #000; background: #fff;
	border: 1px solid #cfcfcf; border-radius: 0; box-shadow: none;
}
.nx-form textarea.elementor-field-textual { min-height: 120px; }
.nx-form .elementor-field-textual:focus,
.nx-form select.elementor-field:focus { border-color: #ffb000; box-shadow: 0 0 0 1px #ffb000; outline: none; }
.nx-form #form-field-prezzo { background: #f5f5f5; font-weight: 600; }
body.nx-page .nx-form .elementor-button[type="submit"],
body.nx-page .nx-form .elementor-button[type="submit"] .elementor-button-text {
	font-family: "Poppins", sans-serif; font-size: 16px; font-weight: 600; min-height: 50px;
	background: #ffb000; color: #000; border: 0; border-radius: 0;
}
body.nx-page .nx-form .elementor-button[type="submit"]:hover { background: #e69f00; color: #000; }
/* Pulsante d'invio: testo centrato in verticale, 56 px, larghezza dei campi */
body.nx-page .nx-form .e-form__buttons { width: 100%; }
body.nx-page .nx-form .elementor-button[type="submit"] {
	display: flex; align-items: center; justify-content: center;
	width: 100%; height: 56px; min-height: 56px; padding: 0 16px; line-height: 1.2; box-sizing: border-box;
}
body.nx-page .nx-form .elementor-button[type="submit"] .elementor-button-content-wrapper { display: flex; align-items: center; justify-content: center; }
body.nx-page .nx-form .elementor-button[type="submit"] .elementor-button-text { min-height: 0; line-height: 1.2; padding: 0; }
/* Casella privacy: 20x20, centrata sulla riga, 8 px dal testo; link leggibile */
.nx-form .elementor-field-type-acceptance .elementor-field-option { display: flex; align-items: center; gap: 8px; }
.nx-form .elementor-field-type-acceptance .elementor-field-option input[type="checkbox"] { width: 20px; height: 20px; min-width: 20px; margin: 0; flex: none; accent-color: #000; cursor: pointer; }
.nx-form .elementor-field-type-acceptance .elementor-field-option label { margin: 0; padding: 0; line-height: 1.4; cursor: pointer; }
.nx-form .elementor-field-type-acceptance .elementor-field-option label a { color: #000 !important; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.nx-form-notice { font-family: "Poppins", sans-serif; font-size: 16px; margin: 0 0 12px; padding: 12px 14px; border-left: 4px solid #ffb000; background: #fff8e6; }
@media (max-width: 767px) {
	.nx-form .elementor-field-group { width: 100%; }
	.nx-form .elementor-button[type="submit"] { width: 100%; }
}
.nx-form .nx-form-h { font-family: "Poppins", sans-serif; font-size: 18px; font-weight: 700; margin: 10px 0 0; padding-bottom: 6px; border-bottom: 2px solid #ffb000; width: 100%; }
.nx-form .elementor-field-type-acceptance label { font-weight: 400; font-size: 15px; }
.nx-form-after { font-family: "Poppins", sans-serif; text-align: center; font-size: 15px; margin: 12px 0 0; }
.nx-form-after a { font-weight: 600; }
