/* ==========================================================================
   گنجینه — ماژول A: صفحه‌ی اصلی، محتوا، استعلام، ورود
   فقط متغیرهای رنگ پوسته؛ روز/شب و RTL/LTR خودکار.
   ========================================================================== */

/* ---------------------------------------------------------------- هیروی صفحه‌ی اصلی */
.gk-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(28px, 5vw, 64px) 0 clamp(64px, 8vw, 110px); }
.gk-hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--grad-hero); }
.gk-hero::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-2), transparent); }
.gk-hero .girih-bg { position: absolute; inset: 0; z-index: -1; --girih-opacity: .08; --girih-size: 150px; }
.gk-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.gk-copies { display: grid; }
.gk-copy { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease), visibility 0s .8s; }
.gk-copy.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .8s var(--ease) .15s, transform .8s var(--ease) .15s, visibility 0s; }
.gk-hero .eyebrow { color: var(--gold-ink); }
.gk-hero h1 { margin: 16px 0 18px; }
.gk-hero h1 .gold-grad { display: inline; }
.gk-hero .lead { font-size: clamp(1rem, 1.4vw, 1.14rem); color: var(--text-2); max-width: 560px; line-height: 2.05; margin: 0; }
html[lang="en"] .gk-hero .lead { line-height: 1.8; }
.gk-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.gk-hero-foot { display: flex; align-items: center; gap: 18px; margin-top: 40px; flex-wrap: wrap; }
.gk-dots { display: flex; gap: 8px; align-items: center; }
.gk-dot { position: relative; width: 34px; height: 4px; border: 0; padding: 0; border-radius: 99px; background: var(--line-strong); cursor: pointer; overflow: hidden; }
.gk-dot::after { content: ''; position: absolute; inset: 0; transform-origin: left center; transform: scaleX(0); background: var(--grad-gold); }
[dir="rtl"] .gk-dot::after { transform-origin: right center; }
.gk-dot.is-active::after { animation: gkFill var(--gk-dur, 7s) linear forwards; }
.gk-hero.is-paused .gk-dot.is-active::after { animation-play-state: paused; }
.gk-dot:focus-visible { outline-offset: 4px; }
@keyframes gkFill { to { transform: scaleX(1); } }
.gk-ctrl { display: inline-flex; gap: 6px; }
.gk-ctrl .btn-icon { border: 1px solid var(--line-strong); background: var(--surface); }
.gk-counter { font-family: var(--font-serif); color: var(--muted); font-size: .95rem; letter-spacing: .08em; direction: ltr; }
.gk-counter b { color: var(--gold-ink); font-size: 1.3rem; }

/* قاب طاقی اسلایدها */
.gk-visual { position: relative; width: min(460px, 100%); margin-inline: auto; padding-top: 58px; }
.gk-visual .gk-orbit { position: absolute; inset: 20px -8% auto; aspect-ratio: 1; border-radius: 50%; border: 1px dashed var(--gold-2); opacity: .55; animation: spin 140s linear infinite; pointer-events: none; }
.gk-visual .gk-orbit.r2 { inset: 70px 2% auto; border-style: solid; border-color: var(--line-strong); animation-direction: reverse; animation-duration: 200s; }
.gk-archwrap { position: relative; }
.gk-archwrap .arch-frame { padding: 12px; }
.gk-slides { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 20px 20px; overflow: hidden; background: var(--grad-brand); }
.gk-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity 1.2s var(--ease), transform 7s linear; }
.gk-slide.is-active { opacity: 1; transform: scale(1); }
.gk-slide img { width: 100%; height: 100%; object-fit: cover; }
.gk-slides::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 12, 26, .45), transparent 40%); pointer-events: none; }
.gk-emblem { position: absolute; top: 0; left: 50%; transform: translate(-50%, 0); z-index: 3; width: 116px; height: 116px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-brand); box-shadow: var(--shadow-lg), 0 0 0 6px var(--surface), 0 0 0 7px var(--gold-2); }
.gk-emblem::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--c-accent) 70%, transparent); }
.gk-emblem img { width: 74%; height: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)); }
.gk-plaque { position: absolute; bottom: 26px; inset-inline: 30px; z-index: 2; text-align: center; color: #FFF8E8; font-size: .86rem; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.gk-plaque span { display: inline-block; padding: 6px 16px; border-radius: 99px; background: rgba(6, 12, 26, .38); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(216, 180, 106, .35); }
.gk-seal { position: absolute; bottom: 12%; inset-inline-start: -34px; z-index: 3; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--grad-gold); color: var(--on-gold); box-shadow: var(--shadow-gold); font-size: .68rem; font-weight: 800; line-height: 1.35; padding: 12px; }
.gk-seal b { display: block; font-family: var(--font-serif); font-size: 1.55rem; line-height: 1; }
.gk-scroll { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: var(--gold-ink); display: grid; place-items: center; gap: 4px; font-size: .72rem; letter-spacing: .12em; opacity: .8; }
.gk-scroll .icon-sm { animation: float 3s ease-in-out infinite; }
@media (max-width: 960px) {
  .gk-hero-grid { grid-template-columns: 1fr; }
  .gk-visual { order: -1; width: min(360px, 88%); }
  .gk-hero-copy { text-align: center; }
  .gk-hero .lead { margin-inline: auto; }
  .gk-hero-actions, .gk-hero-foot { justify-content: center; }
  .gk-seal { width: 84px; height: 84px; inset-inline-start: -14px; }
  .gk-scroll { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gk-slide, .gk-copy { transition: none; }
  .gk-visual .gk-orbit { animation: none; }
  .gk-dot.is-active::after { animation: none; transform: scaleX(1); }
}

/* ---------------------------------------------------------------- مقدمه و آمار */
.gk-intro-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.gk-intro-grid .arch-frame { max-width: 380px; margin-inline: auto; }
.gk-intro-grid .arch-frame img { aspect-ratio: 4 / 4.6; }
.gk-quote { font-size: clamp(1.25rem, 2.3vw, 1.7rem); color: var(--gold-ink); margin: 6px 0 14px; }
html[lang="en"] .gk-quote { font-family: var(--font-serif); font-style: italic; line-height: 1.5; }
.gk-intro-text { color: var(--text-2); font-size: 1.02rem; line-height: 2.1; }
html[lang="en"] .gk-intro-text { line-height: 1.8; }
.gk-stats { margin-top: clamp(36px, 5vw, 64px); }
@media (max-width: 900px) { .gk-intro-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- کارت خدمات (ایوان) */
.gk-services { --min: 220px; }
.gk-services .iwan-card .iw-lock { top: 14px; }
.gk-services .iwan-card .iw-go { margin-top: auto; padding-top: 10px; color: var(--gold-ink); font-weight: 700; font-size: .84rem; display: inline-flex; gap: 6px; justify-content: center; align-items: center; }
.gk-services .iwan-card.is-static { cursor: default; }
.gk-services .iwan-card.is-static:hover { transform: none; }
.gk-services .iwan-card .iw-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }

/* ---------------------------------------------------------------- رویدادها */
.gk-event { display: flex; gap: 18px; align-items: stretch; padding: 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: .3s var(--ease); color: inherit; height: 100%; }
.gk-event:hover { border-color: var(--gold-3); box-shadow: var(--shadow-lg); transform: translateY(-3px); color: inherit; }
.gk-date { flex-shrink: 0; width: 78px; border-radius: 40px 40px 14px 14px; background: var(--grad-brand); color: #FFF8E8; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px 6px 10px; text-align: center; position: relative; }
.gk-date::before { content: ''; position: absolute; inset: 4px; border-radius: 36px 36px 11px 11px; border: 1px solid color-mix(in srgb, var(--c-accent) 55%, transparent); }
.gk-date b { font-family: var(--font-display); font-size: 1.8rem; line-height: 1; color: var(--gold-3); }
.gk-date span { font-size: .74rem; margin-top: 6px; opacity: .9; }
.gk-date small { font-size: .66rem; opacity: .7; }
.gk-event h3 { font-size: 1.02rem; margin: 4px 0 6px; line-height: 1.6; }
.gk-event p { color: var(--muted); font-size: .88rem; margin: 0; }
.gk-event .ev-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: .8rem; color: var(--muted); margin-top: 8px; }
.gk-event .ev-meta span { display: inline-flex; gap: 5px; align-items: center; }
.gk-event.is-past { opacity: .85; }
.gk-event.is-past .gk-date { background: var(--surface-3); color: var(--text-2); }
.gk-event.is-past .gk-date b { color: var(--gold-ink); }

/* ---------------------------------------------------------------- کارت اقامتگاه و سالن */
.gk-stay { display: flex; flex-direction: column; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); overflow: hidden; color: inherit; height: 100%; transition: .35s var(--ease); }
.gk-stay:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-3); color: inherit; }
.gk-stay .st-img { padding: 12px 12px 0; }
.gk-stay .st-img > div { aspect-ratio: 4 / 3.2; border-radius: 999px 999px 14px 14px; overflow: hidden; background: var(--grad-brand); }
.gk-stay .st-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gk-stay:hover .st-img img { transform: scale(1.05); }
.gk-stay .st-body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gk-stay h3 { margin: 0; font-size: 1.08rem; }
.gk-stay p { margin: 0; color: var(--muted); font-size: .88rem; }
.gk-stay .st-foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .86rem; }
.gk-stay .st-price { font-weight: 800; color: var(--gold-ink); }

/* ---------------------------------------------------------------- باند تیره‌ی آرامستان */
.gk-mausoleum { position: relative; overflow: hidden; isolation: isolate; }
.gk-mausoleum::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 420px at 80% 30%, rgba(216, 180, 106, .20), transparent 70%), radial-gradient(600px 400px at 0% 100%, rgba(10, 127, 153, .25), transparent 70%); }
.gk-maus-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.gk-maus-art { position: relative; aspect-ratio: 1.1 / 1; }
.gk-maus-art svg { width: 100%; height: 100%; overflow: visible; }
.gk-maus-art .glow { animation: gkGlow 5s ease-in-out infinite; }
@keyframes gkGlow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.gk-points { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 12px; }
.gk-points li { display: flex; gap: 12px; align-items: center; color: rgba(239, 233, 220, .88); }
.gk-points .icon-sm { color: var(--gold-3); }
.gk-points i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(216, 180, 106, .28); flex-shrink: 0; }
@media (max-width: 900px) { .gk-maus-grid { grid-template-columns: 1fr; } .gk-maus-art { max-width: 420px; margin: 0 auto; width: 100%; } }

/* ---------------------------------------------------------------- میراث (شجره‌نامه/کارنامه) */
.gk-heritage-card { position: relative; display: flex; gap: 20px; align-items: center; padding: 28px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); color: inherit; overflow: hidden; transition: .35s var(--ease); height: 100%; isolation: isolate; }
.gk-heritage-card::before { content: ''; position: absolute; inset-block: 0; inset-inline-end: -40px; width: 220px; z-index: -1; background: var(--gold); opacity: .07; -webkit-mask: var(--pattern) 0 0 / 90px repeat; mask: var(--pattern) 0 0 / 90px repeat; }
.gk-heritage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold-3); color: inherit; }
.gk-heritage-card .hc-icon { width: 76px; height: 76px; flex-shrink: 0; border-radius: 999px 999px 18px 18px; display: grid; place-items: center; background: var(--grad-brand); color: var(--gold-3); box-shadow: var(--shadow); }
.gk-heritage-card .hc-icon .icon { width: 32px; height: 32px; }
.gk-heritage-card h3 { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.3rem; }
.gk-heritage-card p { margin: 0 0 10px; color: var(--muted); font-size: .92rem; }

/* ---------------------------------------------------------------- باشگاه */
.gk-club-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.gk-tiers { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 26px; }
.gk-tier { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: .86rem; }
.gk-tier i { width: 14px; height: 14px; border-radius: 50%; background: var(--tier, var(--gold)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tier, var(--gold)) 25%, transparent); }
.gk-paycard { position: relative; max-width: 400px; margin-inline: auto; }
.gk-paycard .bank-card { transform: rotate(-4deg); }
.gk-paycard .bank-card + .bank-card { position: absolute; inset: 0; transform: rotate(5deg) translate(18px, 22px); z-index: -1; opacity: .55; filter: saturate(.7); }
.gk-paycard .pc-brand { display: flex; justify-content: space-between; align-items: center; }
.gk-paycard .pc-brand img { height: 38px; width: auto; }
.gk-paycard .pc-name { font-family: var(--font-display); font-size: 1.35rem; color: var(--gold-3); }
@media (max-width: 900px) { .gk-club-grid { grid-template-columns: 1fr; } .gk-paycard { margin-top: 20px; } }

/* ---------------------------------------------------------------- نوار تماس و نقشه */
.gk-contact-strip { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.gk-contact-strip .cs-info { padding: clamp(24px, 4vw, 44px); }
.gk-contact-strip .map { border-radius: 0; border: 0; height: 100%; min-height: 320px; }
@media (max-width: 900px) { .gk-contact-strip { grid-template-columns: 1fr; } .gk-contact-strip .map { min-height: 280px; } }
.map .leaflet-container, .map.leaflet-container { font-family: var(--font); }
[data-theme="dark"] .map .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.85) contrast(.9) saturate(.6); }
.gk-pin { width: 38px; height: 38px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--grad-brand); border: 2px solid var(--gold-2); box-shadow: var(--shadow); display: grid; place-items: center; }
.gk-pin::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--gold-3); }

/* ---------------------------------------------------------------- صفحه‌ی درباره */
.gk-about { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.gk-about .aside-sticky { top: 100px; }
.gk-about figure { margin: 0; }
.gk-about figcaption { text-align: center; color: var(--muted); font-size: .84rem; margin-top: 14px; }
.gk-drop::first-letter { font-family: var(--font-display); font-size: 3.4em; float: inline-start; line-height: .9; margin-inline-end: 10px; margin-top: 6px; color: var(--gold-ink); }
@media (max-width: 960px) { .gk-about { grid-template-columns: 1fr; } .gk-about aside { order: -1; max-width: 360px; margin-inline: auto; width: 100%; } }
.gk-pillar { text-align: center; padding: 26px 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); height: 100%; }
.gk-pillar .iw-icon { width: 54px; height: 54px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 16px; transform: rotate(45deg); background: var(--gold-soft); border: 1px solid var(--gold-3); }
.gk-pillar .iw-icon > * { transform: rotate(-45deg); color: var(--gold-ink); }
.gk-pillar h3 { font-size: 1rem; margin-bottom: 6px; }
.gk-pillar p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------- اخبار */
.gk-featured { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); border-radius: var(--radius-xl); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); color: inherit; }
.gk-featured:hover { color: inherit; }
.gk-featured > * { min-width: 0; }
.gk-featured .fx-img { min-height: 320px; background: var(--grad-brand); overflow: hidden; }
.gk-featured .fx-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gk-featured:hover .fx-img img { transform: scale(1.04); }
.gk-featured .fx-body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 12px; justify-content: center; position: relative; }
.gk-featured h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0; line-height: 1.5; }
.gk-featured p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .gk-featured { grid-template-columns: minmax(0, 1fr); } .gk-featured .fx-img { min-height: 0; aspect-ratio: 16 / 9; } }
.gk-filter { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.gk-search { position: relative; min-width: min(320px, 100%); }
.gk-search .input { padding-inline-start: 42px; border-radius: 99px; }
.gk-search .icon-sm { position: absolute; top: 50%; inset-inline-start: 16px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.chip.is-active { background: var(--grad-brand); color: #FFF8E8; border-color: transparent; }
a.chip { color: var(--text-2); }
a.chip:hover { border-color: var(--gold-3); color: var(--gold-ink); }
a.chip.is-active:hover { color: #FFF8E8; }
.gk-post-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: .84rem; }
.gk-post-meta span { display: inline-flex; gap: 6px; align-items: center; }
.pc-img .pc-cat { position: absolute; top: 12px; inset-inline-start: 12px; }
.post-card .pc-img { position: relative; }

/* خبر */
.gk-article { max-width: 820px; margin-inline: auto; }
.gk-article-cover { margin: -64px auto 32px; max-width: 1000px; position: relative; z-index: 2; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid var(--surface); background: var(--grad-brand); }
.gk-article-cover img { width: 100%; max-height: 520px; object-fit: cover; }
.gk-article .prose { font-size: 1.05rem; }
.gk-article .lede { font-size: 1.14rem; color: var(--text-2); border-inline-start: 3px solid var(--gold); padding-inline-start: 18px; margin-bottom: 26px; line-height: 2; }
html[lang="en"] .gk-article .lede { line-height: 1.8; }
.gk-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000; margin: 28px 0; box-shadow: var(--shadow); }
.gk-video iframe, .gk-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gk-share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 18px 0; border-block: 1px solid var(--line); margin: 32px 0; }
.gk-share .btn-icon { border: 1px solid var(--line); }
.gk-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.page-hero .gk-post-meta { color: rgba(239, 233, 220, .75); margin-top: 14px; }
.page-hero .gk-post-meta .icon-sm { color: var(--gold-3); }
.page-hero.has-cover { padding-bottom: 110px; }

/* ---------------------------------------------------------------- گالری و لایت‌باکس */
.gk-masonry { columns: 3 260px; column-gap: 14px; }
.gk-masonry .gk-tile { break-inside: avoid; margin-bottom: 14px; display: block; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--grad-brand); border: 0; padding: 0; width: 100%; cursor: zoom-in; }
.gk-masonry .gk-tile:nth-child(3n+1) img { aspect-ratio: 4 / 5; }
.gk-masonry .gk-tile:nth-child(3n+2) img { aspect-ratio: 4 / 3; }
.gk-masonry .gk-tile:nth-child(3n) img { aspect-ratio: 1; }
.gk-tile { border: 0; padding: 0; cursor: zoom-in; display: block; overflow: hidden; background: var(--grad-brand); position: relative; }
.gk-tile img { width: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gk-tile:hover img { transform: scale(1.05); }
.gk-tile .t-cap { position: absolute; inset-inline: 0; bottom: 0; padding: 30px 16px 14px; background: linear-gradient(to top, rgba(6, 12, 26, .78), transparent); color: #FFF8E8; font-size: .86rem; text-align: start; opacity: 0; transform: translateY(8px); transition: .35s var(--ease); }
.gk-tile:hover .t-cap, .gk-tile:focus-visible .t-cap { opacity: 1; transform: none; }
.gk-tile.hidden-by-filter { display: none; }
.gk-lightbox { position: fixed; inset: 0; z-index: 300; display: grid; grid-template-rows: auto 1fr auto; background: rgba(4, 8, 18, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #FFF8E8; }
.gk-lightbox[hidden] { display: none; }
.gk-lightbox .lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; gap: 12px; }
.gk-lightbox .lb-stage { position: relative; display: grid; place-items: center; padding: 0 70px; min-height: 0; }
.gk-lightbox img { max-width: 100%; max-height: calc(100vh - 150px); border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.gk-lightbox .lb-cap { text-align: center; padding: 14px 18px 22px; font-size: .95rem; color: rgba(255, 248, 232, .85); }
.gk-lightbox .btn-icon { color: #FFF8E8; border: 1px solid rgba(216, 180, 106, .35); background: rgba(255, 255, 255, .06); }
.gk-lightbox .btn-icon:hover { background: var(--grad-gold); color: var(--on-gold); }
.gk-lightbox .lb-prev, .gk-lightbox .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.gk-lightbox .lb-prev { inset-inline-start: 14px; }
.gk-lightbox .lb-next { inset-inline-end: 14px; }
.gk-lightbox .lb-count { font-family: var(--font-serif); letter-spacing: .1em; direction: ltr; opacity: .8; }
@media (max-width: 640px) { .gk-lightbox .lb-stage { padding: 0 10px; } .gk-lightbox .lb-prev, .gk-lightbox .lb-next { top: auto; bottom: -56px; } }
.gk-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.gk-thumbs .gk-tile { border-radius: 14px; aspect-ratio: 4 / 3; }
.gk-thumbs .gk-tile img { height: 100%; }

/* ---------------------------------------------------------------- پرسش‌ها */
.gk-faq-bar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.gk-faq-bar .tabs { margin: 0; max-width: 100%; min-width: 0; overflow-x: auto; }
.gk-faq-bar > *, .gk-filter > * { min-width: 0; max-width: 100%; }
.faq-item.is-hidden { display: none; }
.faq-item summary .q-num { font-family: var(--font-serif); color: var(--gold-ink); margin-inline-end: 12px; font-size: 1.1rem; }
.faq-item summary span.q { flex: 1; }
.gk-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }

/* ---------------------------------------------------------------- تماس */
.gk-contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 28px; align-items: start; }
@media (max-width: 960px) { .gk-contact { grid-template-columns: 1fr; } }
.info-list .il-label { display: block; font-size: .78rem; color: var(--muted); }
.info-list .il-value { font-weight: 600; }

/* ---------------------------------------------------------------- جست‌وجو */
.gk-bigsearch { display: flex; gap: 10px; max-width: 720px; margin: 22px 0 0; }
.gk-bigsearch .input { height: 56px; border-radius: 99px; padding-inline: 24px; font-size: 1.02rem; background: rgba(255, 255, 255, .95); color: #121C2B; border-color: transparent; }
[data-theme="dark"] .gk-bigsearch .input { background: var(--surface); color: var(--text); border-color: var(--line); }
.gk-bigsearch .btn { height: 56px; border-radius: 99px; padding-inline: 26px; }
.gk-result { display: block; padding: 16px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: inherit; transition: .25s var(--ease); }
.gk-result:hover { border-color: var(--gold-3); box-shadow: var(--shadow); color: inherit; transform: translateX(0) translateY(-2px); }
.gk-result h3 { font-size: 1rem; margin: 0 0 4px; color: var(--text); }
.gk-result p { color: var(--muted); font-size: .88rem; margin: 0; }
.gk-result mark { background: var(--gold-soft); color: inherit; padding: 0 2px; border-radius: 4px; }
.gk-rgroup h2 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin: 0 0 14px; }
.gk-rgroup h2 .icon { color: var(--gold); }

/* ---------------------------------------------------------------- استعلام مدرک */
.gk-verify { max-width: 760px; margin-inline: auto; }
.gk-cert { position: relative; text-align: center; }
.gk-cert .lux-inner { padding: clamp(28px, 5vw, 52px); }
.gk-cert .seal { width: 108px; height: 108px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; position: relative; }
.gk-cert .seal::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1px dashed currentColor; opacity: .5; animation: spin 40s linear infinite; }
.gk-cert.is-valid .seal { background: var(--grad-gold); color: var(--on-gold); box-shadow: var(--shadow-gold); }
.gk-cert.is-invalid .seal { background: var(--bad-soft); color: var(--bad); }
.gk-cert.is-warn .seal { background: var(--warn-soft); color: var(--warn); }
.gk-cert .seal .icon { width: 44px; height: 44px; }
.gk-cert h2 { font-family: var(--font-display); margin: 0 0 6px; }
.gk-cert.is-valid h2 { color: var(--ok); }
.gk-cert.is-invalid h2 { color: var(--bad); }
.gk-cert.is-warn h2 { color: var(--warn); }
.gk-cert .dl { text-align: start; margin: 24px auto 0; max-width: 520px; }
.gk-cert .cert-code { display: inline-block; font-family: var(--font-serif); letter-spacing: .14em; direction: ltr; padding: 6px 16px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 700; }
.gk-kinds { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.gk-kinds > div { display: flex; gap: 10px; align-items: center; padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); font-size: .88rem; }
.gk-kinds .icon-sm { color: var(--gold); }

/* ---------------------------------------------------------------- کاتالوگ خدمات */
.gk-group-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin: 0 0 22px; flex-wrap: wrap; }
.gk-group-head h2 { font-family: var(--font-display); margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.gk-group-head p { margin: 0; color: var(--muted); }

/* ---------------------------------------------------------------- ورود */
.gk-auth-head { margin-bottom: 22px; }
.gk-auth-head h1 { font-family: var(--font-display); margin: 8px 0 6px; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.gk-auth-head p { color: var(--muted); margin: 0; }
.gk-pass { position: relative; }
.gk-pass .input { padding-inline-end: 46px; }
.gk-pass button { position: absolute; top: 50%; inset-inline-end: 6px; transform: translateY(-50%); }
.gk-note { display: flex; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); font-size: .88rem; color: var(--text-2); }
.gk-note .icon { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.gk-note strong { display: block; margin-bottom: 2px; color: var(--text); }
.gk-otp { letter-spacing: .6em; text-align: center; font-size: 1.4rem; font-weight: 800; direction: ltr; }
.gk-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .8rem; margin: 22px 0; }
.gk-divider::before, .gk-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ---------------------------------------------------------------- عمومی */
.gk-kicker { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.gk-kicker .section-head { margin: 0; }
.gk-empty-lux { padding: 56px 20px; border-radius: var(--radius-xl); border: 1px dashed var(--line-strong); background: var(--surface); }
.gk-hairline { height: 1px; background: linear-gradient(90deg, transparent, var(--gold-2), transparent); border: 0; margin: 0; }

/* ==========================================================================
   v3 — صفحه‌ی اصلی موزه‌ای: هیروی سینمایی با تندیس، وقف، اقامت، میراث، کتابخانه،
   اخبار، نگارخانه، اپلیکیشن. پیشوند lx-
   ========================================================================== */

/* ---------------------------------------------------------------- هیروی سینمایی */
.lx-hero { position: relative; isolation: isolate; overflow: hidden; color: var(--ink-text); background: var(--grad-ink); margin-top: calc(-1 * var(--header-h)); padding: calc(var(--header-h) + clamp(24px, 4vw, 56px)) 0 clamp(36px, 5vw, 60px); min-height: min(100svh, 980px); display: flex; flex-direction: column; justify-content: center; }
.lx-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.lx-slides { position: absolute; inset: 0; }
.lx-slides .gk-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.08); transition: opacity 1.6s var(--ease), transform 9s linear; }
.lx-slides .gk-slide.is-active { opacity: .34; transform: scale(1); }
.lx-slides img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.05); }
.lx-veil { position: absolute; inset: 0; background:
    radial-gradient(70% 70% at var(--lx-sx, 28%) 44%, rgba(233, 207, 148, .22), transparent 62%),
    linear-gradient(90deg, rgba(7, 13, 26, .2), rgba(7, 13, 26, .66) 70%, rgba(7, 13, 26, .86)),
    linear-gradient(0deg, rgba(7, 13, 26, .95), transparent 34%),
    linear-gradient(180deg, rgba(7, 13, 26, .7), transparent 22%); }
[dir="rtl"] .lx-veil { --lx-sx: 28%; background:
    radial-gradient(70% 70% at 28% 44%, rgba(233, 207, 148, .22), transparent 62%),
    linear-gradient(270deg, rgba(7, 13, 26, .86), rgba(7, 13, 26, .62) 38%, rgba(7, 13, 26, .18)),
    linear-gradient(0deg, rgba(7, 13, 26, .95), transparent 34%),
    linear-gradient(180deg, rgba(7, 13, 26, .7), transparent 22%); }
[dir="ltr"] .lx-veil { background:
    radial-gradient(70% 70% at 72% 44%, rgba(233, 207, 148, .22), transparent 62%),
    linear-gradient(90deg, rgba(7, 13, 26, .86), rgba(7, 13, 26, .62) 38%, rgba(7, 13, 26, .18)),
    linear-gradient(0deg, rgba(7, 13, 26, .95), transparent 34%),
    linear-gradient(180deg, rgba(7, 13, 26, .7), transparent 22%); }
.lx-pattern { position: absolute; inset: -10% 0; background: var(--img-girih) 0 0 / 150px; opacity: .8; -webkit-mask: radial-gradient(80% 70% at 50% 40%, #000, transparent 85%); mask: radial-gradient(80% 70% at 50% 40%, #000, transparent 85%); }
.lx-dust { position: absolute; inset: 0; width: 100%; height: 100%; }
.lx-hero::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--hairline); }

.lx-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(20px, 4vw, 64px); align-items: center; }
.lx-hero-copy { position: relative; z-index: 2; }
.lx-wordmark { display: inline-flex; flex-direction: column; margin-bottom: clamp(10px, 2vw, 22px); }
.lx-word { padding: 1em .2em .35em; margin: -1em 0 -.35em; font-family: var(--font-nastaliq); font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.7; background: linear-gradient(180deg, #FFF4D6 10%, #E2C485 55%, #B88E4A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .35)); }
html[lang="en"] .lx-word { font-family: var(--font-serif); font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.3; letter-spacing: .03em; }
.lx-word-sub { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(233, 207, 148, .78); margin-top: -2px; }
.lx-hero .eyebrow { color: var(--gold-3); }
.lx-hero .eyebrow::before { background: var(--gold-3); }
.lx-hero .display-2xl { color: #FFF8E8; margin: 16px 0 18px; text-shadow: 0 10px 40px rgba(0, 0, 0, .35); text-wrap: balance; }
.lx-hero .display-2xl .gold-grad { background: linear-gradient(180deg, #FFF0C8 0%, #E2C485 45%, #B98D45 100%); -webkit-background-clip: text; background-clip: text; }
.lx-hero .lede { color: rgba(244, 238, 224, .8); max-width: 600px; margin: 0; }
.lx-hero .gk-hero-actions { margin-top: clamp(22px, 3vw, 36px); }
.lx-hero .gk-hero-foot { margin-top: clamp(24px, 3vw, 40px); }
.lx-hero .gk-dot { background: rgba(244, 238, 224, .22); }
.lx-hero .gk-counter { color: rgba(244, 238, 224, .6); }
.lx-hero .gk-counter b { color: var(--gold-3); }
.lx-hero .gk-ctrl .btn-icon { border-color: rgba(233, 207, 148, .3); background: rgba(255, 255, 255, .05); color: #F4EEE0; }
.lx-hero .gk-ctrl .btn-icon:hover { background: rgba(255, 255, 255, .12); }
.lx-hero .gk-copy { transition-duration: 1s; }

/* صحنه‌ی تندیس */
.lx-stage, .lx-stage.gk-visual { position: relative; margin: 0; padding: 0; width: auto; height: clamp(380px, calc(100svh - 300px), 660px); display: grid; grid-template-rows: minmax(0, 1fr); place-items: end center; }
.lx-arch { position: absolute; inset: 0 6% 0; width: 88%; height: 100%; overflow: visible; filter: drop-shadow(0 0 30px rgba(233, 207, 148, .18)); }
.lx-rays { position: absolute; inset: 0 14% 12%; background: conic-gradient(from 180deg at 50% 0%, transparent 0deg 160deg, rgba(255, 236, 190, .16) 172deg, transparent 180deg, rgba(255, 236, 190, .1) 188deg, transparent 200deg 360deg); -webkit-mask: linear-gradient(180deg, #000 20%, transparent 90%); mask: linear-gradient(180deg, #000 20%, transparent 90%); animation: lxRays 9s ease-in-out infinite alternate; }
@keyframes lxRays { from { opacity: .55; transform: rotate(-2deg); } to { opacity: 1; transform: rotate(2deg); } }
.lx-statue { position: relative; height: 94%; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)) drop-shadow(0 0 28px rgba(233, 207, 148, .18)); animation: lxRise 1.6s var(--ease-out) both; }
@keyframes lxRise { from { opacity: 0; transform: translateY(26px) scale(.98); } to { opacity: 1; transform: none; } }
.lx-stage::after { content: ''; position: absolute; bottom: -2%; left: 50%; width: 70%; height: 46px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(233, 207, 148, .34), transparent); filter: blur(4px); }
.lx-caption { position: absolute; top: 30%; inset-inline-end: -4%; z-index: 2; display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 16px; background: rgba(8, 14, 26, .55); border: 1px solid rgba(233, 207, 148, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); max-width: 200px; font-size: .78rem; color: rgba(244, 238, 224, .82); line-height: 1.7; }
.lx-caption .kicker-num { font-size: 1.6rem; line-height: 1; color: var(--gold-3); }

/* آمار شیشه‌ای */
.lx-stats { position: relative; z-index: 2; margin-top: clamp(28px, 4vw, 52px); display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-radius: 22px; overflow: hidden; background: rgba(8, 14, 26, .42); border: 1px solid rgba(233, 207, 148, .22); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.lx-stat { padding: 20px 18px; text-align: center; border-inline-start: 1px solid rgba(233, 207, 148, .12); }
.lx-stat:first-child { border-inline-start: 0; }
.lx-stat b { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.2; background: linear-gradient(180deg, #FFF0C8, #D2B272); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lx-stat b i { font-style: normal; font-size: .6em; }
.lx-stat > span { font-size: .84rem; color: rgba(244, 238, 224, .7); }
.lx-scroll { position: absolute; bottom: 16px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; border: 1px solid rgba(233, 207, 148, .45); }
.lx-scroll span { position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold-3); animation: lxWheel 2s ease-in-out infinite; }
@keyframes lxWheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.lx-hero:has(.lx-stats) .lx-scroll { display: none; }

@media (max-width: 960px) {
  .lx-hero { min-height: 0; padding-top: calc(var(--header-h) + 8px); }
  .lx-hero-grid { grid-template-columns: 1fr; gap: 6px; text-align: center; }
  .lx-stage { order: -1; height: clamp(300px, 52vh, 440px); width: min(420px, 100%); margin-inline: auto; }
  .lx-caption { inset-inline-end: 0; top: auto; bottom: 4%; max-width: 160px; padding: 8px 12px; font-size: .7rem; text-align: start; }
  .lx-caption .kicker-num { font-size: 1.2rem; }
  .lx-wordmark { align-items: center; }
  .lx-hero .lede { margin-inline: auto; }
  .lx-hero .gk-hero-actions, .lx-hero .gk-hero-foot { justify-content: center; }
  .lx-hero .eyebrow { justify-content: center; }
  [dir] .lx-veil { background: radial-gradient(80% 50% at 50% 26%, rgba(233, 207, 148, .2), transparent 70%), linear-gradient(0deg, rgba(7, 13, 26, .96) 30%, rgba(7, 13, 26, .5) 70%, rgba(7, 13, 26, .75)); }
  .lx-scroll { display: none; }
}
@media (max-width: 560px) {
  .lx-hero .btn-xl { min-height: 52px; padding: 0 24px; font-size: .95rem; }
  .lx-stats { grid-template-columns: repeat(2, 1fr); }
  .lx-stat:nth-child(3) { border-inline-start: 0; }
  .lx-stat:nth-child(n+3) { border-top: 1px solid rgba(233, 207, 148, .12); }
  .lx-hero .display-2xl { font-size: clamp(2.1rem, 9vw, 2.8rem); }
}

/* ---------------------------------------------------------------- عنوان‌های بخش */
.lx-h2 { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1.32; margin: 14px 0 12px; text-wrap: balance; }
.lx-h3 { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.45; margin: 0; display: flex; align-items: center; gap: 10px; }
.lx-h3 .icon-sm { color: var(--gold); }

/* ---------------------------------------------------------------- وقف */
.lx-vaqf-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.lx-vaqf-art { position: relative; max-width: 400px; width: 100%; margin-inline: auto; }
.lx-vaqf-art .iwan-frame { box-shadow: none; filter: drop-shadow(0 40px 50px rgba(11, 20, 36, .28)); }
.lx-medallion { position: absolute; bottom: 12%; inset-inline-start: -8%; width: 116px; height: 116px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--grad-ink); color: var(--ink-text); box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px color-mix(in srgb, var(--c-accent) 60%, transparent), var(--shadow-lg); }
.lx-medallion .kicker-num { font-size: 2rem; line-height: 1; color: var(--gold-3); }
.lx-medallion small { font-size: .7rem; color: var(--ink-muted); margin-top: 4px; }
.lx-vaqf-mark { display: none; }
.lx-vaqf-copy .gk-quote { margin-top: 0; }
.gk-drop::first-letter { color: var(--gold-ink); }
.lx-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.lx-pillar { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.lx-pillar-ic { width: 42px; height: 42px; flex-shrink: 0; border-radius: 13px; display: grid; place-items: center; transform: rotate(45deg); background: var(--grad-ink); box-shadow: inset 0 0 0 1px rgba(233, 207, 148, .35); }
.lx-pillar-ic .icon { transform: rotate(-45deg); color: var(--gold-3); width: 18px; height: 18px; }
.lx-pillar strong { display: block; font-size: .95rem; }
.lx-pillar span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.7; }
@media (max-width: 960px) { .lx-vaqf-grid { grid-template-columns: 1fr; } .lx-vaqf-art { max-width: 320px; } .lx-vaqf-mark { display: none; } }
@media (max-width: 640px) { .lx-pillars { grid-template-columns: 1fr; } .lx-medallion { width: 92px; height: 92px; inset-inline-start: -4%; } .lx-medallion .kicker-num { font-size: 1.5rem; } }

/* ---------------------------------------------------------------- اقامت */
.lx-stay-sec .tabs { margin: 0; }
.lx-stay-sec [data-pane][hidden] { display: none; }

/* ---------------------------------------------------------------- میراث */
.lx-heritage { overflow: hidden; isolation: isolate; }
.lx-heritage::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 460px at 75% 50%, rgba(233, 207, 148, .16), transparent 70%); }
[dir="rtl"] .lx-heritage::after { background: radial-gradient(600px 460px at 25% 50%, rgba(233, 207, 148, .16), transparent 70%); }
.lx-heritage-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.lx-heritage .section-head h2 { color: #FFF8E8; }
.lx-heritage .section-head p { color: var(--ink-muted); }
.lx-hcard { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 20px 22px; border-radius: 22px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(233, 207, 148, .2); color: var(--ink-text); transition: .35s var(--ease-out); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lx-hcard:hover { background: rgba(255, 255, 255, .08); border-color: rgba(233, 207, 148, .5); color: var(--ink-text); transform: translateY(-3px); }
.lx-hcard .hc-icon { width: 60px; height: 60px; border-radius: 999px 999px 16px 16px; display: grid; place-items: center; background: linear-gradient(180deg, rgba(233, 207, 148, .22), rgba(233, 207, 148, .06)); color: var(--gold-3); border: 1px solid rgba(233, 207, 148, .35); }
.lx-hcard h3 { margin: 0 0 2px; font-family: var(--font-display); font-size: 1.18rem; color: #FFF8E8; }
.lx-hcard p { margin: 0; font-size: .88rem; color: var(--ink-muted); }
.lx-hcard .hc-go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(233, 207, 148, .3); color: var(--gold-3); transition: .3s; }
.lx-hcard:hover .hc-go { background: var(--grad-gold); color: var(--on-gold); border-color: transparent; }
.lx-heritage-art { position: relative; display: grid; justify-items: center; }
.lx-heritage-art img { height: clamp(320px, 46vw, 560px); width: auto; filter: drop-shadow(0 0 24px rgba(233, 207, 148, .22)); }
.lx-heritage-art p { margin: 22px 0 0; font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--gold-3); text-align: center; }
html[lang="en"] .lx-heritage-art p { font-family: var(--font-serif); font-style: italic; }
@media (max-width: 900px) { .lx-heritage-grid { grid-template-columns: 1fr; } .lx-heritage-art img { height: 300px; } }

/* ---------------------------------------------------------------- کتابخانه */
.lx-lib-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.lx-lib-card { display: flex; flex-direction: column; color: inherit; border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: .4s var(--ease-out); }
.lx-lib-card:hover { color: inherit; transform: translateY(-6px); box-shadow: var(--shadow-float); border-color: var(--gold-3); }
.lc-cover { position: relative; aspect-ratio: 4 / 5; background: var(--grad-ink); overflow: hidden; display: grid; place-items: center; }
.lc-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.lx-lib-card:hover .lc-cover img { transform: scale(1.05); }
.lc-ph { color: rgba(233, 207, 148, .55); }
.lc-type { position: absolute; top: 12px; inset-inline-start: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: rgba(8, 14, 26, .6); color: #F6E6BE; font-size: .74rem; font-weight: 700; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lc-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.lc-body h3 { margin: 0; font-size: 1rem; line-height: 1.6; }
.lc-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: .78rem; color: var(--muted); }
.lc-meta span { display: inline-flex; gap: 4px; align-items: center; }
.lx-lib-teaser { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lx-lib-kind { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 34px 16px; border-radius: 140px 140px 22px 22px; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-align: center; transition: .35s var(--ease-out); }
.lx-lib-kind span { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-ink); color: var(--gold-3); box-shadow: inset 0 0 0 1px rgba(233, 207, 148, .35), var(--shadow); }
.lx-lib-kind:hover { transform: translateY(-5px); border-color: var(--gold-3); box-shadow: var(--shadow-float); color: var(--text); }
.lx-submit { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; padding: 18px 22px; border-radius: 22px; background: linear-gradient(90deg, var(--gold-soft), transparent); border: 1px dashed color-mix(in srgb, var(--c-accent) 55%, transparent); }
.lx-submit .ls-ic { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-gold); color: var(--on-gold); box-shadow: var(--shadow-gold); flex-shrink: 0; }
.lx-submit strong { display: block; font-size: 1.02rem; }
.lx-submit span:not(.ls-ic) { display: block; font-size: .86rem; color: var(--muted); }
@media (max-width: 1020px) { .lx-lib-grid, .lx-lib-teaser { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- اخبار و رویدادها */
.lx-news-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.lx-news-grid.no-events { grid-template-columns: 1fr; }
.lx-posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lx-posts .post-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.lx-posts .post-card:first-child .pc-img { aspect-ratio: auto; min-height: 260px; }
.lx-posts .post-card:first-child .pc-body { padding: 26px; justify-content: center; }
.lx-posts .post-card:first-child h3 { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.55rem); }
.lx-news-grid.no-events .lx-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lx-news-grid.no-events .lx-posts .post-card:first-child { grid-column: auto; display: flex; }
.lx-events { position: sticky; top: calc(var(--header-h) + 20px); padding: 20px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.lx-events .gk-event { padding: 12px; gap: 14px; }
.lx-events .gk-date { width: 64px; }
.lx-events .gk-date b { font-size: 1.45rem; }
.lx-events .gk-event p { display: none; }
@media (max-width: 1020px) { .lx-news-grid { grid-template-columns: 1fr; } .lx-events { position: static; } }
@media (max-width: 680px) { .lx-posts, .lx-news-grid.no-events .lx-posts { grid-template-columns: 1fr; } .lx-posts .post-card:first-child { display: flex; } .lx-posts .post-card:first-child .pc-img { aspect-ratio: 16 / 10; min-height: 0; } }

/* ---------------------------------------------------------------- نگارخانه */
.lx-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 16vw, 210px); gap: 12px; }
.lx-gallery .gk-tile { border-radius: 18px; height: 100%; }
.lx-gallery .gk-tile img { height: 100%; }
.lx-gallery .gk-tile:nth-child(1) { grid-column: span 2; grid-row: span 2; border-radius: 160px 160px 18px 18px; }
.lx-gallery .gk-tile:nth-child(4) { grid-row: span 2; }
@media (max-width: 760px) { .lx-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; } .lx-gallery .gk-tile:nth-child(4) { grid-row: auto; } }

/* ---------------------------------------------------------------- باشگاه */
.gk-paycard .bank-card { overflow: hidden; }
.gk-paycard .pc-statue { position: absolute; inset-inline-end: 18px; bottom: -14px; --h: 150px; color: rgba(233, 207, 148, .16); z-index: -1; }

/* ---------------------------------------------------------------- اپلیکیشن */
.lx-app { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; align-items: center; padding: clamp(32px, 5vw, 60px); border-radius: var(--radius-xl); background: var(--img-girih) 0 0 / 120px, var(--grad-ink); color: var(--ink-text); border: 1px solid rgba(233, 207, 148, .22); box-shadow: var(--shadow-float); }
.lx-app::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 300px at 80% 100%, rgba(233, 207, 148, .2), transparent 70%); }
.lx-app .eyebrow { color: var(--gold-3); }
.lx-app .eyebrow::before { background: var(--gold-3); }
.lx-app h2 { color: #FFF8E8; }
.lx-app p { color: var(--ink-muted); max-width: 540px; }
.lx-app-points { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: .9rem; }
.lx-app-points li { display: inline-flex; gap: 8px; align-items: center; }
.lx-app-points .icon-sm { color: var(--gold-3); }
.lx-phone { justify-self: center; width: 220px; aspect-ratio: 9 / 18.5; border-radius: 36px; padding: 10px; background: linear-gradient(145deg, #2A3550, #0A1020); box-shadow: 0 0 0 1px rgba(233, 207, 148, .35), 0 40px 70px -30px rgba(0, 0, 0, .8); transform: rotate(-6deg); margin-bottom: -90px; }
.lx-phone-screen { position: relative; height: 100%; border-radius: 28px; overflow: hidden; background: radial-gradient(80% 50% at 50% 35%, rgba(233, 207, 148, .25), transparent 70%), var(--grad-ink); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 40px; }
.lx-phone-screen img { height: 62%; width: auto; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .5)); }
.lx-phone-word { padding-top: .4em; font-family: var(--font-nastaliq); color: #F2DDA8; font-size: 1.05rem; margin-top: 6px; }
html[lang="en"] .lx-phone-word { font-family: var(--font-serif); }
.lx-phone-bar { position: absolute; top: 10px; left: 50%; width: 70px; height: 18px; margin-left: -35px; border-radius: 99px; background: #05080F; }
@media (max-width: 860px) { .lx-app { grid-template-columns: 1fr; } .lx-phone { display: none; } }

/* ---------------------------------------------------------------- نوار تماس بدون نقشه */
.gk-contact-strip .cs-art { position: relative; min-height: 300px; background: var(--img-girih) 0 0 / 110px, var(--grad-ink); display: grid; place-items: end center; overflow: hidden; }
.gk-contact-strip .cs-art img { height: 300px; width: auto; margin-bottom: -40px; opacity: .9; }

/* ---------------------------------------------------------------- عمومی: کارت اقامت و رویداد */
.gk-stay { box-shadow: var(--shadow-sm); }
.gk-stay:hover { box-shadow: var(--shadow-float); }
.gk-stay .st-img > div { border-radius: 0; -webkit-mask: var(--mask-arch) center / 100% 100% no-repeat; mask: var(--mask-arch) center / 100% 100% no-repeat; aspect-ratio: 4 / 3.6; }
.gk-date { background: var(--grad-ink); }
.gk-featured { border-color: color-mix(in srgb, var(--c-accent) 20%, var(--line)); }
.gk-featured .fx-img { background: var(--grad-ink); }

@media (prefers-reduced-motion: reduce) {
  .lx-rays, .lx-statue, .lx-scroll span { animation: none !important; }
  .lx-slides .gk-slide { transition: none; }
}
@media (max-width: 960px) { .lx-statue { height: 86%; } }
@media (max-width: 560px) { .lx-caption { display: none; } }
/* ردیف ناقص خدمات وسط‌چین */
.gk-services.grid-auto { display: flex; flex-wrap: wrap; justify-content: center; }
.gk-services.grid-auto > * { flex: 1 1 220px; max-width: 268px; height: auto; }
