/* ============================================================
   asadaru-pages.css — اجزای مشترکِ صفحاتِ داخلی («Living Materia Medica»)
   توکن‌ها و کلاس‌های .asa-* از asadaru-home.css می‌آیند (سراسری).
   ============================================================ */
.asa-inner { background: var(--paper-50); }
.asa-inner .asa-hdr .asa-nav a.is-active { color: #fff; }
.asa-inner .asa-hdr .asa-nav a.is-active::after { width: calc(100% - 30px); }

/* ── هیروِ تیرهٔ داخلی ─────────────────────────────────────── */
.asa-ihero {
  position: relative; z-index: 2;
  background: var(--grad-hero); color: var(--text-light);
  overflow: hidden; isolation: isolate;
  margin-top: -76px; padding: 116px 0 0;
}
.asa-ihero__grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(192,162,75,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192,162,75,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(120% 90% at 72% 20%, #000 30%, transparent 82%);
}
.asa-ihero__in { position: relative; z-index: 2; padding: 30px 0 70px; text-align: right; }
.asa-arch--light .asa-arch__n { color: var(--brass); }
.asa-arch--light .asa-arch__t { color: var(--green-300); }
.asa-ihero .asa-arch { justify-content: flex-start; margin-bottom: 16px; }
.asa-ihero__title {
  font-family: var(--disp); font-weight: 900; color: #fff;
  font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.22; margin: 0 0 14px; letter-spacing: -.01em;
}
.asa-ihero__title .k { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.asa-ihero__sub { font-size: 1.15rem; font-weight: 300; color: var(--text-dim); max-width: 54ch; margin: 0; line-height: 1.9; }
.asa-ihero__wave { position: relative; z-index: 2; line-height: 0; }
.asa-ihero__wave svg { width: 100%; height: 60px; display: block; }

/* ── بردکرامب ─────────────────────────────────────────────── */
.asa-crumb { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 18px; font-size: 13px; }
.asa-crumb a { color: var(--text-dim); transition: color .2s; }
.asa-crumb a:hover { color: var(--green-300); }
.asa-crumb__sep { color: rgba(192,162,75,.55); }
.asa-crumb__cur { color: var(--brass); font-family: var(--latin); font-style: italic; }

/* ── بخشِ محتوای صفحه ─────────────────────────────────────── */
.asa-psec { position: relative; z-index: 2; padding: 66px 0; }
.asa-psec--paper { background: var(--paper-100); }
.asa-psec--white { background: #fff; }
.asa-psec--ink { background: var(--navy-900); color: var(--text-light); }
.asa-psec--ink .asa-h2 { color: #fff; }

/* ── پروز (متنِ خوانا) ────────────────────────────────────── */
.asa-prose { font-size: 16px; line-height: 2; color: var(--text-muted); max-width: 68ch; }
.asa-prose h3 { font-family: var(--disp); font-weight: 900; font-size: 1.35rem; color: var(--navy-900); margin: 26px 0 10px; }
.asa-prose p { margin: 0 0 15px; }
.asa-prose strong { color: var(--navy-900); font-weight: 700; }
.asa-prose ul { list-style: none; padding: 0; margin: 0 0 16px; }
.asa-prose li { position: relative; padding-inline-start: 20px; margin-bottom: 8px; }
.asa-prose li::before { content: ''; position: absolute; inset-inline-start: 3px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); }

/* ── فرم (تماس/لید) ───────────────────────────────────────── */
.asa-form { display: grid; gap: 15px; }
.asa-form label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy-900); margin-bottom: 6px; }
.asa-field { width: 100%; padding: 13px 15px; border: 1px solid #DCD7C6; border-radius: 11px; background: #fff; color: var(--text-dark); font-family: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.asa-field:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(63,164,106,.14); }
textarea.asa-field { min-height: 120px; resize: vertical; }
.asa-form__msg { font-size: 13.5px; line-height: 1.8; border-radius: 10px; padding: 10px 14px; display: none; }
.asa-form__msg.ok { display: block; background: rgba(63,164,106,.1); color: var(--green-700); border: 1px solid rgba(63,164,106,.28); }
.asa-form__msg.err { display: block; background: rgba(200,16,46,.07); color: var(--lac); border: 1px solid rgba(200,16,46,.22); }

/* ── نکته‌های ریز که چند صفحه لازم دارند ─────────────────── */
.asa-tagrow { display: flex; flex-wrap: wrap; gap: 8px; }
.asa-tag { font-size: 12px; font-weight: 600; color: var(--green-700); background: rgba(63,164,106,.09); border: 1px solid rgba(63,164,106,.18); padding: 4px 11px; border-radius: 7px; }
.asa-tag--brass { color: #93701C; background: rgba(192,162,75,.12); border-color: rgba(192,162,75,.3); }

@media (max-width: 780px) {
  .asa-ihero { margin-top: -70px; padding-top: 100px; }
}
