.top-title::before {
  position: relative;
}

.mascotte {
	position: fixed;
	bottom: 50px;
	right: 50px;
	z-index: 20;
	  max-width: 190px;
	  display: flex;
	  flex-direction: row;
	  align-items: center;
}

.mascotte img {
	width: 100%;
	max-width: 80px;
}

.mascotte p {
	text-align: right;
	font-weight: 600;
	padding: 10px;
	color: #fff;
	line-height: 1;
}

.top-title .elementor-heading-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.top-title .elementor-heading-title::before {
  content: "";
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 999px;
  background: #58aef7;
  display: inline-block;
  box-shadow: 0 0 14px rgba(88, 174, 247, 0.75);
  animation: ig-dot-pulse 2.4s ease-in-out infinite;
}

@keyframes ig-dot-pulse {
  0% {
	transform: scale(1);
	box-shadow:
	  0 0 0 0 rgba(88, 174, 247, 0.55),
	  0 0 14px rgba(88, 174, 247, 0.75);
  }

  50% {
	transform: scale(1.18);
	box-shadow:
	  0 0 0 8px rgba(88, 174, 247, 0),
	  0 0 22px rgba(88, 174, 247, 0.95);
  }

  100% {
	transform: scale(1);
	box-shadow:
	  0 0 0 0 rgba(88, 174, 247, 0),
	  0 0 14px rgba(88, 174, 247, 0.75);
  }
}

.box-info-hero {
	min-height: 150px;
}

#open-home {
	position: relative;
}

#open-home:after {
	content: "";
	display: block;
	position: absolute;
	bottom: 0; 
	left: 0;
	right: 0;
	background: #030B16;
	background: -webkit-linear-gradient(0deg, rgba(3, 11, 22, 1) 0%, rgba(3, 11, 22, 0) 60%);
	background: -moz-linear-gradient(0deg, rgba(3, 11, 22, 1) 0%, rgba(3, 11, 22, 0) 60%);
	background: linear-gradient(0deg, rgba(3, 11, 22, 1) 0%, rgba(3, 11, 22, 0) 60%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#030B16", endColorstr="#030B16", GradientType=0);
	height: 100%;
	  z-index: 5;
}

.box-features {
	min-height: 190px;
}

.box-features.box-features-chi-siamo {
  min-height: auto;
}

/* BOX SETTORI - bordo bottom blu animato */
.border-box-bottom {
	position: relative;
	overflow: hidden;
	border-radius: 18px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background-blend-mode: overlay;
	transition: 
		transform 0.35s ease,
		border-color 0.35s ease,
		box-shadow 0.35s ease;
}

/* linea blu in basso */
.border-box-bottom::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 3px;
	pointer-events: none;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(0, 120, 255, 0.15) 12%,
		#0078ff 38%,
		#42b7ff 50%,
		#0078ff 62%,
		rgba(0, 120, 255, 0.15) 88%,
		transparent 100%
	);
	background-size: 220% 100%;
	opacity: 0.75;
	transform: scaleX(0.72);
	transform-origin: left;
	transition: 
		transform 0.45s ease,
		opacity 0.35s ease,
		background-position 0.45s ease;
}



/* hover card */
.border-box-bottom:hover {
	transform: translateY(-6px);
	border-color: rgba(66, 183, 255, 0.45);
	box-shadow:
		0 22px 55px rgba(0, 0, 0, 0.32),
		0 0 34px rgba(0, 120, 255, 0.13);
}

.border-box-bottom:hover.elementor-element::before {
	background-image: linear-gradient(90deg, #030B16 20%, #030B1696 50%);
	opacity: 0.5!important;
}

/* hover bordo */
.border-box-bottom:hover::after {
	opacity: 1;
	transform: scaleX(1);
	background-position: 100% 0;
	animation: ig-bottom-line-move 1.6s linear infinite;
}



/* animazione movimento bordo */
@keyframes ig-bottom-line-move {
	0% {
		background-position: 0% 0;
	}
	100% {
		background-position: 220% 0;
	}
}

.border-box-bottom .elementor-widget-image img,
.border-box-bottom .elementor-icon svg {
	transition: transform 0.35s ease, filter 0.35s ease, color 0.35s ease;
}

.border-box-bottom:hover .elementor-widget-image img {
	transform: translateY(-3px);
	filter: drop-shadow(0 0 14px rgba(0, 132, 255, 0.55));
}

.border-box-bottom:hover .elementor-icon svg {
	transform: translateX(6px);
	filter: drop-shadow(0 0 12px rgba(0, 132, 255, 0.75));
}









.ig-stat-line {
	position: relative;
	display: block;
	width: 170px;
	height: 4px;
	margin-top: 24px;
	margin-bottom: 26px;
	border-radius: 999px;
	overflow: visible;

	background: linear-gradient(
		90deg,
		rgba(0, 120, 255, 0) 0%,
		rgba(0, 120, 255, 0.20) 18%,
		rgba(0, 120, 255, 0.65) 48%,
		#0078ff 72%,
		#42b7ff 100%
	);

	box-shadow:
		18px 0 22px rgba(0, 132, 255, 0.55),
		34px 0 42px rgba(0, 132, 255, 0.24);
}

.ig-stat-line::after {
	content: "";
	position: absolute;
	right: -28px;
	top: 50%;
	width: 90px;
	height: 22px;
	transform: translateY(-50%);
	pointer-events: none;

	background: radial-gradient(
		ellipse at center,
		rgba(66, 183, 255, 0.75) 0%,
		rgba(0, 132, 255, 0.35) 38%,
		transparent 72%
	);

	filter: blur(8px);
}

.ig-stat-card:hover .ig-stat-line {
	width: 210px;
	animation: ig-stat-line-move 1.6s linear infinite;
}

@keyframes ig-stat-line-move {
	0% {
		background-position: 0% 0;
	}
	100% {
		background-position: 220% 0;
	}
}







/* =========================================
   BOX SERVIZI - HOVER LUMINOSO
========================================= */

#servizi .border-box-bottom,
#risultati .border-box-bottom {
	position: relative;
	overflow: hidden;
	border-radius: 18px;

	border: 1px solid rgba(255, 255, 255, 0.18);
	background-color: rgba(3, 11, 22, 0.72);

	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.025),
		0 10px 30px rgba(0, 0, 0, 0.08);

	transform: translateZ(0);

	transition:
		transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
		border-color 0.35s ease,
		background-color 0.35s ease,
		box-shadow 0.4s ease;
}


/* Linea blu inferiore */
#servizi .border-box-bottom::after,
#risultati .border-box-bottom::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;

	width: 100%;
	height: 3px;

	pointer-events: none;

	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(0, 120, 255, 0.15) 12%,
		#0078ff 38%,
		#58aef7 50%,
		#0078ff 62%,
		rgba(0, 120, 255, 0.15) 88%,
		transparent 100%
	);

	background-size: 220% 100%;

	opacity: 0.75;
	transform: scaleX(0.72);
	transform-origin: left;

	transition:
		transform 0.45s ease,
		opacity 0.35s ease,
		box-shadow 0.35s ease;
}


/* Hover principale */
#servizi .border-box-bottom:hover,
#servizi .border-box-bottom:focus-within,
#risultati .border-box-bottom:hover,
#risultati .border-box-bottom:focus-within {
	transform: translateY(-8px);

	border-color: rgba(88, 174, 247, 0.72);
	background-color: rgba(7, 23, 40, 0.96);

	box-shadow:
		0 30px 70px rgba(0, 0, 0, 0.48),
		0 0 0 1px rgba(88, 174, 247, 0.08),
		0 0 30px rgba(0, 132, 255, 0.30),
		0 0 75px rgba(0, 120, 255, 0.16),
		inset 0 1px 0 rgba(255, 255, 255, 0.07),
		inset 0 -35px 55px rgba(0, 120, 255, 0.07);
}


/* Linea inferiore in hover */
#servizi .border-box-bottom:hover::after,
#servizi .border-box-bottom:focus-within::after,
#risultati .border-box-bottom:hover::after,
#risultati .border-box-bottom:focus-within::after {
	opacity: 1;
	transform: scaleX(1);

	box-shadow:
		0 0 12px rgba(88, 174, 247, 0.90),
		0 0 28px rgba(0, 132, 255, 0.58);

	animation: ig-bottom-line-move 1.6s linear infinite;
}


/* Titolo e descrizione */
#servizi .border-box-bottom .elementor-icon-box-title,
#servizi .border-box-bottom .elementor-icon-box-description
#risultati .border-box-bottom .elementor-icon-box-title,
#risultati .border-box-bottom .elementor-icon-box-description {
	transition:
		color 0.35s ease,
		transform 0.35s ease;
}

#servizi .border-box-bottom:hover .elementor-icon-box-title,
#servizi .border-box-bottom:focus-within .elementor-icon-box-title
#risultati .border-box-bottom:hover .elementor-icon-box-title,
#risultati .border-box-bottom:focus-within .elementor-icon-box-title {
	color: #ffffff;
}

#servizi .border-box-bottom:hover .elementor-icon-box-description,
#servizi .border-box-bottom:focus-within .elementor-icon-box-description,
#risultati .border-box-bottom:hover .elementor-icon-box-description,
#risultati .border-box-bottom:focus-within .elementor-icon-box-description {
	color: rgba(255, 255, 255, 0.82);
}


/* Icona */
#servizi .border-box-bottom .elementor-icon,
#servizi .border-box-bottom .elementor-icon svg,
#risultati .border-box-bottom .elementor-icon,
#risultati .border-box-bottom .elementor-icon svg {
	transition:
		color 0.35s ease,
		transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
		filter 0.35s ease;
}

#servizi .border-box-bottom:hover .elementor-icon,
#servizi .border-box-bottom:focus-within .elementor-icon,
#risultati .border-box-bottom:hover .elementor-icon,
#risultati .border-box-bottom:focus-within .elementor-icon {
	color: #58aef7;
}

#servizi .border-box-bottom:hover .elementor-icon svg,
#servizi .border-box-bottom:focus-within .elementor-icon svg,
#risultati .border-box-bottom:hover .elementor-icon svg,
#risultati .border-box-bottom:focus-within .elementor-icon svg {
	transform: translateX(5px) scale(1.08);
}


/* Animazione linea inferiore */
@keyframes ig-bottom-line-move {
	0% {
		background-position: 0% 0;
	}

	100% {
		background-position: 220% 0;
	}
}





/* ================================
   ITALGREASE CONTACT FORM 7
================================ */

.ig-cf7-form {
	position: relative;
	width: 100%;
}

.ig-cf7-form::after {
	content: "";
	position: absolute;
	right: -2px;
	top: 12%;
	width: 2px;
	height: 76%;
	background: linear-gradient(
		180deg,
		transparent,
		rgba(0, 132, 255, 0.85),
		transparent
	);
	box-shadow: 0 0 28px rgba(0, 132, 255, 0.75);
	pointer-events: none;
}

.ig-cf7-head {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	margin-bottom: 34px;
}

.ig-cf7-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #0a7cff;
	font-size: 34px;
	line-height: 1;
}

.ig-cf7-head h3 {
	margin: 0 0 8px;
	color: #ffffff;
	font-size: clamp(26px, 2.2vw, 36px);
	line-height: 1.05;
	font-weight: 800;
	letter-spacing: -0.04em;
}

.ig-cf7-head p {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 16px;
	line-height: 1.5;
}

.ig-cf7-row {
	margin-bottom: 0;
}

.ig-cf7-row label {
	display: block;
	color: #ffffff;
	font-size: 14px;
	line-height: 1.3;
	font-weight: 700;
}

.ig-cf7-field,
.ig-cf7-form input[type="text"],
.ig-cf7-form input[type="email"],
.ig-cf7-form input[type="tel"],
.ig-cf7-form select,
.ig-cf7-form textarea {
	width: 100%;
	min-height: 58px;
	margin-top: 10px;
	padding: 0 18px;
	border-radius: 4px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(8, 22, 38, 0.72);
	color: #ffffff;
	font-size: 16px;
	line-height: 1.4;
	outline: none;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
	transition:
		border-color 0.25s ease,
		box-shadow 0.25s ease,
		background 0.25s ease;
}

.ig-cf7-form textarea {
	min-height: 150px;
	padding-top: 16px;
	resize: vertical;
}

.ig-cf7-form select {
	appearance: auto;
}

.ig-cf7-form input::placeholder,
.ig-cf7-form textarea::placeholder {
	color: rgba(255, 255, 255, 0.55);
}

.ig-cf7-field:focus,
.ig-cf7-form input:focus,
.ig-cf7-form select:focus,
.ig-cf7-form textarea:focus {
	border-color: rgba(0, 132, 255, 0.85);
	background: rgba(9, 28, 50, 0.88);
	box-shadow:
		0 0 0 3px rgba(0, 132, 255, 0.14),
		0 0 28px rgba(0, 132, 255, 0.12);
}

.ig-cf7-privacy {
	margin: 6px 0 26px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 14px;
	line-height: 1.45;
}

.ig-cf7-privacy a {
	color: #188cff;
	text-decoration: none;
}

.ig-cf7-privacy a:hover {
	text-decoration: underline;
}

.ig-cf7-privacy .wpcf7-list-item {
	margin: 0;
}

.ig-cf7-privacy input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin-right: 10px;
	accent-color: #0a7cff;
}

.ig-cf7-submit-wrap {
	margin-top: 10px;
}

.ig-cf7-submit,
.ig-cf7-form input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	padding: 0 30px;
	border: 1px solid rgba(117, 190, 255, 0.45);
	border-radius: 8px;
	background: linear-gradient(135deg, #0a6edc 0%, #0c7ff4 100%);
	color: #ffffff;
	font-size: 16px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	box-shadow:
		0 16px 38px rgba(0, 112, 255, 0.28),
		0 0 28px rgba(0, 132, 255, 0.16);
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		background 0.25s ease;
}

.ig-cf7-submit:hover,
.ig-cf7-form input[type="submit"]:hover {
	transform: translateY(-2px);
	background: linear-gradient(135deg, #0c7ff4 0%, #1590ff 100%);
	box-shadow:
		0 22px 46px rgba(0, 112, 255, 0.36),
		0 0 38px rgba(0, 132, 255, 0.22);
}

/* Messaggi CF7 */
.ig-cf7-form .wpcf7-not-valid-tip {
	margin-top: 7px;
	color: #ff7b7b;
	font-size: 13px;
}

.ig-cf7-form .wpcf7-response-output {
	margin: 22px 0 0 !important;
	padding: 14px 18px !important;
	border-radius: 8px;
	color: #ffffff;
	font-size: 14px;
}

/* Mobile */
@media (max-width: 767px) {
	.ig-cf7-form {
		padding: 26px 20px;
		border-radius: 20px;
	}

	.ig-cf7-head {
		gap: 14px;
		margin-bottom: 26px;
	}

	.ig-cf7-icon {
		font-size: 28px;
	}

	.ig-cf7-field,
	.ig-cf7-form input[type="text"],
	.ig-cf7-form input[type="email"],
	.ig-cf7-form input[type="tel"],
	.ig-cf7-form select,
	.ig-cf7-form textarea {
		min-height: 54px;
		font-size: 15px;
	}

	.ig-cf7-submit,
	.ig-cf7-form input[type="submit"] {
		width: 100%;
	}
}

.is-dark-theme .site textarea {
  background:#030b16;
}


img.attachment-full {
	width: 100%!important;
	height: auto!important;
}







/* =========================================
   ITALGREASE - FAQ ACCORDION
========================================= */

.custom-accordion {
	--ig-faq-bg: rgba(1, 25, 56, 0.56);
	--ig-faq-bg-open: rgba(4, 35, 70, 0.82);
	--ig-faq-border: rgba(88, 174, 247, 0.22);
	--ig-faq-border-hover: rgba(88, 174, 247, 0.55);
	--ig-faq-blue: #58aef7;
	--ig-faq-blue-strong: #168cff;
	--ig-faq-text: #ffffff;
	--ig-faq-muted: rgba(255, 255, 255, 0.72);
}

/* Contenitore generale */
.custom-accordion .e-n-accordion {
	display: grid;
	gap: 14px;
}

/* Singola FAQ */
.custom-accordion .e-n-accordion-item {
	position: relative;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--ig-faq-border);
	border-radius: 14px;
	background:#001435;
	box-shadow:
		0 14px 36px rgba(0, 0, 0, 0.14),
		inset 0 0 0 1px rgba(255, 255, 255, 0.015);
	transition:
		border-color 0.3s ease,
		background 0.3s ease,
		box-shadow 0.3s ease,
		transform 0.3s ease;
}

/* Riga luminosa laterale */
.custom-accordion .e-n-accordion-item::before {
	content: "";
	position: absolute;
	top: 18px;
	bottom: 18px;
	left: 0;
	width: 3px;
	border-radius: 0 999px 999px 0;
	background: linear-gradient(
		180deg,
		transparent,
		var(--ig-faq-blue-strong),
		transparent
	);
	box-shadow: 0 0 18px rgba(22, 140, 255, 0.75);
	opacity: 0;
	transform: scaleY(0.45);
	transition:
		opacity 0.3s ease,
		transform 0.3s ease;
}

/* Hover */
.custom-accordion .e-n-accordion-item:hover {
	border-color: var(--ig-faq-border-hover);
	transform: translateY(-2px);
	box-shadow:
		0 18px 46px rgba(0, 0, 0, 0.22),
		0 0 28px rgba(0, 120, 255, 0.08);
}

/* FAQ aperta */
.custom-accordion .e-n-accordion-item[open] {
	border-color: rgba(88, 174, 247, 0.48);
	background:
		radial-gradient(
			circle at 100% 0%,
			rgba(22, 140, 255, 0.11),
			transparent 38%
		),
		var(--ig-faq-bg-open);
	box-shadow:
		0 20px 54px rgba(0, 0, 0, 0.24),
		0 0 34px rgba(0, 120, 255, 0.10);
}

.custom-accordion .e-n-accordion-item[open]::before {
	opacity: 1;
	transform: scaleY(1);
}

/* Titolo cliccabile */
.custom-accordion .e-n-accordion-item-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 82px;
	margin: 0;
	padding: 22px 26px 22px 30px;
	border: 0;
	background: transparent;
	cursor: pointer;
	list-style: none;
}

/* Rimuove il triangolino nativo */
.custom-accordion .e-n-accordion-item-title::-webkit-details-marker {
	display: none;
}

.custom-accordion .e-n-accordion-item-title::marker {
	display: none;
	content: "";
}

/* Testo domanda */
.custom-accordion .e-n-accordion-item-title-header {
	flex: 1;
	min-width: 0;
}

.custom-accordion .e-n-accordion-item-title-text {
	color: var(--ig-faq-text);
	font-size: clamp(17px, 1.25vw, 21px);
	line-height: 1.35;
	font-weight: 700;
	letter-spacing: -0.015em;
	transition:
		color 0.25s ease,
		transform 0.25s ease;
}

.custom-accordion .e-n-accordion-item:hover
.e-n-accordion-item-title-text {
	color: #ffffff;
	transform: translateX(3px);
}

.custom-accordion .e-n-accordion-item[open]
.e-n-accordion-item-title-text {
	color: var(--ig-faq-blue);
}

/* Contenitore icona + / - */
.custom-accordion .e-n-accordion-item-title-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(88, 174, 247, 0.32);
	border-radius: 50%;
	color: var(--ig-faq-blue);
	background: rgba(88, 174, 247, 0.05);
	box-shadow:
		inset 0 0 16px rgba(88, 174, 247, 0.04),
		0 0 0 rgba(22, 140, 255, 0);
	transition:
		color 0.25s ease,
		background 0.25s ease,
		border-color 0.25s ease,
		box-shadow 0.25s ease,
		transform 0.3s ease;
}

.custom-accordion .e-n-accordion-item:hover
.e-n-accordion-item-title-icon {
	color: #ffffff;
	border-color: rgba(88, 174, 247, 0.70);
	background: rgba(88, 174, 247, 0.12);
	box-shadow: 0 0 22px rgba(22, 140, 255, 0.18);
}

.custom-accordion .e-n-accordion-item[open]
.e-n-accordion-item-title-icon {
	color: #ffffff;
	border-color: var(--ig-faq-blue);
	background: linear-gradient(
		135deg,
		#0a6edc,
		#168cff
	);
	box-shadow:
		0 0 22px rgba(22, 140, 255, 0.32),
		inset 0 0 14px rgba(255, 255, 255, 0.08);
	transform: rotate(180deg);
}

/* Dimensione SVG */
.custom-accordion .e-n-accordion-item-title-icon svg {
	display: block;
	width: 14px;
	height: 14px;
	fill: currentColor;
}

/* Area della risposta */
.custom-accordion .e-n-accordion-item > .e-con {
	position: relative;
	margin: 0;
	padding: 0 30px 26px;
	border: 0;
	background: transparent;
}

/* Separatore sopra la risposta */
.custom-accordion .e-n-accordion-item > .e-con::before {
	content: "";
	display: block;
	width: 100%;
	height: 1px;
	margin-bottom: 22px;
	background: linear-gradient(
		90deg,
		rgba(88, 174, 247, 0.42),
		rgba(255, 255, 255, 0.08) 55%,
		transparent
	);
}

/* Testo risposta */
.custom-accordion .elementor-widget-text-editor,
.custom-accordion .elementor-widget-text-editor p {
	color: #fff;
	font-size: 16px;
	line-height: 1.5;
	font-weight: 400;
}

/* Animazione contenuto in apertura */
.custom-accordion .e-n-accordion-item[open] > .e-con {
	animation: ig-faq-content-in 0.38s ease both;
}

@keyframes ig-faq-content-in {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Focus tastiera */
.custom-accordion .e-n-accordion-item-title:focus-visible {
	outline: 2px solid var(--ig-faq-blue);
	outline-offset: -4px;
	border-radius: 12px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 767px) {

	.custom-accordion .e-n-accordion {
		gap: 10px;
	}

	.custom-accordion .e-n-accordion-item {
		border-radius: 12px;
	}

	.custom-accordion .e-n-accordion-item-title {
		min-height: 70px;
		gap: 14px;
		padding: 18px 16px 18px 20px;
	}

	.custom-accordion .e-n-accordion-item-title-text {
		font-size: 16px;
		line-height: 1.4;
	}

	.custom-accordion .e-n-accordion-item-title-icon {
		flex-basis: 36px;
		width: 36px;
		height: 36px;
	}

	.custom-accordion .e-n-accordion-item-title-icon svg {
		width: 12px;
		height: 12px;
	}

	.custom-accordion .e-n-accordion-item > .e-con {
		padding: 0 20px 22px;
	}

	.custom-accordion .elementor-widget-text-editor,
	.custom-accordion .elementor-widget-text-editor p {
		font-size: 15px;
		line-height: 1.65;
	}
}