
:root{
  --bg:#ffffff;
  --text:#000000;
  --muted:#222222;
  --line:#d7e1ee;
  --card:#ffffff;
  --accent:#0683BD;
  --accent2:#0b2e4a;
  --shadow:0 12px 28px rgba(0,0,0,.08);
  --shadow2:0 8px 18px rgba(0,0,0,.06);
  --radius:16px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Helvetica Neue", "Noto Sans", sans-serif;
  color:var(--text);
  background:var(--bg);
}
a{color:inherit; text-decoration:none}
img{max-width:100%; height:auto}
.wrap{width:min(1120px, 92%); margin:0 auto}
.skip{
  position:absolute; left:-999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  position:fixed; left:16px; top:16px; width:auto; height:auto;
  padding:10px 12px; background:#fff; border:1px solid var(--line); border-radius:12px; z-index:999;
}

/* Header */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding:12px 0;
}
.brand{display:flex; align-items:center; gap:10px}
.brand img{border-radius:10px}
.brand-title{font-weight:900; letter-spacing:.2px}
.brand-sub{display:block; font-size:12px; color:var(--muted); margin-top:1px}
.nav{position:relative}
.nav-toggle{
  display:none;
  appearance:none;
  border:1px solid var(--line);
  background:#fff;
  border-radius:12px;
  padding:10px 12px;
  cursor:pointer;
}
.nav-toggle .bars{
  width:18px; height:2px; background:var(--text); display:block; position:relative;
}
.nav-toggle .bars:before,.nav-toggle .bars:after{
  content:""; position:absolute; left:0; width:18px; height:2px; background:var(--text);
}
.nav-toggle .bars:before{top:-6px}
.nav-toggle .bars:after{top:6px}

.nav-menu{display:flex; align-items:center; gap:10px}
.nav-menu a{color:var(--muted); font-size:14px; padding:8px 10px; border-radius:10px}
.nav-menu a:hover{background:rgba(6,131,189,.08); color:var(--text)}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(6,131,189,.35);
  font-weight:800;
  font-size:14px;
  background:var(--accent);
  color:#fff;
  transition: transform .12s ease, filter .12s ease;
}
.btn:hover{transform:translateY(-1px); filter:brightness(.98)}
.btn-small{padding:8px 12px; font-size:13px}
.btn-ghost{
  background:#fff;
  color:var(--accent);
}
.btn-ghost:hover{background:rgba(6,131,189,.06)}

/* Hero */
.hero{position:relative; overflow:hidden}
.hero-bg{
  position:absolute; inset:0;
  background-image: url("../img/hero-bg.jpg");
  background-size:cover;
  background-position:center;
  filter:saturate(1.05);
}
.hero:before{
  content:""; position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.75) 42%, rgba(255,255,255,.45) 70%, rgba(255,255,255,.22) 100%);
}
.hero-inner{
  position:relative;
  padding:56px 0 26px;
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:18px;
  align-items:stretch;
}
.hero-panel{
  background:rgba(255,255,255,.90);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow2);
  padding:18px;
  backdrop-filter: blur(6px);
}
.hero-panel .eyebrow{color:var(--muted)}
.hero-panel h1{color:var(--accent2)}
.hero-panel .lead{color:var(--text)}
.hero-panel .hero-bullets{color:var(--text)}

.eyebrow{margin:0 0 10px; text-transform:uppercase; letter-spacing:.14em; font-size:12px; color:var(--muted)}
.hero h1{margin:0; font-size:clamp(30px,3vw,44px); line-height:1.08; letter-spacing:-.02em; color:var(--accent2)}
.lead{margin:12px 0 0; color:var(--text); font-size:16px; line-height:1.65}
.hero-cta{display:flex; gap:10px; flex-wrap:wrap; margin-top:16px}
.hero-bullets{margin:16px 0 0; padding-left:18px; color:var(--text); line-height:1.7}

/* Box stile "card" per testo e bullets (hero) */
.hero-textpanel{
  margin-top:14px;
  background: rgba(255,255,255,.90);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  padding: 16px 18px;
  max-width: 720px;
}
.hero-textpanel .lead,
.hero-textpanel .hero-bullets{
  color: var(--text);
}
.hero-textpanel .lead{margin-top:0}
.hero-textpanel .hero-bullets{margin-top:10px}
.hero-cards{display:grid; gap:12px}
.card{
  background:rgba(255,255,255,.92);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow2);
  padding:16px;
  color:var(--text);
}
.card h3{margin:0 0 8px; color:var(--text)}
.card p{margin:0; color:var(--text); line-height:1.55}

/* Check list */
.check{list-style:none; padding:0; margin:10px 0 0}
.check li{position:relative; padding-left:22px; margin:8px 0; color:var(--text); line-height:1.55}
.check li:before{content:"✓"; position:absolute; left:0; top:0; color:var(--accent); font-weight:900}

/* Definition list (company data) */
.dl{margin:10px 0 0}
.dl > div{display:flex; justify-content:space-between; gap:12px; padding:8px 0; border-bottom:1px dashed rgba(215,225,238,.9)}
.dl > div:last-child{border-bottom:0}
.dl dt{font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted)}
.dl dd{margin:0; font-weight:800; color:var(--text); text-align:right}

/* Proposal box */
.proposal-box{
  margin:14px 0 18px;
  padding:16px;
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:rgba(6,131,189,.06);
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}
.proposal-box h3{margin:0 0 6px}
.proposal-actions{display:flex; flex-direction:column; gap:10px; min-width:220px}


/* Sections */
.section{padding:54px 0}
.section.alt{
  background:#fff;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section-head{margin-bottom:14px}
.section-head p{margin:0; color:var(--text); line-height:1.6}
h2{margin:0 0 12px; color:var(--accent2); letter-spacing:-.01em}
h3{margin:0 0 10px; color:var(--text)}

.grid-3{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; margin-top:14px}
.grid-2{display:grid; grid-template-columns: 1fr 1fr; gap:14px; margin-top:14px}

.feature{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow2);
  padding:18px;
  color:var(--text);
}
.feature ul{margin:10px 0 0; padding-left:18px; color:var(--text); line-height:1.7}

.note{
  margin-top:10px;
  padding:12px 14px;
  border-radius:14px;
  background:rgba(6,131,189,.06);
  border:1px solid rgba(6,131,189,.14);
  color:var(--text);
  font-size:13px;
  line-height:1.55;
}

/* Steps / CTA band */
.steps{margin:10px 0 0; padding-left:18px; color:var(--text); line-height:1.75}
.cta-band{
  margin-top:16px;
  padding:16px;
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:rgba(255,255,255,.9);
  box-shadow:var(--shadow2);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.cta-band p{margin:6px 0 0; color:var(--text)}

/* Image service cards */
.imggrid{display:grid; grid-template-columns: repeat(4, 1fr); gap:14px; margin-top:14px}
.imgcard{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow2);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.imgcard img{width:100%; height:160px; object-fit:cover; display:block}
.imgcard__body{padding:14px 16px; color:var(--text)}
.imgcard__body p{margin:0; color:var(--text); line-height:1.55; font-size:14px}

/* Responsive */
@media (max-width: 980px){
  .hero-inner{grid-template-columns: 1fr}
  .nav-toggle{display:inline-flex; align-items:center; justify-content:center}
  .nav-menu{
    display:none;
    position:absolute;
    top:calc(100% + 10px);
    right:0;
    background:rgba(255,255,255,.98);
    border:1px solid var(--line);
    border-radius:14px;
    box-shadow:var(--shadow);
    padding:10px;
    flex-direction:column;
    align-items:stretch;
    min-width:240px;
    gap:6px;
  }
  .nav-menu.is-open{display:flex}
  .grid-3{grid-template-columns: 1fr}
  .grid-2{grid-template-columns: 1fr}
  .imggrid{grid-template-columns: repeat(2, 1fr)}
  .cta-band{flex-direction:column; align-items:flex-start}
  .proposal-box{flex-direction:column}
  .proposal-actions{min-width:0; width:100%; flex-direction:row; flex-wrap:wrap}
}
@media (max-width: 560px){
  .imggrid{grid-template-columns: 1fr}
  .imgcard img{height:180px}
}

/* KPI blocks */
.kpis{display:flex; gap:12px; flex-wrap:wrap; margin-top:14px}
.kpi{
  display:flex; align-items:center; gap:10px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px 14px;
  box-shadow:var(--shadow2);
}
.kpi__n{
  width:56px; height:56px;
  border-radius:14px;
  background:rgba(6,131,189,.10);
  display:grid; place-items:center;
  font-weight:900;
  color:var(--accent2);
}
.kpi__t{font-size:13px; color:var(--text); line-height:1.25}

/* Footer */
.footer{
  border-top:1px solid var(--line);
  background:#fff;
  padding:24px 0;
}
.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.footer-brand{display:flex; align-items:center; gap:10px; font-weight:800}
.footer-links{display:flex; gap:10px; flex-wrap:wrap}
.footer-links a{color:var(--muted); font-size:14px; padding:6px 8px; border-radius:10px}
.footer-links a:hover{background:rgba(6,131,189,.08); color:var(--text)}
.small{margin:10px 0 0; color:var(--muted); font-size:12px; line-height:1.5}

@media (max-width: 980px){
  .footer-inner{flex-direction:column}
}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}


/* HERO readability (keep image visible, improve text contrast) */
.hero .eyebrow,
.hero h1,
.hero .lead,
.hero .hero-bullets{
  color:#fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.65);
}
.hero .eyebrow{opacity:.92}
.hero .lead{opacity:.95}
.hero .hero-bullets{opacity:.95}
.hero .hero-copy{max-width: 760px;}
.hero .btn-ghost{
  background: rgba(255,255,255,.14);
  color:#fff;
  border:1px solid rgba(255,255,255,.35);
}
.hero .btn-ghost:hover{filter: brightness(1.08);}

/* Proposal box refinement */
.proposal-box{
  background:#fff;
  border:1px solid var(--line);
  box-shadow: var(--shadow2);
}
.proposal-actions{
  flex-direction: row;
  gap:10px;
  min-width: auto;
  align-items: center;
}
@media (max-width: 860px){
  .proposal-box{flex-direction:column; align-items:stretch;}
  .proposal-actions{flex-direction:column; align-items:stretch;}
  .proposal-actions .btn{width:100%;}
}

