* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.eyebrow { font-size: 11px; letter-spacing: .18em; opacity: .55; margin: 0 0 20px; color: var(--gold); }
.empty-state { text-align: center; color: var(--ink-faint); padding: 3rem 0; }

/* Loader */
.loader { position: fixed; inset: 0; background: var(--bg); z-index: 1000; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 18px; font-size: 12px; letter-spacing: .15em; }
.loader-line { width: 120px; height: 1px; background: var(--gold); transform-origin: center; animation: load 1.4s ease forwards; }
@keyframes load { to { transform: scaleX(0); } }

/* Header (فایل بعدی Layout رو عوض می‌کنیم) */
.site-header { position: fixed; top: 0; left: 0; right: 0; height: 88px; padding: 0 5vw; display: flex; align-items: center; justify-content: space-between; z-index: 50; background: linear-gradient(rgba(10,9,8,.85), transparent); border: none; }
.site-logo { display: flex; align-items: center; gap: .6rem; font-size: 19px; font-weight: 700; color: var(--ink); }
/* ===== لوگوی تصویری در هدر (به‌جای متن، اگه آپلود شده باشه) ===== */
.site-logo__img { height: 34px; object-fit: contain; display: block; }
.site-nav { display: flex; gap: 30px; font-size: 13px; }
.site-nav a {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: var(--ink);
  opacity: .8;
  transition: opacity .3s, color .3s;
}
.site-nav a:hover { opacity: 1; color: var(--gold); }
.site-nav a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}
.btn-login { border: 1px solid var(--gold); color: var(--gold); background: none; padding: .5rem 1.2rem; border-radius: var(--radius-sm); font-size: 12px; cursor: pointer; }
.btn-login:hover { background: var(--gold); color: var(--bg); }

/* Hero */
.hero { height: 100vh; min-height: 720px; position: relative; overflow: hidden; display: flex; align-items: center; padding: 0 10vw; }
.hero-bg { position: absolute; inset: -15%; background: radial-gradient(circle at 50% 45%, #241f18 0, #14110c 22%, var(--bg) 55%); transform: scale(1.05); }
.hero-copy { position: relative; z-index: 2; max-width: 900px; }
.hero h1 { font-size: clamp(60px, 10vw, 150px); line-height: .92; margin: 0; font-weight: 500; letter-spacing: -.05em; color: var(--ink); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub { font-size: 15px; line-height: 2; max-width: 430px; opacity: .6; margin-top: 35px; }
.hero-orbit { position: absolute; border: 1px solid var(--line); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.orbit-a { width: 54vw; height: 54vw; }
.orbit-b { width: 78vw; height: 78vw; }
.scroll-hint { position: absolute; bottom: 45px; right: 10vw; font-size: 10px; opacity: .45; display: flex; gap: 12px; align-items: center; }
.scroll-hint span { display: block; width: 38px; height: 1px; background: var(--ink); }

/* Statement */
.statement { height: 500vh; position: relative; }
.statement-pin { height: 100vh; position: sticky; top: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 12vw; overflow: hidden; }
.statement-line { position: absolute; top: 18%; right: 12vw; width: 1px; height: 64%; background: linear-gradient(var(--gold), transparent); opacity: .3; }
.statement-stage { position: relative; height: 42vh; max-width: 1100px; }
.statement-phrase { position: absolute; inset: 0; margin: 0; font-weight: 400; letter-spacing: -.04em; line-height: 1.08; color: var(--ink); opacity: 0; }
.statement-phrase span { color: var(--gold); }
.statement-phrase.size-lg { font-size: clamp(52px, 8vw, 120px); }
.statement-phrase.size-md { font-size: clamp(38px, 5.6vw, 80px); }
.statement-phrase.size-sm { font-size: clamp(28px, 3.8vw, 50px); opacity: 0; }




/* Instruments */
.instruments { min-height: 120vh; padding: 12vh 8vw; background: var(--bg-soft); position: relative; }
.section-head h2 { font-size: clamp(55px, 9vw, 130px); line-height: .98; font-weight: 400; letter-spacing: -.05em; margin: 0; color: var(--ink); }
.section-head h2 span { color: var(--gold); }
.instrument-stage { height: 62vh; min-height: 460px; position: sticky; top: 8vh; margin-top: 6vh; overflow: hidden; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); }
.instrument-icon { position: absolute; width: 20vw; max-width: 220px; left: 50%; top: 45%; transform: translate(-50%, -50%); opacity: .92; filter: drop-shadow(0 30px 60px rgba(0,0,0,.5)); }
.instrument-info { position: absolute; right: 6%; bottom: 7%; max-width: 340px; }
.instrument-title { font-size: 40px; margin: 0 0 10px; font-weight: 400; color: var(--ink); }
.instrument-desc { line-height: 1.9; opacity: .58; font-size: 13px; }
.instrument-list {
  position: absolute; left: 4%; top: 6%; width: 40%; max-width: 300px;
  display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: min-content;
  gap: 4px 12px; direction: ltr; align-content: start;
}
.instrument-item { background: none; border: 0; border-bottom: 1px solid var(--line); padding: 8px 0; text-align: left; cursor: pointer; font-family: 'Vazirmatn', Tahoma, sans-serif; font-size: 14px; opacity: .45; color: var(--ink); transition: .3s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.instrument-item.active, .instrument-item:hover { opacity: 1; padding-left: 10px; color: var(--gold); }


.instrument-desc {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.instrument-teacher-btn {
  background: var(--surface);
  border: 1.5px solid var(--line);
  color: var(--ink);
  padding: .6rem 1.3rem;
  border-radius: 999px;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.instrument-teacher-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-soft);
}






/* Schedule */
.schedule { padding: 15vh 8vw; background: var(--bg); }
.schedule-table { margin-top: 6vh; display: flex; flex-direction: column; }
.schedule-row { display: grid; grid-template-columns: 100px 1fr 180px 160px; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--line); gap: 1rem; }
.schedule-day { color: var(--gold); font-size: 12px; }
.schedule-title { font-size: 16px; }
.schedule-teacher { opacity: .6; font-size: 13px; }
.schedule-time { opacity: .6; font-size: 13px; direction: ltr; text-align: left; }

/* Teachers */
.teachers { min-height: 130vh; padding: 18vh 8vw; background: var(--bg-soft); }
.teacher-intro h2 { font-size: clamp(55px, 9vw, 125px); line-height: .98; font-weight: 400; margin: 0; letter-spacing: -.05em; color: var(--ink); }
.teacher-intro em { font-style: normal; color: var(--gold); }
.teacher-scroll-wrap { position: relative; margin-top: 8vh; }
.teacher-scroll-wrap::before, .teacher-scroll-wrap::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 60px; pointer-events: none; z-index: 2;
}
.teacher-scroll-wrap::before { right: 0; background: linear-gradient(to left, var(--bg-soft), transparent); }
.teacher-scroll-wrap::after { left: 0; background: linear-gradient(to right, var(--bg-soft), transparent); }

.teacher-nav {
  position: absolute; top: 45%; transform: translateY(-50%); z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold); background: var(--bg-soft);
  color: var(--gold); font-size: 20px; line-height: 1; cursor: pointer; transition: .3s;
  display: flex; align-items: center; justify-content: center;
}
.teacher-nav:hover { background: var(--gold); color: var(--bg); }
.teacher-nav--prev { left: -8px; }
.teacher-nav--next { right: -8px; }
@media (max-width: 700px) { .teacher-nav { display: none; } }

.teacher-cards { display: flex; gap: 1.25rem; overflow-x: auto; padding-bottom: .5rem; cursor: grab; scroll-behavior: smooth; }
.teacher-card { flex-shrink: 0; width: 190px; border: 1px solid var(--line); border-radius: var(--radius-md); padding: .75rem; text-align: center; transition: transform .3s, border-color .3s; }
.teacher-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.portrait { height: 220px; background-color: var(--surface); background-size: cover; background-position: center; position: relative; overflow: hidden; border-radius: var(--radius-sm); }
.teacher-card > div:last-child { padding-top: .7rem; display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.teacher-card h3 { font-size: 15px; font-weight: 500; margin: 0; color: var(--ink); }
.teacher-card span { order: 2; font-family: 'Vazirmatn', sans-serif; font-size: 11px; opacity: .4; }
.teacher-card p { font-size: 11px; opacity: .5; margin: 0; }

.teacher-card-instruments {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem;
}
.teacher-instrument-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-muted);
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: 11px;
  font-family: inherit;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.teacher-instrument-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}



/* Performance */
.performance { height: 150vh; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #050403; }
.stage-glow { position: absolute; width: 80vw; height: 80vw; border-radius: 50%; background: radial-gradient(circle, var(--gold-soft), transparent 55%); filter: blur(30px); transform: scale(.2); }
.spotlight { position: absolute; top: -10%; left: 50%; width: 1px; height: 120%; background: linear-gradient(var(--gold), transparent); opacity: .25; transform: rotate(13deg); transform-origin: top; }
.stage-content { text-align: center; position: relative; z-index: 2; }
.stage-content h2 { font-size: clamp(65px, 10vw, 145px); line-height: .9; font-weight: 400; margin: 0; letter-spacing: -.05em; color: var(--ink); }
.stage-content em { font-style: normal; color: var(--gold); }
.stage-content > p:last-child { margin: 40px auto 0; opacity: .45; line-height: 2; font-size: 13px; max-width: 380px; }

/* Contact */
.contact { min-height: 100vh; padding: 15vh 8vw 8vh; display: flex; flex-direction: column; justify-content: center; position: relative; background: var(--bg); }
.contact h2 { font-size: clamp(70px, 13vw, 190px); line-height: .85; font-weight: 400; letter-spacing: -.06em; margin: 0; color: var(--ink); }
.contact h2 em { font-style: normal; color: var(--gold); }
.cta { margin-top: 70px; width: 260px; height: 70px; border: 1px solid var(--gold); color: var(--gold); display: flex; align-items: center; justify-content: space-between; padding: 0 24px; font-size: 13px; transition: .5s; border-radius: var(--radius-sm); }
.cta:hover { background: var(--gold); color: var(--bg); }
.cta b { font-size: 25px; font-weight: 400; }

/* Site footer override (تیره) */
.site-footer { background: var(--bg-soft); color: var(--ink-muted); border-top: 1px solid var(--line); }

/* مودال ورود */
.auth-modal { border-radius: var(--radius-md); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.auth-modal .modal-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.auth-modal .modal-title { color: var(--ink); }
.auth-modal .btn-close { filter: invert(1) grayscale(1) brightness(1.6); }
.auth-modal__frame { width: 100%; height: 480px; border: 0; background: var(--surface); display: block; }

/* Responsive */
@media (max-width: 800px) {
  .site-header { height: 70px; padding: 0 6vw; }
  .site-nav { display: none; }
  .hero { padding: 0 7vw; min-height: 650px; }
  .hero h1 { font-size: 18vw; }
  .hero-sub { font-size: 13px; max-width: 290px; }
  .orbit-a { width: 95vw; height: 95vw; }
  .orbit-b { width: 140vw; height: 140vw; }
  .statement-pin { padding: 0 7vw; }
  .statement h2 { font-size: 15vw; }
  .instruments { padding: 10vh 6vw; }
  .section-head h2 { font-size: 15vw; }
  .instrument-stage { height: auto; min-height: 0; position: static; margin-top: 6vh; display: flex; flex-direction: column; padding: 1.5rem; gap: 1.25rem; }
  .instrument-icon { position: static; transform: none; width: 100px; max-width: 40vw; margin: 0 auto; }
  .instrument-info { position: static; max-width: 100%; text-align: center; }
  .instrument-title { font-size: 32px; }
  .instrument-list { position: static; width: 100%; max-width: none; grid-template-columns: repeat(2, 1fr); }
  .schedule-row { grid-template-columns: 70px 1fr; }
  .schedule-teacher, .schedule-time { grid-column: 2; }
  .teachers { padding: 15vh 6vw; }
  .teacher-cards { flex-direction: row; }
  .portrait { height: 220px; }
  .teacher-intro h2 { font-size: 15vw; }
  .performance { height: 120vh; }
  .stage-content h2 { font-size: 16vw; }
  .contact { padding: 15vh 6vw 8vh; }
  .contact h2 { font-size: 20vw; }
  .cta { width: 220px; }
}



/* پرلودر با درصد */
.loader-percent { font-size: 11px; letter-spacing: .15em; color: var(--gold); opacity: .85; }

/* خط بازیگوش زیر شعارها */
.statement-connector { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.statement-connector path { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; opacity: .6; }

/* فلاش خط هیجان‌انگیز قبل از اساتید */
.teachers-flourish { position: absolute; top: -40px; right: 8vw; width: 220px; height: 90px; pointer-events: none; }
.teachers-flourish path { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; }

@media (prefers-reduced-motion: reduce) {
  .statement-connector path, .teachers-flourish path { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .connector-line { display: none; }
}






.schedule-tabs { display: flex; gap: .75rem; margin: 2rem 0; }
.schedule-tab {
  background: none; border: 1px solid var(--line); color: var(--ink-muted);
  padding: .5rem 1.2rem; border-radius: 999px; font-size: 13px; cursor: pointer; transition: .3s;
}
.schedule-tab.active, .schedule-tab:hover { border-color: var(--gold); color: var(--gold); }

/* --- نمای «بر اساس ساز»: اسکرول افقی بهتر --- */
.schedule-scroll-wrap { position: relative; }
.schedule-scroll-wrap::before, .schedule-scroll-wrap::after {
  content: ""; position: absolute; top: 0; bottom: 14px; width: 70px; pointer-events: none; z-index: 2;
}
.schedule-scroll-wrap::before { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.schedule-scroll-wrap::after { left: 0; background: linear-gradient(to right, var(--bg), transparent); }

.schedule-board { display: flex; gap: 1.5rem; overflow-x: auto; padding-bottom: 1rem; cursor: grab; }
.schedule-board.dragging { cursor: grabbing; user-select: none; }
.schedule-scroll { scrollbar-width: none; -ms-overflow-style: none; }
.schedule-scroll::-webkit-scrollbar { display: none; }

.schedule-column {
  min-width: 210px; flex-shrink: 0; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.1rem;
}
.schedule-column__header {
  color: var(--gold); font-weight: 600; font-size: 15px; text-align: center;
  padding-bottom: .8rem; margin-bottom: .6rem; border-bottom: 1px solid var(--gold);
}
.schedule-column__item {
  padding: .6rem .3rem; border-bottom: 1px solid var(--line); font-size: 13px;
  color: var(--ink); opacity: .85; text-align: center;
}
.schedule-column__item:last-child { border-bottom: none; }

/* --- نمای «بر اساس روز هفته»: گرید تقویمی واقعی --- */
.schedule-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.schedule-grid__col { background: var(--bg-soft); display: flex; flex-direction: column; min-height: 140px; }
.schedule-grid__header { color: var(--gold); font-weight: 600; font-size: 13px; text-align: center; padding: .8rem .4rem; background: var(--surface); border-bottom: 1px solid var(--line); }
.schedule-grid__body { padding: .6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.schedule-grid__item {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: .55rem .6rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
}
.schedule-grid__instrument {
  font-size: 12.5px;
  font-weight: 600;
  color: #e6553f;
}
.schedule-grid__teacher {
  font-size: 11px;
  color: var(--ink);
  opacity: .85;
}

@media (max-width: 900px) {
  .schedule-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .schedule-grid { grid-template-columns: 1fr; }
}






/* ===== فیلتر برنامه هفتگی ===== */
.schedule-filters {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.4rem;
  z-index: 5;
}

.filter-dropdown { position: relative; }

.filter-toggle {
  display: flex;
  align-items: center;
  gap: .45rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(201,162,75,.5);
  color: var(--ink, #eee);
  padding: .55rem 1.1rem;
  border-radius: 999px;
  font-size: .85rem;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.filter-toggle:hover { border-color: var(--gold, #c9a24b); }
.filter-toggle.has-active {
  background: var(--gold, #c9a24b);
  color: #1a1a1a;
  border-color: var(--gold, #c9a24b);
  font-weight: 600;
}
.filter-caret { font-style: normal; font-size: .65rem; transition: transform .2s; }
.filter-dropdown.open .filter-caret { transform: rotate(180deg); }

.filter-menu {
  display: none;
  position: fixed;
  background: #191919;
  border: 1px solid rgba(201,162,75,.3);
  border-radius: 14px;
  padding: 1rem;
  width: max-content;
  max-width: 320px;
  box-shadow: 0 18px 40px rgba(0,0,0,.55);
  z-index: 999;
}
.filter-menu.open { display: block; }

.filter-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  max-height: 230px;
  overflow-y: auto;
  padding-inline-end: .4rem;
}
.filter-chip-grid::-webkit-scrollbar { width: 6px; }
.filter-chip-grid::-webkit-scrollbar-track { background: transparent; }
.filter-chip-grid::-webkit-scrollbar-thumb { background: rgba(201,162,75,.45); border-radius: 10px; }

.filter-chip {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  color: #ddd;
  padding: .42rem .95rem;
  border-radius: 999px;
  font-size: .8rem;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.filter-chip:hover { border-color: var(--gold, #c9a24b); color: var(--gold, #c9a24b); }
.filter-chip.active {
  background: var(--gold, #c9a24b);
  border-color: var(--gold, #c9a24b);
  color: #1a1a1a;
  font-weight: 600;
}

.filter-clear-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  margin-bottom: 1.2rem;
  padding: .75rem 1rem;
  background: rgba(230, 85, 63, .12);
  border: 1.5px solid #e6553f;
  color: #e6553f;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.filter-clear-all:hover { background: #e6553f; color: #fff; }
.filter-clear-all:active { transform: scale(.98); }

/* روز کلاس جلوی اسم استاد، تو باکس «بر اساس ساز» */
.teacher-day {
  color: #e6553f;
  font-size: .82em;
  margin-inline-start: .3rem;
}


.schedule-instrument-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.4rem;
}

.schedule-day-controls {
  margin-bottom: 1.4rem;
}






/* ===== مودال عمومی ثبت‌نام کلاس (openEnrollModal) — استایل آیتم‌های کلیک‌پذیر جدول + مراحل مودال ===== */
.schedule-column__item {
  background: none;
  border: none;
  width: 100%;
  text-align: right;
  cursor: pointer;
  color: inherit;
  font: inherit;
  transition: color .2s;
}
.schedule-column__item:hover { color: var(--gold, #c9a24b); }

.enroll-slot-days { display: flex; flex-direction: column; gap: 1rem; }
.enroll-slot-day__label { color: var(--gold, #c9a24b); font-weight: 600; margin-bottom: .5rem; }
.enroll-slot-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.enroll-slot-chip {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.15);
  color: #ddd;
  padding: .45rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: .85rem;
  transition: all .2s;
}
.enroll-slot-chip:hover { border-color: var(--gold, #c9a24b); }
.enroll-slot-chip.selected {
  background: var(--gold, #c9a24b);
  border-color: var(--gold, #c9a24b);
  color: #1a1a1a;
  font-weight: 600;
}

/* دکمه‌های انتخاب روش پرداخت (کیف پول بله / زرین‌پال / کارت‌به‌کارت) */
#enrollPaymethodButtons {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: .5rem;
}
.enroll-choice-btn {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.18);
  color: #eee;
  padding: .65rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: .9rem;
  transition: all .2s;
  white-space: nowrap;
}
.enroll-choice-btn:hover {
  border-color: var(--gold, #c9a24b);
  background: rgba(201,162,75,.12);
  color: var(--gold, #c9a24b);
}
.enroll-discount { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.1); }
.enroll-summary { background: rgba(201,162,75,.08); border-radius: 10px; padding: .8rem 1rem; margin-bottom: 1rem; }


/* ===== هاور آیتم‌های کلیک‌پذیر جدول «بر اساس روز هفته» (باز کردن مودال ثبت‌نام) ===== */
.schedule-grid__item {
  transition: color .2s, border-color .2s;
}
.schedule-grid__item:hover {
  color: var(--gold, #c9a24b);
  border-color: var(--gold, #c9a24b);
}





/* ===== دکمه‌ی ثبت‌نام کنار دکمه‌ی ورود در هدر ===== */
.site-header__actions { display: flex; align-items: center; gap: .6rem; }
.btn-signup {
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--bg);
  padding: .5rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.btn-signup:hover { opacity: .85; }
@media (max-width: 800px) {
  .btn-signup { padding: .45rem .9rem; }
}









/* ===== منوی کاربر لاگین‌شده در هدر ===== */
.user-menu { position: relative; }
.user-menu__toggle {
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: .5rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 12px;
  cursor: pointer;
}
.user-menu__toggle:hover { background: var(--gold); color: var(--bg); }

.user-menu__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .5rem;
  box-shadow: 0 18px 40px rgba(0,0,0,.5);
  z-index: 60;
}
.user-menu__dropdown.open { display: block; }

.user-menu__greeting {
  padding: .5rem .75rem;
  font-size: 13px;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--line);
  margin-bottom: .3rem;
}
.user-menu__item {
  display: block;
  width: 100%;
  text-align: right;
  background: none;
  border: none;
  color: var(--ink);
  padding: .55rem .75rem;
  font-size: 13px;
  border-radius: 4px;
  cursor: pointer;
}
.user-menu__item:hover { background: var(--bg-soft); }
.user-menu__item--danger { color: #e6553f; }
.user-menu__item--danger:hover { background: rgba(230, 85, 63, .1); }





/* ===== فوتر بازطراحی‌شده: زمینه‌ی منحنی، لوگو، نقشه، آیکن شبکه‌های اجتماعی ===== */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: 4rem;
}

.site-footer__flourish {
  position: absolute;
  top: 0; left: 0; right: 0;
  width: 100%;
  height: 90px;
  color: var(--gold);
  opacity: .12;
}
.site-footer__flourish path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  padding: 3rem 5vw 2.5rem;
}
@media (max-width: 800px) {
  .site-footer__inner { padding: 3rem 6vw 2rem; }
}

.site-footer__map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 3rem;
  height: 220px;
}
.site-footer__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.3) invert(.92) contrast(.9);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.5rem;
}
@media (max-width: 800px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}

.site-footer__brand-row {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1.3rem;
  flex-wrap: nowrap;
}
.site-footer__logo { height: 42px; object-fit: contain; flex-shrink: 0; }
.site-footer__brand-name {
  font-size: 28px;
  color: var(--ink);
  font-weight: 700;
  margin: 0;
  white-space: nowrap; /* مجبورش می‌کنه همیشه تو یک خط بمونه، حتی اگه فونت بزرگ بشه */
  letter-spacing: -.01em;
}


.site-footer__col--brand p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-muted);
  max-width: 280px;
  white-space: pre-line; /* اینترها و فاصله‌های خالی که ادمین تو تنظیمات تایپ کرده رو دقیقاً حفظ می‌کنه */
}

.site-footer__col h4:not(.site-footer__brand-name) {
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--gold);
  margin-bottom: 1.1rem;
  font-weight: 600;
}

.site-footer__link, .site-footer__address {
  display: block;
  font-size: 13.5px;
  line-height: 2.1;
  color: var(--ink-muted);
  text-align: right; /* صریحاً راست‌چین، چون dir="ltr" رو خودش پیش‌فرض چپ‌چین می‌کنه */
}
.site-footer__link:hover { color: var(--gold); }
.site-footer__address { margin-top: .3rem; }

.site-footer__socials {
  display: flex;
  gap: .7rem;
}
.site-footer__social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  transition: border-color .25s, color .25s, transform .25s;
}
.site-footer__social-icon svg { width: 18px; height: 18px; fill: currentColor; }
.site-footer__social-icon:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.site-footer .copyright {
  font-size: 11.5px;
  color: var(--ink-faint);
  text-align: center;
  padding-top: .5rem;
}

.site-footer__enamad {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}
.site-footer__enamad img {
  max-width: 90px;
}



/* ===== نوار پایین صفحه، فقط برای موبایل ===== */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 800px) {
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 55;
    background: rgba(10, 9, 8, .97);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
    padding: .5rem .2rem calc(.5rem + env(safe-area-inset-bottom));
  }
  .mobile-bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
    text-align: center;
    font-size: 10.5px;
    color: var(--ink-muted);
    padding: .5rem .2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .2s;
  }
  .mobile-bottom-nav a svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    flex-shrink: 0;
  }
  .mobile-bottom-nav a:active,
  .mobile-bottom-nav a:hover {
    color: var(--gold);
  }

  /* جا برای نوار پایین (که حالا بزرگ‌تره)، تا محتوای صفحه زیرش گم نشه */
  body { padding-bottom: 72px; }
}



/* ===== لوگوی انیمیشنی داخل صفحه‌ی لودینگ ===== */
.loader-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  opacity: .25;
  transform: scale(.55);
  margin-bottom: 8px;
  will-change: transform, opacity;
}





/* ===== دکمه‌ی شناور بازگشت به بالا ===== */
.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 55;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s, visibility .3s, background .2s, color .2s;
}
.scroll-top-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  background: var(--gold);
  color: var(--bg);
}

/* رو موبایل، چون نوار پایین صفحه از قبل هست، این دکمه رو بالاتر می‌بریم تا روش نیفته */
@media (max-width: 800px) {
  .scroll-top-btn {
    bottom: 80px;
    left: 14px;
    width: 40px;
    height: 40px;
  }
}





/* ===== کارت‌به‌کارت داخل مودال ===== */
.card-to-card-box {
  background: rgba(201,162,75,.08);
  border: 1px solid rgba(201,162,75,.3);
  border-radius: 10px;
  padding: 1rem;
}
.card-to-card-box__number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--gold);
}


/* ===== اطمینان از نمایش تقویم kamaDatepicker روی مودال بوت‌استرپ ===== */
[id^="kama"], [class*="kama"] {
  z-index: 99999 !important;
}









.user-menu__toggle {
  position: relative;
}
.user-menu__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #c0392b;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  margin-right: 6px;
  vertical-align: middle;
}
.user-menu__pending-note {
  font-size: 11.5px;
  color: var(--gold);
  background: var(--gold-soft);
  padding: 8px 10px;
  border-radius: 8px;
  margin: 6px 0;
}