/* FR Italy — rifinitura professionale globale */

:root {
	--fr-red: #AF2121;
	--fr-red-hover: #c62828;
	--fr-navy: #012C40;
	--fr-navy-dark: #0f1628;
	--fr-navy-mid: #1a2744;
	--fr-surface: #eef1f6;
	--fr-card-border: #e8ecf2;
	--fr-text: #1a1a2e;
	--fr-text-muted: #5a6270;
	--fr-font-heading: 'Outfit', 'Montserrat', sans-serif;
	--fr-font-body: 'DM Sans', 'Open Sans', sans-serif;
	--fr-radius: 18px;
	--fr-shadow: 0 8px 32px rgba(20, 35, 60, 0.08);
	--fr-shadow-lg: 0 12px 40px rgba(15, 35, 65, 0.1);
}

body {
	font-family: var(--fr-font-body);
	color: #444;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: var(--fr-font-heading);
	color: var(--fr-text);
}

/* Accento rosso unificato */
hr.center {
	border-top-color: var(--fr-red) !important;
	background: var(--fr-red);
}

.nav-menu > li:hover > a,
.nav-menu > li:focus > a,
.nav-menu > li.active > a {
	color: var(--fr-red) !important;
}

.nav-menu > li:hover > a .submenu-indicator-chevron,
.nav-menu > li:focus-within > a .submenu-indicator-chevron {
	border-color: transparent var(--fr-red) var(--fr-red) transparent !important;
}

.icon-fa:hover {
	background: var(--fr-red) !important;
	border-color: var(--fr-red) !important;
}

.subscribe-footer h6 {
	color: var(--fr-red) !important;
}

.newsletter-box .button {
	background-color: var(--fr-red) !important;
	border-color: var(--fr-red) !important;
}

.newsletter-box .button:hover,
.newsletter-box .button:focus {
	background-color: var(--fr-red-hover) !important;
	border-color: var(--fr-red-hover) !important;
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom:active {
	background-color: var(--fr-red-hover) !important;
	border-color: var(--fr-red-hover) !important;
	box-shadow: 0 4px 14px rgba(175, 33, 33, 0.35);
}

/* Navigazione */
.nav-menu > li > a {
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 600;
	font-size: 0.82rem;
}

.top-nav a,
.location-top a {
	color: #fff !important;
	text-decoration: none;
}

.top-nav a:hover {
	color: rgba(255, 255, 255, 0.85) !important;
}

/* Footer */
.footer .bottom-footer {
	background: var(--fr-navy-dark) !important;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .bottom-footer p,
.footer .bottom-footer a {
	color: rgba(255, 255, 255, 0.75) !important;
	font-size: 13px;
}

.footer .bottom-footer a:hover {
	color: #fff !important;
}

@media (max-width: 767px) {
	.newsletter-box form {
		flex-direction: column;
		gap: 10px;
	}

	.newsletter-box .input,
	.newsletter-box .button {
		width: 100%;
		border-radius: 8px;
	}

	.bottom-footer {
		background: var(--fr-navy-dark) !important;
	}
}

/* Sezioni homepage */
.section-title {
	padding-left: clamp(16px, 8vw, 120px);
	padding-right: clamp(16px, 8vw, 120px);
}

/* Pagine interne — sidebar e contenuto */
.inner-page-body .blog-sidebar {
	border-radius: var(--fr-radius);
	border: 1px solid var(--fr-card-border);
	box-shadow: var(--fr-shadow);
	padding: 0 0 20px;
	overflow: hidden;
}

.inner-page-body .blog-sidebar .sidebar-header {
	background: linear-gradient(135deg, var(--fr-navy-dark), var(--fr-navy-mid));
	padding: 16px 18px;
	margin-bottom: 0;
}

.inner-page-body .blog-sidebar .sidebar-header h6 {
	color: #fff;
	margin: 0;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.inner-page-body .blog-sidebar .inner-categories .list-group-item {
	border: none;
	border-bottom: 1px solid #f0f2f5;
	padding: 12px 16px;
	font-size: 0.92rem;
	transition: background 0.2s, color 0.2s;
}

.inner-page-body .blog-sidebar .inner-categories .list-group-item:hover {
	background: rgba(175, 33, 33, 0.06);
	color: var(--fr-red);
}

.inner-page-body .blog-content h1:first-child,
.inner-page-body .about-content h3:first-child {
	font-size: clamp(1.35rem, 2.5vw, 1.65rem);
	margin-top: 0;
}

.inner-page-body blockquote {
	border-left: 4px solid var(--fr-red);
	background: #fafbfc;
	padding: 16px 20px;
	border-radius: 0 12px 12px 0;
	color: var(--fr-text-muted);
	font-style: italic;
	margin: 24px 0;
}

/* Griglia servizi IT */
.it-service-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 24px;
}

.it-service-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 200px;
	padding: 28px 20px;
	border-radius: 14px;
	border: 1px solid var(--fr-card-border);
	box-shadow: var(--fr-shadow);
	transition: transform 0.2s, box-shadow 0.2s;
}

.it-service-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--fr-shadow-lg);
}

.it-service-card img {
	margin-bottom: 14px;
}

.it-service-card p {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.45;
	font-weight: 600;
}

.it-service-card--orange { background: #e65100; color: #fff; }
.it-service-card--red { background: var(--fr-red); color: #fff; }
.it-service-card--white { background: #fff; color: var(--fr-text-muted); }
.it-service-card--sky { background: #4fc3f7; color: #0d3d52; }
.it-service-card--navy { background: var(--fr-navy-mid); color: #fff; }
.it-service-card--green { background: #2d774a; color: #fff; }

@media (max-width: 991px) {
	.it-service-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 575px) {
	.it-service-grid {
		grid-template-columns: 1fr;
	}
}

/* Metodo GDPR */
.gdpr-method-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 24px;
}

.gdpr-method-card {
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid var(--fr-card-border);
	box-shadow: var(--fr-shadow);
	background: #fff;
	display: flex;
	flex-direction: column;
}

.gdpr-method-step {
	padding: 14px 16px;
	text-align: center;
	font-weight: 700;
	font-size: 0.95rem;
	border-bottom: 1px solid var(--fr-card-border);
	background: #fafbfc;
}

.gdpr-method-band {
	padding: 16px;
	text-align: center;
	font-size: 0.92rem;
	font-weight: 700;
	background: var(--fr-red);
	color: #fff;
	min-height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gdpr-method-body {
	padding: 18px 16px;
	font-size: 0.88rem;
	line-height: 1.55;
	color: var(--fr-text-muted);
	flex: 1;
}

@media (max-width: 767px) {
	.gdpr-method-grid {
		grid-template-columns: 1fr;
	}
}

/* Mobile menu */
@media screen and (max-width: 767px) {
	.navigation {
		background-color: var(--fr-navy-dark) !important;
	}

	.nav-menu > li > a {
		color: rgba(255, 255, 255, 0.9) !important;
	}

	.nav-menu > li:hover > a,
	.nav-menu > li:focus > a {
		color: var(--fr-red) !important;
	}

	.submenu-indicator-chevron {
		border-color: transparent rgba(255, 255, 255, 0.6) rgba(255, 255, 255, 0.6) transparent !important;
	}
}

/* Header parallax fix mobile */
.pages-header {
	background-attachment: scroll !important;
}

/* Social media — pricing cards */
.inner-page-body .pricing-table {
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid var(--fr-card-border);
	box-shadow: var(--fr-shadow);
	height: auto !important;
	min-height: 380px;
	display: flex;
	flex-direction: column;
}

.inner-page-body .pricing-table .table-header,
.inner-page-body .pricing-table .top-table-header {
	background: linear-gradient(135deg, var(--fr-navy-dark), var(--fr-navy-mid)) !important;
}

.inner-page-body .pricing-table .pricing-body {
	flex: 1;
	padding: 22px 20px !important;
}

.inner-page-body .about-front {
	background: #fff;
	border-radius: var(--fr-radius);
	padding: 24px 22px;
	border: 1px solid var(--fr-card-border);
	box-shadow: var(--fr-shadow);
	margin-bottom: 20px;
}

/* CTA servizi */
.servizi-cta {
	background: #fff !important;
	border: 1px solid var(--fr-card-border);
	box-shadow: var(--fr-shadow);
	border-radius: var(--fr-radius) !important;
}

/* Web CTA banner */
.web-cta-banner {
	background: linear-gradient(135deg, var(--fr-navy-dark), var(--fr-navy-mid)) !important;
}
