:root{
  --maxw: 1120px;
  --gap: clamp(14px, 2.2vw, 28px);
  --radius: 18px;

  --paper: #f7fbff;
  --muted: rgba(255,255,255,.78);
  --line: rgba(255,255,255,.14);

  /* Pastel accent for buttons */
  --accentA: #9be7df;
  --accentB: #d2ddff;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--paper);
  background:#07101d;
  overflow-x:hidden;
}

.page{min-height:100%}

.hero{
  position:relative;
  min-height:100svh;
  display:block;
}

/* Use the provided background image to match the mock */
.hero__bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.08), rgba(0,0,0,.22)),
    url("assets/Sfondo.png") center / cover no-repeat;
  z-index:0;
}

/* Face on the left, cropped/bleeding like the mock */
.hero__face{
  position:absolute;
  left:0;
  top:50%;
  transform: translate(-12%, -50%);
  height: min(92vh, 900px);
  width:auto;
  z-index:1;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,.35));
  pointer-events:none;
  user-select:none;
}

/* Brand lockup placed slightly right of center, near bottom */
.hero__lockup{
  position:absolute;
  left: 52%;
  bottom: clamp(56px, 10vh, 110px);
  transform: translateX(-10%);
  display:flex;
  align-items:center;
  gap: clamp(18px, 2.2vw, 28px);
  z-index:2;
  pointer-events:none;
  user-select:none;
}

.hero__icon{
  width: clamp(88px, 10vw, 130px);
  height:auto;
  flex:0 0 auto;
}

.hero__word{
  width: clamp(420px, 38vw, 760px);
  height:auto;
}

/* Minimal content block (kept small, below the lockup) */
.hero__content2{
  position:absolute;
  left: 52%;
  bottom: clamp(18px, 4.2vh, 48px);
  transform: translateX(-10%);
  width: min(560px, 92vw);
  z-index:2;
  display:flex;
  flex-direction:column;
  gap: 12px;
}
.hero__content{
  padding: clamp(10px, 1.5vw, 18px);
  display:flex;
  flex-direction:column;
  gap: 14px;

	position: absolute;
	top: 14%;
	left: 40%;

  z-index:20;
}

.brand__logo{
  width: min(520px, 100%);
  height:auto;
  display:block;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.25));
}
.title{
  margin: 8px 0 0;
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.subtitle{
  margin:0;
  color: var(--muted);
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.6;
  max-width: 52ch;
}

.subtitle--small{
  max-width: 68ch;
  color: rgba(255,255,255,.80);
}

.cta{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  margin-top: 8px;
}

.btn{
  appearance:none;
  border:none;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 14px;
  line-height: 1;
  cursor:pointer;
  transition: transform .12s ease, filter .12s ease, background .12s ease, border-color .12s ease;
  user-select:none;
  white-space:nowrap;
}

.btn:active{transform: translateY(1px)}
.btn--primary{
  background: linear-gradient(135deg, rgba(141,224,214,.95), rgba(207,220,255,.92));
  color: #07101a;
  box-shadow: 0 14px 35px rgba(0,0,0,.22);
}
.btn--primary:hover{filter: brightness(1.03)}

.btn--ghost{
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  color: var(--paper);
}
.btn--ghost:hover{background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.22)}

.chips{
  list-style:none;
  padding:0;
  margin: 10px 0 0;
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}
.chips li{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.86);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
}


.tagline{
  margin:0;
  color: var(--muted);
  line-height: 1.55;
  font-size: clamp(13px, 1.2vw, 16px);
  max-width: 60ch;
}

.cta{display:flex; gap:12px; flex-wrap:wrap}

.btn{
  appearance:none;
  border:none;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 14px;
  cursor:pointer;
  transition: transform .12s ease, filter .12s ease, background .12s ease, border-color .12s ease;
  white-space:nowrap;
}
.btn:active{transform: translateY(1px)}

.btn--primary{
  background: linear-gradient(135deg, rgba(155,231,223,.95), rgba(210,221,255,.92));
  color:#07101a;
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
}
.btn--primary:hover{filter: brightness(1.03)}

.btn--ghost{
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  color: var(--paper);
}
.btn--ghost:hover{background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.22)}

.section{
  padding: clamp(44px, 6vw, 76px) 0;
  /*background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));*/
}
.section--dark{
  /*background: linear-gradient(180deg, rgba(0,0,0,.22),z, rgba(0,0,0,.06));*/
  background: linear-gradient(180deg, #03040fe9, #054c6be0);
  background: linear-gradient(180deg, #03040fe9, #013253);
  border-top: 1px solid rgb(255 255 255 / 26%);
}

.wrap{width:min(var(--maxw), 92vw); margin:0 auto}

.h2{margin:0 0 16px; font-size: clamp(20px, 2.2vw, 30px); letter-spacing:-.02em}
.h3{margin:0 0 10px; font-size: 16px; letter-spacing:-.01em}
.sub{margin:0 0 18px; color: rgba(255,255,255,.80); line-height:1.6}

.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.card{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.card p{margin:0; color: rgba(255,255,255,.78); line-height:1.55; font-size:14px}

.form{
  margin-top: 10px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}

.field{display:flex; flex-direction:column; gap:8px}
.field--full{grid-column:1/-1}
.field span{font-size:13px; color: rgba(255,255,255,.78)}

input, textarea{
  width:100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(8, 17, 26, .55);
  color: var(--paper);
  padding: 12px;
  font-size: 14px;
  outline:none;
}
input::placeholder, textarea::placeholder{color: rgba(255,255,255,.45)}
input:focus, textarea:focus{
  border-color: rgba(155,231,223,.55);
  box-shadow: 0 0 0 4px rgba(155,231,223,.12);
}

.actions{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  margin-top: 6px;
}
.note{margin:0; color: rgba(255,255,255,.75); font-size:13px}

.footer{
  margin-top: 22px;
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  color: rgba(255,255,255,.70);
  font-size: 13px;
}
.link{
  color: rgba(255,255,255,.86);
  text-decoration:none;
  border-bottom: 1px dashed rgba(255,255,255,.35);
}
.link:hover{border-bottom-color: rgba(255,255,255,.65)}
.dot{opacity:.55}

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

/* Responsive: stack and center, keep the "mock feel" */
@media (max-width: 980px){

  .hero {
    min-height: 70svh;
  }

  .hero__face{
		opacity: .5;
		/* width: 45vw; */
		height: 68vh;
		top: 10px;
		transform: unset; 
  }

/*
  .hero__face{
    top: 0;
    left: 50%;
    transform: translate(-50%, -8%);
    height: 58vh;
    opacity: .98;
  }
*/
  .hero__lockup{
    left: 50%;
    bottom: clamp(120px, 18vh, 190px);
    transform: translateX(-50%);
    gap: 14px;
  }
  .hero__word{width: min(86vw, 560px)}
  .hero__content{
    left: 22%;
		/* transform: translateX(-50%); */
		/* bottom: 26px; */
		/* text-align: center; */
		/* align-items: center; */
		top: 60px;
		background: #0f152394;
		box-shadow: 0px 0px 40px 40px #0f152394;
  }
  .cards{grid-template-columns: 1fr}
  .form{grid-template-columns: 1fr}
}

/* Ultra small */
@media (max-width: 420px){
  .hero__icon{width: 76px}
}
