:root{
  --font-main: 'Space Grotesk', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --bg: #f6f8fc;
  --surface: rgba(255,255,255,0.90);
  --text: #0b1220;
  --muted: #4b5563;

  --line: rgba(15, 23, 42, 0.12);
  --accent: #1f4fd6;
  --accent-2: #0ea5e9;

  --radius: 18px;
  --shadow: 0 14px 34px rgba(15,23,42,0.10);
}

/* RESET */
*{ margin:0; padding:0; box-sizing:border-box; }

body{
  font-family: var(--font-main);
  color: var(--text);
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(14,165,233,0.12), transparent 60%),
    radial-gradient(900px 500px at 85% 20%, rgba(31,79,214,0.10), transparent 55%),
    var(--bg);
  line-height: 1.65;
}

/* LAYOUT */
.page{
  max-width: 1100px;
  margin: 0 auto;
  padding: 44px 16px;
}

/* TYPO */
h1{
  font-size: 40px;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

h2{
  font-size: 28px;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

p{
  font-size: 16px;
  color: var(--muted);
}

/* BLOCCHI SERVIZIO */
.block{
  display:flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 64px;

  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.block img{
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display:block;
}

.text{
  max-width: 680px;
}

/* TESTIMONIALS */
.testimonials{
  margin: 80px 0;
  text-align: center;
}

.subtitle{
  color: var(--muted);
  margin-bottom: 32px;
}

.testimonial-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.testimonial-grid a{
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  text-decoration:none;
  font-weight: 800;
  color: var(--text);
  transition: transform 140ms ease, border-color 140ms ease;
}

.testimonial-grid a:hover{
  border-color: rgba(31,79,214,0.30);
  transform: translateY(-1px);
}

/* CTA */
.cta{
  text-align:center;
  padding: 60px 20px;
  border-top: 1px solid var(--line);
}

.btn{
  display:inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color:#fff;
  text-decoration:none;
  font-weight: 900;
  transition: filter 140ms ease, transform 140ms ease;
}

.btn:hover{
  filter: brightness(0.96);
  transform: translateY(-1px);
}

/* DESKTOP */
@media (min-width: 900px){
  .block{
    flex-direction: row;
    align-items:center;
    gap: 48px;
  }

  .block:nth-child(even){
    flex-direction: row-reverse;
  }

  .block img{
    flex-shrink: 0;
  }
}
