:root {
	--blue:#3c8ce8;
	--dark:#272f78;
	--text:#243077;
	--button:#5a8cca;
	--button2:#3889ea;
	--button3:#242f78;
	--muted:#5b8fc7;
}

* {
	box-sizing:border-box;
}

body {
	margin: 0;
	background: #fff;
	font-family: Arial,Helvetica,sans-serif;
	color: var(--text);
}

.page2 {
	max-width:960px;
	margin:0 auto;
	background:#fff;
	box-shadow: 0 0 22px rgba(0, 0, 0, .08);
}
.page {
  width: 100%;
  max-width: none;
  margin: 0;
  background: #fff;
  box-shadow: none;
}
header {
	height: 68px; 
	background: var(--blue);
	position: relative;
}

.logo-top {
	position: absolute;
	left: 18px;
	top: 18px;
	width: 206px;
	height:auto;	
}

nav {
	height: 68px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 34px;
	padding-right: 48px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .04em;
}

nav a {
	color: #17235e;
	text-decoration: none;
	text-transform: uppercase;
}
	
.hero {
	height: 368px;
	background: url('img_base_prodotti/soluzioni_hero.png') center/cover no-repeat;
	display: flex;flex-direction:column;
	justify-content:center;
	align-items:center;
	text-align:center;
	padding-top:20px;
}

.hero h1 {
	font-size: 64px;
	line-height: 1;
	margin: 0 0 24px;
	font-weight: 400;
	color: #1d2d79;
	
	text-shadow:
		-1px -1px 0 #ffffff,
		 1px -1px 0 #ffffff,
		-1px  1px 0 #ffffff,
		 1px  1px 0 #ffffff;
}

.hero p {
	font-size: 28px;
	margin: 0;
	color: #1d2d79;
}

.section-title {
	text-align: center;
	font-size: 28px;
	margin: 34px 0 38px;
	font-weight: 700;
	color: #202d79;
}

.services {
	display: grid;
	grid-template-columns: repeat(4,1fr);
	gap: 26px;
	padding: 0 18px 48px;
	text-align: center;
}

.service {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
}

.service img {
	height: 150px;
	object-fit: contain;
	margin-bottom: 14px;
}

.service p {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.05;
	margin: 0;
	color: #283180;
}

.projects {
	padding: 0 72px 70px;
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 78px;
}

.project-btn {
	border: 0;
	border-radius: 24px;
	height: 146px;
	color: #fff;
	font-size: 21px;
	font-weight: 700;
	cursor: pointer;
	transition: transform .28s ease,box-shadow .28s ease,filter .28s ease; 
	background: var(--button);
	box-shadow: 0 8px 18px rgba(36,47,120,.12);
	}
	
.project-btn:nth-child(2){
	background: var(--button2);
}

.project-btn:nth-child(3){
	background: var(--button3);
}

.project-btn:hover {
	transform: translateY(-10px) scale(1.04);
	box-shadow: 0 22px 34px rgba(36,47,120,.32);
	filter: brightness(1.08);
}

.project-btn:active {
	transform: translateY(-4px) scale(1.01);
}

.contact {
	background: var(--blue);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: center;
	padding: 46px 52px;
}

.contact-logo{
	width: 340px;
	max-width: 100%;
	background: #fff;
}

.contact-info {
	font-size: 20px;
	line-height: 1.25;
	color: #243077;
}

.contact-info a {
	color: #243077;
	text-decoration: none;
}

.contact-cta {
	display: inline-block;
	margin-top: 42px;
	min-width: 286px;
	text-align: center;
	border-radius: 40px;
	padding: 20px 45px;
	background: #5d8ec5; color: white;
	font-size: 22px;
	font-weight: 700;
	text-decoration: none;
	transition: transform .25s ease,box-shadow .25s ease,background .25s ease;
}

.contact-cta:hover {
	transform: translateY(-5px);
	box-shadow: 0 14px 24px rgba(0,0,0,.18);
	background: #6fa0d7;
}
footer {
	background: #252f78;
	color: white;
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 30px 88px;
	padding: 32px 56px 38px;
	font-size: 13px;
	line-height: 1.25;
}

.footer-brand img {
	width: 84px;
	height: auto;
	margin-bottom: 12px;
}

.footer-details {
	font-weight: 700;
}

.footer-details p {
	margin: 0 0 20px;
}
.analysis {
	width: 280px;
	height: auto;
	display: block;
}

/* BLOCCO TESTO INTRO */
.intro-block {
  max-width: 95%;
  margin: 0 auto 36px;
  text-align: justify;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 700;
  color: #202d79;
}

/* GRIGLIA IMMAGINI */
.image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 480px));
  justify-content: center;
  gap: 40px 60px;
  padding: 0 80px 40px;
}

/* CARD SINGOLA */
.image-card {
  text-align: left;
}

/* IMMAGINE */
.image-card img {
  width: 100%;
  max-width: 520px;
  max-height: 420px;
  object-fit: contain;
  margin: 0;
  display: block;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  background: #f4f6fb;
}

/* DIDASCALIA */
.caption {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #243077;
}

/* RESPONSIVE */
@media (max-width: 760px) {
  .image-grid {
    grid-template-columns: 1fr;
  }

  .image-card img {
    height: auto;
  }
}

@media(max-width:760px){
	.page{max-width:none}header{height:auto;padding-top:100px}
	.logo-top{left:50%;transform:translateX(-50%)}nav{justify-content:center;flex-wrap:wrap;height:auto;padding:12px;gap:16px}
	.hero h1{font-size:44px}
	.hero p{font-size:20px;padding:0 20px}
	.services{grid-template-columns:1fr 1fr}
	.projects{padding:0 28px 48px}
	.project-grid{grid-template-columns:1fr;gap:22px}
	.contact,footer{grid-template-columns:1fr;text-align:center}
	.contact-info{font-size:17px}
	.contact-cta{min-width:220px}
	.analysis {
	width: 220px;
	height: 180px;
}
}


































