/* ==========================================================================
   مرکز طراحی لباس ایران — لایه ظاهری نسخه ۲
   مینیمال، شیشه‌ای، نزدیک به زبان رابط iOS
   ========================================================================== */

:root {
  --paper: #fbfbfd;
  --ink: #0a0a0b;
  --graphite: #0c0c0e;
  --charcoal: #16161a;
  --ash: #f1f2f5;
  --stone: #e9eaee;
  --line: rgba(10, 10, 20, 0.08);
  --line-dark: rgba(255, 255, 255, 0.12);
  --muted: #6b6b73;
  --muted-dark: #a4a4ad;
  --glass: rgba(255, 255, 255, 0.55);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --glass-dark: rgba(255, 255, 255, 0.07);
  --blur: blur(26px) saturate(180%);
  --r-lg: 34px;
  --r-md: 24px;
  --r-sm: 16px;
  --shadow: 0 30px 70px -40px rgba(10, 10, 20, 0.38);
  --shadow-sm: 0 14px 40px -26px rgba(10, 10, 20, 0.34);
  --inset: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

/* ---------- پایه ---------- */

html {
  background: #f4f5f7;
}

body {
  background:
    radial-gradient(1100px 620px at 88% -8%, rgba(206, 211, 222, 0.55), transparent 62%),
    radial-gradient(900px 560px at -5% 24%, rgba(224, 226, 232, 0.7), transparent 58%),
    linear-gradient(180deg, #fdfdfe 0%, #f7f8fa 52%, #fbfbfd 100%);
  color: var(--ink);
  letter-spacing: -0.006em;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(620px 420px at 78% 18%, rgba(196, 203, 216, 0.32), transparent 68%),
    radial-gradient(560px 400px at 12% 62%, rgba(206, 209, 219, 0.34), transparent 70%),
    radial-gradient(520px 380px at 88% 88%, rgba(190, 196, 208, 0.22), transparent 68%);
}

h1, h2, h3, h4 {
  letter-spacing: -0.028em;
}

.lead {
  color: var(--muted);
  line-height: 2;
}

.eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: #74747c;
  gap: 0.65rem;
}
.eyebrow::before {
  width: 22px;
  background: linear-gradient(90deg, transparent, currentColor);
}

.wrap {
  max-width: 1200px;
}

.section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.section-head {
  margin-bottom: clamp(2.2rem, 4vw, 3.2rem);
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 600;
  line-height: 1.3;
}
.section-head .more {
  border: 0;
  font-size: 0.78rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 245, 248, 0.55));
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid rgba(10, 10, 20, 0.08);
  box-shadow: var(--shadow-sm), var(--inset);
  transition: transform 0.25s var(--ease), background 0.25s;
}
.section-head .more:hover {
  opacity: 1;
  background: var(--glass-strong);
  transform: translateY(-1px);
}

/* ---------- دکمه‌های شیشه‌ای ---------- */

.btn {
  position: relative;
  min-height: 52px;
  padding: 0.7rem 1.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(28, 28, 32, 0.96), rgba(8, 8, 10, 0.98));
  color: #fff;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 16px 34px -18px rgba(10, 10, 20, 0.65);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}
.btn:hover {
  background: #000;
  color: #fff;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 22px 42px -20px rgba(10, 10, 20, 0.7);
}
.btn:active {
  transform: translateY(0) scale(0.99);
}
.btn.ghost {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 245, 248, 0.5));
  color: var(--ink);
  border: 1px solid rgba(10, 10, 20, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 12px 30px -20px rgba(10, 10, 20, 0.4);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}
.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(10, 10, 20, 0.16);
  color: var(--ink);
}
.btn.light {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow:
    inset 0 1px 0 #fff,
    0 18px 40px -22px rgba(0, 0, 0, 0.6);
}
.btn.light:hover {
  background: #fff;
  color: var(--ink);
}
.btn.outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}
.btn.outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn.block {
  width: 100%;
}
.btn .arrow {
  transition: transform 0.25s var(--ease);
}

/* ---------- هدر شیشه‌ای ---------- */

.site-header {
  position: sticky;
  top: 0;
  padding-block: 10px;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  z-index: 100;
}
.header-inner {
  min-height: 64px;
  padding: 7px 10px 7px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 50px -30px rgba(10, 10, 20, 0.35);
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled .header-inner {
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 22px 60px -34px rgba(10, 10, 20, 0.45);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  background: #0a0a0b;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.brand-name {
  font-size: 0.92rem;
  font-weight: 600;
}
.brand-sub {
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  color: #8a8a92;
}

.main-nav {
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.main-nav a {
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  color: #54545c;
  transition: background 0.25s, color 0.25s;
}
.main-nav a::after {
  display: none;
}
.main-nav a:hover {
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
}
.main-nav a[aria-current="page"] {
  background: #0a0a0b;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.header-actions .btn {
  min-height: 42px;
  padding: 0.4rem 1.15rem;
  font-size: 0.76rem;
}
.nav-toggle {
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}

/* ---------- هیرو ---------- */

.hero {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset-inline-start: -12%;
  top: -18%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(160, 168, 186, 0.38), transparent 65%);
  filter: blur(24px);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset-inline-end: -10%;
  bottom: -30%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, rgba(200, 202, 210, 0.5), transparent 68%);
  filter: blur(28px);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero-grid {
  gap: clamp(2rem, 5vw, 4rem);
}
.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.55rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.04em;
  margin: 1.2rem 0 1.4rem;
}
.hero-copy h1 em {
  background-image: linear-gradient(rgba(10, 10, 20, 0.08), rgba(10, 10, 20, 0.08));
  background-size: 100% 0.22em;
  background-position: 0 92%;
  border-radius: 2px;
}
.hero-copy h1 .thin {
  color: #7b7b84;
}
.hero-actions {
  gap: 0.6rem;
  margin-top: 1.9rem;
}
.hero-stats {
  gap: 10px;
  margin-top: clamp(2rem, 4vw, 2.8rem);
  padding-top: 0;
  border-top: 0;
}
.stat {
  flex: 1 1 0;
  min-width: 112px;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--inset), 0 12px 30px -26px rgba(10, 10, 20, 0.4);
}
.stat b {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.stat span {
  font-size: 0.68rem;
  color: var(--muted);
}

.hero-art {
  padding-inline-start: 1.2rem;
  padding-bottom: 1.2rem;
}
.hero-art::before {
  display: none;
}
.hero-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow:
    0 40px 80px -46px rgba(10, 10, 20, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.hero-frame img {
  filter: grayscale(1) contrast(1.02);
}
.hero-tag {
  inset-inline-start: 0.4rem;
  bottom: 2rem;
  border-radius: 20px;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.5), var(--inset);
}
.hero-tag .dot {
  background: #0a0a0b;
}
.hero-side {
  color: #8a8a92;
  letter-spacing: 0.24em;
}

/* ---------- نوار متحرک ---------- */

.marquee {
  margin-inline: clamp(8px, 1.6vw, 20px);
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.92);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 0.7rem;
}
.marquee-track span {
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  color: #d7d7dd;
}

/* ---------- کارت دوره ---------- */

.courses-grid {
  gap: clamp(0.9rem, 2vw, 1.4rem);
}
.course-card {
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: var(--shadow), var(--inset);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.course-card:hover {
  border-color: rgba(255, 255, 255, 0.95);
  transform: translateY(-6px);
  box-shadow: 0 44px 90px -50px rgba(10, 10, 20, 0.55), var(--inset);
}
.course-media {
  border-radius: 0;
  aspect-ratio: 16 / 9;
}
.course-media img {
  filter: grayscale(1);
  transition: transform 0.8s var(--ease), filter 0.5s;
}
.course-badge {
  top: 0.9rem;
  inset-inline-start: 0.9rem;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid rgba(255, 255, 255, 0.8);
  font-size: 0.62rem;
  box-shadow: var(--inset);
}
.course-body {
  padding: clamp(1.3rem, 2.4vw, 1.9rem);
}
.course-body h3 {
  font-size: 1.28rem;
  font-weight: 600;
}
.course-meta {
  border-color: var(--line);
  font-size: 0.72rem;
}
.course-features {
  font-size: 0.8rem;
}
.course-foot {
  border-color: var(--line);
}
.price {
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.course-card.featured {
  background:
    radial-gradient(480px 220px at 80% 0%, rgba(255, 255, 255, 0.16), transparent 70%),
    linear-gradient(160deg, #1c1c20 0%, #0a0a0c 72%);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 50px 90px -55px rgba(10, 10, 20, 0.8);
}
.course-card.featured .course-meta,
.course-card.featured .course-foot {
  border-color: rgba(255, 255, 255, 0.12);
}
.course-card.featured .course-badge {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.course-card.featured .btn {
  background: rgba(255, 255, 255, 0.94);
  color: #0a0a0b;
  border-color: rgba(255, 255, 255, 0.9);
}
.course-card.featured .btn:hover {
  background: #fff;
  color: #0a0a0b;
}

/* ---------- بخش تیره شیشه‌ای ---------- */

.dark {
  position: relative;
  margin-inline: clamp(8px, 1.6vw, 20px);
  border-radius: 42px;
  background:
    radial-gradient(720px 420px at 82% -10%, rgba(255, 255, 255, 0.11), transparent 62%),
    radial-gradient(520px 360px at 4% 100%, rgba(255, 255, 255, 0.07), transparent 65%),
    linear-gradient(165deg, #17171b 0%, #0a0a0c 70%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 60px 100px -70px rgba(10, 10, 20, 0.9);
  overflow: hidden;
}
.dark::after {
  content: "";
  position: absolute;
  inset-inline-end: -6%;
  top: -18%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 65%);
  filter: blur(16px);
  pointer-events: none;
}
.dark .wrap {
  position: relative;
  z-index: 1;
}

.cert-points li {
  border-color: rgba(255, 255, 255, 0.12);
}
.cert-paper {
  border-radius: 20px;
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.85);
}
.cert-visual .stamp {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}
.cert-seal {
  color: #8b877a;
}

/* ---------- نمونه‌کار ---------- */

.portfolio-grid {
  gap: 12px;
  background: transparent;
  border: 0;
}
.work {
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.work img {
  transition: transform 0.8s var(--ease), filter 0.45s;
}
.work::after {
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.66));
}
.work-info {
  inset-inline: 0.9rem;
  bottom: 0.9rem;
}
.work-info .cat {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.35rem;
}

.filters {
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--inset), var(--shadow-sm);
  width: max-content;
  max-width: 100%;
  margin-bottom: 2.4rem;
}
.filter {
  border: 0;
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
  font-size: 0.76rem;
  color: #5c5c64;
  background: transparent;
  transition: background 0.25s, color 0.25s;
}
.filter:hover {
  border: 0;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}
.filter.is-active {
  background: #0a0a0b;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* ---------- کارت‌های محتوایی ---------- */

.benefits {
  border: 0;
  gap: 12px;
  background: transparent;
}
.benefit {
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: var(--shadow-sm), var(--inset);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.benefit .n {
  color: #8a8a92;
}
.benefit h3 {
  font-size: 0.98rem;
}
.benefit p {
  color: var(--muted);
}
.dark .benefit,
.dark .step,
.dark .member {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-md);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 1.6rem;
}
.dark .benefit p,
.dark .step p {
  color: var(--muted-dark);
}

.process {
  gap: 12px;
  border-top: 0;
}
.step {
  border-inline-start: 0;
  padding: 0;
}
.step .n {
  color: var(--muted-dark);
}

.team {
  gap: 12px;
  background: transparent;
  border: 0;
}
.member {
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--r-md);
  box-shadow: var(--inset), var(--shadow-sm);
}
.avatar {
  border: 0;
  border-radius: 18px;
  background: #0a0a0b;
  color: #fff;
  width: 52px;
  height: 52px;
}

.about-media img {
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.about-facts {
  border-color: var(--line);
  gap: 12px;
}
.about-facts b {
  letter-spacing: -0.02em;
}

.editorial img {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}

/* ---------- فرم‌ها ---------- */

.field input,
.field select,
.field textarea {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  padding: 0.78rem 1rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(10, 10, 20, 0.28);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 4px rgba(10, 10, 20, 0.05);
}
.field label {
  color: #666670;
}
.form-note {
  color: #8a8a92;
}
.form-success {
  border-radius: 16px;
  border-color: rgba(10, 10, 20, 0.12);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: var(--blur);
}

.contact-item {
  border-color: var(--line);
}
.contact-item b,
.contact-item a.value {
  font-size: 0.92rem;
}
.map-card {
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: var(--inset);
}
.map-card::before {
  background-image:
    linear-gradient(rgba(10, 10, 20, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 20, 0.05) 1px, transparent 1px);
}
.map-pin .pin {
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.5);
}

/* ---------- آکاردئون ---------- */

.accordion {
  border-top: 0;
  display: grid;
  gap: 8px;
}
.accordion details {
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: var(--inset);
  padding-inline: 1.2rem;
  transition: background 0.25s;
}
.accordion details[open] {
  background: rgba(255, 255, 255, 0.78);
}
.accordion summary {
  padding: 1.05rem 0;
}
.accordion details[open] summary {
  border-bottom: 1px solid var(--line);
}
.accordion .panel {
  padding: 1rem 0 1.2rem;
}
.dark .accordion details {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}
.dark .accordion details[open] {
  background: rgba(255, 255, 255, 0.08);
}
.dark .accordion summary,
.dark .accordion .panel {
  color: #e8e8ee;
}

/* ---------- صفحات داخلی ---------- */

.page-head {
  position: relative;
  padding: clamp(2.2rem, 4vw, 3.4rem) 0 clamp(2rem, 3.6vw, 3rem);
  border-bottom: 0;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  inset-inline-end: 2%;
  top: -140px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(175, 181, 196, 0.35), transparent 66%);
  filter: blur(30px);
  pointer-events: none;
}
.page-head .wrap {
  position: relative;
  z-index: 1;
}
.page-head h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.22;
}
.breadcrumb {
  color: #8a8a92;
}
.breadcrumb a:hover {
  color: var(--ink);
}

.course-aside,
.summary-card {
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: var(--shadow-sm), var(--inset);
  padding: 1.6rem;
}
.course-aside .price {
  border-color: var(--line);
}
.course-detail {
  border-color: var(--line);
}
.course-aside dl div,
.summary-row {
  color: var(--muted);
}
.course-aside dd,
.summary-row b {
  color: var(--ink);
}

.tags {
  gap: 6px;
}
.tag {
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  color: #5f5f67;
}

/* ---------- ثبت‌نام ---------- */

.stepper {
  gap: 0.5rem;
}
.stepper .num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.stepper .s.is-active .num {
  background: #0a0a0b;
  border-color: #0a0a0b;
  color: #fff;
}
.stepper .bar {
  background: rgba(10, 10, 20, 0.1);
}

.choice {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--inset);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.choice:hover {
  border-color: rgba(10, 10, 20, 0.2);
  transform: translateY(-1px);
}
.choice:has(input:checked) {
  border-color: rgba(10, 10, 20, 0.55);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 0 0 3px rgba(10, 10, 20, 0.04), var(--inset);
}
.summary-total {
  border-color: var(--line);
}
.discount-row input {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.6);
}
.discount-row button {
  border-radius: 12px;
}
.installment-note {
  border: 1px dashed rgba(10, 10, 20, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.35);
}

.modal-backdrop {
  background: rgba(8, 8, 12, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.modal-box {
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.6);
}
.gateway-fields input {
  border-radius: 12px;
  border-color: rgba(10, 10, 20, 0.1);
  background: rgba(255, 255, 255, 0.8);
}
.gateway-amount {
  border-radius: 14px;
  background: rgba(10, 10, 20, 0.05);
}
.tracking {
  border-radius: 14px;
}

/* ---------- بنر به‌زودی ---------- */

.soon {
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.4));
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: var(--shadow-sm), var(--inset);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.soon .badge {
  border: 0;
  border-radius: 999px;
  background: #0a0a0b;
  color: #fff;
  padding: 0.25rem 0.7rem;
  font-size: 0.6rem;
}

/* ---------- CTA ---------- */

.cta {
  margin-inline: clamp(8px, 1.6vw, 20px);
  border-radius: 42px;
  padding: clamp(3rem, 6.5vw, 5rem) 0;
  background:
    radial-gradient(620px 360px at 82% 0%, rgba(255, 255, 255, 0.14), transparent 62%),
    radial-gradient(420px 300px at 10% 100%, rgba(255, 255, 255, 0.08), transparent 65%),
    linear-gradient(155deg, #1a1a1f 0%, #08080a 75%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 60px 110px -70px rgba(10, 10, 20, 0.9);
  overflow: hidden;
}
.cta::before,
.cta::after {
  display: none;
}
.cta h2 {
  font-weight: 600;
  letter-spacing: -0.03em;
}

/* ---------- پاورقی ---------- */

.site-footer {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  padding-top: clamp(3.5rem, 6vw, 5rem);
  border-radius: 42px 42px 0 0;
  background:
    radial-gradient(700px 300px at 85% 0%, rgba(255, 255, 255, 0.07), transparent 60%),
    #08080a;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.footer-brand .brand-mark {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}
.footer-links a {
  color: #c9c9d1;
}
.socials a {
  border-radius: 50%;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}
.socials a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.footer-bottom {
  border-color: rgba(255, 255, 255, 0.1);
}

/* ---------- لی‌تباکس ---------- */

.lightbox {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(6, 6, 8, 0.86);
}
.lightbox img {
  border-radius: 18px;
}
.lightbox-close {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ---------- ریسپانسیو ---------- */

@media (max-width: 1024px) {
  .hero-stats {
    flex-wrap: wrap;
  }
  .stat {
    flex: 1 1 40%;
  }
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 60px;
    padding: 6px 8px 6px 14px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.9);
  }
  .main-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    padding: 5rem 1.6rem 2rem;
    border-radius: 0;
    background: rgba(250, 250, 252, 0.82);
    backdrop-filter: blur(34px) saturate(180%);
    -webkit-backdrop-filter: blur(34px) saturate(180%);
    border: 0;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 120;
  }
  .nav-open .main-nav {
    transform: none;
  }
  .main-nav a {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 500;
    color: #0a0a0b;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 30px -26px rgba(10, 10, 20, 0.35);
  }
  .nav-open .nav-toggle {
    background: rgba(255, 255, 255, 0.7);
  }
  .nav-open .brand {
    opacity: 0;
    pointer-events: none;
  }
  .page-head::before {
    width: 380px;
    height: 380px;
  }
  .cta {
    border-radius: 32px;
  }
  .dark {
    border-radius: 32px;
  }
  .site-footer {
    border-radius: 32px 32px 0 0;
  }
}

@media (max-width: 620px) {
  .page-head {
    padding-top: 1.4rem;
  }
  .page-head .latin {
    display: none;
  }
  .page-head-row {
    gap: 1.1rem;
  }
  .page-head h1 {
    font-size: clamp(1.9rem, 9vw, 2.7rem);
  }
  .hero-actions .btn {
    border-radius: 999px;
  }
  .stat {
    flex: 1 1 42%;
    padding: 0.8rem 0.9rem;
  }
  .stat b {
    font-size: 1.05rem;
  }
  .stat span {
    font-size: 0.62rem;
  }
  .hero-tag {
    inset-inline-start: 0;
    bottom: 1.2rem;
    padding: 0.8rem 1rem;
    max-width: 215px;
  }
  .marquee {
    border-radius: 18px;
  }
  .course-card.featured {
    border-radius: 28px;
  }
  .filters {
    width: 100%;
    border-radius: 18px;
    overflow-x: auto;
  }
  .filter {
    white-space: nowrap;
  }
  .portfolio-grid {
    gap: 8px;
  }
  .work {
    border-radius: 18px;
  }
  .modal-box {
    border-radius: 26px;
  }
  .about-media .short {
    margin-top: 1.6rem;
  }
  .site-footer {
    border-radius: 28px 28px 0 0;
  }
  .section-head .more {
    font-size: 0.72rem;
  }
  .header-inner {
    padding-inline: 8px 12px;
  }
  .brand-name {
    font-size: 0.84rem;
  }
  .brand-sub {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .course-card,
  .btn,
  .choice {
    transition: none;
  }
}
