/* ==========================================================================
   WTAC – Stili globali (tutte le pagine)
   ========================================================================== */
:root {
	--wtac-navy: #1f2336;
	--wtac-navy-dark: #15192a;
	--wtac-cyan: #3bc5e9;
	--wtac-cyan-dark: #1fa9cd;
	--wtac-yellow: #f5cb28;
	--wtac-cream: #f7f7e8;
	--wtac-text: #4a4d5a;
	--wtac-radius: 18px;
	--wtac-radius-sm: 12px;
	--wtac-shadow: 0 10px 30px -12px rgba(21, 25, 42, .18);
	--wtac-shadow-hover: 0 22px 45px -18px rgba(21, 25, 42, .32);
	--wtac-ease: cubic-bezier(.2, .7, .2, 1);
}


/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
body .site-header .main-header-bar {
	border-bottom: 1px solid rgba(255, 255, 255, .06);
}
body .main-header-menu .menu-link {
	position: relative;
}
body .main-header-menu > .menu-item > .menu-link::after {
	content: "";
	position: absolute;
	left: 1em;
	right: 1em;
	bottom: -4px;
	height: 2px;
	border-radius: 2px;
	background: var(--wtac-cyan);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s var(--wtac-ease);
}
body .main-header-menu > .menu-item:hover > .menu-link::after,
body .main-header-menu > .current-menu-item > .menu-link::after {
	transform: scaleX(1);
}
body .ast-custom-button,
body .ast-header-button-1 .ast-custom-button {
	border-radius: 999px;
	box-shadow: 0 8px 22px -8px rgba(59, 197, 233, .65);
	transition: transform .25s var(--wtac-ease), box-shadow .25s var(--wtac-ease), background-color .25s;
}
body .ast-custom-button:hover {
	transform: translateY(-2px);
	background-color: var(--wtac-cyan-dark);
	box-shadow: 0 14px 28px -10px rgba(59, 197, 233, .75);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
body .site-footer .site-primary-footer-wrap {
	border-top: 3px solid var(--wtac-cyan);
}

/* --------------------------------------------------------------------------
   Hero: H1, pulsanti, punti chiave
   -------------------------------------------------------------------------- */
body .elementor-element-85ba324 .wtac-hero-title {
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
	text-transform: uppercase;
	margin: 0;
}
body .wtac-hero-ctas {
	--padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px;
}
body .wtac-btn .elementor-button {
	display: inline-flex;
	align-items: center;
	padding: 16px 30px !important;
	border-radius: 999px !important;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .02em;
	transition: transform .25s var(--wtac-ease), box-shadow .25s var(--wtac-ease), background-color .25s, color .25s, border-color .25s;
}
body .wtac-btn--primary .elementor-button {
	background: var(--wtac-yellow) !important;
	color: var(--wtac-navy-dark) !important;
	border: 2px solid var(--wtac-yellow);
	box-shadow: 0 12px 30px -10px rgba(245, 203, 40, .6);
}
body .wtac-btn--primary .elementor-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 36px -12px rgba(245, 203, 40, .8);
}
body .wtac-btn--ghost .elementor-button {
	background: transparent !important;
	color: #fff !important;
	border: 2px solid rgba(255, 255, 255, .35);
}
body .wtac-btn--ghost .elementor-button:hover {
	border-color: var(--wtac-cyan);
	color: var(--wtac-cyan) !important;
	transform: translateY(-2px);
}
body .wtac-hero-points {
	list-style: none;
	margin: 22px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	color: rgba(255, 255, 255, .8);
	font-size: 14px;
}
body .wtac-hero-points li {
	position: relative;
	padding-left: 24px;
}
body .wtac-hero-points li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	border-radius: 50%;
	background: var(--wtac-cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2315192a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* --------------------------------------------------------------------------
   Come funziona
   -------------------------------------------------------------------------- */
body .wtac-section-head .hfe-infocard-title {
	letter-spacing: -.01em;
}
body .wtac-section-head .hfe-infocard-title-wrap::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	margin: 18px auto 6px;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--wtac-cyan), var(--wtac-yellow));
}
body .wtac-section-head .hfe-infocard-text {
	max-width: 640px;
	margin-left: auto !important;
	margin-right: auto !important;
	text-align: center;
	line-height: 1.75;
}
body .wtac-steps {
	counter-reset: wtac-step;
	gap: 28px;
}
body .elementor-element.wtac-step {
	counter-increment: wtac-step;
	position: relative;
	background: #fff;
	border-radius: var(--wtac-radius);
	padding: 64px 30px 30px !important;
	box-shadow: var(--wtac-shadow);
	border: 1px solid rgba(21, 25, 42, .05);
	transition: transform .35s var(--wtac-ease), box-shadow .35s var(--wtac-ease);
}
body .wtac-step .hfe-infocard {
	position: relative;
}
body .wtac-step .hfe-infocard::before {
	content: counter(wtac-step, decimal-leading-zero);
	position: absolute;
	top: -44px;
	left: 0;
	font-family: Montserrat, sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .08em;
	color: var(--wtac-cyan-dark);
	padding: 7px 13px;
	border-radius: 999px;
	background: rgba(59, 197, 233, .12);
}
body .elementor-element.wtac-step:hover {
	transform: translateY(-6px);
	box-shadow: var(--wtac-shadow-hover);
}

/* Contatti: link */
body .elementor-element-adfd903 a,
body .elementor-element-574d4cd a {
	color: inherit;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px dashed currentColor;
}
body .elementor-element-adfd903 a:hover,
body .elementor-element-574d4cd a:hover {
	border-bottom-style: solid;
}
html { scroll-behavior: smooth; }
#come-funziona { scroll-margin-top: 20px; }

/* --------------------------------------------------------------------------
   Reveal on scroll (attivo solo se JS lo abilita)
   -------------------------------------------------------------------------- */
.wtac-reveal-on .wtac-reveal {
	opacity: 0;
	translate: 0 24px;
	transition: opacity .7s var(--wtac-ease), translate .7s var(--wtac-ease), transform .35s var(--wtac-ease), box-shadow .35s var(--wtac-ease);
}
.wtac-reveal-on .wtac-reveal.wtac-in {
	opacity: 1;
	translate: 0 0;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
html { scroll-behavior: smooth; }

/* --------------------------------------------------------------------------
   Hero delle pagine interne
   -------------------------------------------------------------------------- */
body .elementor-element.wtac-page-hero {
	background:
		radial-gradient(1000px 600px at 85% 85%, rgba(59, 197, 233, .16), transparent 65%),
		var(--wtac-navy) !important;
	position: relative;
	overflow: hidden;
}
/* Header trasparente sovrapposto: spazio sufficiente sopra il titolo */
@media (max-width: 1024px) {
	body .elementor-element.wtac-page-hero { --padding-top: 200px !important; }
}
@media (max-width: 767px) {
	body .elementor-element.wtac-page-hero { --padding-top: 190px !important; --padding-bottom: 70px !important; }
}
body .wtac-page-hero .hfe-infocard-title {
	letter-spacing: -.01em;
	text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}
body .wtac-page-hero .hfe-infocard-title::after {
	content: "";
	display: block;
	width: 64px;
	height: 4px;
	margin-top: 22px;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--wtac-cyan), var(--wtac-yellow));
}
body .wtac-page-hero .hfe-infocard-text {
	color: rgba(255, 255, 255, .8) !important;
	font-size: 17px;
	line-height: 1.7;
	max-width: 36em;
}

/* --------------------------------------------------------------------------
   Titoli di sezione
   -------------------------------------------------------------------------- */
body .wtac-section-head .hfe-infocard-title {
	letter-spacing: -.01em;
}
body .wtac-section-head .hfe-infocard-title-wrap::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	margin: 18px auto 6px;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--wtac-cyan), var(--wtac-yellow));
}
body .wtac-section-head .hfe-infocard-text {
	max-width: 640px;
	margin-left: auto !important;
	margin-right: auto !important;
	text-align: center;
	line-height: 1.75;
}
body .wtac-heading-accent .elementor-heading-title::after,
body .wtac-heading-accent .hfe-infocard-title-wrap::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	margin: 18px 0 6px;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--wtac-cyan), var(--wtac-yellow));
}
body .wtac-eyebrow {
	align-self: center;
	text-align: center;
}
body .wtac-eyebrow p {
	display: inline-block;
	margin: 0;
	padding: .5em 1.1em;
	border-radius: 999px;
	background: rgba(59, 197, 233, .12);
	color: var(--wtac-cyan-dark);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Card generiche
   -------------------------------------------------------------------------- */
body .elementor-element.wtac-cards-row {
	gap: 28px;
}
body .elementor-element.wtac-card {
	position: relative;
	background: #fff;
	border-radius: var(--wtac-radius);
	padding: 34px 30px 30px !important;
	box-shadow: var(--wtac-shadow);
	border: 1px solid rgba(21, 25, 42, .05);
	overflow: hidden;
	transition: transform .35s var(--wtac-ease), box-shadow .35s var(--wtac-ease);
}
body .elementor-element.wtac-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--wtac-shadow-hover);
}
body .wtac-card--accent .hfe-infocard::before {
	content: "";
	display: block;
	width: 44px;
	height: 4px;
	margin-bottom: 18px;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--wtac-cyan), var(--wtac-cyan-dark));
	transition: width .45s var(--wtac-ease);
}
body .wtac-card--accent:hover .hfe-infocard::before {
	width: 88px;
}
body .wtac-card .hfe-infocard-text {
	line-height: 1.7;
}

/* Card contatti con icona */
body .wtac-contact-card .hfe-icon-wrap {
	margin-bottom: 18px;
}
body .wtac-contact-card .hfe-icon {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50% !important;
	background: linear-gradient(135deg, rgba(59, 197, 233, .16), rgba(59, 197, 233, .06));
	box-shadow: inset 0 0 0 1px rgba(59, 197, 233, .25);
	transition: background .3s, transform .3s var(--wtac-ease);
}
body .wtac-contact-card .hfe-icon svg {
	fill: var(--wtac-cyan-dark) !important;
	width: 24px;
	height: 24px;
	transition: fill .3s;
}
body .wtac-contact-card:hover .hfe-icon {
	background: var(--wtac-cyan);
	transform: scale(1.06);
}
body .wtac-contact-card:hover .hfe-icon svg {
	fill: #fff !important;
}
body .wtac-contact-card .elementor-widget-text-editor a {
	color: var(--wtac-cyan-dark);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px dashed currentColor;
}
body .wtac-contact-card .elementor-widget-text-editor a:hover {
	border-bottom-style: solid;
}

/* Card servizi con immagine (pagina Servizi) */
body .elementor-element.wtac-media-card {
	background: #fff !important;
	border: 1px solid rgba(21, 25, 42, .05) !important;
	border-radius: var(--wtac-radius);
	box-shadow: var(--wtac-shadow);
	overflow: hidden;
	transition: transform .35s var(--wtac-ease), box-shadow .35s var(--wtac-ease);
}
body .elementor-element.wtac-media-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--wtac-shadow-hover);
}
body .elementor-element.wtac-media-card {
	padding: 0 !important;
	justify-content: space-between;
}
body .wtac-media-card > .e-con:first-child {
	padding: 40px 40px 30px !important;
}
body .wtac-media-card .elementor-widget-image {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	overflow: hidden;
}
@media (max-width: 767px) {
	body .wtac-media-card > .e-con:first-child { padding: 24px 22px 26px !important; }
	body .wtac-media-card .elementor-widget-image img { height: 210px !important; }
}
body .wtac-media-card .elementor-widget-image img {
	width: 100% !important;
	max-width: none !important;
	height: 260px !important;
	object-fit: cover;
	transition: transform .7s var(--wtac-ease);
}
body .wtac-media-card:hover .elementor-widget-image img {
	transform: scale(1.05);
}
body .wtac-card-label p {
	display: inline-block;
	margin: 0;
	padding: .4em .95em;
	border-radius: 999px;
	background: rgba(59, 197, 233, .12);
	color: var(--wtac-cyan-dark);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Numeri (Chi siamo)
   -------------------------------------------------------------------------- */
body .wtac-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin: 0 0 60px;
}
body .wtac-stat {
	background: var(--wtac-navy);
	background-image: radial-gradient(260px 160px at 100% 0%, rgba(59, 197, 233, .22), transparent 70%);
	border-radius: var(--wtac-radius);
	padding: 28px 26px;
	color: rgba(255, 255, 255, .78);
	box-shadow: var(--wtac-shadow);
}
body .wtac-stat strong {
	display: block;
	font-family: Montserrat, sans-serif;
	font-size: 40px;
	line-height: 1.1;
	font-weight: 700;
	color: #fff;
	margin-bottom: 8px;
}
body .wtac-stat:nth-child(odd) strong { color: var(--wtac-cyan); }
body .wtac-stat span {
	font-size: 14px;
	line-height: 1.5;
	display: block;
}
body .wtac-rounded-img img {
	border-radius: var(--wtac-radius);
	box-shadow: var(--wtac-shadow);
}
@media (max-width: 1024px) {
	body .wtac-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
	body .wtac-stats { gap: 12px; }
	body .wtac-stat { padding: 20px 18px; }
	body .wtac-stat strong { font-size: 30px; }
}

/* --------------------------------------------------------------------------
   Banner CTA
   -------------------------------------------------------------------------- */
body .wtac-cta-card .hfe-infocard-title {
	letter-spacing: -.01em;
	text-shadow: 0 4px 30px rgba(0, 0, 0, .3);
}
body .wtac-cta-card .hfe-infocard-text {
	color: rgba(255, 255, 255, .88) !important;
}
body .wtac-cta-card .hfe-button-wrapper a,
body .wtac-cta-card .elementor-button {
	border-radius: 999px !important;
	color: var(--wtac-navy-dark) !important;
	font-weight: 600;
	box-shadow: 0 12px 30px -10px rgba(245, 203, 40, .7);
	transition: transform .25s var(--wtac-ease), box-shadow .25s var(--wtac-ease), filter .25s;
}
body .wtac-cta-card .hfe-button-wrapper a:hover,
body .wtac-cta-card .elementor-button:hover {
	transform: translateY(-2px);
	filter: brightness(1.05);
	box-shadow: 0 18px 36px -12px rgba(245, 203, 40, .85);
}

/* --------------------------------------------------------------------------
   Contatti: lista e modulo
   -------------------------------------------------------------------------- */
body .wtac-contact-list .elementor-icon-list-item a {
	transition: color .2s;
}
body .wtac-contact-list .elementor-icon-list-item a:hover .elementor-icon-list-text {
	color: var(--wtac-cyan-dark) !important;
}
body .wtac-contact-list .elementor-icon-list-icon {
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(59, 197, 233, .12);
	margin-right: 8px;
}
body .wtac-contact-list .elementor-icon-list-icon svg {
	fill: var(--wtac-cyan-dark) !important;
	width: 18px !important;
	height: 18px !important;
}
body .elementor-element.wtac-form-card {
	background: #fff;
	border-radius: var(--wtac-radius);
	padding: 40px !important;
	box-shadow: var(--wtac-shadow-hover);
	border: 1px solid rgba(21, 25, 42, .05);
}
body .wtac-form-card input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
body .wtac-form-card textarea,
body .wtac-form-card .srfm-input-common,
body .wtac-form-card .iti input {
	border-radius: var(--wtac-radius-sm) !important;
	transition: border-color .2s, box-shadow .2s;
}
body .wtac-form-card input:focus,
body .wtac-form-card textarea:focus,
body .wtac-form-card .srfm-input-common:focus {
	border-color: var(--wtac-cyan) !important;
	box-shadow: 0 0 0 4px rgba(59, 197, 233, .18) !important;
	outline: none;
}
body .wtac-form-card .srfm-submit-button,
body .wtac-form-card button[type="submit"] {
	border-radius: 999px !important;
	padding: 14px 32px !important;
	font-weight: 600;
	box-shadow: 0 10px 24px -10px rgba(59, 197, 233, .7);
	transition: transform .25s var(--wtac-ease), box-shadow .25s var(--wtac-ease);
}
body .wtac-form-card .srfm-submit-button:hover,
body .wtac-form-card button[type="submit"]:hover {
	transform: translateY(-2px);
}
@media (max-width: 767px) {
	body .elementor-element.wtac-form-card { padding: 26px 20px !important; }
	body .elementor-element.wtac-card { padding: 26px 22px 22px !important; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	body *, body *::before, body *::after { transition: none !important; }
}
