/*
Theme Name: MinaLab Child
Theme URI: https://minalab.ir
Description: پوستهٔ فرزند Hello Elementor برای MinaLab — فونت‌های خودمیزبان Estedad و Vazirmatn و توکن‌های پالت Clinical Depth.
Author: MinaLab
Author URI: https://minalab.ir
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: minalab-child
*/

/* ── Estedad — تیترها ───────────────────────────────────────── */
@font-face {
  font-family: "Estedad";
  src: url("fonts/Estedad-Bold.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Estedad";
  src: url("fonts/Estedad-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Estedad";
  src: url("fonts/Estedad-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ── Vazirmatn — متن ───────────────────────────────────────── */
@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

/* ── پالت Clinical Depth ───────────────────────────────────── */
:root {
  --ml-ink: #0b1f2a;
  --ml-ink-soft: #143344;
  --ml-teal: #0f766e;
  --ml-aqua: #2dd4bf;
  --ml-cta: #0d9488;
  --ml-cta-hover: #0f766e;
  --ml-sky: #0284c7;
  --ml-mist: #f0f7f8;
  --ml-surface: #ffffff;
  --ml-line: #d5e4e8;
  --ml-muted: #4a6570;
  --ml-alert: #c2410c;
  --ml-ok: #15803d;
}

/* ── پایه ──────────────────────────────────────────────────── */
body {
  font-family: "Vazirmatn", system-ui, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Estedad", "Vazirmatn", system-ui, sans-serif;
  letter-spacing: -0.01em;
}

/* اعداد لاتین داخل متن فارسی روی خط پایه بمانند */
.ml-num {
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
