/*
 * HomeMed – foglio di stile unico del sito (restyling del 29 ottobre 2026).
 *
 * Stile "Stripe" con i colori e i caratteri del manuale d'immagine (docs/HomeMed_manuale-di-immagine 2.pdf):
 *   primari   ciano #00AFDF, blu-viola #18216D
 *   secondari rosso #EE3753, lilla #A896C8, verde acqua #27A5B2, menta #A3D9D5, nero #231F20
 *   titoli in Exo, testi in PT Sans (file in assets/fonts/, licenza OFL)
 * I titoli su sfondo bianco sono blu-viola e non ciano: il ciano su bianco non è leggibile.
 */

/* -------------------------------------------------------------------------
 * Caratteri
 * ---------------------------------------------------------------------- */
@font-face {
	font-family: 'Exo';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('fonts/exo-latin-variable.woff2') format('woff2');
}
@font-face {
	font-family: 'PT Sans';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('fonts/pt-sans-latin-400.woff2') format('woff2');
}
@font-face {
	font-family: 'PT Sans';
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url('fonts/pt-sans-latin-400-italic.woff2') format('woff2');
}
@font-face {
	font-family: 'PT Sans';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('fonts/pt-sans-latin-700.woff2') format('woff2');
}

/* -------------------------------------------------------------------------
 * Variabili e base
 * ---------------------------------------------------------------------- */
:root {
	--hm-blu: #18216d;
	--hm-ciano: #00afdf;
	--hm-rosso: #ee3753;
	--hm-rosso-scuro: #d42a46;
	--hm-lilla: #a896c8;
	--hm-verde: #27a5b2;
	--hm-menta: #a3d9d5;
	--hm-nero: #231f20;
	--hm-testo: #4d5160;
	--hm-testo-chiaro: #5b5f6d;
	--hm-bordo: #e3e6ee;
	--hm-ciano-chiaro: #e5f6fc;
	--hm-menta-chiara: #e3f4f2;
	--hm-lilla-chiaro: #f3f1f8;
	--hm-rosso-chiaro: #fde4e8;
	--hm-azzurro: #6cbdea;
	--hm-link: #007aa3;
	--hm-titoli: 'Exo', Helvetica, Arial, sans-serif;
	--hm-testi: 'PT Sans', Helvetica, Arial, sans-serif;
	--hm-ombra: 0 2px 5px -1px rgba(24, 33, 109, 0.14), 0 1px 3px -1px rgba(0, 0, 0, 0.12);
	--hm-ombra-grande: 0 30px 60px -12px rgba(24, 33, 109, 0.35), 0 18px 36px -18px rgba(0, 0, 0, 0.3);
	--hm-raggio: 18px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}
body {
	margin: 0;
	background: #ffffff;
	color: var(--hm-testo);
	font-family: var(--hm-testi);
	font-size: 18px;
	line-height: 1.6;
	overflow-x: hidden;
}
img,
svg,
video {
	max-width: 100%;
	height: auto;
}
a {
	color: var(--hm-link);
}
a:hover {
	color: var(--hm-blu);
}
h1,
h2,
h3,
h4 {
	font-family: var(--hm-titoli);
	color: var(--hm-blu);
	line-height: 1.14;
	letter-spacing: -0.01em;
	margin: 0 0 16px;
}
h1 {
	font-size: 54px;
	font-weight: 700;
	line-height: 1.06;
	letter-spacing: -0.015em;
}
h2 {
	font-size: 40px;
	font-weight: 700;
}
h3 {
	font-size: 22px;
	font-weight: 700;
}
h4 {
	font-size: 19px;
	font-weight: 700;
}
p {
	margin: 0 0 16px;
}
ul,
ol {
	margin: 0 0 16px;
	padding-left: 22px;
}
li {
	margin-bottom: 6px;
}
strong {
	color: var(--hm-blu);
}
hr {
	border: 0;
	border-top: 1px solid var(--hm-bordo);
	margin: 32px 0;
}
table {
	border-collapse: collapse;
}
:focus-visible {
	outline: 3px solid var(--hm-ciano);
	outline-offset: 2px;
}
.hm-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.hm-salta {
	position: absolute;
	left: -9999px;
	top: 8px;
	z-index: 10000;
	background: #fff;
	color: var(--hm-blu);
	padding: 10px 16px;
	border-radius: 8px;
}
.hm-salta:focus {
	left: 8px;
}

/* Contenitore */
.hm-row {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}
.hm-row-stretta {
	max-width: 900px;
}

/* Occhiello sopra i titoli: maiuscoletto blu-viola con la linea ciano (manuale, "Testi e paragrafi") */
.hm-occhiello {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 12px;
	font-family: var(--hm-titoli);
	font-weight: 600;
	font-size: 18px;
	font-variant: small-caps;
	letter-spacing: 0.06em;
	color: var(--hm-blu);
}
.hm-occhiello::before {
	content: '';
	width: 28px;
	height: 3px;
	border-radius: 3px;
	background: var(--hm-ciano);
}
.hm-occhiello-centrato {
	justify-content: center;
}
.hm-lead {
	font-size: 21px;
	line-height: 1.5;
	color: var(--hm-testo);
	max-width: 640px;
}

/* -------------------------------------------------------------------------
 * Pulsanti
 * ---------------------------------------------------------------------- */
.hm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 50px;
	padding: 0 26px;
	border-radius: 999px;
	border: 2px solid var(--hm-blu);
	background: transparent;
	color: var(--hm-blu);
	font-family: var(--hm-titoli);
	font-weight: 700;
	font-size: 17px;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.hm-btn:hover {
	background: var(--hm-ciano-chiaro);
	color: var(--hm-blu);
}
.hm-btn::after {
	content: '›';
	font-size: 1.2em;
	line-height: 1;
}
.hm-btn-primary {
	background: var(--hm-rosso);
	border-color: var(--hm-rosso);
	color: #ffffff;
	font-size: 19px;
}
.hm-btn-primary:hover {
	background: var(--hm-rosso-scuro);
	border-color: var(--hm-rosso-scuro);
	color: #ffffff;
}
.hm-btn-navy {
	background: var(--hm-blu);
	border-color: var(--hm-blu);
	color: #ffffff;
}
.hm-btn-navy:hover {
	background: #10175a;
	border-color: #10175a;
	color: #ffffff;
}
.hm-btn-light {
	background: #ffffff;
	border-color: #ffffff;
	color: var(--hm-blu);
}
.hm-btn-light:hover {
	background: var(--hm-ciano-chiaro);
	border-color: var(--hm-ciano-chiaro);
}
.hm-btn-outline-light {
	border-color: #ffffff;
	color: #ffffff;
}
.hm-btn-outline-light:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
}
.hm-btn-testo {
	border-color: transparent;
	padding: 0 12px;
}
.hm-btn-testo:hover {
	background: transparent;
	text-decoration: underline;
}
.hm-btn-senza-freccia::after {
	content: none;
}
.hm-cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 24px;
}

/* -------------------------------------------------------------------------
 * Testata
 * ---------------------------------------------------------------------- */
.hm-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: #ffffff;
	border-bottom: 1px solid var(--hm-bordo);
	font-family: var(--hm-titoli);
}
.hm-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 76px;
}
.hm-logo {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
}
.hm-logo img {
	height: 40px;
	width: auto;
	display: block;
}
.hm-nav-toggle {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}
.hm-nav-apri {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 48px;
	height: 48px;
	padding: 0 11px;
	border: 1.5px solid var(--hm-bordo);
	border-radius: 12px;
	background: #ffffff;
	cursor: pointer;
}
.hm-nav-apri span {
	display: block;
	height: 2px;
	background: var(--hm-blu);
	border-radius: 2px;
	transition: transform 0.2s, opacity 0.2s;
}
.hm-nav {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1 1 auto;
	justify-content: center;
}
.hm-menu {
	display: flex;
	align-items: center;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.hm-menu li {
	margin: 0;
	position: relative;
}
.hm-menu > li > a,
.hm-menu > li > span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 10px 12px;
	border-radius: 10px;
	color: var(--hm-blu);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	white-space: nowrap;
	cursor: default;
}
.hm-menu > li > a {
	cursor: pointer;
}
.hm-menu > li > a:hover,
.hm-menu > li:hover > a,
.hm-menu > li:hover > span,
.hm-menu > li:focus-within > a,
.hm-menu > li:focus-within > span {
	background: var(--hm-ciano-chiaro);
	color: var(--hm-blu);
}
.hm-menu-freccia {
	width: 10px;
	height: 10px;
	flex: none;
}
.hm-sottomenu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 260px;
	margin: 0;
	padding: 10px;
	list-style: none;
	background: #ffffff;
	border: 1px solid var(--hm-bordo);
	border-radius: 14px;
	box-shadow: 0 13px 27px -5px rgba(24, 33, 109, 0.2), 0 8px 16px -8px rgba(0, 0, 0, 0.2);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.hm-menu > li:hover > .hm-sottomenu,
.hm-menu > li:focus-within > .hm-sottomenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.hm-sottomenu a {
	display: block;
	padding: 9px 12px;
	border-radius: 8px;
	color: var(--hm-blu);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	white-space: nowrap;
}
.hm-sottomenu a:hover {
	background: var(--hm-ciano-chiaro);
}
.hm-sottomenu .hm-link-off {
	display: block;
	padding: 9px 12px;
	color: var(--hm-testo-chiaro);
	font-weight: 600;
	font-size: 15px;
}
.hm-header-azioni {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}
.hm-header-azioni .hm-btn {
	min-height: 44px;
	padding: 0 18px;
	font-size: 15px;
}
.hm-header-azioni .hm-btn-testo {
	padding: 0 10px;
}

/* Menu da telefono e tablet: pannello a tendina controllato dalla casella nascosta, senza JavaScript */
@media (max-width: 1023px) {
	.hm-header-inner {
		min-height: 66px;
		flex-wrap: wrap;
	}
	.hm-logo img {
		height: 36px;
	}
	.hm-nav-apri {
		display: flex;
		order: 3;
	}
	.hm-header-azioni {
		order: 2;
		margin-left: auto;
	}
	.hm-header-azioni .hm-btn-testo {
		display: none;
	}
	.hm-nav {
		order: 4;
		flex-basis: 100%;
		display: none;
		padding: 8px 0 18px;
	}
	.hm-nav-toggle:checked ~ .hm-nav {
		display: block;
	}
	.hm-nav-toggle:checked ~ .hm-nav-apri span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}
	.hm-nav-toggle:checked ~ .hm-nav-apri span:nth-child(2) {
		opacity: 0;
	}
	.hm-nav-toggle:checked ~ .hm-nav-apri span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}
	.hm-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}
	.hm-menu > li > a,
	.hm-menu > li > span {
		display: flex;
		justify-content: space-between;
		width: 100%;
		padding: 13px 10px;
		font-size: 17px;
		border-bottom: 1px solid var(--hm-bordo);
		border-radius: 0;
		white-space: normal;
	}
	.hm-menu > li > a:hover,
	.hm-menu > li:hover > a,
	.hm-menu > li:hover > span,
	.hm-menu > li:focus-within > a,
	.hm-menu > li:focus-within > span {
		background: transparent;
	}
	.hm-menu-freccia {
		display: none;
	}
	.hm-sottomenu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		min-width: 0;
		padding: 4px 0 8px 14px;
		border: 0;
		border-bottom: 1px solid var(--hm-bordo);
		border-radius: 0;
		box-shadow: none;
		background: transparent;
	}
	.hm-sottomenu a,
	.hm-sottomenu .hm-link-off {
		white-space: normal;
		font-weight: 500;
		padding: 8px 10px;
	}
	.hm-nav .hm-menu-azioni {
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
		padding: 16px 10px 0;
	}
}
@media (min-width: 1024px) {
	.hm-nav .hm-menu-azioni {
		display: none;
	}
}

/* -------------------------------------------------------------------------
 * Sezioni comuni delle pagine
 * ---------------------------------------------------------------------- */
.hm-page {
	display: block;
}
.hm-section {
	padding: 44px 0;
}
.hm-section + .hm-section {
	padding-top: 0;
}
.hm-section h2 {
	font-size: 36px;
	margin: 0 0 18px;
}
.hm-section h3 {
	margin: 0 0 8px;
}
.hm-section p:last-child,
.hm-section ul:last-child,
.hm-section ol:last-child {
	margin-bottom: 0;
}
.hm-section-chiara {
	background: var(--hm-ciano-chiaro);
	padding: 72px 0;
}
.hm-section-chiara + .hm-section {
	padding-top: 44px;
}

/* Briciole di pane e apertura */
.hm-breadcrumb {
	padding: 18px 0 0;
	font-size: 15px;
	color: var(--hm-testo-chiaro);
}
.hm-breadcrumb a {
	color: var(--hm-testo-chiaro);
}
.hm-breadcrumb .hm-link-off {
	color: var(--hm-testo-chiaro);
}
.hm-hero {
	position: relative;
	padding: 28px 0 40px;
	overflow: hidden;
}
.hm-hero-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	align-items: center;
}
.hm-hero-testo {
	flex: 1 1 520px;
	min-width: 0;
}
.hm-hero h1 {
	max-width: 760px;
	margin-bottom: 18px;
}
.hm-hero .hm-lead {
	margin-bottom: 0;
}
.hm-hero-figura {
	flex: 1 1 360px;
	min-width: 0;
	display: flex;
	justify-content: flex-end;
	position: relative;
}
.hm-hero-cerchio::before {
	content: '';
	position: absolute;
	right: -14%;
	top: -8%;
	width: 120%;
	height: 116%;
	border-radius: 50%;
	background-color: var(--hm-azzurro);
	background-image:
		radial-gradient(circle at 30% 30%, rgba(0, 175, 223, 0.9) 0%, rgba(0, 175, 223, 0) 55%),
		radial-gradient(circle at 70% 80%, rgba(168, 150, 200, 0.75) 0%, rgba(168, 150, 200, 0) 50%),
		radial-gradient(circle at 85% 30%, rgba(163, 217, 214, 0.9) 0%, rgba(163, 217, 214, 0) 45%);
	border: 7px solid var(--hm-rosso);
	z-index: 0;
}
.hm-hero-figura img {
	position: relative;
	width: 100%;
	max-width: 440px;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--hm-raggio);
	box-shadow: var(--hm-ombra-grande);
	z-index: 1;
}

/* Risposta diretta */
.hm-answer-section {
	padding: 0 0 24px;
}
.hm-answer {
	max-width: 900px;
	padding: 22px 28px;
	background: var(--hm-ciano-chiaro);
	border-left: 5px solid var(--hm-ciano);
	border-radius: 0 14px 14px 0;
}
.hm-answer p {
	margin: 0;
	font-size: 19px;
	line-height: 1.55;
	color: var(--hm-blu);
}
.hm-answer p.hm-updated,
.hm-updated {
	margin-top: 10px;
	font-size: 15px;
	color: var(--hm-testo-chiaro);
}

/* Testo con immagine a fianco */
.hm-testo-img {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	align-items: center;
}
.hm-testo-img > div {
	flex: 1 1 420px;
	min-width: 0;
}
.hm-testo-img > figure {
	flex: 1 1 360px;
	min-width: 0;
	margin: 0;
}
.hm-testo-img img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--hm-raggio);
	box-shadow: var(--hm-ombra);
}
.hm-testo-img-sinistra > figure {
	order: -1;
}

/* Tabella prezzi */
.hm-prezzi {
	width: 100%;
	max-width: 800px;
	margin: 0 0 12px;
	border: 1px solid var(--hm-bordo);
	border-top: 5px solid var(--hm-ciano);
	border-radius: var(--hm-raggio);
	border-spacing: 0;
	overflow: hidden;
}
.hm-prezzi th,
.hm-prezzi td {
	padding: 14px 20px;
	border-bottom: 1px solid var(--hm-bordo);
	text-align: left;
	vertical-align: top;
}
.hm-prezzi tr:last-child th,
.hm-prezzi tr:last-child td {
	border-bottom: 0;
}
.hm-prezzi th {
	font-weight: 400;
	color: var(--hm-testo);
}
.hm-prezzi td {
	font-family: var(--hm-titoli);
	font-weight: 700;
	color: var(--hm-blu);
	white-space: nowrap;
	text-align: right;
}
.hm-nota {
	font-size: 16px;
	color: var(--hm-testo-chiaro);
}

/* Passi numerati */
.hm-passi {
	list-style: none;
	padding: 0;
	counter-reset: passo;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 24px;
}
.hm-passi li {
	counter-increment: passo;
	border-top: 3px solid var(--hm-blu);
	padding-top: 14px;
	margin: 0;
}
.hm-passi li:last-child {
	border-top-color: var(--hm-ciano);
}
.hm-passi li::before {
	content: counter(passo, decimal-leading-zero);
	display: block;
	font-family: var(--hm-titoli);
	font-weight: 700;
	font-size: 22px;
	color: var(--hm-blu);
}
.hm-passi strong {
	display: block;
	font-family: var(--hm-titoli);
	font-size: 18px;
	margin: 2px 0 4px;
}
.hm-passi span {
	font-size: 16px;
}

/* Elenco con spunta */
.hm-elenco {
	list-style: none;
	padding: 0;
}
.hm-elenco li {
	position: relative;
	padding-left: 32px;
	margin-bottom: 10px;
}
.hm-elenco li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 4px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--hm-ciano-chiaro) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318216d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Schede (griglia di riquadri) */
.hm-schede {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}
.hm-scheda {
	display: flex;
	flex-direction: column;
	padding: 24px 26px;
	background: #ffffff;
	border-radius: 16px;
	box-shadow: var(--hm-ombra);
	border-top: 4px solid var(--hm-ciano);
}
.hm-scheda:nth-child(3n + 2) {
	border-top-color: var(--hm-verde);
}
.hm-scheda:nth-child(3n + 3) {
	border-top-color: var(--hm-lilla);
}
.hm-scheda h3 {
	font-size: 20px;
	margin: 0 0 8px;
}
.hm-scheda h3 a {
	color: var(--hm-blu);
	text-decoration: none;
}
.hm-scheda h3 a:hover {
	color: var(--hm-link);
}
.hm-scheda p {
	margin: 0;
	font-size: 16px;
}
.hm-scheda img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 10px;
	margin-bottom: 14px;
}
.hm-scheda-icona {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--hm-ciano-chiaro);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
}
.hm-scheda-icona svg {
	width: 26px;
	height: 26px;
}
.hm-schede-foto .hm-scheda {
	padding: 0;
	overflow: hidden;
	border-top: 0;
}
.hm-schede-foto .hm-scheda img {
	border-radius: 0;
	aspect-ratio: 16 / 9;
	margin: 0;
	border-bottom: 4px solid var(--hm-ciano);
}
.hm-schede-foto .hm-scheda:nth-child(3n + 2) img {
	border-bottom-color: var(--hm-verde);
}
.hm-schede-foto .hm-scheda:nth-child(3n + 3) img {
	border-bottom-color: var(--hm-lilla);
}
.hm-scheda-corpo {
	padding: 22px 26px 26px;
}
.hm-scheda-corpo .hm-scheda-link {
	display: inline-block;
	margin-top: 12px;
	font-family: var(--hm-titoli);
	font-weight: 700;
	text-decoration: none;
}

/* Vantaggi (riquadri con numero) */
.hm-vantaggi {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px 32px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.hm-vantaggi li {
	margin: 0;
	padding-top: 14px;
	border-top: 2px solid var(--hm-menta);
}
.hm-vantaggi strong {
	display: block;
	font-family: var(--hm-titoli);
	font-size: 19px;
	margin-bottom: 4px;
}
.hm-vantaggi span {
	font-size: 16px;
}

/* Testimonianze */
.hm-testimonianze {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
}
.hm-testimonianza {
	margin: 0;
	padding: 28px 30px;
	background: var(--hm-lilla-chiaro);
	border-radius: 22px;
}
.hm-testimonianza::before {
	content: '“';
	display: block;
	font-family: var(--hm-titoli);
	font-weight: 800;
	font-size: 64px;
	line-height: 0.7;
	color: var(--hm-lilla);
	margin-bottom: 10px;
}
.hm-testimonianza blockquote {
	margin: 0 0 12px;
	font-style: italic;
	font-size: 19px;
	line-height: 1.45;
	color: var(--hm-blu);
}
.hm-testimonianza figcaption {
	font-size: 15px;
	color: var(--hm-testo-chiaro);
}
.hm-stelle {
	color: #e0a100;
	letter-spacing: 2px;
}

/* Video: anteprima con collegamento, niente iframe di YouTube finché non si clicca */
.hm-video {
	position: relative;
	display: block;
	max-width: 860px;
	border-radius: var(--hm-raggio);
	overflow: hidden;
	box-shadow: var(--hm-ombra-grande);
}
.hm-video img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
}
.hm-video span {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 22px;
	border-radius: 999px;
	background: #ffffff;
	color: var(--hm-blu);
	font-family: var(--hm-titoli);
	font-weight: 700;
}

/* FAQ */
.hm-faq-section {
	padding: 24px 0 44px;
}
.hm-faq-title {
	font-size: 34px;
	margin: 0 0 18px;
}
.hm-faq {
	max-width: 900px;
	border-top: 1px solid var(--hm-bordo);
}
.hm-faq:last-of-type {
	border-bottom: 1px solid var(--hm-bordo);
}
.hm-faq summary {
	cursor: pointer;
	padding: 18px 48px 18px 0;
	position: relative;
	list-style: none;
	font-family: var(--hm-titoli);
	font-size: 18px;
	font-weight: 700;
	color: var(--hm-blu);
}
.hm-faq summary::-webkit-details-marker {
	display: none;
}
.hm-faq summary::after {
	content: '+';
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 26px;
	font-weight: 500;
	color: var(--hm-ciano);
}
.hm-faq[open] summary::after {
	content: '−';
}
.hm-faq-answer {
	padding: 0 0 18px;
}
.hm-faq-answer p:last-child {
	margin-bottom: 0;
}

/* Collegamenti correlati */
.hm-correlati {
	list-style: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.hm-correlati li {
	margin: 0;
}
.hm-correlati a,
.hm-correlati .hm-link-off {
	display: inline-block;
	padding: 10px 16px;
	border-radius: 12px;
	background: var(--hm-ciano-chiaro);
	color: var(--hm-blu);
	font-family: var(--hm-titoli);
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
}
.hm-correlati a:hover {
	background: #d2effa;
}
.hm-correlati .hm-link-off {
	color: var(--hm-testo-chiaro);
	background: #f1f2f6;
}

/* Fascia finale "Prenota" (ciano pieno con l'onda bordata di rosso) */
.hm-cta-band {
	position: relative;
	margin-top: 40px;
	padding: 120px 0 70px;
	background: var(--hm-ciano);
	color: var(--hm-blu);
}
.hm-cta-band::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: -1px;
	height: 110px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,120 C1000,10 420,0 0,90 Z' fill='%23ffffff'/%3E%3Cpath d='M1440,120 C1000,10 420,0 0,90' fill='none' stroke='%23ee3753' stroke-width='6' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.hm-cta-band .hm-row {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 28px;
}
.hm-cta-band h2 {
	font-size: 40px;
	margin: 0 0 8px;
	color: var(--hm-blu);
}
.hm-cta-band p {
	margin: 0;
	font-size: 19px;
	color: var(--hm-blu);
}
.hm-cta-band .hm-cta-row {
	margin: 0;
}

/* Fascia scura blu-viola */
.hm-banda-scura {
	position: relative;
	margin: 40px 0;
	padding: 150px 0 120px;
	background: var(--hm-blu);
	color: #ffffff;
}
.hm-banda-scura::before,
.hm-banda-scura::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	height: 100px;
	background-repeat: no-repeat;
	background-size: 100% 100%;
}
.hm-banda-scura::before {
	top: -1px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,20 C1000,140 440,140 0,40 Z' fill='%23ffffff'/%3E%3C/svg%3E");
}
.hm-banda-scura::after {
	bottom: -1px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,120 L1440,120 L1440,30 C1000,130 440,120 0,70 Z' fill='%23ffffff'/%3E%3C/svg%3E");
}
.hm-banda-scura .hm-occhiello {
	color: var(--hm-menta);
}
.hm-banda-scura .hm-occhiello::before {
	background: var(--hm-rosso);
}
.hm-banda-scura h2,
.hm-banda-scura h3 {
	color: var(--hm-ciano);
}
.hm-banda-scura p,
.hm-banda-scura li {
	color: #d3d7ee;
}
.hm-banda-scura strong {
	color: #ffffff;
}
.hm-banda-scura a {
	color: #ffffff;
}
.hm-numeri-grandi {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 40px;
	list-style: none;
	padding: 0;
	margin: 48px 0 0;
}
.hm-numeri-grandi li {
	margin: 0;
	padding-top: 22px;
	border-top: 2px solid var(--hm-ciano);
}
.hm-numeri-grandi li:nth-child(2) {
	border-top-color: var(--hm-verde);
}
.hm-numeri-grandi li:nth-child(3) {
	border-top-color: var(--hm-menta);
}
.hm-numeri-grandi li:nth-child(4) {
	border-top-color: var(--hm-lilla);
}
.hm-numeri-grandi strong {
	display: block;
	font-family: var(--hm-titoli);
	font-weight: 700;
	font-size: 50px;
	line-height: 1;
	color: #ffffff;
	margin-bottom: 10px;
}
.hm-banda-scura .hm-testo-img img {
	box-shadow: none;
}

/* -------------------------------------------------------------------------
 * Moduli (Prenota appuntamento, Contatti)
 * ---------------------------------------------------------------------- */
.hm-form {
	max-width: 760px;
	padding: 28px;
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 13px 27px -5px rgba(24, 33, 109, 0.2), 0 8px 16px -8px rgba(0, 0, 0, 0.2);
}
.hm-form-griglia {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 14px 16px;
}
.hm-campo {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin: 0;
}
.hm-campo-largo {
	grid-column: 1 / -1;
}
.hm-campo > span {
	font-size: 15px;
	font-weight: 700;
	color: var(--hm-blu);
}
.hm-campo input,
.hm-campo select,
.hm-campo textarea {
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid #c9cde0;
	border-radius: 10px;
	background: #ffffff;
	font: inherit;
	font-size: 17px;
	color: var(--hm-nero);
}
.hm-campo textarea {
	min-height: 110px;
	resize: vertical;
}
.hm-campo input:focus,
.hm-campo select:focus,
.hm-campo textarea:focus {
	border-color: var(--hm-ciano);
	outline: 3px solid rgba(0, 175, 223, 0.25);
	outline-offset: 0;
}
.hm-campo-errore input,
.hm-campo-errore select,
.hm-campo-errore textarea {
	border-color: var(--hm-rosso);
}
.hm-campo-errore > em {
	font-style: normal;
	font-size: 14px;
	color: var(--hm-rosso-scuro);
}
.hm-scelte {
	border: 0;
	padding: 0;
	margin: 4px 0 0;
}
.hm-scelte legend {
	padding: 0;
	margin-bottom: 8px;
	font-size: 15px;
	font-weight: 700;
	color: var(--hm-blu);
}
.hm-scelte-griglia {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 6px 16px;
}
.hm-scelte-griglia label {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 40px;
	padding: 6px 12px;
	border: 1px solid #c9cde0;
	border-radius: 10px;
	font-size: 16px;
	cursor: pointer;
}
.hm-scelte-griglia label:has(input:checked) {
	border-color: var(--hm-ciano);
	background: var(--hm-ciano-chiaro);
}
.hm-scelte-griglia input {
	width: 18px;
	height: 18px;
	flex: none;
}
.hm-consenso {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 18px 0 0;
	font-size: 15px;
}
.hm-consenso input {
	width: 20px;
	height: 20px;
	margin-top: 3px;
	flex: none;
}
.hm-form .hm-btn {
	width: 100%;
	margin-top: 18px;
}
.hm-form-nota {
	margin: 14px 0 0;
	font-size: 14px;
	color: var(--hm-testo-chiaro);
}
.hm-trappola {
	position: absolute;
	left: -9999px;
	opacity: 0;
}
.hm-msg {
	max-width: 760px;
	padding: 16px 20px;
	border-radius: 12px;
	margin-bottom: 18px;
	font-size: 17px;
}
.hm-msg-ok {
	background: var(--hm-menta-chiara);
	color: var(--hm-blu);
	border-left: 5px solid var(--hm-verde);
}
.hm-msg-errore {
	background: var(--hm-rosso-chiaro);
	color: #8a1a2c;
	border-left: 5px solid var(--hm-rosso);
}
.hm-contatti-colonne {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	align-items: flex-start;
}
.hm-contatti-colonne > * {
	flex: 1 1 380px;
	min-width: 0;
}
.hm-recapiti {
	list-style: none;
	padding: 0;
	display: grid;
	gap: 14px;
}
.hm-recapiti li {
	margin: 0;
	padding: 18px 22px;
	border-radius: 14px;
	background: var(--hm-ciano-chiaro);
}
.hm-recapiti strong {
	display: block;
	font-family: var(--hm-titoli);
	font-size: 15px;
	font-variant: small-caps;
	letter-spacing: 0.06em;
	margin-bottom: 2px;
}
.hm-recapiti a {
	font-family: var(--hm-titoli);
	font-weight: 700;
	font-size: 20px;
	color: var(--hm-blu);
	text-decoration: none;
}
.hm-recapiti a:hover {
	text-decoration: underline;
}

/* -------------------------------------------------------------------------
 * Home
 * ---------------------------------------------------------------------- */
.hm-home-hero {
	position: relative;
	color: #ffffff;
	background-color: var(--hm-blu);
	background-image:
		radial-gradient(circle at 88% 18%, rgba(0, 175, 223, 0.95) 0%, rgba(0, 175, 223, 0) 42%),
		radial-gradient(circle at 70% 78%, rgba(168, 150, 200, 0.8) 0%, rgba(168, 150, 200, 0) 38%),
		radial-gradient(circle at 102% 62%, rgba(39, 165, 178, 0.85) 0%, rgba(39, 165, 178, 0) 34%),
		radial-gradient(circle at 48% 40%, rgba(163, 217, 214, 0.28) 0%, rgba(163, 217, 214, 0) 30%);
	padding: 56px 0 190px;
}
.hm-home-hero::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 150px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 170' preserveAspectRatio='none'%3E%3Cpath d='M0,20 C420,210 1000,200 1440,10 L1440,170 L0,170 Z' fill='%23ffffff'/%3E%3Cpath d='M0,20 C420,210 1000,200 1440,10' fill='none' stroke='%23ee3753' stroke-width='6' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.hm-home-hero .hm-row {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	align-items: center;
}
.hm-home-hero-testo {
	flex: 1 1 520px;
	min-width: 0;
}
.hm-home-hero h1 {
	color: #ffffff;
	font-size: 64px;
	margin-bottom: 22px;
}
.hm-home-hero h1 em {
	font-style: normal;
	color: var(--hm-ciano);
}
.hm-home-hero .hm-lead {
	color: #e6e9f6;
	margin-bottom: 34px;
}
.hm-home-hero .hm-btn-testo {
	color: #ffffff;
	border-color: transparent;
}
.hm-home-hero .hm-btn-testo:hover {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.12);
	text-decoration: none;
}
.hm-pillola {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 22px;
	padding: 6px 14px 6px 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}
.hm-pillola b {
	padding: 2px 10px;
	border-radius: 999px;
	background: #ffffff;
	color: var(--hm-blu);
	font-family: var(--hm-titoli);
}
.hm-home-hero-figura {
	flex: 1 1 440px;
	min-width: 0;
	position: relative;
	min-height: 500px;
}
.hm-home-card-foto {
	position: absolute;
	right: 0;
	top: 0;
	width: 82%;
	background: #ffffff;
	border-radius: 16px;
	box-shadow: var(--hm-ombra-grande);
	overflow: hidden;
	color: var(--hm-testo);
}
.hm-home-card-foto img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	display: block;
}
.hm-home-card-foto > div {
	padding: 18px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}
.hm-home-card-foto small {
	display: block;
	font-size: 14px;
	color: var(--hm-testo-chiaro);
}
.hm-home-card-foto strong {
	font-family: var(--hm-titoli);
}
.hm-etichetta {
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--hm-menta-chiara);
	color: var(--hm-blu);
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}
.hm-home-card-referto {
	position: absolute;
	left: 0;
	bottom: 18px;
	width: 62%;
	padding: 20px;
	background: #ffffff;
	border-radius: 16px;
	box-shadow: var(--hm-ombra-grande);
	color: var(--hm-testo);
}
.hm-home-card-referto > div:first-child {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}
.hm-home-card-referto .hm-scheda-icona {
	margin: 0;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	flex: none;
}
.hm-home-card-referto .hm-scheda-icona svg {
	width: 20px;
	height: 20px;
}
.hm-home-card-referto strong {
	font-family: var(--hm-titoli);
	display: block;
}
.hm-home-card-referto small {
	font-size: 14px;
	color: var(--hm-testo-chiaro);
}
.hm-barra {
	height: 6px;
	border-radius: 6px;
	background: linear-gradient(90deg, var(--hm-ciano), var(--hm-blu));
}
.hm-home-card-referto > div:last-child {
	display: flex;
	justify-content: space-between;
	margin-top: 8px;
	font-size: 14px;
	color: var(--hm-testo-chiaro);
}

.hm-numeri {
	padding: 8px 0 0;
}
.hm-numeri ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 24px;
	padding: 28px 0;
	margin: 0;
	border-bottom: 1px solid var(--hm-bordo);
	list-style: none;
}
.hm-numeri li {
	margin: 0;
}
.hm-numeri strong {
	display: block;
	font-family: var(--hm-titoli);
	font-weight: 700;
	font-size: 32px;
	line-height: 1.15;
	color: var(--hm-blu);
}
.hm-numeri span {
	font-size: 15px;
	color: var(--hm-testo-chiaro);
}

/* Fascia di fiducia sotto i numeri: gruppi RSA, assicurazioni, stampa */
.hm-fiducia ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px 24px;
	padding: 22px 0;
	margin: 0;
	border-bottom: 1px solid var(--hm-bordo);
	list-style: none;
}
.hm-fiducia li {
	margin: 0;
	padding-left: 14px;
	border-left: 3px solid var(--hm-ciano);
}
.hm-fiducia small {
	display: block;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--hm-testo-chiaro);
}
.hm-fiducia strong {
	font-family: var(--hm-titoli);
	font-size: 18px;
	color: var(--hm-blu);
}
.hm-fiducia a {
	color: inherit;
	text-decoration-color: var(--hm-ciano);
	text-underline-offset: 3px;
}

.hm-mappa-sezione {
	padding: 100px 0 40px;
}
.hm-mappa-sezione .hm-row {
	display: flex;
	flex-wrap: wrap;
	gap: 56px;
	align-items: center;
}
.hm-mappa {
	flex: 1 1 440px;
	min-width: 0;
	padding: 32px;
	background: var(--hm-ciano-chiaro);
	border-radius: 22px;
}
.hm-mappa svg {
	width: 100%;
	height: auto;
	display: block;
}
.hm-mappa path:hover {
	filter: brightness(0.85);
}
.hm-legenda {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin-top: 18px;
	font-size: 15px;
	color: var(--hm-blu);
}
.hm-legenda span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.hm-legenda i {
	width: 14px;
	height: 14px;
	border-radius: 4px;
	display: inline-block;
}
.hm-legenda i.hm-cerchio {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid #ffffff;
}
.hm-mappa-testo {
	flex: 1 1 460px;
	min-width: 0;
}
.hm-regioni {
	list-style: none;
	padding: 0;
	margin: 0 0 22px;
	border-bottom: 1px solid var(--hm-bordo);
}
.hm-regioni li {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	align-items: baseline;
	margin: 0;
	padding: 14px 0;
	border-top: 1px solid var(--hm-bordo);
}
.hm-regioni a,
.hm-regioni .hm-link-off {
	flex: 0 0 130px;
	font-family: var(--hm-titoli);
	font-weight: 700;
	color: var(--hm-blu);
	text-decoration: none;
}
.hm-regioni a:hover {
	color: var(--hm-link);
}
.hm-regioni span {
	flex: 1 1 220px;
	font-size: 16px;
}
.hm-avviso {
	margin: 0 0 26px;
	padding: 14px 18px;
	border-radius: 14px;
	background: var(--hm-lilla-chiaro);
	color: var(--hm-blu);
}
.hm-avviso.hm-sconto {
	display: inline-block;
	margin: 22px 0 0;
	border-left: 5px solid var(--hm-rosso);
	background: var(--hm-rosso-chiaro);
	font-size: 17px;
	text-align: left;
}
.hm-avviso.hm-destinatari {
	max-width: 820px;
	margin: 20px 0 0;
	font-size: 16px;
}

.hm-passi-modulo {
	display: flex;
	flex-wrap: wrap;
	gap: 64px;
	align-items: center;
}
.hm-passi-modulo > div:first-child {
	flex: 1 1 460px;
	min-width: 0;
}
.hm-passi-modulo > div:last-child {
	flex: 1 1 440px;
	min-width: 0;
	padding: 28px;
	background: var(--hm-ciano-chiaro);
	border-radius: 22px;
}
.hm-passi-modulo .hm-form {
	max-width: none;
	padding: 24px;
}
.hm-passi-verticali {
	list-style: none;
	padding: 0;
	margin: 0;
	counter-reset: passo;
}
.hm-passi-verticali li {
	counter-increment: passo;
	position: relative;
	margin: 0 0 0 16px;
	padding: 0 0 26px 30px;
	border-left: 2px solid var(--hm-menta);
}
.hm-passi-verticali li:last-child {
	border-left-color: transparent;
	padding-bottom: 0;
}
.hm-passi-verticali li::before {
	content: counter(passo);
	position: absolute;
	left: -17px;
	top: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--hm-blu);
	color: #ffffff;
	font-family: var(--hm-titoli);
	font-weight: 700;
	font-size: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.hm-passi-verticali li:last-child::before {
	background: var(--hm-ciano);
	color: var(--hm-blu);
}
.hm-passi-verticali strong {
	display: block;
	font-family: var(--hm-titoli);
	font-size: 20px;
	margin-bottom: 2px;
}

.hm-prezzi-card {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: 24px;
	align-items: stretch;
}
.hm-prezzo-card {
	display: flex;
	flex-direction: column;
	position: relative;
	padding: 32px;
	border: 1px solid var(--hm-bordo);
	border-top: 5px solid var(--hm-ciano);
	border-radius: var(--hm-raggio);
	background: #ffffff;
}
.hm-prezzo-card:nth-child(2) {
	border-top-color: var(--hm-verde);
	box-shadow: 0 30px 60px -12px rgba(24, 33, 109, 0.2);
}
.hm-prezzo-card:nth-child(3) {
	border-top-color: var(--hm-lilla);
}
.hm-prezzo-card h3 {
	font-size: 21px;
	margin: 0 0 6px;
}
.hm-prezzo-card .hm-dove {
	margin: 0 0 20px;
	font-size: 16px;
	color: var(--hm-testo-chiaro);
}
.hm-prezzo-card .hm-prezzo {
	font-family: var(--hm-titoli);
	font-weight: 700;
	font-size: 46px;
	line-height: 1;
	color: var(--hm-blu);
}
.hm-prezzo-card .hm-prezzo-nota {
	margin: 6px 0 22px;
	font-size: 16px;
	color: var(--hm-testo-chiaro);
}
.hm-prezzo-card ul {
	margin: 0 0 28px;
	padding-left: 20px;
	font-size: 17px;
}
.hm-prezzo-card .hm-btn {
	margin-top: auto;
}
.hm-prezzo-card .hm-etichetta {
	position: absolute;
	top: -16px;
	left: 32px;
	background: var(--hm-menta);
}

.hm-fascia-rsa {
	position: relative;
	overflow: hidden;
	background: var(--hm-azzurro);
	padding: 100px 0;
}
.hm-fascia-rsa::before {
	content: '';
	position: absolute;
	left: -260px;
	top: -180px;
	width: 1020px;
	height: 1020px;
	border-radius: 50%;
	background: #ffffff;
	border: 7px solid var(--hm-rosso);
}
.hm-fascia-rsa .hm-row {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 56px;
	align-items: center;
}
.hm-fascia-rsa .hm-fascia-testo {
	flex: 1 1 420px;
	min-width: 0;
	max-width: 520px;
}
.hm-fascia-rsa img {
	flex: 1 1 380px;
	min-width: 0;
	width: 100%;
	height: 340px;
	object-fit: cover;
	border-radius: var(--hm-raggio);
	box-shadow: 0 30px 60px -12px rgba(24, 33, 109, 0.4);
}

.hm-due-colonne {
	display: flex;
	flex-wrap: wrap;
	gap: 64px;
}
.hm-due-colonne > * {
	flex: 1 1 420px;
	min-width: 0;
}
.hm-due-colonne .hm-faq-title {
	font-size: 32px;
}

/* -------------------------------------------------------------------------
 * Footer
 * ---------------------------------------------------------------------- */
.hm-footer {
	background: var(--hm-blu);
	color: #d3d7ee;
	font-size: 16px;
}
.hm-footer a {
	color: #d3d7ee;
	text-decoration: none;
}
.hm-footer a:hover {
	color: #ffffff;
	text-decoration: underline;
}
.hm-footer-griglia {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 32px;
	padding: 64px 0 28px;
}
.hm-footer-griglia img {
	height: 36px;
	width: auto;
}
.hm-footer-griglia p {
	margin: 14px 0 0;
}
.hm-footer h2 {
	margin: 0 0 12px;
	font-size: 16px;
	font-variant: small-caps;
	letter-spacing: 0.06em;
	color: var(--hm-ciano);
}
.hm-footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.hm-footer li {
	margin: 0;
	line-height: 2;
}
.hm-footer .hm-link-off {
	color: #9aa2cf;
}
.hm-footer-social {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}
.hm-footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.1);
}
.hm-footer-social a:hover {
	background: rgba(255, 255, 255, 0.2);
}
.hm-footer-social svg {
	width: 20px;
	height: 20px;
	fill: #ffffff;
}
.hm-footer-fondo {
	padding: 18px 0 30px;
	border-top: 1px solid #3a4285;
	font-size: 14px;
}
.hm-footer-fondo .hm-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
}

/* -------------------------------------------------------------------------
 * Pagina 404 e pagine di testo lungo (privacy)
 * ---------------------------------------------------------------------- */
.hm-404 {
	padding: 80px 0 120px;
	text-align: center;
}
.hm-testo-lungo {
	max-width: 860px;
}
.hm-testo-lungo h2,
.hm-testo-lungo h3 {
	margin-top: 32px;
}
.hm-testo-lungo p strong {
	color: var(--hm-blu);
}

/* -------------------------------------------------------------------------
 * Telefono
 * ---------------------------------------------------------------------- */
@media (max-width: 767px) {
	body {
		font-size: 17px;
	}
	h1 {
		font-size: 36px;
	}
	h2,
	.hm-section h2,
	.hm-cta-band h2 {
		font-size: 29px;
	}
	.hm-faq-title,
	.hm-due-colonne .hm-faq-title {
		font-size: 26px;
	}
	.hm-lead {
		font-size: 18px;
	}
	.hm-row {
		padding: 0 16px;
	}
	.hm-section {
		padding: 32px 0;
	}
	.hm-section-chiara {
		padding: 48px 0;
	}
	.hm-hero {
		padding-bottom: 24px;
	}
	.hm-hero-cerchio::before {
		right: -20%;
		top: -6%;
		width: 130%;
		height: 112%;
	}
	.hm-answer {
		padding: 18px;
	}
	.hm-answer p {
		font-size: 17px;
	}
	.hm-prezzi td {
		white-space: normal;
	}
	.hm-home-hero {
		padding: 32px 0 150px;
	}
	.hm-home-hero h1 {
		font-size: 40px;
	}
	.hm-home-hero::after {
		height: 90px;
	}
	.hm-home-hero-figura {
		min-height: 0;
		flex-basis: 100%;
	}
	.hm-home-card-foto {
		position: static;
		width: 100%;
	}
	.hm-home-card-foto img {
		height: 200px;
	}
	.hm-home-card-referto {
		position: static;
		width: 100%;
		margin-top: 16px;
	}
	.hm-mappa-sezione {
		padding-top: 56px;
	}
	.hm-mappa {
		padding: 18px;
	}
	.hm-regioni a,
	.hm-regioni .hm-link-off {
		flex-basis: 100%;
	}
	.hm-banda-scura {
		padding: 110px 0 90px;
	}
	.hm-banda-scura::before,
	.hm-banda-scura::after {
		height: 60px;
	}
	.hm-numeri-grandi strong {
		font-size: 40px;
	}
	.hm-fascia-rsa {
		padding: 64px 0;
	}
	.hm-fascia-rsa::before {
		left: -300px;
		top: -420px;
		width: 900px;
		height: 900px;
	}
	.hm-fascia-rsa img {
		height: 240px;
	}
	.hm-cta-band {
		padding: 90px 0 56px;
	}
	.hm-cta-band::before {
		height: 70px;
	}
	.hm-cta-band h2 {
		font-size: 30px;
	}
	.hm-form,
	.hm-passi-modulo > div:last-child {
		padding: 18px;
	}
	.hm-footer-griglia {
		padding-top: 44px;
	}
}

/* Revisione medica sotto la risposta diretta */
.hm-revisore {
	margin: 6px 0 0;
	color: var(--hm-testo, #4d5160);
	font-size: 14px;
}
.hm-revisore strong {
	color: var(--hm-blu, #18216d);
}
