/* ============================================================================
   THEME SKIN — stile moderno sopra il template
   ----------------------------------------------------------------------------
   Per cambiare l'identità visiva basta modificare le variabili in :root.
   ============================================================================ */

:root {
	--brand:        #14365c;   /* colore primario */
	--brand-dark:   #0b2540;   /* primario scuro (header bar, footer) */
	--brand-light:  #eaf1f7;   /* tinta chiara */
	--accent:       #e0a11b;   /* colore d'accento (pulsanti, dettagli) */
	--accent-dark:  #c1861a;
	--ink:          #17212b;   /* testo principale */
	--muted:        #5c6b7a;   /* testo secondario */
	--line:         #e4e9ee;   /* bordi */
	--soft:         #f5f7f9;   /* sfondi tenui */
	--radius:       8px;
	--radius-sm:    4px;
	--shadow:       0 2px 10px rgba(16, 38, 62, .06);
	--shadow-lg:    0 12px 30px rgba(16, 38, 62, .12);
	--container:    1170px;
}

/* --------------------------------------------------------------------------
   Tipografia
   -------------------------------------------------------------------------- */
body {
	font-family: 'Inter', 'Raleway', Arial, sans-serif;
	font-size: 15px;
	line-height: 1.7;
	color: var(--ink);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
	font-family: 'Manrope', 'Raleway', Arial, sans-serif;
	color: var(--ink);
	letter-spacing: -0.01em;
	font-weight: 700;
}

h1 { font-size: 30px; line-height: 1.25; }
h2 { font-size: 27px; line-height: 1.3; }
h3 { font-size: 21px; line-height: 1.35; }
h4 { font-size: 17px; line-height: 1.4; }

p { color: var(--muted); line-height: 1.75; }

a { color: var(--brand); }

strong { color: var(--ink); }

.lead {
	font-size: 17px;
	line-height: 1.7;
	color: var(--muted);
	max-width: 780px;
}

.align-center > .lead,
.lead.align-center,
.align-center.lead {
	margin-left: auto;
	margin-right: auto;
}

.box-header {
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	font-size: 20px;
}

.box-header:after {
	background: var(--accent);
	height: 3px;
	border-radius: 2px;
}

h2.box-header { font-size: 26px; }

.list li a { color: var(--brand); }
.list li a:hover { color: var(--accent-dark); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */
.header-top-bar-container {
	background-color: var(--brand-dark);
}

.header-top-bar .contact-details li {
	border-right: 1px solid rgba(255, 255, 255, .12);
	color: rgba(255, 255, 255, .82);
	font-family: 'Inter', sans-serif;
	font-size: 12.5px;
	letter-spacing: 0.02em;
}

.header-top-bar .contact-details li a {
	color: #fff;
	font-weight: 600;
}

.header-top-bar .contact-details li a:hover { color: var(--accent); }

.header-top-bar .search-container .contact-details li { border-right: 0; }

.header-cta a.cta-link {
	display: inline-block;
	margin: 6px 0;
	padding: 9px 18px;
	background: var(--accent);
	color: #fff !important;
	border-radius: var(--radius-sm);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	line-height: 1.4;
	transition: background .2s ease;
}

.header-cta a.cta-link:hover { background: var(--accent-dark); }

.header-top-bar-container .header-toggle { color: #fff; }

/* --------------------------------------------------------------------------
   Header / navigazione
   -------------------------------------------------------------------------- */
.header-container {
	background: #fff;
	box-shadow: 0 1px 0 var(--line);
	position: relative;
	z-index: 20;
}

.header h1 { font-size: 26px; font-weight: 800; color: var(--brand); }

.header .logo { padding-right: 40px; }

.header h1 a {
	color: var(--brand);
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}

.logo-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	background: var(--brand);
	color: #fff;
	border-radius: var(--radius);
	font-size: 22px;
	font-weight: 800;
	line-height: 1;
}

.logo-text {
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 22px;
}

.sf-menu li a,
.sf-menu li a:visited {
	font-family: 'Manrope', sans-serif;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ink);
	padding: 12px 0 12px 28px;
	line-height: 24px;
}

.sf-menu a:hover,
.sf-menu a:visited:hover,
.sf-menu li.selected a,
.sf-menu li:hover a {
	color: var(--brand);
}

.sf-menu li.selected a {
	box-shadow: inset 0 -2px 0 var(--accent);
}

/* --------------------------------------------------------------------------
   Pulsanti
   -------------------------------------------------------------------------- */
.more,
.more[type="submit"],
input[type="submit"].more {
	background: var(--accent);
	color: #fff;
	border: 1px solid var(--accent);
	border-radius: var(--radius-sm);
	font-family: 'Manrope', sans-serif;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 15px 26px;
	line-height: 1;
	transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.more:hover,
input[type="submit"].more:hover {
	background: var(--brand);
	border-color: var(--brand);
	color: #fff;
	transform: translateY(-1px);
}

.more.simple {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .45);
}

.more.simple:hover {
	background: #fff;
	color: var(--brand);
	border-color: #fff;
}

.more.active { background: var(--brand); border-color: var(--brand); }

.more.simple.dark {
	color: var(--brand);
	border-color: var(--line);
	background: transparent;
}

.more.simple.dark:hover {
	background: var(--brand);
	border-color: var(--brand);
	color: #fff;
}

/* --------------------------------------------------------------------------
   Sezioni
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Ritmo verticale compatto
   -------------------------------------------------------------------------- */
.page-margin-top-section { margin-top: 60px; }

.row.gray { background: var(--soft); }

.page-margin-top { margin-top: 38px; }

/* il template usa !important su questa utility */
.margin-top-70 { margin-top: 52px !important; }

.padding-top-70 { padding-top: 52px; }

.padding-bottom-66 { padding-bottom: 50px; }

/* Le pagine servizio usano .theme-page senza utility: garantiamo lo stacco dal fondo */
.theme-page { padding-bottom: 50px; }

.padding-bottom-70 { padding-bottom: 52px; }

.padding-top-bottom-50 { padding-top: 38px; padding-bottom: 38px; }

/* --------------------------------------------------------------------------
   Colonne intro affiancate con immagine a piena altezza
   -------------------------------------------------------------------------- */
.intro-row {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 30px;
}

.intro-row > .column {
	float: none;
	width: calc(50% - 15px);
	margin-left: 0;
}

.intro-row > .intro-media {
	display: flex;
}

.intro-row > .intro-media > img {
	width: 100%;
	height: 100%;
	min-height: 320px;
	object-fit: cover;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

/* --------------------------------------------------------------------------
   Page header (copertina delle pagine interne)
   -------------------------------------------------------------------------- */
.page-header-cover {
	position: relative;
	background-color: var(--brand-dark);
	display: flex;
	align-items: center;
	min-height: 190px;
	padding: 36px 0 !important;
	box-sizing: border-box;
	overflow: hidden;
}

/* immagine di copertina con effetto Ken Burns */
.page-header-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	transform-origin: center center;
	animation: kenburns-cover 22s ease-in-out infinite alternate;
	will-change: transform;
}

@keyframes kenburns-cover {
	0%   { transform: scale(1.06) translate3d(0, 0, 0); }
	100% { transform: scale(1.16) translate3d(-1%, -1.4%, 0); }
}

.page-header-cover::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(8, 26, 44, .88) 0%, rgba(8, 26, 44, .55) 65%, rgba(8, 26, 44, .35) 100%);
}

.page-header-cover > .row { position: relative; z-index: 2; }

.page-header-cover > .row {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}
.page-header-cover .page-header-left,
.page-header-cover .page-header-right {
	float: none;
	width: auto;
}

.page-header-cover .page-header-right { margin-left: auto; }

.page-header-cover .bread-crumb-container { float: none; padding: 0; }

.page-header-cover .bread-crumb { margin-right: 0; }
.page-header-cover .bread-crumb li:last-child { margin-right: 0; }
.page-header-cover .bread-crumb li:first-child { margin-left: 0; }

/* Le righe flex non devono generare il clearfix (diventerebbe un flex item) */
.page-header-cover > .row::after,
.intro-row::after,
.map-header::after {
	display: none;
}

.page-header-cover h1 {
	color: #fff;
	font-size: 30px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0;
}

.page-header-cover .bread-crumb li,
.page-header-cover .bread-crumb li a {
	color: rgba(255, 255, 255, .82);
	font-size: 12px;
	letter-spacing: 0.06em;
}

.page-header-cover .bread-crumb li a:hover { color: #fff; }

.page-header { display: block; box-shadow: none; height: auto; }

/* --------------------------------------------------------------------------
   Slider
   -------------------------------------------------------------------------- */
.revolution-slider-container { background: var(--brand-dark); }

/* Ken Burns sulla slide attiva */
.revolution-slider li.active-revslide .tp-bgimg {
	transform-origin: center center;
	animation: kenburns-slide 7s ease-out both;
	will-change: transform;
}

@keyframes kenburns-slide {
	0%   { transform: scale(1) translate3d(0, 0, 0); }
	100% { transform: scale(1.14) translate3d(-1.4%, -1.6%, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.revolution-slider li.active-revslide .tp-bgimg,
	.page-header-bg {
		animation: none !important;
	}
}

.slider-content-box {
	width: 520px;
	max-width: 100%;
	background: rgba(12, 32, 52, .82);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	border-left: 4px solid var(--accent);
	padding-bottom: 30px;
	margin-left: 20px;
}

.slider-content-box h2 {
	background: transparent;
	border-bottom: 1px solid rgba(255, 255, 255, .15);
	font-size: 30px;
	padding: 24px 30px 18px;
	letter-spacing: -0.01em;
}

.slider-content-box p {
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	line-height: 1.7;
	color: rgba(255, 255, 255, .88);
	padding: 18px 30px 8px;
}

.slider-content-box .more { margin: 6px 0 0 30px; }

/* --------------------------------------------------------------------------
   Card servizi
   -------------------------------------------------------------------------- */
.services-list {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	margin-top: 40px;
}

.services-list > li {
	float: none;
	display: flex;
	flex-direction: column;
	width: calc((100% - 60px) / 3);
	margin: 0;
	padding: 0 0 30px;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}

.services-list > li:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.services-list a > img { border-radius: 0; }

.services-list > li > a { display: block; }

.services-list > li > a > img,
.services-list > li > a > .re-preloader {
	width: 100%;
	height: 230px;
	object-fit: cover;
	display: block;
}

.services-list > li h4 {
	margin: 22px 24px 0;
	text-align: left;
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.services-list > li h4::after { display: none; }

.services-list > li h4 a { color: var(--ink); }
.services-list > li h4 a:hover { color: var(--brand); }

.services-list > li p {
	text-align: left;
	padding: 10px 24px 0;
	margin: 0;
	font-size: 14px;
	line-height: 1.65;
	color: var(--muted);
}

.services-list > li > .more.simple {
	margin: auto 24px 0;
	padding-top: 15px;
	color: var(--brand);
	border-color: var(--line);
	background: transparent;
	align-self: flex-start;
}

.services-list > li > .more.simple:hover {
	background: var(--brand);
	border-color: var(--brand);
	color: #fff;
}

/* --------------------------------------------------------------------------
   Features / icone
   -------------------------------------------------------------------------- */
.features-list li:before {
	color: var(--brand);
	border: 1px solid var(--line);
	background: var(--brand-light);
	border-radius: var(--radius);
	padding: 17px;
	font-size: 44px;
	line-height: 1;
}

.features-list li h4 {
	color: var(--ink);
	text-transform: uppercase;
	font-size: 15px;
	letter-spacing: 0.04em;
}

.features-list li p { font-family: 'Inter', sans-serif; }

/* --------------------------------------------------------------------------
   Banda contatti
   -------------------------------------------------------------------------- */
.row.yellow { background: var(--brand); }

.contact-line { padding-top: 40px; padding-bottom: 40px; }

.contact-details-list li:before {
	color: var(--accent);
	background: rgba(255, 255, 255, .08);
	border-radius: var(--radius);
}

.contact-details-list li p {
	font-family: 'Inter', sans-serif;
	color: rgba(255, 255, 255, .9);
	font-size: 15px;
}

.contact-details-list li p a { color: #fff; font-weight: 600; }
.contact-details-list li p a:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   Sidebar / call to action
   -------------------------------------------------------------------------- */
.call-to-action {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow);
	padding: 30px 24px 34px;
	margin-bottom: 30px;
}

.call-to-action:before {
	color: var(--accent);
	background: var(--brand-light);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.call-to-action h4 { font-size: 17px; }
.call-to-action h4 a { color: var(--brand); }
.call-to-action p { font-size: 14px; }
.call-to-action p.description { margin-bottom: 18px; }
.call-to-action .more { margin-top: 6px; }

body[data-page="preventivo"] .sidebar-box { display: none; }

/* --------------------------------------------------------------------------
   Form
   -------------------------------------------------------------------------- */
.contact-form .text-input,
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea,
.contact-form select {
	width: 100%;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 14px 16px;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	color: var(--ink);
	transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form .text-input:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(224, 161, 27, .18);
}

.contact-form textarea { height: 196px; resize: vertical; }

.contact-form ::placeholder { color: #9aa7b4; opacity: 1; }

.contact-form select { margin-top: 20px; height: auto; }

/* --------------------------------------------------------------------------
   Form preventivo (campi con label, griglia a due colonne, errori inline)
   -------------------------------------------------------------------------- */
.site-form {
	max-width: 100%;
	font-family: 'Inter', sans-serif;
}

.form-section {
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid var(--line);
}

.form-section:first-of-type {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.form-section-title {
	margin: 0 0 16px;
	font-family: 'Manrope', sans-serif;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 24px;
}

.form-field {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.form-field label {
	margin-bottom: 7px;
	font-family: 'Manrope', sans-serif;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--ink);
}

.req { color: var(--accent); }

.form-field input,
.form-field select,
.form-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 13px 15px;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: #fff;
	color: var(--ink);
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	line-height: 1.4;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: #9aa7b4; opacity: 1; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(224, 161, 27, .18);
}

.form-field select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding-right: 42px;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235c6b7a' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 15px center;
	cursor: pointer;
}

.form-field textarea {
	min-height: 140px;
	resize: vertical;
}

.field-error {
	display: none;
	margin-top: 6px;
	color: #c0392b;
	font-size: 12.5px;
	line-height: 1.4;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
	border-color: #c0392b;
}

.form-field.has-error .field-error,
.form-consent.has-error + .field-error { display: block; }

.form-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 20px;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--muted);
	cursor: pointer;
}

.form-consent input[type="checkbox"] {
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
	margin: 2px 0 0;
	accent-color: var(--accent);
	cursor: pointer;
}

.form-consent a {
	color: var(--brand);
	text-decoration: underline;
}

.form-actions {
	display: flex;
	align-items: center;
	gap: 22px;
	flex-wrap: wrap;
	margin-top: 26px;
}

.btn-submit {
	border: 0;
	cursor: pointer;
	line-height: 1;
	background: var(--accent);
	border: 1px solid var(--accent);
	color: #fff;
}

.btn-submit:hover {
	background: var(--brand);
	border-color: var(--brand);
	color: #fff;
}

.btn-submit[disabled] {
	opacity: .55;
	cursor: default;
	transform: none;
}

.form-note {
	margin: 0;
	font-size: 13px;
	color: var(--muted);
}

.form-note a { color: var(--brand); font-weight: 600; }

.form-feedback {
	display: none;
	margin-top: 18px;
	padding: 13px 16px;
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.5;
}

.form-feedback.is-error {
	display: block;
	background: #fdecea;
	border: 1px solid #f5c6c0;
	color: #a4271b;
}

.form-feedback.is-info {
	display: block;
	background: #eef4fa;
	border: 1px solid #cfe0ee;
	color: var(--brand);
}

.hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-success {
	text-align: center;
	padding: 40px 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow);
}

.form-success .success-icon {
	width: 58px;
	height: 58px;
	line-height: 58px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: #e8f5e9;
	color: #2e7d32;
	font-size: 26px;
	font-weight: 700;
}

.form-success h3 { margin: 0 0 10px; font-size: 22px; }
.form-success p { margin: 0; }

@media screen and (max-width: 767px) {
	.form-grid { grid-template-columns: 1fr; gap: 16px; }
	.form-actions { gap: 14px; }
	.form-actions .more { width: 100%; text-align: center; }
}

/* --------------------------------------------------------------------------
   Form contatti (più stretto del preventivo, che sta in una colonna)
   -------------------------------------------------------------------------- */
.contact-form-wrap { max-width: 860px; }

.contact-form-wrap .form-success { max-width: 860px; }

/* --------------------------------------------------------------------------
   Testo legale (privacy)
   -------------------------------------------------------------------------- */
.legal-text h2 { margin-bottom: 6px; }
.legal-text h3 {
	margin-top: 30px;
	margin-bottom: 6px;
	font-size: 18px;
	text-transform: none;
	letter-spacing: 0;
}
.legal-text h3::after { display: none; }
.legal-text p {
	max-width: 820px;
	margin: 0;
	padding: 0.4em 0;
}

/* --------------------------------------------------------------------------
   Contatti
   -------------------------------------------------------------------------- */
.contact-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 28px 24px 24px;
	text-align: center;
	height: 100%;
	box-sizing: border-box;
}

.contact-card::before {
	display: block;
	font-size: 40px;
	color: var(--accent);
	background: var(--brand-light);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	width: 78px;
	height: 78px;
	line-height: 78px;
	margin: 0 auto 18px;
}

.contact-card-label {
	display: block;
	font-family: 'Manrope', sans-serif;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 8px;
}

.contact-card a,
.contact-card strong {
	display: block;
	font-family: 'Manrope', sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: var(--ink);
	word-break: break-word;
}

.contact-card a:hover { color: var(--brand); }

.contact-card p { margin: 8px 0 0; font-size: 13px; }

.team-box {
	width: calc((100% - 30px) / 2);
	box-sizing: border-box;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 26px;
}

.team-box + .team-box { margin-left: 30px; }

.team-box h4.box-header::after { display: none; }
.team-box h4 span {
	display: block;
	font-size: 11px;
	letter-spacing: 0.12em;
	color: var(--accent);
	margin-bottom: 6px;
}

.contact-map iframe { display: block; }

.contact-map-section { margin-top: 10px; }

.map-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 20px;
}

.map-header .box-header { margin: 0; }
.map-header .box-header::after { margin-top: 12px; }

.map-link {
	font-family: 'Manrope', sans-serif;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--brand);
	text-decoration: underline;
	white-space: nowrap;
}

.map-link:hover { color: var(--accent-dark); }

.contact-map {
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--soft);
	line-height: 0;
}

/* --------------------------------------------------------------------------
   Progetti
   -------------------------------------------------------------------------- */
.projects-list.isotope li {
	border-radius: var(--radius);
	overflow: hidden;
}

.projects-list a > img { display: block; }

.projects-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}

.projects-grid > li {
	float: none;
	position: relative;
	width: calc((100% - 60px) / 3);
	height: auto;
	box-sizing: border-box;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
}

.projects-grid > li > a { display: block; }

.projects-grid > li > a > img {
	display: block;
	width: 100%;
	height: 240px;
	object-fit: cover;
}

.projects-list li .view { background: rgba(11, 37, 64, .7); }

.tabs-navigation.small.gray li a {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 40px;
	font-family: 'Manrope', sans-serif;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--muted);
	padding: 10px 20px;
}

.tabs-navigation.small.gray li a:hover,
.tabs-navigation.small.gray li a.selected {
	background: var(--brand);
	border-color: var(--brand);
	color: #fff;
}

.tabs-navigation.small.gray li a::before { display: none; }

.re-preload > img,
.re-preload > .image-wrapper > img { border-radius: var(--radius); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer-main,
.row.gray.footer-main {
	background: var(--brand-dark);
	padding-top: 60px;
	padding-bottom: 50px;
}

.footer-main .box-header {
	color: #fff;
	border-bottom-color: rgba(255, 255, 255, .15);
	font-size: 13px;
	letter-spacing: 0.12em;
}

.footer-main .box-header:after { background: var(--accent); }

.footer-main p,
.footer-main .description.t1 {
	color: rgba(255, 255, 255, .72);
	font-size: 14px;
	line-height: 1.7;
}

.footer-main .list li a,
.footer-main .list li {
	color: rgba(255, 255, 255, .78);
	font-size: 14px;
	line-height: 1.6;
}

.footer-main .list li a:hover { color: var(--accent); }

.footer-main .list li a strong { color: var(--accent); font-weight: 700; }

.footer-main .template-bullet::before { color: var(--accent); }

.footer-main .margin-top-20 { margin-top: 22px; }

.copyright {
	color: var(--muted);
	font-family: 'Inter', sans-serif;
	font-size: 12.5px;
}

/* --------------------------------------------------------------------------
   Scroll top
   -------------------------------------------------------------------------- */
.scroll-top.animated-element {
	background: var(--brand);
	border-radius: 50%;
	width: 46px;
	height: 46px;
	padding: 11px 0;
	box-shadow: var(--shadow-lg);
}

.scroll-top:hover { background: var(--accent); }

/* --------------------------------------------------------------------------
   Home
   -------------------------------------------------------------------------- */
.home-intro-image img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

.home-cta { padding-top: 50px; padding-bottom: 50px; }
.home-cta h2 { color: #fff; font-size: 24px; }
.home-cta p { color: rgba(255, 255, 255, .85); margin: 0; }
.home-cta .more.active {
	background: #fff;
	color: var(--brand);
	border-color: #fff;
}
.home-cta .more.active:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}

/* --------------------------------------------------------------------------
   Home: griglia servizi a 4 colonne su schermi larghi
   -------------------------------------------------------------------------- */
@media screen and (min-width: 1100px) {
	.home-services > li { width: calc((100% - 90px) / 4); padding-bottom: 22px; }

	.home-services > li > a > img,
	.home-services > li > a > .re-preloader {
		height: 165px;
	}

	.home-services > li > h4 {
		margin: 16px 18px 0;
		font-size: 13.5px;
	}
}

/* --------------------------------------------------------------------------
   Azienda: elenco servizi su due colonne
   -------------------------------------------------------------------------- */
.azienda-servizi {
	columns: 2;
	column-gap: 45px;
}

.azienda-servizi > li {
	break-inside: avoid;
	padding-bottom: 6px;
}

@media screen and (max-width: 767px) {
	.azienda-servizi { columns: 1; }
}

/* --------------------------------------------------------------------------
   Layout fluido
   Il template originale passa a una griglia fissa da 750px sotto i 1190px.
   Qui lo rendiamo fluido fino al breakpoint mobile.
   -------------------------------------------------------------------------- */
@media screen and (min-width: 768px) {
	.header-top-bar,
	.header,
	.row {
		width: 100%;
		max-width: var(--container);
		box-sizing: border-box;
		padding-left: 20px;
		padding-right: 20px;
	}

	.row.full-width,
	.revolution-slider-container {
		max-width: none;
		padding-left: 0;
		padding-right: 0;
	}

	/* Il gutter va applicato una sola volta: le righe annidate non lo ripetono */
	.row .row,
	.column .row {
		padding-left: 0;
		padding-right: 0;
	}

	/* ...ma il primo livello dentro una fascia a piena larghezza ha il suo gutter */
	.row.full-width > .row:not(.full-width),
	.row.full-width > .clearfix > .row:not(.full-width) {
		padding-left: 20px;
		padding-right: 20px;
	}

	/* Le fasce a piena larghezza non hanno mai gutter proprio */
	.row.full-width { padding-left: 0; padding-right: 0; }

	.header .logo { width: auto; }

	.column-1-1 { width: 100%; }
	.column-1-2 { width: calc(50% - 15px); }
	.column-1-3 { width: calc(33.3333% - 20px); }
	.column-1-4 { width: calc(25% - 22.5px); }
	.column-2-3 { width: calc(66.6666% - 10px); }
	.column-3-4 { width: calc(75% - 7.5px); }

	.column-1-3 .column-1-2 { width: 50%; }
	.column-1-3 .column-2-3 { width: 100%; }
	.column-2-3 .column-1-2 { width: calc(50% - 15px); }
	.column-2-3 .column-1-3 { width: calc(33.3333% - 20px); }
	.column-3-4 .column-1-2 { width: calc(50% - 15px); }
	.column-1-2 .column-1-2 { width: calc(50% - 15px); }
	.column-1-2 .column-1-3 { width: calc(33.3333% - 20px); }

	.projects-list.isotope li,
	.projects-list.isotope li > a,
	.projects-list.isotope a > img {
		width: calc((100% - 60px) / 3);
		height: auto;
	}
}

@media screen and (min-width: 1024px) {
	.menu-container {
		float: none;
		clear: none;
		width: auto;
		margin-top: 0;
	}

	.menu-container nav { float: right; }

	.mobile-menu-container,
	.mobile-menu-switch { display: none !important; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media screen and (max-width: 1023px) {
	.services-list > li { width: calc((100% - 30px) / 2); }
	.slider-content-box { width: 440px; }
	.team-box { width: 100%; }
}

@media screen and (max-width: 767px) {
	body { font-size: 15px; }
	h1 { font-size: 24px; }
	h2 { font-size: 22px; }

	/* il template fissa i .row a 462px: li rendiamo fluidi anche su mobile */
	.header-top-bar,
	.header,
	.row {
		width: 100%;
		max-width: none;
		box-sizing: border-box;
		padding-left: 16px;
		padding-right: 16px;
	}

	.row.full-width { padding-left: 0; padding-right: 0; }

	.row.full-width > .row,
	.row.full-width > .clearfix > .row {
		padding-left: 16px;
		padding-right: 16px;
	}

	.row .row,
	.column .row {
		padding-left: 0;
		padding-right: 0;
	}

	.services-list { gap: 20px; }
	.services-list > li { width: 100%; }
	.slider-content-box { width: 100%; max-width: 100%; }
	.slider-content-box h2 { font-size: 22px; padding: 18px 20px 14px; }
	.slider-content-box p { padding: 14px 20px 6px; }
	.slider-content-box .more { margin: 4px 0 22px 20px; }
	.page-header-cover h1 { font-size: 24px; }
	.header-cta { display: none; }
	.intro-row { gap: 24px; }
	.intro-row > .column { width: 100%; }
	.intro-row > .intro-media > img { min-height: 220px; max-height: 300px; }
	.page-header-cover { min-height: 0; padding: 22px 0 !important; }
	.footer-main { padding-top: 40px; padding-bottom: 34px; }
}
