:root {
  --sage: #7fa596;
  --sage-dark: #4f7566;
  --sage-light: #c7ddd3;
  --bg: #faf9f6;
  --bg-alt: #eef3ee;
  --ink: #2b332f;
  --ink-soft: #5b6560;
  --border: #e2e6e1;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  color: var(--sage-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}
.eyebrow.center, h2.center { text-align: center; }

h1, h2, h3 { font-weight: 700; margin: 0 0 16px; }
h1 { font-size: 2.4rem; line-height: 1.4; }
h2 { font-size: 1.9rem; }
p { color: var(--ink-soft); }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease;
}
.btn-primary { background: var(--sage-dark); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { border-color: var(--sage-dark); color: var(--sage-dark); }
.btn-block { width: 100%; text-align: center; border: none; cursor: pointer; font-family: inherit; font-size: 1rem; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250,249,246,0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
.logo { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.15rem; }
.logo span { display: block; font-size: 0.75rem; font-weight: 400; color: var(--ink-soft); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--sage-dark); }
.nav-cta { background: var(--sage-dark); color: #fff !important; padding: 10px 20px; border-radius: 999px; }

/* hero */
.hero { padding: 72px 0; }
.hero-inner { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.hero-text { flex: 1 1 420px; }
.hero-art { flex: 1 1 320px; max-width: 380px; }
.hero-art svg { width: 100%; height: auto; }
.hero-actions { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }

/* about */
.about { padding: 64px 0; background: var(--bg-alt); }
.about-inner { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.about-art { flex: 0 0 240px; max-width: 240px; }
.about-art svg { width: 100%; height: auto; }
.about-text { flex: 1 1 420px; }
.badges { list-style: none; padding: 0; display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.badges li { background: #fff; border: 1px solid var(--border); padding: 8px 16px; border-radius: 999px; font-size: 0.9rem; }

/* services */
.services { padding: 72px 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; margin-top: 40px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px; text-align: center; }
.card-icon { width: 56px; margin: 0 auto 16px; }
.card-icon svg { width: 100%; height: auto; }
.card h3 { font-size: 1.1rem; }
.card p { font-size: 0.92rem; }

/* gallery */
.gallery { padding: 72px 0; background: var(--bg-alt); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 40px; }
.gallery-item { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.gallery-item svg { display: block; width: 100%; height: auto; }
.gallery-note { text-align: center; font-size: 0.85rem; margin-top: 20px; color: var(--ink-soft); opacity: 0.8; }

/* contact */
.contact { padding: 72px 0; }
.contact-inner { display: flex; gap: 56px; flex-wrap: wrap; }
.contact-info { flex: 1 1 340px; }
.contact-list { list-style: none; padding: 0; margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.contact-list small { color: var(--ink-soft); font-size: 0.78rem; }
.ic { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: var(--bg-alt); border-radius: 50%; color: var(--sage-dark); }

.contact-form { flex: 1 1 380px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.form-row { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.88rem; font-weight: 600; }
.form-row input, .form-row textarea {
  font-family: inherit; font-size: 1rem; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: 10px; background: var(--bg);
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--sage); }
.form-status { min-height: 20px; font-size: 0.9rem; margin-top: 10px; }
.form-status.ok { color: var(--sage-dark); }
.form-status.err { color: #b8543f; }

/* footer */
.site-footer { padding: 28px 0; text-align: center; color: var(--ink-soft); font-size: 0.85rem; border-top: 1px solid var(--border); }

@media (max-width: 720px) {
  .nav { gap: 16px; }
  .nav a:not(.nav-cta) { display: none; }
  h1 { font-size: 1.9rem; }
}
