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

body {
  font-family: system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  background: #f4f1ea;
  color: #111;
  line-height: 1.6;
  display: flex;
  padding: 2rem 1rem;
}

.wrap {
  margin: auto;
  display: flex;
  gap: 3rem;
  width: 100%;
  max-width: 1024px;
}

.spacer {
  width: 9rem;
  flex-shrink: 0;
}

.nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  left: calc((100vw - min(1024px, 100vw - 2rem)) / 2);
  width: 9rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 10;
}

.nav a {
  padding: 0.6rem 2.5rem 0.6rem 1.2rem;
  border-radius: 6px;
  color: #444;
  background: #ebe6db;
  border: 1px solid #dcd6c8;
  border-bottom: none;
  font-size: 1rem;
}

.nav a:hover {
  background: #e0dacd;
}

.nav a.active {
  background: #111;
  color: #f4f1ea;
  border-color: #111;
}

@media (max-width: 768px) {
  .wrap {
    flex-direction: column;
    gap: 1.5rem;
    margin: 0;
  }

  .nav {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    transform: none;
    flex-direction: row;
    justify-content: center;
    margin: -1rem -1rem 0;
    padding: 1rem;
    background: rgba(244, 241, 234, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e4e0d6;
  }

  .spacer {
    display: none;
  }
}

main {
  flex: 1 1 auto;
  max-width: 640px;
  padding: 4rem 1.5rem;
}

header {
  text-align: center;
}

section {
  scroll-margin-top: 1rem;
}

h1 {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.page-title {
  font-size: 2.25rem;
  text-align: center;
}

.tagline {
  margin-top: 0.25rem;
  font-size: 1.2rem;
  color: #555;
}

.links {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

a {
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid rgba(17, 17, 17, 0.3);
  transition: border-color 0.2s;
}

a:hover {
  border-bottom-color: #111;
}

.phone {
  direction: rtl;
  unicode-bidi: bidi-override;
}

.muted {
  color: #777;
}

.center {
  text-align: center;
}

main p + p {
  margin-top: 1rem;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.list {
  list-style: none;
}

.list li {
  margin-bottom: 0.5rem;
}
