
:root {
  --bg: #fdf7ff;
  --bg-alt: #fff9f3;
  --surface: #ffffff;
  --primary: #ffb3c1; /* rosa pastello */
  --primary-dark: #f28ea9;
  --accent: #a7e9af; /* verde menta */
  --accent-soft: #ccecfb; /* azzurro chiaro */
  --text: #333333;
  --muted: #777777;
  --radius: 16px;
  --shadow-soft: 0 8px 24px rgba(0,0,0,0.06);
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #ffeef5, #fdf7ff 40%, #fff9f3 80%);
  color: var(--text);
}

a { color: var(--primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-nav a {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.hero {
  padding: 2.5rem 1.5rem 2rem;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(255,255,255,0.9);
  border-radius: 24px;
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-soft);
}

.hero-inner h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.hero-search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-search input {
  flex: 1;
  min-width: 200px;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #e0d9cf;
}

.hero-search button {
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.section {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2rem;
}

.section-alt {
  background: rgba(255,255,255,0.8);
  border-radius: 24px;
  margin-top: 1rem;
}

.section-header {
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
}

.section-subtitle {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.card {
  background: var(--surface);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.card figure {
  margin-bottom: 0.75rem;
}

.card img {
  width: 100%;
  border-radius: 16px;
}

.card figcaption {
  margin-top: 0.3rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.card-meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.card-text {
  font-size: 0.95rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.info-block {
  background: #fff;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.info-block h3 {
  margin-bottom: 0.4rem;
}

.info-block p {
  font-size: 0.95rem;
}

.contact-card {
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-soft);
  font-size: 0.95rem;
}

.contact-card p + p {
  margin-top: 0.4rem;
}

.site-footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-note {
  margin-top: 0.4rem;
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .hero-inner {
    padding: 1.5rem 1.25rem;
  }
}
