/* ==========================================================================
   AES Site – stili
   Breakpoint: tablet ≤ 1024px, mobile ≤ 767px (come Elementor).
   ========================================================================== */

:root {
	--c-black: #131313;
	--c-text: #272725;
	--c-light: #e4e5ed;
	--c-white: #ffffff;
	--c-muted: #919598;
	--c-white-65: rgba(255, 255, 255, 0.65);
	--c-line-dark: rgba(255, 255, 255, 0.24);
	--f-body: "DM Sans", Arial, Helvetica, sans-serif;
	--f-head: "Ubuntu", Arial, Helvetica, sans-serif;
	--ease: cubic-bezier(0.4, 0, 0.2, 1);
	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
html { font-size: 14px; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body.aes {
	margin: 0;
	background: var(--c-white);
	color: var(--c-black);
	font-family: var(--f-body);
	font-size: 14px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
.aes *, .aes *::before, .aes *::after { box-sizing: border-box; }
:where(.aes) :where(img, svg, video) { max-width: 100%; display: block; }
:where(.aes) img { height: auto; }
:where(.aes) a { color: inherit; text-decoration: none; }
:where(.aes) :where(p, h1, h2, h3, h4, h5, h6, ul) { margin: 0; padding: 0; }
:where(.aes) ul { list-style: none; }
:where(.aes) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.aes :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
html:has(body.aes) { overflow-x: hidden; }
.aes-main { position: relative; display: block; overflow-x: clip; }
.aes-page { position: relative; }

/* ---------- Tipografia (scala del tema, rem = 14px) ---------- */
.t-h1, .t-h1m, .t-h2, .t-h3, .t-h4, .t-h5, .t-h6 { font-family: var(--f-head); font-weight: 400; color: inherit; }
.t-h1  { font-size: 5.61rem;  line-height: 1.1;     letter-spacing: -0.05em; }
.t-h1m { font-size: 7.47rem;  line-height: 1;       letter-spacing: -0.065em; font-weight: 500; }
.t-h2  { font-size: 4.209rem; line-height: 62px;    letter-spacing: -0.04em; }
.t-h3  { font-size: 3.157rem; line-height: 4.157rem; letter-spacing: -0.03em; }
.t-h4  { font-size: 2.369rem; line-height: 1.3;     letter-spacing: -0.02em; }
.t-h5  { font-size: 1.777rem; line-height: 1.4;     letter-spacing: -0.01em; }
.t-h6  { font-size: 1.333rem; line-height: 1.4; }
.t-p   { font-family: var(--f-body); font-size: 14px; line-height: 1.6; }
.t-pl  { font-family: var(--f-body); font-size: 16px; line-height: 1.6; }
.t-ps  { font-family: var(--f-body); font-size: 12px; line-height: 1.6; }

/* ---------- Etichetta con quadratino ---------- */
.aes-label {
	display: flex;
	align-items: center;
	gap: 0;
	font-family: var(--f-body);
	font-size: 14px;
	line-height: 1.6;
	color: var(--c-black);
	text-transform: uppercase;
}
.aes-label__sq { width: 7.5px; height: 7.5px; margin: 0 16.25px 0 1.25px; background: currentColor; flex: none; }
.aes-label--light { color: var(--c-white); }
.aes-label--muted { color: var(--c-muted); text-transform: none; }

/* ---------- Pulsanti ---------- */
.aes-btn {
	position: relative;
	z-index: 0;
	display: inline-flex;
	align-items: center;
	gap: 15px;
	padding: 12px 20px;
	border-radius: 5px;
	font-family: var(--f-body);
	font-size: 14px;
	line-height: 1;
	white-space: nowrap;
	color: var(--c-white);
	align-self: flex-start;
}
.aes-btn::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	background: var(--c-black);
	transform: translate(-50%, -50%);
	transition: width 0.3s var(--ease), height 0.3s var(--ease);
}
.aes-btn:hover::before { width: 95%; height: 95%; }
.aes-btn__icon { display: block; line-height: 0; flex: none; }
.aes-btn__icon svg { width: 1.25em; height: 1.25em; fill: currentColor; }
.aes-btn__text { display: block; position: relative; height: 1em; overflow: hidden; }
.aes-btn__row { display: block; white-space: pre; }
.aes-ch { display: inline-block; transition: transform 0.3s ease; transition-delay: calc(0.02s * var(--c)); }
.aes-btn:hover .aes-ch { transform: translateY(-1em); }

.aes-btn--light { color: var(--c-black); }
.aes-btn--light::before { background: var(--c-white); }
.aes-btn--header { font-size: 12px; padding: 15px 20px; }
.aes-btn--header .aes-btn__icon svg { width: 13px; height: 13px; }
.aes-btn--tile { font-family: var(--f-head); font-size: 1.333rem; padding: 40px 60px; border-radius: 10px; align-self: center; }
.aes-btn--footer, .aes-btn--small { padding: 0; font-size: 16px; }
.aes-btn--footer::before, .aes-btn--small::before { display: none; }
.aes-btn--footer .aes-btn__icon svg { width: 15px; height: 15px; }
.aes-btn--small { font-size: 14px; color: var(--c-text); gap: 10px; }
.aes-btn--small .aes-btn__icon svg { width: 14px; height: 14px; }

/* Rotolamento testo nei link di menu/footer */
.aes-roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; }
.aes-roll > span { display: block; transition: transform 0.5s var(--ease-out); }
.aes-roll > span + span { position: absolute; left: 0; top: 100%; }
a:hover .aes-roll > span { transform: translateY(-100%); }

/* ---------- Header ---------- */
.aes-header {
	position: fixed;
	z-index: 1001;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 20px;
	pointer-events: none;
}
.aes-header > * { pointer-events: auto; }
.admin-bar .aes-header { top: 32px; }
.aes-header__logo img { width: 120px; height: auto; }
.aes-header__right { display: flex; align-items: center; gap: 5px; }
.aes-header__top-only { transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s; }
.aes-header.is-scrolled .aes-header__top-only { opacity: 0; visibility: hidden; transform: translateY(-10px); }
body.aes-menu-open .aes-header .aes-header__top-only { opacity: 1; visibility: visible; transform: none; }

.aes-menu-toggle {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 168px;
	height: 43px;
	padding: 0 15px 0 10px;
	border-radius: 5px;
	background: var(--c-black) !important;
	color: var(--c-white) !important;
	font-size: 14px;
	line-height: 1;
}
.aes-menu-toggle__icon { position: relative; width: 35px; height: 35px; transition: transform 0.4s var(--ease); }
.aes-menu-toggle__icon span { position: absolute; left: 8.5px; top: 17px; width: 18px; height: 1px; background: currentColor; }
.aes-menu-toggle__icon span + span { transform: rotate(90deg); }
body.aes-menu-open .aes-menu-toggle__icon { transform: rotate(45deg); }
.aes-menu-toggle__labels { position: relative; height: 14px; overflow: hidden; text-align: right; }
.aes-menu-toggle__label { display: block; transition: transform 0.4s var(--ease); }
body.aes-menu-open .aes-menu-toggle__label { transform: translateY(-100%); }

/* ---------- Menu a comparsa ---------- */
.aes-menu-overlay {
	position: fixed;
	z-index: 999;
	inset: 0;
	background: rgba(145, 155, 167, 0.7);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.aes-menu {
	position: fixed;
	z-index: 1000;
	top: 0;
	right: 0;
	height: 100vh;
	height: 100dvh;
	width: min(100%, 871px);
	padding: 10px;
	transform: translateX(100%);
	transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
	visibility: hidden;
}
.admin-bar .aes-menu { top: 32px; height: calc(100vh - 32px); }
body.aes-menu-open .aes-menu-overlay { opacity: 1; visibility: visible; }
body.aes-menu-open .aes-menu { transform: none; visibility: visible; }
.aes-menu__card {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
	padding: 40px;
	border-radius: 10px;
	background: var(--c-white);
	overflow-y: auto;
}
.aes-menu__top { display: flex; flex-direction: column; gap: 20px; }
.aes-menu__nav a {
	display: flex;
	align-items: center;
	font-family: var(--f-body);
	font-size: 52px;
	line-height: 66px;
	letter-spacing: -0.03em;
	color: var(--c-text);
}
.aes-menu__sq { width: 0; height: 13px; background: currentColor; transition: width 0.3s var(--ease), margin 0.3s var(--ease); }
.aes-menu__nav .is-current .aes-menu__sq { width: 13px; margin-right: 26px; }
.aes-menu__bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 10px; }
.aes-menu__col { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.aes-menu__col .aes-label { margin-bottom: 15px; }
.aes-menu__legal { display: flex; gap: 30px; margin-top: 25px; }
.aes-menu__legal a, .aes-menu__social a { font-size: 12px; line-height: 1.6; color: var(--c-text); text-transform: uppercase; }
.aes-menu__social { display: flex; flex-direction: column; gap: 5px; }
.aes-menu [data-anim="menu-fade"] { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
body.aes-menu-open .aes-menu [data-anim="menu-fade"] { opacity: 1; transform: none; transition-delay: 0.45s; }
body.aes-menu-open .aes-menu [data-anim="menu-fade"] + [data-anim="menu-fade"] { transition-delay: 0.55s; }

/* ---------- Footer ---------- */
.aes-footer {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
	min-height: 540px;
	padding: 30px;
	background: var(--c-black);
	color: var(--c-white);
}
.aes-footer__main { display: grid; grid-template-columns: repeat(3, 1fr); gap: 100px; padding: 10px; }
.aes-footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 10px; }
.aes-footer__col--brand { justify-content: space-between; }
.aes-footer__logo img { height: 69px; width: auto; }
.aes-footer__address { color: var(--c-white); }
.aes-footer__contacts { display: flex; flex-direction: column; gap: 20px; }
.aes-footer__nav a { display: inline-block; font-size: 26px; line-height: 1.4; letter-spacing: -0.03em; }
.aes-footer__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 20px 20px 10px; border-top: 1px solid var(--c-line-dark); }
.aes-footer__legal { font-size: 12px; line-height: 1.6; color: var(--c-white-65); }
.aes-footer__policies { display: flex; gap: 20px; }
.aes-footer__policies a { font-size: 12px; line-height: 1.6; }

/* ---------- Sezioni comuni ---------- */
.aes-dark { background: var(--c-black); color: var(--c-white); }
.aes-dotgrid { background: var(--c-white) var(--aes-bg, none) center / cover no-repeat; }
.aes-section-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	padding: 0 10px;
	margin: 0 auto 75px;
	text-align: center;
}
.aes-section-head .t-h2 { max-width: 850px; color: var(--c-text); }
.aes-section-head .t-pl { max-width: 430px; }
.aes-section-head--narrow .t-h2 { max-width: 590px; color: inherit; }
.aes-section-head--narrow .t-pl { max-width: 510px; }

.aes-parallax-img { position: relative; overflow: hidden; }
.aes-parallax-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); will-change: transform; }
.aes-parallax-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.aes-parallax-bg img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; will-change: transform; }

/* Testi animati: le parole partono invisibili solo se lo script è attivo */
.aes-js [data-anim="words"] .aes-w, .aes-js [data-anim="lines"] .aes-l { opacity: 0; }
.aes-w, .aes-l { display: inline-block; }
.t-h1m .aes-w { padding-right: 5px; }
.t-h2 .aes-w { padding-right: 2px; }
.t-h3 .aes-w { padding-right: 1px; }
.aes-l { display: block; }

/* ---------- HERO ---------- */
.aes-hero {
	position: relative;
	z-index: 10;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 95vh;
	padding: 10px;
	overflow: hidden;
	color: var(--c-white);
	background: var(--c-black);
}
.aes-hero__bg { position: absolute; inset: 0; }
.aes-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.aes-hero__bg::after { content: ""; position: absolute; inset: 0; background: #000; opacity: 0.59; }
.aes-hero__content { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 10px 10px 30px; }
.aes-hero__title { max-width: 960px; margin-bottom: 20px; }

/* ---------- CHI SIAMO ---------- */
.aes-about { position: relative; z-index: 10; padding: 60px 0; }
.aes-about--overlap { z-index: 100; }
.aes-about--overlap .aes-about__side { width: 440px; }
.aes-about--overlap .aes-about__main { max-width: calc(100% - 460px); }
.aes-about--overlap .aes-about__img { height: 540px; margin-bottom: -230px; position: relative; z-index: 2; }
.aes-about__row { display: flex; justify-content: space-between; align-items: stretch; gap: 20px; padding: 10px; }
.aes-about__side { width: 355px; flex: none; align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 10px; min-height: 588px; }
.aes-about__img { width: 100%; height: 355px; }
.aes-about__main { width: 930px; max-width: calc(100% - 375px); display: flex; flex-direction: column; gap: 20px; }
.aes-about__main .t-h2 { color: var(--c-text); padding-bottom: 6px; }
.aes-about__body { flex: 1; width: 480px; max-width: 100%; margin-left: 225px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--c-text); }
.aes-about__body .t-pl { margin-bottom: 44px; }

/* ---------- FORZA + NUMERI ---------- */
.aes-strength { position: relative; z-index: 99; display: flex; flex-direction: column; gap: 20px; }
.aes-strength__statement { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 10px; }
.aes-strength__text { max-width: 1000px; text-align: center; color: var(--c-light); }
.aes-counters { display: flex; justify-content: space-between; align-items: flex-end; padding: 20px; }
.aes-counter { display: flex; flex-direction: column; gap: 0; }
.aes-counter--right { align-self: flex-end; }
.aes-counter__num { display: flex; align-items: flex-start; font-family: var(--f-body); font-size: 100px; line-height: 100px; letter-spacing: -6px; color: var(--c-white); }
.aes-counter__value { display: inline-flex; overflow: hidden; height: 100px; }
.aes-counter__suffix { font-size: 30px; line-height: 1; letter-spacing: 0; margin-left: 6px; top: 0; }
.aes-counter__label { font-size: 14px; line-height: 1.6; color: var(--c-white); margin-top: 0; }
.aes-odo { display: inline-block; height: 1em; overflow: hidden; text-align: center; letter-spacing: 0; margin-right: -0.06em; }
.aes-odo__col { display: block; }
.aes-odo__col > span { display: block; height: 1em; }
.aes-strength__images { position: relative; z-index: 2; display: flex; gap: 20px; padding: 10px; margin-bottom: -150px; }
.aes-strength__images .aes-parallax-img { flex: 1; aspect-ratio: 700 / 467; }

/* ---------- AREE DI COMPETENZA ---------- */
.aes-areas { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 180vh; margin-top: 150px; }
.aes-areas__lottie { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; }
.aes-areas__lottie canvas { width: 100% !important; height: 100% !important; display: block; }
.aes-areas__title { position: relative; z-index: 10; display: flex; align-items: center; justify-content: center; width: 90%; min-height: 70vh; padding: 10px; }
.aes-areas__title .t-h1m { text-align: center; color: var(--c-black); padding-bottom: 6px; }
.aes-areas__intro { position: relative; z-index: 10; display: flex; flex-direction: column; justify-content: space-between; width: 90%; min-height: 74vh; padding: 10px; color: var(--c-black); }
.aes-areas__claim { max-width: 395px; }
.aes-areas__desc { max-width: 435px; align-self: flex-end; }

.aes-area-cards { position: relative; z-index: 2; display: flex; justify-content: center; gap: 20px; padding: 10px; margin-top: 35px; }
.aes-area-card { position: relative; flex: 1 1 0; min-width: 0; min-height: 620px; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; border-radius: 16px; overflow: hidden; background: var(--c-black); color: var(--c-white); isolation: isolate; -webkit-mask-image: -webkit-radial-gradient(white, black); }
.aes-area-card--center { z-index: 3; }
.aes-area-card__img { position: absolute; inset: 0; z-index: 0; }
.aes-area-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.aes-area-card:hover .aes-area-card__img img { transform: scale(1.05); }
.aes-area-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(19, 19, 19, 0) 30%, rgba(19, 19, 19, 0.55) 58%, rgba(19, 19, 19, 0.92) 100%); }
.aes-area-card__body { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 14px; }
.aes-area-card__kicker { color: rgba(255, 255, 255, 0.7); }
.aes-area-card__body > .t-p { color: rgba(255, 255, 255, 0.85); max-width: 420px; }
.aes-area-card__body .aes-btn { margin-top: 10px; }

/* ---------- IL METODO AES ---------- */
.aes-method { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 100vh; padding: 200px 0 100px; }
.aes-method .aes-section-head { margin-bottom: 0; width: 720px; max-width: 100%; }
.aes-method__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: 100%; padding: 10px; margin: 147px 0 75px; }
.aes-method__card { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 28px; border-radius: 5px; background: var(--c-light); color: var(--c-black); }
.aes-method__icon svg { width: 71px; height: 71px; fill: #000; }
.aes-method__title { font-weight: 500; color: var(--c-text); padding-top: 50px; }

/* ---------- PARALLASSE ---------- */
.aes-parallax-band { position: relative; min-height: 100vh; overflow: hidden; }

/* ---------- CASE STUDY ---------- */
.aes-cases { position: relative; min-height: 100vh; padding-top: 200px; background: var(--c-light); }
.aes-cases .aes-section-head .t-pl { color: var(--c-black); }
.aes-carousel__nav { display: flex; justify-content: center; gap: 10px; margin: 20px 0; }
.aes-carousel__btn { display: flex; align-items: center; justify-content: center; width: 47px; height: 47px; border: 1px solid var(--c-black) !important; color: var(--c-black); transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.aes-carousel__btn svg { width: 18px; height: 18px; fill: currentColor; }
.aes-carousel__btn:hover { background: var(--c-black); color: var(--c-white); }
.aes-carousel__btn[disabled] { opacity: 0.3; pointer-events: none; }
.aes-carousel__viewport { overflow: hidden; padding: 10px; margin-bottom: 150px; cursor: grab; touch-action: pan-y; }
.aes-carousel__viewport.is-dragging { cursor: grabbing; }
.aes-carousel__track { display: flex; gap: 20px; will-change: transform; }
.aes-case { flex: none; width: 1100px; display: flex; gap: 30px; padding: 20px; border-radius: 10px; background: var(--c-white); user-select: none; }
.aes-case__img { flex: 1; display: flex; align-items: center; padding: 10px; }
.aes-case__img img { width: 100%; aspect-ratio: 1; object-fit: cover; pointer-events: none; }
.aes-case__body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 438px; padding: 10px; }
.aes-case__text { display: flex; flex-direction: column; gap: 20px; }
.aes-case__text .t-h4 { color: var(--c-text); font-weight: 400; }
.aes-case__text .t-p { padding-right: 10px; }

/* Accordion */
.aes-acc { margin-top: 50px; }
.aes-acc__item { padding: 10px 10px 0; }
.aes-acc__title { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 0 0 10px; border-bottom: 1px solid var(--c-text); cursor: pointer; list-style: none; color: var(--c-text); }
.aes-acc__title::-webkit-details-marker { display: none; }
.aes-acc__toggle { position: relative; width: 25px; height: 25px; flex: none; }
.aes-acc__toggle::before, .aes-acc__toggle::after { content: ""; position: absolute; left: 3.5px; top: 11.5px; width: 18px; height: 2px; background: var(--c-text); transition: transform 0.4s var(--ease); }
.aes-acc__toggle::after { transform: rotate(90deg); }
.aes-acc__item[open] .aes-acc__toggle::after { transform: rotate(0deg); }
.aes-acc__body { overflow: hidden; }
.aes-acc__inner { padding: 22px 0 20px; color: var(--c-black); }
.aes-acc__inner ul { list-style: disc; padding-left: 16px; }
.aes-acc__inner p { font-size: 16px; line-height: 1.6; }
.aes-acc__inner p + p { margin-top: 25px; }

/* ---------- CTA CONTATTI ---------- */
.aes-contact-cta { position: relative; padding-top: 200px; }
.aes-cta-row { display: flex; justify-content: center; gap: 20px; padding: 40px 10px 10px; }
.aes-cta {
	position: relative;
	z-index: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 560px;
	height: 337px;
	padding: 25px;
	border-radius: 5px;
	color: var(--c-text);
}
.aes-cta { color: var(--c-white); overflow: hidden; border-radius: 16px; isolation: isolate; height: 400px; padding: 30px; }
.aes-cta__img { position: absolute; inset: 0; z-index: 0; }
.aes-cta__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.aes-cta:hover .aes-cta__img img { transform: scale(1.05); }
.aes-cta::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(19, 19, 19, 0.55) 0%, rgba(19, 19, 19, 0.1) 40%, rgba(19, 19, 19, 0.85) 100%); }
.aes-cta .t-h5 { position: relative; z-index: 2; }
.aes-cta .t-p { max-width: 380px; color: rgba(255, 255, 255, 0.85); position: relative; z-index: 2; }
.aes-cta__icon { position: absolute; right: 30px; bottom: 30px; display: flex; align-items: center; justify-content: center; width: 64px; height: 42px; border-radius: 5px; background: var(--c-white); }
.aes-cta__icon svg { width: 14px; height: 14px; fill: var(--c-text); transition: transform 0.4s var(--ease); }
.aes-cta:hover .aes-cta__icon svg { transform: translateX(4px); }

/* ---------- CLIENTI ---------- */
.aes-clients { position: relative; padding: 10px; background: var(--c-white); }
.aes-clients__inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; min-height: 500px; padding: 0 10px; text-align: center; }
.aes-clients__title { max-width: 865px; color: var(--c-text); padding-bottom: 50px; }
.aes-marquee { width: 960px; max-width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.aes-marquee__track { display: flex; align-items: center; width: max-content; will-change: transform; }
.aes-marquee__item { width: 170px; height: 64px; margin-right: 70px; flex: none; display: flex; align-items: center; justify-content: center; }
.aes-marquee__item img { width: 100%; height: 100%; max-width: none; object-fit: contain; }

/* ---------- AZIENDA / FAQ ---------- */
.aes-tiles { position: relative; display: flex; gap: 20px; padding: 20px; }
.aes-tile { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; min-height: 540px; border-radius: 10px; overflow: hidden; }
.aes-tile .aes-btn { z-index: 1; }

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 1024px) {
	/* Scala tipografica tablet del tema */
	.aes-about__main .t-h2, .aes-strength .aes-strength__text { font-size: 2.369rem; line-height: 1.3; letter-spacing: -0.02em; }
	.t-h1m, .aes-areas__claim { font-size: 4.209rem; line-height: 62px; letter-spacing: -0.04em; font-weight: 400; }
	.aes-areas__claim { max-width: 385px; }
	.aes-about__main { width: 590px; }
	.aes-about__body { margin-left: 55px; }
	/* Nell'originale le 4 card su tablet si schiacciano: qui vanno su 2 colonne */
	.aes-method__grid { grid-template-columns: repeat(2, 1fr); }
	.aes-case { width: 710px; }
	.aes-about__side { min-height: 492px; }
}

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 767px) {
	/* Scala tipografica mobile del tema */
	.t-h1, .t-h1m { font-size: 3.157rem; line-height: 4.157rem; letter-spacing: -0.03em; font-weight: 400; }
	.t-h1m { letter-spacing: -0.065em; }
	.aes-counter__num { font-size: 65px; line-height: 65px; letter-spacing: -4px; }
	.aes-counter__value { height: 65px; }
	.t-h2 { font-size: 2.369rem; line-height: 1.3; letter-spacing: -0.02em; }
	.aes-about__main .t-h2, .aes-strength .aes-strength__text { font-size: 1.777rem; line-height: 1.4; letter-spacing: -0.01em; }
	.aes-method .t-h2 { font-size: 3.157rem; line-height: 4.157rem; letter-spacing: -0.03em; }
	.aes-case__text .t-h4 { font-size: 1.777rem; line-height: 1.4; letter-spacing: -0.01em; }

	.aes-header { padding: 20px; }
	.aes-header__logo { margin: 10px; }
	.aes-header__logo img { width: 108px; }
	.aes-header__call { display: none; }
	.aes-menu-toggle { width: 128px; }
	.aes-menu__card { padding: 25px; }
	.aes-menu__nav a { font-size: 36px; line-height: 46px; }
	.aes-menu__bottom { grid-template-columns: 1fr; gap: 25px; }

	.aes-about__row { flex-direction: column; }
	.aes-about__side, .aes-about__main { width: 100%; max-width: none; min-height: 0; }
	.aes-about__body { margin-left: 0; width: 100%; }
	.aes-counters { flex-direction: column; align-items: flex-start; gap: 30px; }
	.aes-strength__images { flex-direction: column; }
	.aes-areas__title, .aes-areas__intro { width: 100%; }
	.aes-areas__claim { max-width: 100%; }
	.aes-area-cards { flex-direction: column; }
	.aes-area-card { flex: none; width: auto; }
	.t-h3, .aes-areas__claim { font-size: 3.157rem; line-height: 4.157rem; letter-spacing: -0.03em; }
	.aes-method .aes-section-head { padding: 0; }
	.aes-method .aes-section-head .t-pl { max-width: none; }
	.aes-method__grid { grid-template-columns: 1fr; }
	.aes-case { width: calc(100vw - 40px); flex-direction: column; gap: 10px; padding: 20px; }
	.aes-case__body { min-height: 0; }
	.aes-cta-row { flex-direction: column; align-items: stretch; }
	.aes-cta { width: 100%; }
	.aes-tiles { flex-direction: column; }
	.aes-footer__main { grid-template-columns: 1fr; gap: 40px; }
	.aes-footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	.aes *, .aes *::before, .aes *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
