/*
 * Blade Management S.r.l. – sito statico.
 * Misure, caratteri e colori ricavati dal sito originale (Elementor + tema DFD Native, 2019).
 * Punti di rottura dell'originale: menu a scomparsa fino a 1100px,
 * margini laterali ridotti fino a 1024px, versione telefono fino a 767px.
 */

/* Montserrat: stessi file e stessa regola dell'originale (prima il font installato sul computer, poi quello del sito). */
@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: local("Montserrat-Regular"), url("../fonts/montserrat-400.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: local("Montserrat-Bold"), url("../fonts/montserrat-700.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

/* Icone FontAwesome 4.7 (SIL OFL 1.1), le stesse dell'originale. */
@font-face {
	font-family: "FontAwesome";
	src: url("../fonts/fontawesome-webfont.woff2") format("woff2");
	font-weight: normal;
	font-style: normal;
	font-display: block;
}

:root {
	--bm-navy: #444b6e;
	--bm-menu: #313131;
	--bm-pad: 200px;
	--bm-header-h: 71px;
	--bm-top: 133px;
	--bm-text: Verdana, Montserrat;
}

@media (max-width: 1100px) {
	:root {
		--bm-header-h: 70px;
		--bm-top: 160px;
	}
}

@media (max-width: 1024px) {
	:root {
		--bm-pad: 50px;
	}
}

@media (max-width: 767px) {
	:root {
		--bm-pad: 30px;
		--bm-top: 70px;
	}
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 60px;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	background: #fff;
	color: #7b7b7b;
	font-family: "Open Sans";
	font-size: 14px;
	line-height: 28px;
}

figure {
	margin: 0;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: var(--bm-navy);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

/* Spaziatura verticale tra i blocchi di una sezione (20px, come l'originale). */
.bm-flow > * {
	margin-top: 0;
	margin-bottom: 0;
}

.bm-flow > * + * {
	margin-top: 20px;
}

/* Colonne. */
.bm-cols {
	display: flex;
	flex-wrap: nowrap;
	align-items: normal;
}

.bm-col {
	flex: 1 1 0;
	min-width: 0;
	word-break: break-word;
	overflow-wrap: break-word;
}

/* ---------- Testata ---------- */

.bm-site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: #fff;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.bm-header {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	height: var(--bm-header-h);
	padding: 0 2px 0 20px;
	transition: height 0.3s ease;
}

.bm-nav ul {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bm-nav a {
	display: block;
	padding: 0 18px;
	font-family: Montserrat;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: -1px;
	line-height: 70px;
	color: var(--bm-menu);
	text-decoration: none;
	transition: color 0.3s ease, line-height 0.3s ease;
}

.bm-nav a:hover,
.bm-nav a:focus {
	color: var(--bm-navy);
}

/* Testata dopo lo scorrimento: fascia blu semitrasparente. */
body.bm-scrolled .bm-site-header {
	background: rgba(68, 75, 110, 0.79);
	box-shadow: 0 0 50px rgba(0, 0, 0, 0.15);
}

body.bm-scrolled .bm-header {
	height: 60px;
}

body.bm-scrolled .bm-nav a {
	color: #fff;
	line-height: 60px;
}

/* Pulsante del menu a scomparsa (creato da assets/js/blade.js). */
.bm-burger {
	display: none;
	position: relative;
	width: 56px;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-left: 1px solid rgba(0, 0, 0, 0.08);
	background: transparent;
	cursor: pointer;
}

.bm-burger span {
	position: absolute;
	top: 50%;
	left: 27px;
	width: 24px;
	height: 2px;
	margin-top: -1px;
	background: var(--bm-navy);
	transition: background-color 0.3s ease;
}

.bm-burger span:nth-child(1) {
	transform: translateY(-5px);
}

.bm-burger span:nth-child(2) {
	left: 31px;
	width: 20px;
}

.bm-burger span:nth-child(3) {
	transform: translateY(5px);
}

@media (max-width: 1100px) {
	.bm-site-header {
		box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
	}

	.bm-header {
		padding: 0 20px 0 0;
	}

	.bm-nav {
		display: none;
	}

	.bm-burger {
		display: block;
	}

	body.bm-scrolled .bm-burger {
		border-left-color: transparent;
	}

	body.bm-scrolled .bm-burger span {
		background: #fff;
	}
}

/* Menu laterale. */
.bm-sidr {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 100001;
	width: 260px;
	padding: 60px 0 0;
	overflow-y: auto;
	background: var(--bm-navy);
	transform: translateX(-100%);
	transition: transform 0.3s ease;
	visibility: hidden;
}

.bm-sidr.is-open {
	transform: none;
	visibility: visible;
}

.bm-sidr ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bm-sidr a {
	display: block;
	padding: 15px 25px;
	font-family: Montserrat;
	font-size: 10px;
	font-weight: 700;
	line-height: 10px;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	color: #fff;
	text-decoration: none;
}

.bm-sidr-close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 20px;
	height: 20px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	line-height: 20px;
	cursor: pointer;
}

.bm-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(0, 0, 0, 0.4);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bm-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

/* Pulsante "torna su". */
.bm-totop {
	position: fixed;
	right: 42px;
	bottom: 40px;
	z-index: 999;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.25);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bm-totop.is-visible {
	opacity: 1;
	visibility: visible;
}

.bm-totop svg {
	display: block;
	width: 12px;
	height: 12px;
	margin: auto;
}

@media (max-width: 767px) {
	.bm-totop {
		display: none;
	}
}

/* ---------- Sezioni ---------- */

.bm-main {
	padding-top: var(--bm-top);
}

.bm-sec {
	padding-left: calc(var(--bm-pad) + 10px);
	padding-right: calc(var(--bm-pad) + 10px);
	font-family: var(--bm-text);
}

.bm-blue {
	background: var(--bm-navy);
	color: #fff;
}

.bm-sec p {
	margin-bottom: 0;
}

.bm-sec a {
	color: inherit;
	text-decoration: none;
}

.bm-title {
	margin: 0;
	font-family: var(--bm-text);
	font-size: 29px;
	font-weight: 600;
	line-height: 29px;
	letter-spacing: -1px;
	color: var(--bm-navy);
}

.bm-title-montserrat {
	font-family: Montserrat;
	color: #fff;
}

/* Apertura con il logo (era uno slider Revolution). */
.bm-hero {
	min-height: 350px;
	padding: 30px 0 0;
}

.bm-hero .bm-hero-img {
	width: min(979px, calc((100% - 60px) * 0.955));
	aspect-ratio: 979 / 200;
	margin: 0 auto;
	overflow: hidden;
}

.bm-hero .bm-hero-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Chi siamo. */
.bm-chi {
	padding-top: 42px;
	padding-bottom: 42px;
}

.bm-t-chi {
	font-size: 20px;
	line-height: 30px;
	letter-spacing: -0.4px;
	text-align: justify;
}

.bm-sec .bm-t-chi + .bm-t-chi {
	margin-top: 30px;
}

/* Normativa. */
.bm-normativa {
	padding-top: 50px;
	padding-bottom: 50px;
	color: var(--bm-navy);
}

.bm-t-norm1 {
	font-size: 19px;
	line-height: 28.5px;
	letter-spacing: -0.4px;
	text-align: justify;
}

.bm-sec .bm-t-norm1 + .bm-t-norm1 {
	margin-top: 28.5px;
}

.bm-t-norm2 {
	font-size: 20px;
	line-height: 30px;
	letter-spacing: -1px;
	text-align: justify;
}

.bm-sec .bm-t-norm2 + .bm-t-norm2 {
	margin-top: 30px;
}

.bm-infografica img {
	display: block;
	width: 100%;
	height: auto;
}

/* Vantaggi. */
.bm-vantaggi {
	padding-top: 60px;
	padding-bottom: 60px;
}

.bm-sec .bm-t-vint {
	margin-top: 60px;
	font-size: 19px;
	line-height: 28.5px;
	letter-spacing: -1px;
	text-align: justify;
}

.bm-sec .bm-vantaggi-cols {
	gap: 60px;
	margin-top: 50px;
	padding-left: 30px;
	padding-right: 30px;
}

.bm-card::before {
	content: "\f0ab";
	display: block;
	margin-bottom: 30px;
	font-family: FontAwesome;
	font-size: 45px;
	line-height: 45px;
	text-align: center;
	color: #fff;
}

.bm-t-v1,
.bm-t-v2 {
	font-size: 19px;
	line-height: 19px;
	text-align: justify;
}

.bm-t-v1 {
	letter-spacing: -0.4px;
}

.bm-t-v2 {
	letter-spacing: 0.4px;
}

.bm-sec .bm-t-v1 + .bm-t-v1,
.bm-sec .bm-t-v2 + .bm-t-v2 {
	margin-top: 19px;
}

/* Professionisti. */
.bm-professionisti {
	padding-top: 60px;
	padding-bottom: 30px;
	color: var(--bm-navy);
}

.bm-sec .bm-person {
	gap: 60px;
	margin: 130px 20px 0;
}

.bm-sec .bm-title + .bm-person {
	margin-top: 110px;
}

.bm-avatar img {
	display: block;
	width: 150px;
	height: 150px;
}

.bm-name {
	margin-bottom: 0;
	font-family: var(--bm-text);
	font-size: 25px;
	font-weight: 600;
	line-height: 25px;
	letter-spacing: -1px;
	color: var(--bm-navy);
}

.bm-role {
	font-size: 19px;
	line-height: 19px;
	letter-spacing: -1px;
}

.bm-email {
	font-size: 20px;
	line-height: 56px;
	white-space: nowrap;
}

.bm-email::before,
.bm-ico::before {
	display: inline-block;
	width: 1em;
	margin-right: 4px;
	font-family: FontAwesome;
	font-weight: normal;
	text-align: center;
	color: var(--bm-navy);
}

.bm-email::before {
	content: "\f064";
	font-size: 14px;
}

.bm-bio {
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 1.7px;
	text-align: justify;
}

.bm-sec .bm-bio + .bm-bio {
	margin-top: 24px;
}

/* Contatti. */
.bm-contatti {
	padding-top: 65px;
	padding-bottom: 50px;
	color: var(--bm-navy);
}

.bm-sec .bm-divider {
	height: 0;
	margin: 0;
	border: 0;
	border-top: 1px solid var(--bm-navy);
}

.bm-sec .bm-contact-logo {
	margin: 58px 0 0 20px;
}

.bm-contact-logo img {
	display: block;
	width: 300px;
	height: auto;
}

.bm-sec .bm-contacts {
	margin: 22px 0 0 20px;
}

.bm-sec .bm-contacts p {
	margin: 0;
}

.bm-ico {
	font-size: 16px;
	line-height: 24px;
}

.bm-ico::before {
	font-size: 16px;
}

.bm-ico-location::before {
	content: "\f124";
}

.bm-ico-phone::before {
	content: "\f095";
}

.bm-ico-mobile::before {
	content: "\f10b";
}

.bm-ico-mail::before {
	content: "\f064";
}

/* ---------- Piè di pagina ---------- */

.bm-footer {
	padding: 20px 0;
	background: var(--bm-navy);
}

/* Come l'originale: "Open Sans" dichiarato ma non incluso (sui computer che non lo hanno appare il carattere predefinito). */
.bm-copyright {
	margin: 0;
	font-family: "Open Sans", serif;
	font-size: 13px;
	line-height: 28px;
	text-align: center;
	color: rgba(255, 255, 255, 0.6);
}

.bm-copyright a {
	color: inherit;
	text-decoration: none;
}

/* ---------- Tablet (fino a 1024px) ---------- */

@media (max-width: 1024px) {
	.bm-bio {
		text-align: left;
	}

	.bm-sec .bm-person {
		margin-top: 110px;
	}

	.bm-sec .bm-title + .bm-person {
		margin-top: 90px;
	}

	.bm-sec .bm-contact-logo,
	.bm-sec .bm-contacts {
		margin-left: 0;
	}
}

/* ---------- Telefono (fino a 767px) ---------- */

@media (max-width: 767px) {
	.bm-cols {
		flex-direction: column;
	}

	.bm-hero {
		min-height: 0;
		padding: 57px 0 65px;
	}

	.bm-chi {
		padding: 32px 30px;
	}

	.bm-normativa {
		padding-top: 40px;
	}

	.bm-vantaggi {
		padding-top: 40px;
		padding-bottom: 41px;
	}

	.bm-sec .bm-t-vint {
		margin-top: 45px;
	}

	.bm-sec .bm-vantaggi-cols {
		gap: 36px;
		margin-top: 26px;
	}

	.bm-professionisti {
		padding-top: 31px;
	}

	.bm-professionisti .bm-title {
		letter-spacing: -2px;
	}

	.bm-sec .bm-person {
		gap: 28px;
		margin-top: 57px;
	}

	.bm-sec .bm-title + .bm-person {
		margin-top: 44px;
	}

	.bm-email {
		font-size: 18px;
		line-height: 50.4px;
		letter-spacing: -2px;
	}

	.bm-contatti {
		padding-top: 4px;
		padding-bottom: 51px;
	}

	.bm-sec .bm-contact-logo {
		margin-top: 38px;
		margin-left: 3px;
	}

	.bm-t-chi,
	.bm-t-norm1,
	.bm-t-norm2,
	.bm-sec .bm-t-vint,
	.bm-t-v1,
	.bm-t-v2,
	.bm-bio {
		text-align: left;
	}
}
