/*
 * 4UP Consulting — home page.
 * Si appoggia alle classi lx-* di resources/css/front-page.css.
 */

.fu-front { --fu-gap: clamp(2rem, 5vw, 4rem); }

/* Etichetta sopra i titoli -------------------------------------------------- */
.fu-kicker {
	margin: 0 0 1rem;
	font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--fu-teal);
}
.fu-kicker--dark,
.lx-head p.fu-kicker { color: var(--fu-teal-dark); margin: 0 0 1rem; max-width: none; font-size: 0.85rem; line-height: 1.4; }

/* Slider ------------------------------------------------------------------- */
.fu-hero {
	position: relative;
	padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
	background: var(--lx-navy);
	color: #fff;
}
.fu-slide {
	display: grid; gap: var(--fu-gap); align-items: center;
}
.fu-slide[hidden] { display: none; }
@media (min-width: 960px) {
	.fu-slide { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
}
.fu-slide.is-entering { animation: fu-fade 0.5s ease both; }
@keyframes fu-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.fu-hero h1,
.fu-hero .fu-slide__title {
	margin: 0 0 1.25rem;
	font-family: var(--lx-serif);
	font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.12; font-weight: 700;
	color: #fff;
}
.fu-hero__lead { margin: 0; max-width: 36rem; font-size: 1.2rem; line-height: 1.65; color: #C6D3E6; }
.fu-slide__media img {
	display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
	border-radius: 1rem; border: 1px solid rgba(255, 255, 255, 0.12);
}

.fu-btn--light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.fu-btn--light:hover { background: rgba(255, 255, 255, 0.08); }

.fu-hero__controls {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	margin-top: 2rem;
}
.fu-dots { display: flex; gap: 0.25rem; }
.fu-dot {
	width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer;
	display: grid; place-items: center;
}
.fu-dot::before {
	content: ""; display: block; width: 10px; height: 10px; border-radius: 5px;
	background: rgba(255, 255, 255, 0.35); transition: width 0.25s ease, background-color 0.25s ease;
}
.fu-dot.is-active::before { width: 28px; background: var(--fu-teal); }
.fu-arrows { display: flex; gap: 0.5rem; }
.fu-arrow {
	width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
	display: grid; place-items: center;
	background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.35);
}
.fu-arrow:hover { background: rgba(255, 255, 255, 0.08); }
.fu-arrow svg { width: 18px; height: 18px; }
.fu-arrow .fu-icon-play { display: none; }
.fu-arrow.is-paused .fu-icon-play { display: block; }
.fu-arrow.is-paused .fu-icon-pause { display: none; }

/* Servizi ------------------------------------------------------------------ */
.lx-section--light h2 + p, .lx-head p { color: #4A5870; }
.fu-service {
	display: flex; flex-direction: column;
	text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fu-service:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(2, 50, 134, 0.1); }
.fu-service p { color: #4A5870; }
.fu-service h3 {
	font-size: clamp(1.15rem, 1.6vw, 1.3rem);
	overflow-wrap: normal; word-break: normal; hyphens: auto;
}
.fu-service--teal { border-top-color: var(--fu-teal-dark); }
.fu-service--teal .lx-icon { background: var(--fu-teal-soft); color: var(--fu-teal-dark); }
.fu-service--coral .lx-icon { background: var(--fu-coral-soft); color: #0154B0; }
.fu-more { margin-top: auto; padding-top: 1.25rem; font-weight: 700; font-size: 0.95rem; color: var(--fu-teal-dark); }

/* Chi siamo ---------------------------------------------------------------- */
.fu-about { background: #fff; color: var(--lx-light-p); }
.fu-about h2 { color: var(--lx-light-h); }
.fu-about p { color: #4A5870; }
.fu-about__img { display: block; width: 100%; height: auto; border-radius: 1rem; }
.fu-pills { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.fu-pill {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem;
	border-radius: 0.5rem; background: #EEF3F9; color: var(--fu-slate);
	font-weight: 700; font-size: 0.95rem; text-decoration: none;
}
.fu-pill:hover { background: var(--fu-teal-soft); color: var(--fu-teal-dark); }

.fu-link { font-weight: 700; color: var(--fu-teal-dark); text-decoration: none; }
.fu-link:hover { text-decoration: underline; }

/* News --------------------------------------------------------------------- */
.fu-news .lx-post__media { background: var(--fu-teal-soft); }
.fu-tag {
	margin: 0 0 0.5rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
	color: #0154B0;
}
.fu-date { margin: 0.5rem 0 0; font-size: 0.9rem; color: #5F6C82; }

/* Fascia finale ------------------------------------------------------------ */
.fu-cta { text-align: left; }
.fu-cta__inner {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem;
}
.fu-cta__inner > div { flex: 1 1 28rem; }
.fu-cta h2 { margin-bottom: 0.75rem; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.fu-cta p { margin: 0; color: #C6D3E6; font-size: 1.15rem; }

@media (prefers-reduced-motion: reduce) {
	.fu-slide.is-entering { animation: none; }
	.fu-service, .fu-dot::before { transition: none; }
}
