:root {
  --bg: #fbf9fd;
  --ink: #2b2538;
  --muted: #6b6479;
  --accent: #6f7fd6;
  --accent-dark: #4f5db3;
  --blush: #f1d9ea;
  --sage: #dfeadf;
  --card: #ffffff;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
p { margin: 0 0 1em; }
a { color: var(--accent-dark); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.site {
  background: var(--card);
  border-bottom: 1px solid #ece6f3;
  position: sticky;
  top: 0;
  z-index: 10;
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}
.brand {
  font-size: 1.35rem;
  font-weight: bold;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.brand span { color: var(--accent); }
nav a {
  margin-left: 22px;
  text-decoration: none;
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
}
nav a:hover, nav a.active { color: var(--accent-dark); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--blush), #dfe4fb 60%, var(--sage));
  padding: 90px 0 80px;
  text-align: center;
}
.hero p.lead {
  max-width: 600px;
  margin: 0 auto 1.6em;
  font-size: 1.15rem;
  color: var(--muted);
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 13px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-family: system-ui, sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn:hover { background: var(--accent-dark); }

/* Sections */
section.block { padding: 64px 0; }
section.alt { background: #f4f0fa; }
.center { text-align: center; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 2px 14px rgba(80, 70, 120, 0.08);
}
.card h3 { font-size: 1.2rem; }
.card p { color: var(--muted); margin: 0; }

.photo {
  height: 180px;
  border-radius: 10px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #cdd5f7, #f1d9ea);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b86a0;
  font-family: system-ui, sans-serif;
  font-size: 0.85rem;
}

/* Contact form */
form { display: grid; gap: 14px; max-width: 540px; }
label { font-family: system-ui, sans-serif; font-size: 0.9rem; color: var(--muted); }
input, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d9d2e6;
  border-radius: 10px;
  font: inherit;
  background: #fff;
}
textarea { min-height: 140px; resize: vertical; }

/* Footer */
footer.site {
  background: #2b2538;
  color: #cfc9dd;
  text-align: center;
  padding: 30px 0;
  font-family: system-ui, sans-serif;
  font-size: 0.9rem;
}

@media (max-width: 560px) {
  nav a { margin-left: 14px; }
  .hero { padding: 60px 0; }
}
