:root{
  --green:#0B6B3A;
  --blue:#0B3B63;
  --ink:#0a1222;
  --muted:#5b6677;
  --bg:#ffffff;
  --border: rgba(10,18,34,.10);
  --shadow: 0 25px 60px rgba(10,18,34,.15);
  --radius: 22px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}

body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(11,59,99,.08), transparent 60%),
    linear-gradient(#ffffff, #ffffff);
}

.container{width:min(760px, 92%);margin:0 auto}

.topbar{
  padding:40px 0 20px;
}

.brand__logo{
  max-width:100%;
  object-fit:contain;
}

.brand__logo--big{
  width:420px;
}

.brand__logo--footer{
  width:260px;
  opacity:.95;
}

.hero{
  text-align:center;
  padding:20px 0 30px;
}

h1{
  font-size:clamp(2rem,3vw,2.6rem);
  margin:0 0 12px;
  letter-spacing:-.02em;
}

.lead{
  margin:0 auto;
  color:var(--muted);
  font-size:1.08rem;
  line-height:1.7;
  max-width:520px;
}

.section{
  padding:30px 0 50px;
}

.section--alt{
  background:rgba(11,59,99,.03);
}

.panel{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:28px;
}

.panel--center{
  margin:0 auto;
}

.form label{
  display:block;
  font-weight:900;
  margin:14px 0 8px;
}

input, textarea{
  width:100%;
  padding:14px;
  border-radius:16px;
  border:1px solid var(--border);
  font-size:1rem;
  outline:none;
}

input:focus, textarea:focus{
  border-color: rgba(11,59,99,.35);
  box-shadow: 0 0 0 4px rgba(11,59,99,.08);
}

.grid1{
  display:grid;
  grid-template-columns:1fr;
}

.consent{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin-top:16px;
  font-weight:700;
}

.consent input{
  margin-top:5px;
}

.btn{
  margin-top:20px;
  padding:14px;
  border-radius:999px;
  border:none;
  font-weight:900;
  font-size:1rem;
  background:linear-gradient(90deg,var(--blue),var(--green));
  color:#fff;
  cursor:pointer;
  box-shadow: 0 12px 30px rgba(11,59,99,.18);
}

.btn:hover{
  transform:translateY(-1px);
}

/* Hero actions (extra CTA buttons) */
.actions{
  margin-top:18px;
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}

.btn--secondary{
  background:#fff;
  color:var(--blue);
  border:1px solid rgba(11,59,99,.25);
  box-shadow:none;
}

.btn--secondary:hover{
  transform:translateY(-1px);
}

.btn--small{
  padding:12px 16px;
  font-size:.98rem;
}

.footer{
  padding:40px 0 50px;
  text-align:center;
  border-top:1px solid var(--border);
}

.muted{
  color:var(--muted);
}

@media (max-width:600px){
  .brand__logo--big{
    width:280px;
  }
}


/* Upload progress + messages */
.uploader{margin-top:14px}
.uploader__row{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.uploader__label{font-weight:900;color:rgba(10,18,34,.86)}
.uploader__pct{font-weight:900;color:rgba(11,59,99,.92)}
.progress{
  width:100%;
  height:12px;
  border-radius:999px;
  background:rgba(10,18,34,.08);
  overflow:hidden;
  border:1px solid var(--border);
}
.progress__bar{
  height:100%;
  width:0%;
  border-radius:999px;
  background:linear-gradient(90deg, var(--blue), var(--green));
  transition:width .15s ease;
}
.notice{
  margin-top:12px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.82);
  box-shadow: 0 12px 26px rgba(10,18,34,.08);
  font-weight:800;
  color:rgba(10,18,34,.88);
}
.notice--ok{border-color: rgba(11,107,58,.22);}
.notice--err{border-color: rgba(180,40,40,.20);}
.toast{
  margin-bottom:12px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.85);
  box-shadow: 0 16px 34px rgba(10,18,34,.10);
  font-weight:900;
}
.toast--ok{border-color: rgba(11,107,58,.22);}
.toast--err{border-color: rgba(180,40,40,.20);}

/* ===== CTA ROW ===== */
.cta-row{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* ===== BOTTONI (se non presenti) ===== */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 18px;border-radius:999px;
  background:linear-gradient(90deg,var(--green),var(--blue));
  color:#fff;text-decoration:none;font-weight:700;
  box-shadow:var(--shadow);
  border:1px solid rgba(255,255,255,.12);
}
.btn:hover{transform:translateY(-1px)}
.btn--ghost{
  background:#fff;color:var(--ink);
  border:1px solid var(--border);
  box-shadow:none;
}

/* ===== NOTE BOX ===== */
.note{
  margin-top:22px;
  padding:14px 16px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:rgba(255,255,255,.7);
  color:var(--muted);
}

/* ===== GALLERIA INSTAGRAM ===== */
.gallery{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:20px;
  margin-top:30px;
}
.gallery__item{
  background:#fff;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery__item:hover{
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(10,18,34,.18);
}
.gallery__item img{
  width:100%;
  display:block;
}

/* ===== REELS (9:16) ===== */
.reels{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap:22px;
  margin-top:30px;
}
.reel{
  background:#fff;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow:var(--shadow);
}
.reel__frame{
  width:100%;
  aspect-ratio: 9 / 16;
  background:#000;
}
.reel__frame video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.reel__meta{
  padding:14px 16px;
}
.reel__title{font-weight:800}
.reel__sub{color:var(--muted);margin-top:4px;font-size:.95rem}
