  :root {
    --grad: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --ink: #1e1b2e;
    --muted: #6b6880;
    --bg: #faf9fe;
    --card: #ffffff;
    --line: #e9e6f4;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--ink); background: var(--bg); line-height: 1.55;
  }
  a { color: inherit; text-decoration: none; }

  /* Header */
  header {
    position: sticky; top: 0; z-index: 10;
    background: rgba(250,249,254,.85); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .nav {
    max-width: 1100px; margin: 0 auto; padding: 14px 20px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; }
  .brand-logo { height: 46px; width: auto; display: block; }
  .brand em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .nav a.cta {
    background: var(--grad); color: #fff; padding: 9px 18px; border-radius: 999px;
    font-weight: 600; font-size: .92rem; transition: transform .15s, box-shadow .15s;
  }
  .nav a.cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(168,85,247,.35); }

  /* Hero */
  .hero {
    max-width: 1100px; margin: 0 auto; padding: 72px 20px 56px; text-align: center;
  }
  .hero h1 {
    font-size: clamp(2rem, 5.4vw, 3.4rem); line-height: 1.12; font-weight: 800;
    letter-spacing: -.02em;
  }
  .hero h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .hero p { max-width: 560px; margin: 18px auto 30px; color: var(--muted); font-size: 1.08rem; }

  /* Ricerca */
  .searchwrap { max-width: 460px; margin: 0 auto; position: relative; }
  .searchwrap input {
    width: 100%; padding: 15px 20px 15px 48px; font-size: 1rem;
    border: 1px solid var(--line); border-radius: 999px; background: var(--card);
    box-shadow: 0 8px 30px rgba(99,102,241,.08); outline: none;
  }
  .searchwrap input:focus { border-color: #a855f7; box-shadow: 0 0 0 4px rgba(168,85,247,.15); }
  .searchwrap svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }

  /* Centri */
  .centri { max-width: 1100px; margin: 0 auto; padding: 20px 20px 70px; }
  .grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .card {
    background: var(--card); border: 1px solid var(--line); border-radius: 16px;
    padding: 22px; display: flex; align-items: center; gap: 16px;
    transition: transform .15s, box-shadow .15s; box-shadow: 0 2px 10px rgba(30,27,46,.04);
  }
  .card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(99,102,241,.14); }
  .card .avatar {
    width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
    display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.3rem;
    background: var(--grad); overflow: hidden;
  }
  .card .avatar img { width: 100%; height: 100%; object-fit: cover; }
  .card .info { min-width: 0; }
  .card .info b { display: block; font-size: 1.05rem; }
  .card .info span { color: var(--muted); font-size: .85rem; word-break: break-all; }
  .vuoto { text-align: center; color: var(--muted); padding: 40px 0; }

  /* Titolari */
  .titolari { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .titolari .inner { max-width: 1100px; margin: 0 auto; padding: 64px 20px; }
  .titolari h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; text-align: center; }
  .titolari > .inner > p { text-align: center; color: var(--muted); margin: 12px auto 40px; max-width: 560px; }
  .feat { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
  .feat .f { padding: 20px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
  .feat .f .ico { font-size: 1.5rem; margin-bottom: 10px; }
  .feat .f b { display: block; margin-bottom: 4px; }
  .feat .f p { color: var(--muted); font-size: .92rem; }
  .cta-box { text-align: center; margin-top: 40px; }
  .cta-box a {
    display: inline-block; background: var(--grad); color: #fff; font-weight: 700;
    padding: 14px 32px; border-radius: 999px; font-size: 1.05rem;
    transition: transform .15s, box-shadow .15s;
  }
  .cta-box a:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(168,85,247,.4); }

  footer { padding: 36px 20px; text-align: center; color: var(--muted); font-size: .85rem; }
  footer .brand { justify-content: center; margin-bottom: 8px; font-size: 1rem; }

  @media (max-width: 480px) {
    .hero { padding: 48px 16px 40px; }
    .centri { padding: 12px 16px 48px; }
  }

.brand-logo-footer { height: 30px; }
