/* ==========================================================================
   BS Company — stili condivisi (index.html + contatti.html)
   ========================================================================== */

:root {
	--color-navy-dark: #002240;
	--color-navy: #002443;
	--color-navy-text: #003c71;
	--color-black: #0a0a0a;
	--color-blue-tint: rgba(0, 125, 235, 0.07);
	--color-blue-tint-light: rgba(0, 125, 235, 0.06);
	--color-border-navy: rgba(0, 34, 64, 0.1);
	--color-orange: #ff6900;
	--color-footer-bar: #001222;
	--color-input-border: #474747;
	--color-input-text: #2a2a2a;
	--color-label: #0c0c0c;
	--max-width: 1338px;
	--max-width-narrow: 1140px;
	--gutter: clamp(24px, 8vw, 140px);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: 'Nunito Sans', sans-serif;
	color: var(--color-black);
	background: #fff;
	line-height: 1.5;
}

img {
	max-width: 100%;
	display: block;
}

/* colonna di contenuto: 1338px centrati come nel breakpoint 1920 di Figma */
.container {
	max-width: calc(var(--max-width) + 2 * var(--gutter));
	margin: 0 auto;
	padding: 0 var(--gutter);
}

/* colonna di contenuto stretta usata dalla pagina Contatti (1140px da Figma) */
.container.narrow {
	max-width: calc(var(--max-width-narrow) + 2 * var(--gutter));
}

a {
	text-decoration: none;
	color: inherit;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- HERO / NAV ---------- */
.hero {
	position: relative;
	overflow: hidden;
	background-color: #070517;
	color: #fff;
	padding-bottom: 220px;
}

.hero .blob {
	position: absolute;
	filter: blur(198px);
	pointer-events: none;
}

.hero .blob-1 {
	width: 1217px;
	height: 434px;
	left: 988px;
	top: 412px;
	background: #1300bf;
	transform: rotate(-22.51deg);
}

.hero .blob-2 {
	width: 663px;
	height: 373px;
	left: 152px;
	top: 794px;
	background: #1300bf;
	transform: rotate(-22.51deg);
}

.hero .blob-3 {
	width: 1023px;
	height: 581px;
	left: -369px;
	top: 651px;
	background: rgba(255, 105, 0, 0.67);
	filter: blur(213px);
	transform: rotate(17.07deg);
}

.hero-nav {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: none;
	margin: 0;
	padding: 32px clamp(20px, 2.5vw, 56px) 0;
}

.hero-nav .brand {
	position: absolute;
	left: 50%;
	top: 32px;
	transform: translateX(-50%);
	font-style: italic;
	font-weight: 600;
	font-size: 18px;
	white-space: nowrap;
}

.hero-nav img.logo {
	height: 33px;
	width: auto;
	aspect-ratio: 37.2065 / 32.5868;
}

.menu-toggle {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	line-height: 0;
}

.menu-toggle img {
	width: 32px;
	height: 32px;
}

/* menu a tendina aperto dall'hamburger */
.site-menu {
	position: absolute;
	right: clamp(20px, 2.5vw, 56px);
	top: calc(100% + 12px);
	min-width: 200px;
	display: flex;
	flex-direction: column;
	background: rgba(7, 5, 23, 0.96);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 8px;
	padding: 8px;
	box-shadow: 0 18px 56px rgba(0, 0, 0, 0.35);
}

.site-menu[hidden] {
	display: none;
}

.site-menu a {
	padding: 10px 16px;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
}

.site-menu a:hover {
	background: rgba(255, 255, 255, 0.12);
}

.hero-content {
	position: relative;
	z-index: 1;
	max-width: calc(var(--max-width) + 2 * var(--gutter));
	margin: 96px auto 0;
	padding: 0 var(--gutter);
}

.hero-content h1,
.hero-content p {
	max-width: 1034px;
}

.hero-content h1 {
	font-size: clamp(36px, 5vw, 72px);
	font-weight: 400;
	line-height: 1.19;
	margin: 0 0 32px;
}

.hero-content h1 strong {
	font-weight: 700;
}

.hero-content p {
	font-size: clamp(16px, 2vw, 22px);
	font-weight: 500;
	line-height: 1.44;
	margin: 0;
}

/* hero compatto delle pagine interne (Contatti) */
.hero.hero-page {
	padding-bottom: 0;
	min-height: 459px;
	display: flex;
	flex-direction: column;
}

.hero.hero-page .hero-content {
	margin-top: auto;
	margin-bottom: 64px;
}

.hero.hero-page .hero-content h1 {
	font-weight: 700;
	margin: 0;
}

/* ---------- CHI SIAMO ---------- */
.chi-siamo {
	background: var(--color-blue-tint);
	padding: 96px 0;
}

.chi-siamo .grid {
	display: grid;
	grid-template-columns: minmax(280px, 630px) 1fr;
	gap: 48px;
}

.chi-siamo h2 {
	color: var(--color-navy);
	font-size: 40px;
	font-weight: 700;
	line-height: 1.15;
	margin: 0;
	max-width: 425px;
}

.chi-siamo .body p {
	font-size: 18px;
	line-height: 1.446;
	margin: 0 0 16px;
}

.chi-siamo .body p:last-child {
	margin-bottom: 0;
}

/* ---------- SECTORS ---------- */
.sectors {
	padding: 96px 0;
	text-align: center;
}

.sectors h2 {
	color: var(--color-navy);
	font-size: 40px;
	font-weight: 700;
	margin: 0 0 48px;
}

.sector-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.sector-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	padding: 32px;
	border-radius: 7px;
}

.sector-card img {
	width: 56px;
	height: 56px;
}

.sector-card h3 {
	color: var(--color-navy-dark);
	font-size: 24px;
	font-weight: 700;
	margin: 0;
	line-height: 1.15;
}

.sector-card p {
	font-size: 16px;
	color: rgba(10, 10, 10, 0.8);
	margin: 0;
}

/* ---------- PRODUCT (jQRM6) ---------- */
.product {
	position: relative;
	background: var(--color-blue-tint);
	overflow: hidden;
	padding: 96px 0;
}

.product .diamond {
	position: absolute;
	left: -20vw;
	top: -4%;
	width: 42vw;
	aspect-ratio: 1;
	pointer-events: none;
	overflow: visible;
}

.product .diamond img {
	width: 100%;
	height: 100%;
	display: block;
	transform: rotate(45deg);
}

.product .grid {
	display: grid;
	grid-template-columns: minmax(280px, 828px) 1fr;
	gap: 48px;
	align-items: center;
	position: relative;
	z-index: 1;
}

.product h2 {
	color: var(--color-navy);
	font-size: 40px;
	font-weight: 700;
	margin: 0 0 24px;
	line-height: 1.15;
}

.product p {
	font-size: 16px;
	margin: 0 0 12px;
}

.product .btn {
	display: inline-flex;
	margin-top: 8px;
}

.product-mockups {
	position: relative;
	display: none;
	width: 230px;
	height: 398px;
	margin-left: auto;
}

.floating-icon {
	position: absolute;
	width: 72px;
	height: 72px;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08), 0 10px 18px rgba(0, 0, 0, 0.08), 0 18px 56px rgba(0, 0, 0, 0.08);
}

.floating-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fi-1 {
	left: 68.5%;
	top: 0%;
}

.fi-2 {
	left: 24.07%;
	top: 15.51%;
}

.fi-3 {
	left: 0%;
	top: 41.53%;
}

.fi-4 {
	left: 24.07%;
	top: 65.79%;
}

.fi-5 {
	left: 68.5%;
	top: 81.81%;
}

@media (min-width: 1100px) {
	.product-mockups {
		display: block;
	}
}

/* ---------- BUTTONS ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 8px 16px;
	border-radius: 6px;
	font-family: inherit;
	font-weight: 600;
	font-size: 16px;
	border: none;
	cursor: pointer;
}

.btn-primary {
	background: var(--color-navy-text);
	color: #fff;
}

.btn-outline {
	background: transparent;
	border: 1.5px solid var(--color-navy-text);
	color: var(--color-navy-text);
}

.btn-ghost {
	background: rgba(255, 255, 255, 0.3);
	color: #fff;
}

/* ---------- SERVICES ---------- */
.services {
	padding: 96px 0;
	text-align: center;
}

.services h2 {
	color: var(--color-navy);
	font-size: 40px;
	font-weight: 700;
	margin: 0 0 16px;
}

.services>.container>p {
	max-width: 900px;
	margin: 0 auto 48px;
	font-size: 16px;
}

.service-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px 80px;
	text-align: left;
}

.service-item {
	background: var(--color-blue-tint-light);
	border: 1px solid var(--color-border-navy);
	border-radius: 7px;
	padding: 24px 32px;
	font-weight: 600;
	font-size: 18px;
	color: var(--color-navy-dark);
	white-space: nowrap;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.service-item:hover {
	background: rgba(0, 125, 235, 0.2);
	border-color: rgba(0, 125, 235, 0.4);
}

/* ---------- OPEN SOURCE TECH ---------- */
.tech {
	background: var(--color-blue-tint);
	padding: 96px 0;
}

.tech h2 {
	color: var(--color-navy);
	font-size: 40px;
	font-weight: 700;
	margin: 0 0 8px;
}

.tech>.container>p {
	max-width: 767px;
	margin: 0 0 48px;
	font-size: 16px;
}

.tech-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px 80px;
}

.tech-item h3 {
	color: var(--color-navy-dark);
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
	margin: 0 0 8px;
}

.tech-item .desc {
	font-style: italic;
	color: rgba(0, 34, 64, 0.8);
	font-size: 16px;
	margin: 0 0 16px;
}

.tech-item .stack {
	font-size: 18px;
	margin: 0;
}

/* ---------- PARTNERSHIP ---------- */
.partners {
	padding: 96px 0;
}

.partners-tabs {
	display: flex;
	justify-content: center;
	margin-bottom: 48px;
}

.partners-tabs .tabs-inner {
	display: flex;
	border: 1px solid var(--color-border-navy);
	border-radius: 66px;
	box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
	overflow: hidden;
}

.partners-tabs button {
	background: #fff;
	border: none;
	font-family: inherit;
	font-size: clamp(18px, 2vw, 32px);
	padding: 16px 32px;
	cursor: pointer;
	color: var(--color-navy);
}

.partners-tabs button.active {
	font-weight: 700;
}

.partners-tabs .tabs-divider {
	width: 1px;
	background: var(--color-border-navy);
	margin: 8px 0;
}

.partners>.container>p {
	text-align: center;
	max-width: 900px;
	margin: 0 auto 48px;
	font-size: 16px;
}

.partner-logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 32px;
}

.partner-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding: 32px 12px;
	flex: 1 1 150px;
}

.logo-box {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	width: 140px;
}

.logo-box img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.partner-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 105, 0, 0.1);
	border: 1px solid var(--color-orange);
	border-radius: 41px;
	padding: 4px 12px;
	font-size: 14px;
	font-weight: 500;
	color: var(--color-orange);
}

.partner-card .partner-badge {
	white-space: nowrap;
}

.partner-badge img {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.membership-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 16px;
	padding: 32px 12px;
	flex: 1 1 150px;
}

.membership-card h4 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: var(--color-navy);
}

/* ---------- TAB VERTICALI (progetti europei / sedi) ---------- */
.vtabs {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 0 24px;
	align-items: start;
}

.vtab-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-top: 8px;
}

.vtab {
	display: flex;
	align-items: center;
	gap: 8px;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	font-family: inherit;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.08;
	color: rgba(0, 34, 64, 0.8);
	text-align: left;
}

.vtab .vtab-arrow {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	visibility: hidden;
}

.vtab[aria-selected="true"] {
	font-weight: 700;
	font-style: italic;
	color: var(--color-navy-dark);
}

.vtab[aria-selected="true"] .vtab-arrow {
	visibility: visible;
}

.vtab-panel {
	display: none;
}

.vtab-panel.is-active {
	display: block;
}

/* ---------- PROGETTI EUROPEI ---------- */
.eu-projects {
	background: var(--color-blue-tint);
	padding: 72px 0;
}

.eu-projects h2 {
	color: var(--color-navy);
	font-size: 40px;
	font-weight: 700;
	line-height: 1.08;
	text-align: center;
	margin: 0 0 48px;
}

.eu-projects .vtab-panel {
	padding: 16px;
	border-radius: 7px;
}

.eu-code {
	font-style: italic;
	font-size: 14px;
	color: rgba(0, 34, 64, 0.7);
	margin: 0 0 8px;
}

.eu-title {
	font-size: 16px;
	color: rgba(10, 10, 10, 0.8);
	margin: 0 0 24px;
}

.eu-goal h3 {
	font-size: 16px;
	font-weight: 700;
	color: rgba(10, 10, 10, 0.8);
	margin: 0 0 8px;
}

.eu-goal p {
	font-size: 16px;
	color: rgba(10, 10, 10, 0.8);
	margin: 0;
}

.eu-logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 21px;
	padding: 28px 0 12px;
}

.eu-logos img {
	height: 44px;
	width: auto;
	object-fit: contain;
}

/* ---------- DIFFERENTIATORS ---------- */
.diff {
	padding: 96px 0;
}

.diff .grid {
	display: grid;
	grid-template-columns: minmax(280px, 665px) 1fr;
	gap: 48px;
}

.diff h2 {
	color: var(--color-navy);
	font-size: 40px;
	font-weight: 700;
	margin: 0 0 32px;
}

.diff .lead p {
	font-size: 20px;
	margin: 0 0 32px;
}

.diff-card {
	background: var(--color-blue-tint-light);
	border-radius: 7px;
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-bottom: 40px;
}

.diff-card:last-child {
	margin-bottom: 0;
}

.diff-card .heading {
	display: flex;
	align-items: center;
	gap: 24px;
}

.diff-card .heading img {
	width: 32px;
	height: 32px;
}

.diff-card h3 {
	font-size: 24px;
	font-weight: 700;
	color: var(--color-navy-dark);
	margin: 0;
}

.diff-card p {
	font-size: 16px;
	color: rgba(10, 10, 10, 0.8);
	margin: 0;
}

/* ---------- CTA ---------- */
.cta {
	position: relative;
	padding: 140px 0;
	color: #fff;
	overflow: hidden;
	background: #ededed;
}

.cta .bg-image {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	filter: blur(6px) brightness(0.5);
	transform: scale(1.05);
}

.cta .container {
	position: relative;
	z-index: 1;
}

.cta h2 {
	font-weight: 400;
	font-size: clamp(28px, 4vw, 48px);
	line-height: 1.19;
	max-width: 630px;
	margin: 0 0 32px;
}

/* ---------- CONTATTI: form ---------- */
.contact-form-section {
	padding: 84px 0 96px;
}

.contact-form-section h2 {
	color: var(--color-navy);
	font-size: 40px;
	font-weight: 700;
	margin: 0 0 8px;
}

.contact-form-section .intro {
	font-size: 16px;
	margin: 0 0 40px;
	max-width: 960px;
}

.contact-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px 53px;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.field.full {
	grid-column: 1 / -1;
}

.field label {
	font-family: 'Inter', 'Nunito Sans', sans-serif;
	font-size: 16px;
	font-weight: 500;
	color: var(--color-label);
}

.field label em {
	font-style: italic;
}

.field input,
.field textarea {
	font-family: 'Inter', 'Nunito Sans', sans-serif;
	font-size: 18px;
	color: var(--color-input-text);
	background: rgba(255, 255, 255, 0.8);
	border: 0.5px solid var(--color-input-border);
	border-radius: 6px;
	padding: 8px 12px;
	width: 100%;
}

.field textarea {
	min-height: 76px;
	resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
	color: var(--color-input-text);
}

.field input:focus,
.field textarea:focus {
	outline: 2px solid var(--color-navy-text);
	outline-offset: 1px;
}

.form-actions {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}

.form-feedback {
	font-family: 'Inter', 'Nunito Sans', sans-serif;
	font-size: 18px;
	color: var(--color-input-text);
	margin: 0;
}

.form-feedback[hidden] {
	display: none;
}

/* ---------- CONTATTI: recapiti + sedi ---------- */
.recapiti {
	position: relative;
	overflow: hidden;
	padding: 79px 0 120px;
	background: var(--color-blue-tint);
}

/* alone sfocate azzurre riprese dal BG di Figma */
.recapiti .recapiti-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(60% 55% at 8% 22%, rgba(0, 60, 113, 0.16) 0%, rgba(0, 60, 113, 0) 100%),
		radial-gradient(55% 60% at 2% 88%, rgba(0, 60, 113, 0.14) 0%, rgba(0, 60, 113, 0) 100%),
		radial-gradient(45% 60% at 95% 45%, rgba(0, 125, 235, 0.10) 0%, rgba(0, 125, 235, 0) 100%);
}

.recapiti .container {
	position: relative;
	z-index: 1;
}

.recapiti h2 {
	color: var(--color-navy);
	font-size: 40px;
	font-weight: 700;
	margin: 0 0 32px;
}

.recapiti-list {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-bottom: 96px;
}

.recapito {
	display: flex;
	align-items: center;
	gap: 18px;
	border: 1px solid var(--color-border-navy);
	background: rgba(255, 255, 255, 0.06);
	border-radius: 7px;
	padding: 24px 32px;
	font-size: 18px;
	font-weight: 600;
	color: var(--color-navy-dark);
	min-height: 72px;
}

.recapito span {
	flex: 1;
}

.recapito img {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.recapiti-social {
	display: flex;
	gap: 15px;
}

.recapito.social {
	padding: 16px;
	justify-content: center;
}

.recapito.social img {
	width: 40px;
	height: 40px;
}

.sedi .vtabs {
	grid-template-columns: 370px 1fr;
	gap: 0 110px;
}

.sedi .vtab-list {
	padding-top: 74px;
}

.sede-country {
	display: none;
}

.sede-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 74px 0 12px;
}

.sede {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.sede img {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	margin-top: 2px;
}

.sede-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 18px;
	line-height: 1.446;
}

.sede-body strong {
	font-weight: 700;
}

/* ---------- FOOTER ---------- */
.site-footer {
	color: rgba(255, 255, 255, 0.8);
}

.footer-main {
	background: linear-gradient(151deg, #002240 15%, #000f1c 60%, #002240 89%);
	padding: 28px 0;
}

.footer-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.footer-logo {
	height: 67px;
	width: auto;
}

.footer-nav {
	display: flex;
	gap: 40px;
	flex-wrap: wrap;
	font-size: 15px;
}

.footer-nav a:hover {
	color: #fff;
}

.footer-bar {
	background: var(--color-footer-bar);
	padding: 21px 0 24px;
	font-size: 14px;
	line-height: 1.08;
}

.footer-bar-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 40px;
}

.footer-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
}

.footer-policy {
	display: flex;
	align-items: center;
	gap: 12px;
}

.footer-policy a:hover {
	color: #fff;
}

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

@media (max-width: 1100px) {
	.sedi .vtabs {
		grid-template-columns: 240px 1fr;
		gap: 0 48px;
	}
}

@media (max-width: 900px) {

	.chi-siamo .grid,
	.product .grid,
	.diff .grid {
		grid-template-columns: 1fr;
	}

	.sector-cards,
	.tech-grid {
		grid-template-columns: 1fr;
	}

	.service-list {
		grid-template-columns: 1fr 1fr;
	}

	.contact-form {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

/* ---------- MOBILE (<= 700px) ---------- */
@media (max-width: 700px) {
	:root {
		--gutter: 24px;
	}

	/* nav + hero */
	.hero {
		padding-bottom: 120px;
	}

	.hero-nav {
		padding: 24px var(--gutter) 0;
	}

	.hero-nav .brand {
		display: none;
	}

	.site-menu {
		right: var(--gutter);
		left: var(--gutter);
	}

	.hero-content {
		margin: 64px auto 0;
	}

	.hero-content h1 {
		font-size: 32px;
		line-height: 1.19;
		margin-bottom: 24px;
	}

	.hero-content p {
		font-size: 16px;
	}

	.hero.hero-page {
		min-height: 273px;
		padding-bottom: 0;
	}

	.hero.hero-page .hero-content {
		margin-bottom: 32px;
	}

	.hero.hero-page .hero-content h1 {
		font-size: 32px;
	}

	/* titoli e spaziature di sezione */
	.chi-siamo,
	.sectors,
	.product,
	.services,
	.tech,
	.partners,
	.diff {
		padding: 48px 0;
	}

	.eu-projects {
		padding: 40px 0;
	}

	.chi-siamo h2,
	.sectors h2,
	.product h2,
	.services h2,
	.tech h2,
	.diff h2,
	.eu-projects h2,
	.recapiti h2,
	.contact-form-section h2 {
		font-size: 28px;
	}

	.chi-siamo .body p,
	.tech-item .stack {
		font-size: 16px;
	}

	.sectors h2 {
		margin-bottom: 24px;
	}

	.eu-projects h2 {
		text-align: left;
		margin-bottom: 24px;
	}

	.sector-cards {
		gap: 8px;
	}

	.sector-card {
		padding: 16px 8px;
		gap: 16px;
	}

	.sector-card h3 {
		font-size: 20px;
	}

	.service-list {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.service-item {
		white-space: normal;
		padding: 14px 16px;
		font-size: 16px;
	}

	.tech-grid {
		gap: 24px;
	}

	/* product: nasconde le icone flottanti */
	.product-mockups {
		display: none;
	}

	.product .diamond {
		display: none;
	}

	/* partnership */
	.partners-tabs {
		margin-bottom: 24px;
	}

	.partners-tabs button {
		font-size: 16px;
		padding: 10px 20px;
	}

	.partners>.container>p {
		text-align: left;
		font-size: 15px;
		margin-bottom: 24px;
	}

	.partner-logos {
		justify-content: flex-start;
		gap: 24px 16px;
	}

	.partner-card,
	.membership-card {
		flex: 0 1 calc(50% - 8px);
		padding: 8px 0;
		align-items: flex-start;
		text-align: left;
	}

	.partner-badge {
		font-size: 11px;
		padding: 3px 8px;
	}

	.partner-card .partner-badge {
		white-space: normal;
	}

	.logo-box {
		justify-content: flex-start;
		width: auto;
		height: 32px;
	}

	/* tab verticali -> lista impilata con chevron */
	.vtabs {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.vtab-list {
		gap: 12px;
		padding-top: 0;
	}

	.vtab {
		width: 100%;
		justify-content: space-between;
		font-size: 20px;
	}

	.vtab .vtab-arrow {
		visibility: visible;
		order: 2;
		transform: rotate(90deg);
	}

	.vtab[aria-selected="true"] .vtab-arrow {
		transform: rotate(-90deg);
	}

	.eu-projects .vtab-panel {
		padding: 0;
	}

	.eu-logos img {
		height: 36px;
	}

	/* differenziatori */
	.diff-card {
		padding: 20px;
		gap: 16px;
		margin-bottom: 16px;
	}

	.diff-card .heading {
		gap: 16px;
	}

	.diff-card h3 {
		font-size: 18px;
	}

	.diff .lead p {
		font-size: 16px;
	}

	/* CTA */
	.cta {
		padding: 80px 0;
	}

	/* contatti */
	.contact-form-section {
		padding: 40px 0 48px;
	}

	.contact-form-section .intro {
		margin-bottom: 24px;
	}

	.recapiti {
		padding: 40px 0 56px;
	}

	.recapiti-list {
		flex-direction: column;
		align-items: stretch;
		margin-bottom: 48px;
	}

	.recapito {
		padding: 16px 20px;
		font-size: 16px;
		min-height: 0;
	}

	.recapito.social {
		flex: 0 0 auto;
		width: 64px;
	}

	.recapiti-social {
		display: flex;
		gap: 12px;
	}

	/* sedi: su mobile si mostrano tutte, senza tab */
	.sedi .vtabs {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.sedi .vtab-list {
		display: none;
	}

	.sedi .vtab-panel,
	.sedi .vtab-panel.is-active {
		display: block;
	}

	.sedi .sede-country {
		display: block;
		font-size: 20px;
		font-weight: 700;
		font-style: italic;
		color: var(--color-navy-dark);
		margin: 0;
	}

	.sede-list {
		padding: 16px 0 24px;
		gap: 16px;
	}

	.sede-body {
		font-size: 16px;
		gap: 4px;
	}

	/* footer */
	.footer-main {
		padding: 24px 0;
	}

	.footer-inner {
		align-items: flex-start;
		flex-wrap: nowrap;
	}

	.footer-logo {
		height: 42px;
	}

	.footer-nav {
		flex-direction: column;
		gap: 8px;
		text-align: right;
		font-size: 14px;
	}

	.footer-bar-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.footer-legal {
		flex-direction: column;
		gap: 6px;
	}
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */
.cc_banner-wrapper {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	padding: 16px;
	font-family: 'Nunito Sans', sans-serif;
}

.cc_banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	max-width: var(--max-width-narrow);
	margin: 0 auto;
	padding: 20px 28px;
	background: var(--color-navy);
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.cc_message {
	order: 1;
	flex: 1 1 320px;
	margin: 0;
	color: #fff;
	font-size: 14px;
	line-height: 1.5;
}

.cc_more_info {
	color: var(--color-orange);
	font-weight: 600;
	text-decoration: underline;
	white-space: nowrap;
}

.cc_btn_accept_all {
	order: 2;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 24px;
	border-radius: 6px;
	background: var(--color-orange);
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	white-space: nowrap;
}

.cc_btn_accept_all:hover {
	opacity: 0.9;
}

.cc_logo {
	display: none;
}

@media (max-width: 640px) {
	.cc_banner {
		flex-direction: column;
		align-items: stretch;
		padding: 20px;
	}

	.cc_btn_accept_all {
		text-align: center;
	}
}
