/* ==========================
   RESET + BASE
========================== */
:root {
  --color-primary: #FFF;
  --font-main: "Cairo", sans-serif;
  --font-sottotitoli: "Cairo", sans-serif;
 --font-testi: "Verdana", sans-serif;*/
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  background: #FFF;
  font-family: var(--font-testi);
  font-weight: 200;
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* delays */
.reveal.d1 { transition-delay: 0.15s; }
.reveal.d2 { transition-delay: 0.25s; }
.reveal.d3 { transition-delay: 0.35s; }
.reveal.d4 { transition-delay: 0.45s; }

section {
  scroll-margin-top: 90px; /* regola in base al tuo header */
}

/* ==========================
   PRELOADER
========================== */
.preloader {
  position: fixed;
  inset: 0;
  background: linear-gradient(to right, #FCEDE9, #D0DFF6);
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  transform: translateY(0);
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);

  overflow: hidden;
}

/* STEP 2: slide overlay verso l'alto */
.preloader.hide {
  transform: translateY(-100%);
}

/* =========================
   LOADER
   ========================= */
.loader {
  width: 70px;
  height: 70px;
  position: relative;

  opacity: 1;
  transition: opacity 0.3s ease;
}

/* STEP 1: fade loader */
.preloader.loader-hide .loader {
  opacity: 0;
}

/* cerchio esterno */
.loader::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(38,38,38,0.15);
}

/* arco animato */
.loader::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #262626;
  border-right-color: #262626;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* ==========================
   TOP TOP
========================== */
.to-top {
	display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  right: 20px;
  bottom:120px;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background: #262626;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 9999;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover {
  transform: translateY(-3px);
}
/* ==========================
   CONTAINER
========================== */
.gridContainer,
.gridContainerMid,
.gridContainerFull {
  width: 100%;
  margin: 0 auto;
}
/* CONTENUTO */
.container {
  width: 80%;
  max-width: 1920px;
  margin: 0 auto;
}
/* SECTION MARGINE TOP */
section {
  scroll-margin-top: 120px;
}
/* ==========================
   HEADER
========================== */
#header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: transparent;
	z-index: 9999;
	transition: all 0.3s ease;
}
.header-inner {
	width: 80%;
	max-width: 1920px;
	margin: 0 auto;
	padding: 25px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: all 0.3s ease;
}
#header.scrolled {
	box-shadow: 0 12px 35px rgba(0,0,0,0.15);
	background: rgba(255,255,255,0.98);
	backdrop-filter: blur(25px);
}
#header.scrolled .header-inner {
	padding: 15px 0;
}
#header.scrolled .logo img {
	width: 180px;
}
/* LOGO */
.logo img {
	width: 235px;
	transition: all 0.3s ease;
}
/* ==========================
   HAMBURGER → X ANIMATA
========================== */
.hamburger {
	width: 30px;
	height: 22px;
	position: relative;
	cursor: pointer;
	z-index: 10001;
}
.hamburger span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 3px;
	background: #262626;
	border-radius: 2px;
	transition: all 0.3s ease;
}
/* posizione linee */
.hamburger span:nth-child(1) {
	top: 0;
}
.hamburger span:nth-child(2) {
	top: 9px;
}
.hamburger span:nth-child(3) {
	top: 18px;
}
/* stato OPEN → X */
.hamburger.active span:nth-child(1) {
	top: 9px;
	transform: rotate(45deg);
}
.hamburger.active span:nth-child(2) {
	opacity: 0;
}
.hamburger.active span:nth-child(3) {
	top: 9px;
	transform: rotate(-45deg);
}
/* ==========================
   NAV MOBILE
========================== */
nav {
  transition: transform 0.25s ease, opacity 0.25s ease;
}
nav {
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	height: 100vh;
	background: rgba(255,255,255,0.80);
	backdrop-filter: blur(10px);
/*	box-shadow: -10px 0 30px rgba(0,0,0,0.15);*/
	transform: translateX(100%);
	transition: transform 0.35s ease;
	padding-top: 160px;
}
nav.active {
	transform: translateX(0);
}
nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 50px;
	white-space: nowrap;
}
nav ul li {
	opacity: 0;
	transform: translateX(20px);
	transition: all 0.3s ease;
}
nav.active ul li {
	opacity: 1;
	transform: translateX(0);
}
nav ul li a {
	font-family: var(--font-main);
	text-decoration: none;
	/*font-size: 1.30em; /*17px; */
	font-size: 1.84em; /*24px; */
	color: #262626;
	font-weight: 600;
	transition: color 0.3s ease;
}
nav ul li a:hover,
nav ul li a.active {
	color: #EA5C3A;
}
nav.active ul li:nth-child(1) { transition-delay: 0.05s; }
nav.active ul li:nth-child(2) { transition-delay: 0.10s; }
nav.active ul li:nth-child(3) { transition-delay: 0.15s; }
nav.active ul li:nth-child(4) { transition-delay: 0.20s; }
/* accendo le voci di menu */
nav a.nav-active {
  color: #EA5C3A;
  font-weight: 600;
  position: relative;
}
nav a.nav-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: currentColor;
  opacity: 0.6;
/* accendo le voci di menu */
}

/* al posto di onFocus='this.blur()' sulle voci di menu */
nav a:focus {
  outline: none;
}
nav a:focus-visible {
  outline: none;
  position: relative;
}
nav a:focus-visible::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #262626;
  opacity: 0.6;
}
/* al posto di onFocus='this.blur()' sulle voci di menu */
/* ==========================
   HERO - MOBILE FIRST
========================== */
.hero {
	padding-top:140px;
	width: 100%;
	height: auto;
    min-height: 85vh;
	display: flex;
	align-items: center;
	box-sizing: border-box;
}

.heroBG {
  background: linear-gradient(
    to bottom,
	#F6FAFF 0%,
    #EAF2FF 30%,
    #D5E4FA 65%,
    #D0DFF6 100%
  );
}
/* INNER */
.hero-inner {
	height: 100%;
	display: flex;
	flex-direction: column;
}
/* TESTO in alto */
.hero-content {
    width: 100%;
    margin-right: 0;
    padding-top: 8%;
	z-index:1;
}
/* IMMAGINE in basso */
.hero-image {
    width: 100%;
    margin-top: 90px;
	display: flex;
	align-items: flex-end;
	height: 100%;
	z-index:0;
}
/* IMMAGINE */
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-content h1 {
	font-family: var(--font-main);
	font-size: 3.07em; /*40px;*/
	color: #262626;
	font-weight:600;
	line-height: 1.1;
	margin-bottom: 15px;
}
.hero-content .subtitle {
	 font-family: var(--font-sottotitoli);
	font-size: 1.53em; /* 20px */
	line-height: 26px;
	color: #353535;
	font-weight:400;
	margin-bottom: 25px;
}
/* CTA */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size:16px;
  font-weight: 500;
  padding: 18px 24px;
  max-width: 300px;
  background: #EA5C3A;
  color: #fff !important;
  text-decoration: none;
  border-radius: 20px;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.cta:hover {
	background: #d94e2f;
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.20);
}
.cta .arrow {
	display: inline-block;
	transform: rotate(-45deg);
	transition: transform 0.3s ease;
}
.cta:hover .arrow {
	transform: rotate(-45deg) translate(6px, -1px);
}
/* IMMAGINE */
.hero-image img {
	width: 100%;
	height: auto;
}
/* =========================
   WRAPPER LAYOUT
========================= */
.about-timeline-wrapper {
	display: flex;
	flex-direction: column; /*  1 colonna */
	gap: 0;
	padding: 0 0;
	box-sizing: border-box;
	align-items: stretch; /* IMPORTANTISSIMO */
}
/* =========================
   CHI SIAMO
========================= */
.about {
	width: 100%;
	padding: 40px 10%;
	background: #fff;
}
.about-text {
	width: 100%;
}
.about-text h2 {
	font-family: var(--font-main);
	font-size: 3.07em; /* 40px */
	line-height: 40px;
	font-weight: 500;
	margin-top:0;
	margin-bottom: 30px;
	color: #262626;
}
.about-text h3 {
	font-family: var(--font-main);
	font-size: 3.07em; /* 40px */
	line-height: 40px;
	font-weight: 500;
	margin-top: 40px;
	margin-bottom: 0;
	color: #262626;
}
.about-text h4 {
	font-family: var(--font-main);
	font-size: 1.84em; /* 24px */
	line-height: 26px;
	font-weight: 500;
	margin-top: 25px;
	margin-bottom: 30px;
	color: #353535;
}
.about-text p {
	font-family: var(--font-testi);
	font-size: 1.38em; /* 18px */
	line-height: 28px;
	color: #666;
	font-weight:400;
}
.politica {
	display: flex;
	flex-direction: row; /*  questo li mette su 2 righe */
	align-items: center;   /*  centra orizzontalmente */
	text-align: center;    /* centra anche il testo */
	gap: 20px; /* spazio tra bottone e immagine */
	margin-top: 30px;   /*  gestisci spazio sopra */
	margin-bottom: 0px; /*  gestisci spazio sotto */
}
.politica img {
	display: block;
	height: auto;
	max-width:72px;
}
.politica img {
	transition: all 0.3s ease;
}
.politica img:hover {
	transform: scale(1.1);
}
/* =========================
   TIMELINE
========================= */
.timeline-section {
	width: 100%;
	background-color: #FCEDE9;
	padding-top:40px;
	padding-bottom:0;
	padding-left:0;
	padding-right:0;
	display: flex;
	justify-content: center;
	box-sizing: border-box;
}
/* contenitore timeline */
.timeline {
	position: relative;
	width: 90%;
	margin:5% 5%;
}
/* item */
.timeline-item {
	position: relative;
	text-align: center;
	margin-bottom: 35px;
	padding-top: 30px;
}
/* DOT */
.timeline-item .dot {
	position: absolute;
	left: 50%;
	top: 0;
	transform: translate(-50%, -50%);
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #999;
	z-index: 2;
}
/* LINEA SOPRA */
.timeline-item .dot::before {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: -15px;
	width: 1px;
	height: 15px;
	background: #999;
}
/* LINEA SOTTO */
.timeline-item .dot::after {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 30px;
	width: 1px;
	height: 15px;
	background: #999;
}
/* primo dot senza linea sopra */
.timeline-item:first-child .dot::before {
	display: none;
/* effetto */
}
.timeline-item .dot {
	background: #999;
	border: 2px solid transparent;
	transition: all 0.3s ease;
}
.timeline-item .dot:hover {
	transform: translate(-50%, -50%) scale(1.3);
	background: #000;
}
/* ANNO */
.timeline-item h3 {
	font-family: var(--font-main);
	color: #262626;
	font-size: 2.053em; /* 28px; */
	font-weight: 500;
	margin: 0;
	padding-top: 15px;
}
/* TESTO */
.timeline-item p {
	font-family: var(--font-testi);
	font-size: 1.38em; /* 18px */
	line-height: 28px;
	color: #666;
	font-weight:400;
	margin: 20px auto 0;
}
/* =========================
   SEZIONE SERVIZI
========================= */
.servizi {
	background: linear-gradient(to bottom, #F4F7FD, #D0DFF6);
	padding: 40px 0;
	text-align: center;
}
/* titolo */
.servizi h2 {
	font-family: var(--font-main);
	font-size: 3.07em; /* 40px */
	line-height: 40px;
	font-weight: 500;
	margin-top:0;
	margin-bottom: 30px;
	color: #262626;
}
/* sottotitolo */
.servizi .subtitle {
	font-family: var(--font-sottotitoli);
	font-size: 1.53em; /* 20px */
	line-height: 26px;
	margin-bottom: 60px;
	color:#353535;
	font-weight:400;
}
.servizi h2,
.servizi .subtitle {
	text-align: left;
	margin-left: 0;
}
/* grid */
.servizi-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	flex-wrap: wrap;
	gap: 50px;
	margin: 0 auto;    /* centra il blocco */
	margin-bottom:20px;
	justify-items: center;
}
/* card */
.card {
	background: #fff;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.08);
	padding: 20px;
	max-width: 360px;
	margin-bottom:0;
	text-align: center;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	will-change: transform;
}
/* hover */
.card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
/* immagine */
.card img {
	width: 100%;
	height: auto;
	border-radius: 10px;
	margin-bottom: 15px;
}
/* titolo card */
.card h3 {
	font-family: var(--font-main);
	font-size: 2.15em; /* circa 28px */
	line-height:28px;
	color: #262626;
	font-weight:400;
	margin-top:10px;
	margin-bottom: 25px;
}
/* testo */
.card p {
	font-family: var(--font-testi);
	font-size: 1.38em; /* circa 18px */
	color: #666;
	line-height:28px;
	font-weight:400;
}
/* ==========================
   STRIP CONSULENZA
========================== */
.consulenza-strip {
	background: linear-gradient(135deg, #334C97, #6C7FBB);
	padding: 60px 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.consulenza-inner {
	width: 80%;
	max-width: 1100px;
	margin: 0 auto;
}
/* titolo */
.consulenza-strip h2 {
	font-family: var(--font-main);
	font-size:2.92em; /* 38px; */
	line-height:38px;
	font-weight:400;
	color: #fff;
	margin-top:0;
	margin-bottom: 20px;
}
/* sottotitolo */
.consulenza-strip p {
	font-family: var(--font-sottotitoli);
	font-size:1.53em; /* 20px;*/
	line-height:20px;
	font-weight:400;
	color: #fff;
	margin-bottom: 40px;
}
/* bottone */
.consulenza-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-testi);
	font-weight:600;
	text-transform: uppercase;
	font-size: 1.076em; /* 14px;*/
	color: #000;
	background: rgba(255,255,255,0.85);
	padding: 14px 28px;
	border-radius: 20px;
	text-decoration: none;
	transition: all 0.3s ease;
}
/* freccia */
.consulenza-btn .arrow {
	transition: transform 0.3s ease;
}
/* hover */
.consulenza-btn:hover {
	background: #fff;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.consulenza-btn:hover .arrow {
	transform: translateX(5px);
}
.consulenza-btn .arrow {
	display: inline-block;
	transform: rotate(-45deg);
	transition: transform 0.3s ease;
}
.consulenza-btn:hover .arrow {
	transform: rotate(-45deg) translate(6px, -1px);
}
/* ==========================
   SECTION SOLUZIONI
========================== */
.softwares-section {
	display: flex;
	flex-direction: column; /*  mobile = colonna */
	gap: 80px;
	padding: 40px 10%;
	align-items: flex-start;
	background: linear-gradient(45deg, #FFFFFF 0%, #D0DFF6 50%, #FCEDE9 100%);
}
/* LEFT */
.softwares-left {
	flex: 1;
	text-align: left;
}
.softwares-left h2 {
	font-family: var(--font-main);
	font-size: 3.07em; /* 40px */
	line-height: 40px;
	font-weight:500;
	margin-top:0;
	margin-bottom: 30px;
	color: #262626;
}
.softwares-left p {
	font-family: var(--font-sottotitoli);
	font-size: 1.53em; /* 20px */
	line-height: 26px;
	margin-bottom: 50px;
	font-weight:400;
	color: #353535;
}
.softwares-left img {
	width: 452px;
	max-width: 100%;
	height: auto;
}
/* RIGHT */
.softwares-right {
	flex: 1;
}
/* ==========================
   ACCORDION 
========================== */
.accordion {
	margin-top: 0; /* regola valore a piacere */
}
.accordion-item {
	margin-bottom: 15px;
	border-radius: 8px;
	overflow: hidden;
}
/* ==========================
   HEADER
========================== */
.accordion-header {
	width: 100%;
	background: #EA5C3A;
	border: none;
	padding: 15px 20px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	text-align: left;
	cursor: pointer;
	gap: 15px;
	font-family: var(--font-testi);
	font-size: 1.387em; /* 18px */
	line-height: 24px;
	color: #fff;
	transition: background 0.3s ease;
}
.accordion-header span:first-child {
	display: block;
	flex: 1;
}
/* hover */
.accordion-header:hover {
	background: #d94f32; /* leggermente più scuro del #EA5C3A */
}
/* icon + / − */
.accordion-header .icon {
	font-size: 22px;
}
/* ==========================
   CONTENT (CHIUSO)
========================== */
.accordion-content {
	max-height: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: max-height 0.5s ease, padding 0.4s ease;
	padding: 0 20px;
}
/* ==========================
   CONTENT (APERTO)
========================== */
.accordion-item.active .accordion-content {
	max-height: 1000px;
	padding: 15px 20px;
	background: rgba(255, 255, 255, 0.4);
	backdrop-filter: blur(10px);
	border-left: 3px solid rgba(255,255,255,0.4);
}
/* ==========================
   TESTO
========================== */
.accordion-content p {
	font-family: var(--font-testi);
	font-size: 1.38em;
	line-height:28px;
	color: #666;
	font-weight:400;
	text-align: left;
	margin: 15px 0;
}
/* ==========================
   CTA LINK (FIX ALLINEAMENTO)
========================== */
.cta-accordion-link {
	display: inline-flex;
	align-items: center;
	align-self: flex-end; /* 🔥 QUESTO ALLINEA A DESTRA */
	font-family: var(--font-testi);
	font-size: 18px;
	font-weight: 400;
	text-decoration: none;
	margin-top: 10px;
	margin-bottom:10px;
	color: #262626;
	transition: color 0.3s ease;
}
/* hover colore */
.cta-accordion-link:hover {
	color: #EA5C3A;
}
/* freccia */
.cta-accordion-link .arrow {
	display: inline-block;
	margin-left: 6px;
	transition: transform 0.35s ease;
}
.cta-accordion-link:hover .arrow {
	transform: translateX(6px);
}
/* ==========================
   ANIMAZIONE ICONA
========================== */
.accordion-item.active .icon {
	content: "−";
}
/* =========================
  CONTATTI
========================= */
.contact-section {
  background: #ffffff;
  padding: 50px 20px;
  text-align: center;
}

.container-contact {
  max-width: 300px;
  margin: 0 auto;
}

/* =========================
   TITOLI
========================= */

.contact-section h2 {
	font-family: var(--font-main);
	font-size: 3.07em; /* 40px */
	line-height: 40px;
	font-weight:500;
	color: #262626;
	margin-top: 0;
	margin-bottom: 20px;
}
.subtitle {
	font-family: var(--font-sottotitoli);
	font-size: 1.53em; /* 20px */
	line-height: 26px;
	font-weight:400;
	color: #353535;
	margin-bottom: 30px;
}

/* =========================
   PHONE
========================= */

.phone {
  margin-bottom:20px;
  color: #262626;
}

.phone i {
  font-size: 2.15em; /* 28px; */
  margin-bottom: 15px;
}

.phone p {
  font-family: var(--font-testi);
  font-size: 1.53em; /*20px */
  font-weight:500;
  margin: 0;
}
.phone-link {
  color: #262626;
  text-decoration: none;
  font-weight: 500;
}

.phone-link:hover {
  text-decoration: underline;
}
/* keyframes tremolio */
@keyframes shake {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(10deg); }
  50%  { transform: rotate(-10deg); }
  75%  { transform: rotate(6deg); }
  100% { transform: rotate(0deg); }
}

/* attiva animazione quando passi sul numero */
.phone-link:hover ~ i,
.phone:hover i {
  animation: shake 0.4s ease-in-out infinite;
}
.phone:hover i {
  animation: shake 0.4s ease-in-out infinite;
}
.phone i {
  transform-origin: center;
  will-change: transform;
}
.phone-link {
  display: inline-block; /* necessario per transform */
  transition: all 0.25s ease;
}
.phone-link:hover {
  text-decoration: none;
  transform: translateY(-2px);
  text-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.required-note {
	font-size:1em; /*13px */
	color: #353535;
	text-align: left;
	margin-top: 0;
	font-family: var(--font-testi);
	font-weight:400;
}
/* =========================
   FORM
========================= */

.contact-form {
	position:relative;
	display: flex;
	flex-direction: column;
	gap: 15px;
	z-index: 1;
}
/* FIX FONDAMENTALE FLEX */
.row {
	display: grid;
   grid-template-columns: 1fr;
   gap:15px;
}

/* INPUT + SELECT*/
.row input,
.row select {
	width: 100%;
	height: 100%;
	display: block;
	box-sizing: border-box;
	box-sizing: border-box;
	padding: 16px 14px;
	border-radius: 10px;
	border: none;
	background: #D0DFF6;
	color: #262626;
	font-size:1.15em; /* 15px; */
	outline: none;
	font-family: var(--font-testi);
}

/*TEXTAREA */
textarea {
	flex: 1 1 0;   /* FIX DEFINITIVO LARGHEZZA UGUALE */
	min-width: 0;  /* evita overflow flex */
	width: 100%;
	box-sizing: border-box;
	padding: 16px 14px;
	border-radius: 10px;
	border: none;
	background: #D0DFF6;
	color: #262626;
	font-size:1.15em; /* 15px; */
	outline: none;
	font-family: var(--font-testi);
}

/* PLACEHOLDER */
::placeholder {
  color: #262626;
  font-size:1.0em; /* 13px; */
}

input[placeholder*="*"]::placeholder,
textarea[placeholder*="*"]::placeholder {
  color:#262626;
}

input[placeholder*="*"]:hover::placeholder,
textarea[placeholder*="*"]:hover::placeholder {
  color: #666; /* colore al passaggio del mouse */
}

/* =========================
   SELECT FIX DEFINITIVO
========================= */

.row select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 16px 20px 16px 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23262626' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
/* =========================
   TEXTAREA
========================= */

textarea {
  min-height: 240px;
  resize: none;
}

/* =========================
   PRIVACY
========================= */

.privacy {
  text-align: center;
  font-size: 1.15em;
  font-weight:400;
  line-height: 20px;
  color: #353535;
  margin-top: 0px;
}

.privacy a {
  color: #EA5C3A;
  font-weight: 600;
  text-decoration: none;
}

.privacy a:hover {
  text-decoration: underline;
}

.privacy label {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-align: left;
  max-width: 300px;
  margin: 10px auto 0;
}

/* CHECKBOX */
.privacy input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #EA5C3A;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
}

.privacy input[type="checkbox"]:checked {
  background: #EA5C3A;
}

.privacy input[type="checkbox"]:checked::after {
  content: "\2713";
  position: absolute;
  top: -2px;
  left: 3px;
  color: white;
  font-size: 14px;
}
.privacy input[type="checkbox"] {
  flex-shrink: 0; /* NON SI RIDUCE */
}

/* =========================
   ERRORI
========================= */
/* stato normale */
.field input,
.field textarea,
.field select {
  border: 2px solid transparent; /*  fondamentale */
  transition: border 0.2s ease;
}
/* errore */
.error {
  color: #EA5C3A;
  font-size: 12px;
  margin-top: 4px;
  display: block;
}
.field.error input,
.field.error textarea,
.field.error select {
  border: 2px solid #EA5C3A;
  box-shadow: 0 0 0 2px rgba(234, 92, 58, 0.15);
}
.privacy-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px; /* forza coerenza */
  line-height: 1.4;
  color: #353535;
}

/* stato errore SOLO bordo, niente effetti sul testo */
.privacy.error {
  border: 2px solid #EA5C3A;
  padding: 10px;
  border-radius: 10px;
}

/* evita che il label �deformi� il font */
.privacy.error .privacy-label {
  font-size: inherit;
    font-size: 15px; /* forza coerenza */
}
/* =========================
   FORM SUCCESS
========================= */
.form-success {
  margin-top: 20px;
  color: #EA5C3A;
  font-size: 16px;
  text-align: center;
  opacity: 0;
  transform: translateY(5px);
  transition: all 0.3s ease;
}
.form-success.show {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   FORM OVERLAY
========================= */
.form-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 9999;
}
.form-overlay.active {
  opacity: 1;
  visibility: visible;
}
.form-overlay-box {
  background: #EA5C3A;
  color: white;
  padding: 20px 30px;
  border-radius: 12px;
  font-size: 18px;
  font-family: var(--font-testi);
}
/* =========================
   BUTTON
========================= */
.btn-loader {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-left: 8px;
}

button.loading .btn-loader {
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

button.loading {
  opacity: 0.8;
  cursor: not-allowed;
}

.contact-form button {
  background: #EA5C3A;
  color: white;
  border: none;
  padding: 14px;
  font-size: 15px;
  font-family: var(--font-testi);
  text-transform: uppercase;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 200px;
  margin: 20px auto 0;
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  background: #e04f2f;
}
/* =========================
   FOOTER
========================= */ 
.footer {
	padding: 4% 0;
 	background: linear-gradient(to right, #FCEDE9, #D0DFF6);
 /* background: linear-gradient(to bottom, #FCEDE9, #D0DFF6);*/
}
/* wrapper centrato */
.footer-inner {
	flex-direction: column;
	align-items: center;      /* centra i blocchi */
    text-align: center;       /* centra il testo */
	gap: 15px;
	width:80%;
	max-width: 1920px;
	margin: 0 10%;
	padding: 2% 0;
	display: flex;
}
.footer-left,
.footer-right {
	max-width: 100%;
	text-align: center; /*  fondamentale */
}
.footer-right {
	margin-top: 10px;
}
.footer-right {
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.footer h3 {
	display: inline-block; /* necessario per il transform */
	transform: scaleY(1.2); /* 1 = normale, >1 pi� alto */
	letter-spacing:1px;
	font-family: var(--font-main);
	font-size: 1.84em; /* ~24px */
	line-height:26px;
	color: #262626;
	font-weight: 400;
	margin: 0 0 8px 0;
	padding:0;
	font-weight: 600;
}
.footer p {
	font-family: var(--font-testi);
	font-size: 1.23em; /* ~16px */
	line-height:22px;
	font-weight: 400;
	color: #666;
	padding:0;
	margin: 4px 0;
	text-decoration: none;
}
.footer a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.15s ease, text-shadow 0.15s ease;
}
.footer a:hover {
	color:#353535;
  transform: translateY(-2px);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.footer-bottom {
  background: #fff;
  font-family: var(--font-testi);
  font-size: 16px;
  color: #666;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 20px 20px;
}

.footer-bottom a {
  color: #666;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-bottom a:hover {
  opacity: 0.7;
}
/* =========================
   PRIVACY POLICY
========================= */
.privacy-policy {
	width: 100%;
	padding: 40px 10%;
	background: #fff;
}
.privacy-policy h2 {
	font-family: var(--font-main);
	font-size: 3.07em; /* 40px */
	line-height: 40px;
	font-weight: 500;
	margin-top:0;
	margin-bottom: 30px;
	color: #262626;
}
.privacy-policy h3 {
	font-family: var(--font-main);
	font-size: 3.07em; /* 40px */
	line-height: 40px;
	font-weight: 500;
	margin-top: 40px;
	margin-bottom: 0;
	color: #262626;
}
.privacy-policy h4 {
	font-family: var(--font-main);
	font-size: 1.84em; /* 24px */
	line-height: 26px;
	font-weight: 500;
	margin-top: 25px;
	margin-bottom: 30px;
	color: #353535;
}
.privacy-policy p {
	font-family: var(--font-testi);
	font-size: 1.38em; /* 18px */
	line-height: 28px;
	color: #666;
	font-weight:400;
}
/* ==========================
   TABLET (>= 480px)
========================== */
@media only screen and (min-width: 480px) {
  .gridContainer,
  .gridContainerMid,
  .gridContainerFull {
    width: 100%;
}
/* HERO */
.hero {
	padding-top:120px;
	height: auto;
    min-height: 84vh;
	display: flex;
	align-items: center;
	box-sizing: border-box;
}
.hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
/* TESTO in alto */
.hero-content {
    width: 60%;
    margin-right: 0;
    padding-top: 70px; /* o quello che preferisci */
}
/* IMMAGINE in basso */
.hero-image {
    width: 100%;
    margin-top:100px;
    justify-content: center; /* opzionale */
}
.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}
 /* TYPO */
.hero-content h1 {
	font-size: 3.07em; /* 50px; */
	line-height: 1.1;
	font-weight: 600;
	margin: 20px 0 20px 0;
	white-space: nowrap;
}
.hero-content .subtitle {
  font-size: 1.53em; /* 20px;*/
  line-height: 1.3;
  font-weight: 300;
  margin: 0 0 35px 0;
}
/* =========================
   WRAPPER LAYOUT
========================= */
.about-timeline-wrapper {
	display: flex;
	flex-direction: row; /*  2 colonne */
	gap: 0;
	padding: 0 0;
	box-sizing: border-box;
	align-items: stretch; /* IMPORTANTISSIMO */
}
/* =========================
   CHI SIAMO
========================= */
.about {
	width: 50%;
	padding: 40px 10%;
	padding-right:5%;
	background: #fff;
}
.about-text {
	width: 100%;
}
.about-text h2 {
	font-family: var(--font-main);
	font-size: 3.07em; /* 40px */
	line-height: 40px;
	font-weight: 500;
	margin-bottom: 30px;
}
.about-text h3 {
	font-family: var(--font-main);
	font-size: 3.07em; /* 40px */
	line-height: 40px;
	font-weight: 500;
	margin-top: 40px;
	margin-bottom: 0;
}
.about-text h4 {
	font-family: var(--font-main);
	font-size: 1.84em; /* 24px */
	line-height: 26px;
	font-weight: 500;
	margin-top: 25px;
	margin-bottom: 30px;
}
.about-text p {
	font-family: var(--font-testi);
	font-size: 1.38em; /* 18px */
	line-height: 28px;
}
.politica {
	display: flex;
	flex-direction: column; /* uno sotto l'altro */
	align-items: center; /* allinea verticalmente */
	gap: 20px; /* spazio tra bottone e immagine */
	margin-top: 30px;   /*  gestisci spazio sopra */
	margin-bottom: 30px; /*  gestisci spazio sotto */
}
.politica img {
	display: block;
	height: auto;
	max-width:72px;
}
.politica img {
	transition: all 0.3s ease;
}
/* =========================
   TIMELINE
========================= */
.timeline-section {
	width: 50%;
	background-color: #FCEDE9;
	padding-top:60px;
	padding-bottom:20px;
	padding-left:0;
	padding-right:0;
	display: flex;
	justify-content: center;
	box-sizing: border-box;
}
/* contenitore timeline */
.timeline {
	position: relative;
	width: 80%;
	margin:5% 10%;
}
/* item */
.timeline-item {
	position: relative;
	text-align: center;
	margin-bottom: 35px;
	padding-top: 30px;
}
/* DOT */
.timeline-item .dot {
	position: absolute;
	left: 50%;
	top: 0;
	transform: translate(-50%, -50%);
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #999;
	z-index: 2;
}
/* LINEA SOPRA */
.timeline-item .dot::before {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: -15px;
	width: 1px;
	height: 15px;
	background: #999;
}
/* LINEA SOTTO */
.timeline-item .dot::after {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 30px;
	width: 1px;
	height: 15px;
	background: #999;
}
/* primo dot senza linea sopra */
.timeline-item:first-child .dot::before {
	display: none;
}
/* ANNO */
.timeline-item h3 {
	font-family: var(--font-main);
	font-size: 2.053em; /* 28px; */
	font-weight: 500;
	margin: 0;
	padding-top: 15px;
}
/* TESTO */
.timeline-item p {
	font-family: var(--font-testi);
	font-size: 1.38em; /* 18px */
	line-height: 28px;
	margin: 20px auto 0;
}
/* =========================
   SEZIONE SERVIZI
========================= */
.servizi {
	background: linear-gradient(to bottom, #F4F7FD, #D0DFF6);
	padding: 40px 0;
	text-align: center;
}
/* titolo */
.servizi h2 {
	font-family: var(--font-main);
	font-size: 3.07em; /* 40px */
	line-height: 40px;
	font-weight: 500;
	margin-top:0;
	margin-bottom: 30px;
}
/* sottotitolo */
.servizi .subtitle {
	font-family: var(--font-sottotitoli);
	font-size: 1.53em; /* 20px */
	line-height: 26px;
	margin-bottom: 60px;
	font-weight:400;
}
.servizi h2,
.servizi .subtitle {
	text-align: left;
	margin-left: 0;
}
/* grid */
.servizi-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	flex-wrap: wrap;
	gap: 50px;
	margin: 0 auto;    /* centra il blocco */
	margin-bottom:20px;
	justify-items: center;
}
.servizi-grid .card:last-child:nth-child(odd) {
	grid-column: 1 / -1;
	justify-self: center;
}
/* card */
.card {
	background: #fff;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.08);
	padding: 20px;
	max-width: 300px;
	margin-bottom:0;
	text-align: center;
}
/* hover */
.card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
/* immagine */
.card img {
	width: 100%;
	height: auto;
	border-radius: 10px;
	margin-bottom: 15px;
}
/* titolo card */
.card h3 {
	font-family: var(--font-main);
	font-size: 2.15em; /* circa 28px */
	line-height:28px;
	font-weight:400;
	margin-top:10px;
	margin-bottom: 25px;
}
/* testo */
.card p {
	font-family: var(--font-testi);
	font-size: 1.38em; /* circa 18px */
	color: #666;
	line-height:28px;
	font-weight:400;
}
/* ==========================
   SECTION SOLUZIONI
========================== */
.softwares-section {
	display: flex;
	flex-direction: row; /* 2 colonne */
	gap: 80px;
	padding: 40px 10%;
	align-items: flex-start;
	background: linear-gradient(45deg, #FFFFFF 0%, #D0DFF6 50%, #FCEDE9 100%);
}
/* LEFT */
.softwares-left {
	flex: 1;
	text-align: left;
}
.softwares-left h2 {
	font-family: var(--font-main);
	font-size: 3.07em; /* 40px */
	line-height: 40px;
	font-weight:500;
	margin-top:0;
	margin-bottom: 30px;
	color: #262626;
}
.softwares-left p {
	font-family: var(--font-sottotitoli);
	font-size: 1.53em; /* 20px */
	line-height: 26px;
	margin-bottom: 50px;
	font-weight:400;
	color: #353535;
}
.softwares-left img {
	width: 452px;
	max-width: 100%;
	height: auto;
}
/* RIGHT */
.softwares-right {
	flex: 1;
}
/* ==========================
   ACCORDION 
========================== */
.accordion {
	margin-top: 80px; /* regola valore a piacere */
}
.accordion-item {
	margin-bottom: 15px;
	border-radius: 8px;
	overflow: hidden;
}
/* ==========================
   HEADER
========================== */
.accordion-header {
	width: 100%;
	background: #EA5C3A;
	border: none;
	padding: 15px 20px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	text-align: left;
	cursor: pointer;
	gap: 15px;
	font-family: var(--font-testi);
	font-size: 1.387em; /* 18px */
	line-height: 24px;
	color: #fff;
	transition: background 0.3s ease;
}
.accordion-header span:first-child {
	display: block;
	flex: 1;
}
/* hover */
.accordion-header:hover {
	background: #d94f32; /* leggermente più scuro del #EA5C3A */
}
/* icon + / − */
.accordion-header .icon {
	font-size: 22px;
}
/* ==========================
   CONTENT (CHIUSO)
========================== */
.accordion-content {
	max-height: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: max-height 0.5s ease, padding 0.4s ease;
	padding: 0 20px;
}
/* ==========================
   CONTENT (APERTO)
========================== */
.accordion-item.active .accordion-content {
	max-height: 1000px;
	padding: 15px 20px;
	background: rgba(255, 255, 255, 0.4);
	backdrop-filter: blur(10px);
	border-left: 3px solid rgba(255,255,255,0.4);
}
/* ==========================
   TESTO
========================== */
.accordion-content p {
	font-family: var(--font-testi);
	font-size: 1.38em;
	line-height:28px;
	color: #666;
	text-align: left;
	margin: 15px 0;
}
/* ==========================
   CTA LINK (FIX ALLINEAMENTO)
========================== */
.cta-accordion-link {
	display: inline-flex;
	align-items: center;
	align-self: flex-end; /* 🔥 QUESTO ALLINEA A DESTRA */
	font-family: var(--font-testi);
	font-size: 18px;
	font-weight: 400;
	text-decoration: none;
	margin-top: 10px;
	margin-bottom:10px;
	color: #262626;
	transition: color 0.3s ease;
}
/* hover colore */
.cta-accordion-link:hover {
	color: #EA5C3A;
}
/* freccia */
.cta-accordion-link .arrow {
	display: inline-block;
	margin-left: 6px;
	transition: transform 0.35s ease;
}
.cta-accordion-link:hover .arrow {
	transform: translateX(6px);
}
/* ==========================
   ANIMAZIONE ICONA
========================== */
.accordion-item.active .icon {
	content: "−";
}
/* =========================
  CONTATTI
========================= */
.contact-section {
  background: #ffffff;
  padding: 50px 20px;
  text-align: center;
}

.container-contact {
  max-width: 600px;
  margin: 0 auto;
}

/* =========================
   TITOLI
========================= */

.contact-section h2 {
	font-family: var(--font-main);
	font-size: 3.07em; /* 40px */
	line-height: 40px;
	font-weight:500;
	color: #262626;
	margin-top: 0;
	margin-bottom: 20px;
}
.subtitle {
	font-family: var(--font-sottotitoli);
	font-size: 1.53em; /* 20px */
	line-height: 26px;
	color: #353535;
	margin-bottom: 30px;
}

/* =========================
   PHONE
========================= */

.phone {
  margin-bottom:30px;
  color: #262626;
}

.phone i {
  font-size: 2.15em; /* 28px; */
  margin-bottom: 15px;
}

.phone p {
  font-family: var(--font-testi);
  font-size: 1.53em; /*20px */
  margin: 0;
}

/* =========================
   FORM
========================= */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* FIX FONDAMENTALE FLEX */
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* INPUT + SELECT*/
.row input,
.row select {
  width: 100%;
  height: 100%;
  display: block;
  box-sizing: border-box;
  box-sizing: border-box;
  padding: 16px 14px;
  border-radius: 10px;
  border: none;
  background: #D0DFF6;
  color: #262626;
  outline: none;
}

/*TEXTAREA */
textarea {
  flex: 1 1 0;   /* FIX DEFINITIVO LARGHEZZA UGUALE */
  min-width: 0;  /* evita overflow flex */
  width: 100%;
  box-sizing: border-box;
  padding: 16px 14px;
  border-radius: 10px;
  border: none;
  background: #D0DFF6;
  color: #262626;
  outline: none;
}
/* =========================
   SELECT FIX DEFINITIVO
========================= */

.row select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 16px 20px 16px 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23262626' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

/* =========================
   TEXTAREA
========================= */

textarea {
  min-height: 240px;
  resize: none;
}

/* =========================
   PRIVACY
========================= */

.privacy {
  text-align: center;
  font-size: 1.15em;
  line-height: 20px;
  color: #353535;
  margin-top: 10px;
}

.privacy a {
  color: #EA5C3A;
  font-weight: 600;
  text-decoration: none;
}

.privacy a:hover {
  text-decoration: underline;
}

.privacy label {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-align: left;
  max-width: 700px;
  margin: 10px auto 0;
}

/* CHECKBOX */
.privacy input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #EA5C3A;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
}

.privacy input[type="checkbox"]:checked {
  background: #EA5C3A;
}

.privacy input[type="checkbox"]:checked::after {
  content: "\2713";
  position: absolute;
  top: -2px;
  left: 3px;
  color: white;
  font-size: 14px;
}

/* =========================
   BUTTON
========================= */

.contact-form button {
  background: #EA5C3A;
  color: white;
  border: none;
  padding: 14px;
  font-size: 15px;
  font-family: var(--font-testi);
  text-transform: uppercase;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 200px;
  margin: 20px auto 0;
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  background: #e04f2f;
}
/* =========================
   FOOTER
========================= */ 
.footer {
	padding: 4% 0;
 	background: linear-gradient(to right, #FCEDE9, #D0DFF6);
 /* background: linear-gradient(to bottom, #FCEDE9, #D0DFF6);*/
}
/* wrapper centrato */
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    text-align: initial; /* reset importante */
    width: 80%;
    max-width: 1920px;
    margin: 0 10%;
    padding: 2% 0;
}
.footer-left {
    max-width: 50%;
    text-align: left;
}
  .footer-right {
    max-width: 50%;
    text-align: right;
    align-items: flex-end;
}
.footer h3 {
	display: inline-block; /* necessario per il transform */
	transform: scaleY(1.2); /* 1 = normale, >1 pi� alto */
	letter-spacing:1px;
	font-family: var(--font-main);
	font-size: 1.84em; /* ~24px */
	line-height:26px;
	color: #262626;
	font-weight: 400;
	margin: 0 0 8px 0;
	padding:0;
	font-weight: 600;
}
.footer p {
	font-family: var(--font-testi);
	font-size: 1.23em; /* ~16px */
	line-height:22px;
	font-weight: 400;
	color: #666;
	padding:0;
	margin: 4px 0;
	text-decoration: none;
}
.footer a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.15s ease, text-shadow 0.15s ease;
}
.footer a:hover {
	color:#353535;
  transform: translateY(-2px);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: initial;
    max-width: 1920px;
	padding:20px 0;
    margin: 0 10%;
}
.footer-bottom-left {
    text-align: left;
}
  .footer-bottom-right {
    text-align: right;
}
}
/* ==========================
   TABLET LANDSCAPE (>= 820px)
========================== */
@media only screen and (min-width: 820px) {
/* MENU DESKTOP */
.hamburger {
		display: none;
}
nav {
	position: static;
	transform: none;
	height: auto;
	width: auto;
	box-shadow: none;
	background: transparent;
	padding: 0;
}
#header.scrolled nav {
	background: transparent;
	backdrop-filter: none;
}
nav ul {
	flex-direction: row;
	gap: 25px;
}
nav ul li {
	opacity: 1;
	transform: none;
}
nav ul li a {
	font-size: 1.30em; /*17px; */
}
/* HERO */
.hero {
	height: 100vh;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	overflow: hidden;
}
.hero-inner {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	height: 100%;
	min-height: 0;
}
.hero-content,
.hero-image {
	min-height: 0;
}
.hero-content {
	width: 28%;
	margin-right: 0;
	padding-top: 10%;
}
.hero-image {
	width: 72%;
	align-items: flex-end;
	overflow: hidden;
}
.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}
 /* TYPO */
.hero-content h1 {
	font-size: clamp(32px, 4.5vw, 55px);
	line-height: 1.1;
	font-weight: 600;
	margin: 0 0 clamp(12px, 2vw, 25px) 0;
	white-space: nowrap;

	padding: 0.15em 0.4em;
	padding-left:0;
	background: linear-gradient(
		to right,
		rgba(234,242,255,0) 0%,
		rgba(234,242,255,0.2) 25%,
		rgba(234,242,255,0.6) 55%,
		rgba(234,242,255,0.7) 100%
	);

	border-radius: 10px;
	display: inline-block;
	text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.hero-content .subtitle {
	font-size: clamp(16px, 2vw, 24px);
	line-height: 1.4;
	font-weight: 300;
	margin: 0 0 clamp(20px, 3vw, 40px) 0;
}
/* CTA */
.cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: clamp(15px, 1.2vw, 18px);
	font-weight: 500;
	padding: 18px 24px;
	max-width: 300px;
	background: #EA5C3A;
	color: #fff;
	text-decoration: none;
	border-radius: 20px;
	transition: all 0.3s ease;
}
/* =========================
   WRAPPER LAYOUT
========================= */
.about-timeline-wrapper {
	display: flex;
	gap: 0;
	padding: 0 0;
	box-sizing: border-box;
	align-items: stretch; /* IMPORTANTISSIMO */
}
/* =========================
   CHI SIAMO
========================= */
.about {
	width: 50%;
	padding: 40px 10%;
	padding-right:5%;
	background: #fff;
}
.about-text {
	width: 100%;
}
.about-text h2 {
	font-family: var(--font-main);
	font-size: 3.07em; /* 40px */
	line-height: 40px;
	font-weight: 500;
	margin-bottom: 30px;
}
.about-text h3 {
	font-family: var(--font-main);
	font-size: 3.07em; /* 40px */
	line-height: 40px;
	font-weight: 500;
	margin-top: 40px;
	margin-bottom: 0;
}
.about-text h4 {
	font-family: var(--font-main);
	font-size: 1.84em; /* 24px */
	line-height: 26px;
	font-weight: 500;
	margin-top: 25px;
	margin-bottom: 30px;
}
.about-text p {
	font-family: var(--font-testi);
	font-size: 1.38em; /* 18px */
	line-height: 30px;
}
.politica {
	display: flex;
	flex-direction: row; /*  questo li mette su 2 righe */
	align-items: center; /* allinea verticalmente */
	gap: 20px; /* spazio tra bottone e immagine */
	margin-top: 30px;   /*  gestisci spazio sopra */
	margin-bottom: 30px; /*  gestisci spazio sotto */
}
.politica img {
	display: block;
	height: auto;
	max-width:72px;
}
/* =========================
   TIMELINE
========================= */
.timeline-section {
	width: 50%;
	background-color: #FCEDE9;
	padding-top:60px;
	padding-bottom:20px;
	padding-left:5%;
	padding-right:5%;
	display: flex;
	justify-content: center;
	box-sizing: border-box;
}
/* contenitore timeline */
.timeline {
	position: relative;
	width: 80%;
	margin:5% 10%;
}
/* item */
.timeline-item {
	position: relative;
	text-align: center;
	margin-bottom: 35px;
	padding-top: 30px;
}
/* DOT */
.timeline-item .dot {
	position: absolute;
	left: 50%;
	top: 0;
	transform: translate(-50%, -50%);
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #999;
	z-index: 2;
}
/* LINEA SOPRA */
.timeline-item .dot::before {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: -15px;
	width: 1px;
	height: 15px;
	background: #999;
}
/* LINEA SOTTO */
.timeline-item .dot::after {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 30px;
	width: 1px;
	height: 15px;
	background: #999;
}
/* primo dot senza linea sopra */
.timeline-item:first-child .dot::before {
	display: none;
}
/* ANNO */
.timeline-item h3 {
	font-family: var(--font-main);
	font-size: 2.053em; /* 28px; */
	font-weight: 500;
	margin: 0;
	padding-top: 15px;
}
/* TESTO */
.timeline-item p {
	font-family: var(--font-testi);
	font-size: 1.38em; /* 18px */
	line-height: 30px;
	margin: 20px auto 0;
}	
/* =========================
   SEZIONE SERVIZI
========================= */
.servizi {
	background: linear-gradient(to bottom, #F4F7FD, #D0DFF6);
	padding: 40px 0;
	text-align: center;
}
/* titolo */
.servizi h2 {
	font-family: var(--font-main);
	font-size: 3.07em; /* 40px */
	line-height: 40px;
	font-weight: 500;
	margin-top:0;
	margin-bottom: 30px;
}
/* sottotitolo */
.servizi .subtitle {
	font-family: var(--font-sottotitoli);
	font-size: 1.53em; /* 20px */
	line-height: 26px;
	margin-bottom: 50px;
	font-weight:400;
}
.servizi h2,
.servizi .subtitle {
	text-align: left;
	margin-left: 0;
}
/* grid */
.servizi-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	flex-wrap: wrap;
	gap: 20px;
	margin: 0 auto;    /* centra il blocco */
	margin-bottom:20px;
	justify-items: center;
}
.servizi-grid .card:last-child:nth-child(odd) {
	grid-column: auto !important;
	justify-self: auto !important;
}
/* card */
.card {
	background: #fff;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.08);
	padding: 20px;
	width:100%;
	max-width: 420px;
	margin-bottom:0;
	text-align: center;
}
/* hover */
.card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
/* immagine */
.card img {
	width: 100%;
	height: auto;
	border-radius: 10px;
	margin-bottom: 15px;
}
/* titolo card */
.card h3 {
	font-family: var(--font-main);
	font-size: 2.15em; /* circa 28px */
	line-height:28px;
	font-weight:400;
	margin-top:10px;
	margin-bottom: 25px;
}
/* testo */
.card p {
	font-family: var(--font-testi);
	font-size: 1.38em; /* circa 18px */
	color: #666;
	line-height:28px;
	font-weight:400;
}
/* ==========================
   SECTION SOLUZIONI
========================== */
.softwares-section {
	display: flex;
	gap: 80px;
	padding: 50px 10%;
	align-items: flex-start;
	background: linear-gradient(45deg, #FFFFFF 0%, #D0DFF6 50%, #FCEDE9 100%);
}
/* LEFT */
.softwares-left {
	flex: 1;
	text-align: left;
}
.softwares-left h2 {
	font-family: var(--font-main);
	font-size: 3.07em; /* 40px */
	line-height: 40px;
	font-weight:500;
	margin-top:0;
	margin-bottom: 30px;
	color: #262626;
}
.softwares-left p {
	font-family: var(--font-sottotitoli);
	font-size: 1.53em; /* 20px */
	line-height: 26px;
	margin-bottom: 50px;
	font-weight:400;
	color: #353535;
}
.softwares-left img {
	width: 452px;
	max-width: 100%;
	height: auto;
}
/* RIGHT */
.softwares-right {
	flex: 1;
}
/* ==========================
   ACCORDION 
========================== */
.accordion {
	margin-top: 80px; /* regola valore a piacere */
}
.accordion-item {
	margin-bottom: 15px;
	border-radius: 8px;
	overflow: hidden;
}
/* ==========================
   HEADER
========================== */
.accordion-header {
	width: 100%;
	background: #EA5C3A;
	border: none;
	padding: 15px 20px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	text-align: left;
	cursor: pointer;
	gap: 15px;
	font-family: var(--font-testi);
	font-size: 1.387em; /* 18px */
	line-height: 24px;
	color: #fff;
	transition: background 0.3s ease;
}
.accordion-header span:first-child {
	display: block;
	flex: 1;
}
/* hover */
.accordion-header:hover {
	background: #d94f32; /* leggermente più scuro del #EA5C3A */
}
/* icon + / − */
.accordion-header .icon {
	font-size: 22px;
}
/* ==========================
   CONTENT (CHIUSO)
========================== */
.accordion-content {
	max-height: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: max-height 0.5s ease, padding 0.4s ease;
	padding: 0 20px;
}
/* ==========================
   CONTENT (APERTO)
========================== */
.accordion-item.active .accordion-content {
	max-height: 1000px;
	padding: 15px 20px;
	background: rgba(255, 255, 255, 0.4);
	backdrop-filter: blur(10px);
	border-left: 3px solid rgba(255,255,255,0.4);
}
/* ==========================
   TESTO
========================== */
.accordion-content p {
	font-family: var(--font-testi);
	font-size: 1.38em;
	line-height:28px;
	color: #666;
	text-align: left;
	margin: 15px 0;
}
/* ==========================
   CTA LINK (FIX ALLINEAMENTO)
========================== */
.cta-accordion-link {
	display: inline-flex;
	align-items: center;
	align-self: flex-end; /* 🔥 QUESTO ALLINEA A DESTRA */
	font-family: var(--font-testi);
	font-size: 18px;
	font-weight: 400;
	text-decoration: none;
	margin-top: 10px;
	margin-bottom:10px;
	color: #262626;
	transition: color 0.3s ease;
}
/* hover colore */
.cta-accordion-link:hover {
	color: #EA5C3A;
}
/* freccia */
.cta-accordion-link .arrow {
	display: inline-block;
	margin-left: 6px;
	transition: transform 0.35s ease;
}
.cta-accordion-link:hover .arrow {
	transform: translateX(6px);
}
/* ==========================
   ANIMAZIONE ICONA
========================== */
.accordion-item.active .icon {
	content: "−";
}
/* =========================
  CONTATTI
========================= */
.contact-section {
  background: #ffffff;
  padding: 50px 20px;
  text-align: center;
}

.container-contact {
  max-width: 700px;
  margin: 0 auto;
}

/* =========================
   TITOLI
========================= */

.contact-section h2 {
	font-family: var(--font-main);
	font-size: 3.07em; /* 40px */
	line-height: 40px;
	font-weight:500;
	color: #262626;
	margin-top: 0;
	margin-bottom: 20px;
}
.subtitle {
	font-family: var(--font-sottotitoli);
	font-size: 1.53em; /* 20px */
	line-height: 26px;
	color: #353535;
	margin-bottom: 30px;
}

/* =========================
   PHONE
========================= */

.phone {
  margin-bottom:30px;
  color: #262626;
}

.phone i {
  font-size: 2.15em; /* 28px; */
  margin-bottom: 15px;
}

.phone p {
  font-family: var(--font-testi);
  font-size: 1.53em; /*20px */
  margin: 0;
}

/* =========================
   FORM
========================= */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* FIX FONDAMENTALE FLEX */
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* INPUT + SELECT*/
.row input,
.row select {
  width: 100%;
  height: 100%;
  display: block;
  box-sizing: border-box;
  box-sizing: border-box;
  padding: 16px 14px;
  border-radius: 10px;
  border: none;
  background: #D0DFF6;
  color: #262626;
  outline: none;
}

/*TEXTAREA */
textarea {
  flex: 1 1 0;   /* FIX DEFINITIVO LARGHEZZA UGUALE */
  min-width: 0;  /* evita overflow flex */
  width: 100%;
  box-sizing: border-box;
  padding: 16px 14px;
  border-radius: 10px;
  border: none;
  background: #D0DFF6;
  color: #262626;
  outline: none;
}
/* =========================
   SELECT FIX DEFINITIVO
========================= */

.row select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 16px 20px 16px 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23262626' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

/* =========================
   TEXTAREA
========================= */

textarea {
  min-height: 240px;
  resize: none;
}

/* =========================
   PRIVACY
========================= */

.privacy {
  text-align: center;
  font-size: 1.15em;
  line-height: 20px;
  color: #353535;
  margin-top: 10px;
}

.privacy a {
  color: #EA5C3A;
  font-weight: 600;
  text-decoration: none;
}

.privacy a:hover {
  text-decoration: underline;
}

.privacy label {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-align: left;
  max-width: 700px;
  margin: 10px auto 0;
}

/* CHECKBOX */
.privacy input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #EA5C3A;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
}

.privacy input[type="checkbox"]:checked {
  background: #EA5C3A;
}

.privacy input[type="checkbox"]:checked::after {
  content: "\2713";
  position: absolute;
  top: -2px;
  left: 3px;
  color: white;
  font-size: 14px;
}
/* =========================
   BUTTON
========================= */

.contact-form button {
  background: #EA5C3A;
  color: white;
  border: none;
  padding: 14px;
  font-size: 15px;
  font-family: var(--font-testi);
  text-transform: uppercase;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 200px;
  margin: 20px auto 0;
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  background: #e04f2f;
}
}
/* ==========================
   DESKTOP (>= 1024px)
========================== */
@media only screen and (min-width: 1024px) {
 /* HERO */
.hero-inner {
    gap: 0px;
}
.hero-content {
	padding-top: 12%;
}
/* =========================
   WRAPPER LAYOUT
========================= */
.about-timeline-wrapper {
	display: flex;
	gap: 0;
	padding: 0 0;
	box-sizing: border-box;
	align-items: stretch; /* IMPORTANTISSIMO */
}
/* =========================
   CHI SIAMO
========================= */
.about {
	width: 50%;
	padding: 50px 10%;
	background: #fff;
}
.about-text {
	width: 100%;
}
.about-text h2 {
	font-family: var(--font-main);
	font-size: 3.46em; /* 45px */
	line-height: 45px;
	font-weight: 500;
	margin-bottom: 30px;
}
.about-text h3 {
	font-family: var(--font-main);
	font-size: 3.46em;
	line-height: 45px;
	font-weight: 500;
	margin-top: 50px;
	margin-bottom: 0;
}
.about-text h4 {
	font-family: var(--font-main);
	font-size: 2em; /* 26px */
	line-height: 28px;
	font-weight: 500;
	margin-top: 25px;
	margin-bottom: 30px;
}
.about-text p {
	font-family: var(--font-testi);
	font-size: 1.38em; /* 18px */
	line-height: 30px;
	max-width: 680px;
}
.politica {
	display: flex;
	flex-direction: row; /*  questo li mette su 1 righa */
	align-items: center; /* allinea verticalmente */
	gap: 40px; /* spazio tra bottone e immagine */
	margin-top: 40px;   /*  gestisci spazio sopra */
	margin-bottom: 0px; /*  gestisci spazio sotto */
}
.politica img {
	display: block;
	height: auto;
	max-width:82px;
}
/* =========================
   TIMELINE
========================= */
.timeline-section {
	width: 50%;
	background-color: #FCEDE9;
	padding-top:60px;
	padding-bottom:20px;
	padding-left:5%;
	padding-right:5%;
	display: flex;
	justify-content: center;
	box-sizing: border-box;
}
/* contenitore timeline */
.timeline {
	position: relative;
	width: 80%;
	margin:5% 10%;
}
/* item */
.timeline-item {
	position: relative;
	text-align: center;
	margin-bottom: 35px;
	padding-top: 30px;
}
/* DOT */
.timeline-item .dot {
	position: absolute;
	left: 50%;
	top: 0;
	transform: translate(-50%, -50%);
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #999;
	z-index: 2;
}
/* LINEA SOPRA */
.timeline-item .dot::before {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: -15px;
	width: 1px;
	height: 15px;
	background: #999;
}
/* LINEA SOTTO */
.timeline-item .dot::after {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 30px;
	width: 1px;
	height: 15px;
	background: #999;
}
/* primo dot senza linea sopra */
.timeline-item:first-child .dot::before {
	display: none;
}
/* ANNO */
.timeline-item h3 {
	font-family: var(--font-main);
	font-size: 2.30em; /* 30px; */
	font-weight: 500;
	margin: 0;
	padding-top: 15px;
}
/* TESTO */
.timeline-item p {
	font-family: var(--font-testi);
	font-size: 1.38em; /* 18px */
	line-height: 30px;
	margin: 20px auto 0;
}
/* =========================
   SEZIONE SERVIZI
========================= */
.servizi {
	background: linear-gradient(to bottom, #F4F7FD, #D0DFF6);
	padding: 50px 0;
	padding-bottom:20px;
	text-align: left;
}
/* titolo */
.servizi h2 {
	font-family: var(--font-main);
	font-size: 3.46em; /* 45px */
	line-height: 45px;
	font-weight: 500;
	margin-bottom: 30px;
}
/* sottotitolo */
.servizi .subtitle {
	font-family: var(--font-sottotitoli);
	font-size: 1.84em; /* 24px */
	line-height: 28px;
	margin-bottom: 60px;
	font-weight:400;
}
.servizi h2,
.servizi .subtitle {
	text-align: left;
	margin-left: 0;
}
/* grid */
.servizi-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 50px;
	max-width: 1400px; /* scegli tu il valore */
	margin: 0 auto;    /* centra il blocco */
}
/* card */
.card {
	background: #fff;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.08);
	padding: 20px;
	width:100%;
	max-width: 420px;
	margin-bottom:50px;
	text-align: center;
}
/* hover */
.card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
/* immagine */
.card img {
	width: 100%;
	height: auto;
	border-radius: 10px;
	margin-bottom: 15px;
}
/* titolo card */
.card h3 {
	font-family: var(--font-main);
	font-size: 2.30em; /* circa 30px */
	line-height:30px;
	font-weight:400;
	margin-top:15px;
	margin-bottom: 30px;
}
/* testo */
.card p {
	font-family: var(--font-testi);
	font-size: 1.38em; /* circa 18px */
	color: #666;
	line-height:28px;
	font-weight:400;
/* ==========================
   STRIP CONSULENZA
========================== */
}
.consulenza-strip {
	background: linear-gradient(135deg, #334C97, #6C7FBB);
	padding: 80px 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.consulenza-inner {
	width: 80%;
	max-width: 1100px;
	margin: 0 auto;
}
/* titolo */
.consulenza-strip h2 {
	font-family: var(--font-main);
	font-size:3.23em; /* 42px; */
	line-height:42px;
	font-weight:400;
	color: #fff;
	margin-top:0;
	margin-bottom: 20px;
}
/* sottotitolo */
.consulenza-strip p {
	font-family: var(--font-sottotitoli);
	font-size:1.86em; /* 24px;*/
	line-height:24px;
	font-weight:400;
	color: #fff;
	margin-bottom: 40px;
}
/* bottone */
.consulenza-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-testi);
	font-weight:600;
	text-transform: uppercase;
	font-size: 1.076em; /* 14px;*/
	color: #000;
	background: rgba(255,255,255,0.85);
	padding: 14px 28px;
	border-radius: 20px;
	text-decoration: none;
	transition: all 0.3s ease;
}
/* freccia */
.consulenza-btn .arrow {
	transition: transform 0.3s ease;
}
/* hover */
.consulenza-btn:hover {
	background: #fff;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.consulenza-btn:hover .arrow {
	transform: translateX(5px);
}
.consulenza-btn .arrow {
	display: inline-block;
	transform: rotate(-45deg);
	transition: transform 0.3s ease;
}
.consulenza-btn:hover .arrow {
	transform: rotate(-45deg) translate(6px, -1px);
}
/* ==========================
   SECTION SOLUZIONI
========================== */
.softwares-section {
	display: flex;
	gap: 80px;
	padding: 60px 10%;
	align-items: flex-start;
	background: linear-gradient(45deg, #FFFFFF 0%, #D0DFF6 50%, #FCEDE9 100%);
}
/* LEFT */
.softwares-left {
	flex: 1;
	text-align: left;
}
.softwares-left h2 {
	font-family: var(--font-main);
	font-size:3.46em; /* 45px;*/
	line-height:45px;
	font-weight:400;
	margin-top:0;
	margin-bottom: 30px;
	color: #262626;
}
.softwares-left p {
	font-family: var(--font-sottotitoli);
	font-size: 1.84em; /* 24px */
	line-height: 30px;
	margin-bottom: 60px;
	font-weight:400;
	color: #353535;
}
.softwares-left img {
	width: 452px;
	max-width: 100%;
	height: auto;
}
/* RIGHT */
.softwares-right {
	flex: 1;
}
/* ==========================
   ACCORDION 
========================== */
.accordion {
	margin-top: 80px; /* regola valore a piacere */
}
.accordion-item {
	margin-bottom: 15px;
	border-radius: 8px;
	overflow: hidden;
}
/* ==========================
   HEADER
========================== */
.accordion-header {
	width: 100%;
	background: #EA5C3A;
	border: none;
	padding: 15px 20px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	cursor: pointer;
	font-family: var(--font-testi);
	font-size: 1.387em; /* 18px */
	line-height: 24px;
	color: #fff;
	transition: background 0.3s ease;
}
/* hover */
.accordion-header:hover {
	background: #d94f32; /* leggermente più scuro del #EA5C3A */
}
/* icon + / − */
.accordion-header .icon {
	font-size: 22px;
}
/* ==========================
   CONTENT (CHIUSO)
========================== */
.accordion-content {
	max-height: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: max-height 0.5s ease, padding 0.4s ease;
	padding: 0 20px;
}
/* ==========================
   CONTENT (APERTO)
========================== */
.accordion-item.active .accordion-content {
	max-height: 1000px;
	padding: 15px 20px;
	background: rgba(255, 255, 255, 0.4);
	backdrop-filter: blur(10px);
	border-left: 3px solid rgba(255,255,255,0.4);
}
/* ==========================
   TESTO
========================== */
.accordion-content p {
	font-family: var(--font-testi);
	font-size: 1.38em; /* 18px */
	line-height:28px;
	color: #666;
	text-align: left;
	margin: 15px 0;
}
/* ==========================
   CTA LINK (FIX ALLINEAMENTO)
========================== */
.cta-accordion-link {
	display: inline-flex;
	align-items: center;
	align-self: flex-end; /* 🔥 QUESTO ALLINEA A DESTRA */
	font-family: var(--font-testi);
	font-size: 18px;
	font-weight: 400;
	text-decoration: none;
	margin-top: 10px;
	margin-bottom:10px;
	color: #262626;
	transition: color 0.3s ease;
}
/* hover colore */
.cta-accordion-link:hover {
	color: #EA5C3A;
}
/* freccia */
.cta-accordion-link .arrow {
	display: inline-block;
	margin-left: 6px;
	transition: transform 0.35s ease;
}
.cta-accordion-link:hover .arrow {
	transform: translateX(6px);
}

.accordion-item.active .icon {
	content: "−";
}
/* =========================
  CONTATTI
========================= */
.contact-section {
  background: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.container-contact {
  max-width: 900px;
  margin: 0 auto;
}

/* =========================
   TITOLI
========================= */

.contact-section h2 {
  font-family: var(--font-main);
  font-size: 3.46em;
  line-height: 45px;
  font-weight: 400;
  color: #262626;
  margin-top: 0;
  margin-bottom: 20px;
}

.subtitle {
	font-family: var(--font-sottotitoli);
  font-size: 1.84em;
  line-height: 30px;
  color: #353535;
  margin-bottom: 30px;
}

/* =========================
   PHONE
========================= */

.phone {
  margin-bottom:40px;
  color: #262626;
}

.phone i {
  font-size: 2.30em; /* 30px; */
  margin-bottom: 15px;
}

.phone p {
  font-family: var(--font-testi);
  font-size: 1.53em;
  margin: 0;
}

/* =========================
   FORM
========================= */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* FIX FONDAMENTALE FLEX */
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* INPUT + SELECT*/
.row input,
.row select {
  width: 100%;
  height: 100%;
  display: block;
  box-sizing: border-box;
  box-sizing: border-box;
  padding: 16px 14px;
  border-radius: 10px;
  border: none;
  background: #D0DFF6;
  color: #262626;
  outline: none;
}

/*TEXTAREA */
textarea {
  flex: 1 1 0;   /* FIX DEFINITIVO LARGHEZZA UGUALE */
  min-width: 0;  /* evita overflow flex */
  width: 100%;
  box-sizing: border-box;
  padding: 16px 14px;
  border-radius: 10px;
  border: none;
  background: #D0DFF6;
  color: #262626;
  outline: none;
}
/* =========================
   SELECT FIX DEFINITIVO
========================= */

.row select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 16px 20px 16px 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23262626' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

/* =========================
   TEXTAREA
========================= */

textarea {
  min-height: 240px;
  resize: none;
}

/* =========================
   PRIVACY
========================= */

.privacy {
  text-align: center;
  font-size: 1.15em;
  line-height: 20px;
  color: #353535;
  margin-top: 10px;
}

.privacy a {
  color: #EA5C3A;
  font-weight: 600;
  text-decoration: none;
}

.privacy a:hover {
  text-decoration: underline;
}

.privacy label {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-align: left;
  max-width: 700px;
  margin: 10px auto 0;
}

/* CHECKBOX */
.privacy input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #EA5C3A;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
}

.privacy input[type="checkbox"]:checked {
  background: #EA5C3A;
}

.privacy input[type="checkbox"]:checked::after {
  content: "\2713";
  position: absolute;
  top: -2px;
  left: 3px;
  color: white;
  font-size: 14px;
}

/* =========================
   BUTTON
========================= */

.contact-form button {
  background: #EA5C3A;
  color: white;
  border: none;
  padding: 14px;
  font-size: 15px;
  font-family: var(--font-testi);
  text-transform: uppercase;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 200px;
  margin: 20px auto 0;
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  background: #e04f2f; 
}  
  /* =========================
   FOOTER
========================= */ 
.footer {
	padding: 1.5% 0;
 	background: linear-gradient(to right, #FCEDE9, #D0DFF6);
 /* background: linear-gradient(to bottom, #FCEDE9, #D0DFF6);*/
}
}
}