/* LaTism public site (redesign, Oct 2026): shared header with drop-down menus,
 * hero banner, new home sections, content pages, conversation boxes and
 * LaTism Dialogue (هم‌گفت). Loaded after style.css and app.css. */

/* ---------- signed-in / guest switches (site.js sets body.is-auth) ---------- */
body:not(.is-auth) .when-auth { display: none !important; }
body.is-auth .when-guest { display: none !important; }

/* ---------- hover: one gold (#BF9A69) everywhere, so hover is shown by
   brightness, underline and lift instead of a second colour ---------- */
.btn-primary:hover { background: var(--gold); filter: brightness(1.12); box-shadow: 0 14px 28px -10px rgba(191,154,105,0.55); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); background: rgba(191,154,105,0.08); }
nav.links a:hover, .foot-col a:hover, .top-mini-nav a:hover, .lt-link:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.social-icons a:hover { border-color: var(--gold); color: var(--gold); background: rgba(191,154,105,0.12); }
.modal-close:hover { color: var(--gold); }

/* ---------- header + menus ---------- */
header.site-nav { gap: 14px; }
.logo { font-style: normal; font-weight: 700; }
.logo img { width: 40px; height: 40px; }
nav.main-menu { gap: 6px; }
.mi { position: relative; }
.mi-top { display: inline-flex; align-items: center; gap: 4px; padding: 8px 10px; font-size: 15px; color: var(--ash); background: none; border: 0; cursor: pointer; font-family: inherit; border-radius: 8px; white-space: nowrap; transition: color .25s; }
.mi-top .caret { width: 11px; height: 11px; opacity: .7; transition: transform .25s; }
.mi:hover > .mi-top, .mi:focus-within > .mi-top, .mi.open > .mi-top { color: var(--gold); }
.mi:hover > .mi-top .caret, .mi.open > .mi-top .caret { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + 6px); inset-inline-start: 0; min-width: 190px; z-index: 120;
  display: flex; flex-direction: column; padding: 8px; border-radius: 14px;
  background: rgba(3, 14, 9, 0.97); border: 1px solid var(--hairline); box-shadow: 0 18px 40px -16px rgba(0,0,0,.7);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility 0s .2s;
}
.submenu::before { content: ""; position: absolute; inset-inline: 0; top: -10px; height: 10px; } /* hover bridge */
.mi:hover > .submenu, .mi:focus-within > .submenu, .mi.open > .submenu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
.submenu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; font-size: 14.5px; color: var(--parchment); white-space: nowrap; }
.submenu a:hover, .submenu a:focus-visible { background: rgba(191,154,105,0.12); color: var(--gold); text-decoration: none; }
.submenu-social svg { width: 17px; height: 17px; flex: none; }
.start-mi .submenu { inset-inline-start: auto; inset-inline-end: 0; }
.start-btn { padding: 9px 20px !important; font-size: 14px !important; }
.phone-soon { cursor: default; }
.lt-tip { position: fixed; z-index: 400; background: var(--aubergine); color: var(--parchment); border: 1px solid var(--gold); border-radius: 10px; padding: 8px 12px; font-size: 13.5px; pointer-events: none; max-width: 260px; }

@media (max-width: 1180px) {
  nav.main-menu { display: none; }
  .menu-btn { display: block; }
}
@media (min-width: 921px) and (max-width: 1180px) { header.site-nav .menu-btn { display: block; } }
@media (max-width: 560px) {
  header.site-nav .start-btn { padding: 7px 12px !important; font-size: 12.5px !important; }
  .start-mi .submenu { display: none; } /* phones use the menu drawer */
}

/* ---------- drawer (phones / tablets) ---------- */
#drawer { justify-content: flex-start; overflow-y: auto; padding: 70px 24px 40px; gap: 0; }
#drawer .dr-inner { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 18px; }
#drawer .dr-group { border-bottom: 1px solid var(--hairline); padding-bottom: 14px; }
#drawer a.dr-top, #drawer span.dr-top { display: block; font-size: 21px; color: var(--parchment); margin-bottom: 6px; font-family: inherit; }
#drawer .dr-subs { display: flex; flex-wrap: wrap; gap: 6px 16px; }
#drawer .dr-subs a { font-size: 16px; color: var(--ash); font-family: inherit; }
#drawer .dr-subs a:hover { color: var(--gold); }
#drawer .social-icons { margin-top: 6px; }
#drawer .social-icons a { font-size: 0; }

/* ---------- hero: banner image (logo is part of the artwork) ---------- */
.hero {
  /* The banner starts under the header bar so the top of the emblem is never covered. */
  min-height: max(100svh, calc(56.25vw + 270px));
  align-items: flex-end;
  background: #020d08 url('/assets/brand/hero-desktop-1600-v2.webp') center 60px / 100% auto no-repeat;
}
@media (min-width: 1601px), (min-resolution: 1.5dppx) and (min-width: 1100px) {
  .hero { background-image: url('/assets/brand/hero-desktop-2560-v2.webp'); }
}
.hero::before { background: linear-gradient(to top, #020d08 0%, rgba(2,13,8,0.92) 150px, rgba(2,13,8,0) 300px); }
.hero-inner { padding-bottom: clamp(36px, 6vw, 70px); }
.hero-slogan {
  margin: 0 auto 30px; max-width: 760px; color: var(--gold); font-weight: 700;
  font-size: clamp(22px, 2.6vw, 34px); letter-spacing: .01em; text-shadow: 0 2px 24px rgba(0,0,0,.6);
}
@media (max-width: 760px) {
  .hero {
    min-height: max(100svh, calc(177.8vw * 0.78));
    background-image: url('/assets/brand/hero-mobile-1080x1920.webp');
    background-position: center top;
  }
  .hero::before { background: linear-gradient(to top, #020d08 0%, rgba(2,13,8,0.85) 32%, rgba(2,13,8,0) 50%); }
}

/* ---------- home sections ---------- */
.manifesto blockquote { font-style: normal; }
body[data-lang="en"] .manifesto blockquote { font-style: italic; }
.about-teaser { background: linear-gradient(180deg, var(--void) 0%, var(--void-deep) 100%); }
.teaser-body { max-width: 760px; margin: 0 auto; text-align: center; }
.teaser-body p { color: var(--ash); font-size: 17px; margin-bottom: 18px; }
.teaser-body .btn { margin-top: 12px; }

/* five faculties: 3 + 2, centred, equal width (owner's layout model) */
.fac-grid.fac-five { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.fac-five .fac-card { flex: 0 1 calc((100% - 24px) / 3); min-width: 0; }
.fac-card { color: inherit; }
.fac-card h3 { color: var(--gold); }
.fac-card .fac-more { font-size: 13.5px; color: var(--ash-dim); margin-top: 18px; transition: color .3s; }
.fac-card:hover .fac-more { color: var(--gold); }
body[data-lang="en"] .arrow { display: inline-block; transform: scaleX(-1); }
@media (max-width: 920px) { .fac-five .fac-card { flex-basis: calc((100% - 12px) / 2); } }
@media (max-width: 420px) { .fac-five .fac-card { flex-basis: 100%; } }

.item-links .item-row { color: inherit; }
.item-links .item-row .arrow { color: var(--gold); }
.split-btn { margin-top: 30px; font-size: 14px; padding: 12px 26px; }

.consult-section { background: var(--void-deep); }
.chat-launchers { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.hami-section { background: var(--void); }
.hami-card { max-width: 900px; margin: 0 auto; text-align: center; }
.hami-card h2 { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 18px; }
.hami-card > p { color: var(--ash); max-width: 720px; margin: 0 auto 28px; font-size: 16px; }
.hami-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 22px; }
.cta-section .hero-ctas { margin-top: 30px; }

/* ---------- content pages ---------- */
.page-hero { padding: clamp(130px, 16vw, 190px) 0 clamp(30px, 5vw, 56px); background: radial-gradient(ellipse at 50% 0%, rgba(191,154,105,0.16), transparent 60%), var(--void-deep); border-bottom: 1px solid var(--hairline); text-align: center; }
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { font-size: clamp(30px, 5vw, 56px); line-height: 1.3; }
.page-hero .fac-bar { color: var(--gold); margin: 0 .2em; }
.page-hero .fac-latin { font-family: var(--font-en); }
.page-lede { color: var(--gold); font-size: clamp(17px, 2vw, 21px); max-width: 760px; margin: 16px auto 0; }
.page-body { padding-top: clamp(40px, 6vw, 70px); }
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 40px 0 14px; color: var(--gold); }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ash); font-size: 17.5px; line-height: 2; margin-bottom: 18px; text-align: justify; }
body[data-lang="en"] .prose p { text-align: start; line-height: 1.8; }
.prose hr { margin: 44px 0; }
.prose-cta { text-align: center; margin-top: 44px; }
.other-faculties { max-width: 780px; margin: 70px auto 0; text-align: center; }
.other-faculties h2 { font-size: 15px; color: var(--ash-dim); margin-bottom: 14px; font-weight: 400; }
.other-faculties div { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.other-faculties a { border: 1px solid var(--hairline); border-radius: 30px; padding: 8px 18px; color: var(--ash); }
.other-faculties a:hover { border-color: var(--gold); color: var(--gold); }

.pill-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 40px 0 10px; }
.pill-nav a { border: 1px solid var(--hairline); border-radius: 30px; padding: 9px 22px; color: var(--parchment); }
.pill-nav a:hover { border-color: var(--gold); color: var(--gold); }
.lib-block { padding-top: 56px; }
.block-title { font-size: clamp(22px, 2.8vw, 32px); margin-bottom: 10px; color: var(--gold); }
.block-sub { color: var(--ash); margin-bottom: 26px; }
.soon-note { color: var(--ash-dim); font-size: 15px; margin-top: 18px; }

/* LaTiVoice */
.voice-search { display: flex; gap: 10px; max-width: 560px; margin: 0 auto; }
.voice-search input { flex: 1; min-width: 0; background: rgba(255,255,255,0.04); border: 1px solid var(--hairline); border-radius: 10px; padding: 11px 14px; color: var(--parchment); font: inherit; }
.voice-search input:focus { border-color: var(--gold); outline: none; }
.voice-item { background: var(--aubergine); border: 1px solid var(--hairline); border-radius: 14px; padding: 18px 20px; margin-bottom: 12px; }
.voice-item h3 { font-size: 18px; margin-bottom: 6px; }
.voice-item .meta { color: var(--ash-dim); font-size: 13px; }
.voice-item details summary { cursor: pointer; color: var(--gold); margin-top: 8px; }
.voice-item .transcript { color: var(--ash); white-space: pre-wrap; margin-top: 10px; line-height: 1.9; }
mark { background: rgba(191,154,105,0.35); color: inherit; border-radius: 3px; }

/* Guidance page */
.consult-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.consult-grid h2 { font-size: 24px; margin-bottom: 12px; }
.consult-grid p { color: var(--ash); margin-bottom: 22px; }
@media (max-width: 820px) { .consult-grid { grid-template-columns: 1fr; } }
.hami-actions-page { margin-top: 40px; }
.donate-box { max-width: 780px; margin: 10px auto 0; }
.donate-gateway { margin-top: 20px; border-top: 1px solid var(--hairline); padding-top: 18px; }
.donate-gateway label { display: block; color: var(--ash-dim); font-size: 14px; margin-bottom: 8px; }
.donate-gateway input { flex: 1; min-width: 0; max-width: 260px; background: rgba(255,255,255,0.04); border: 1px solid var(--hairline); border-radius: 10px; padding: 11px 14px; color: var(--parchment); font: inherit; opacity: .6; }

/* ---------- conversation box (assets/chat.js) ---------- */
.chat-slot { max-width: 780px; margin: 18px auto 0; }
.chat-box { background: var(--aubergine); border: 1px solid var(--gold); border-radius: 16px; padding: 20px; text-align: start; }
.chat-box h3 { font-size: 19px; margin-bottom: 10px; color: var(--gold); }
.chat-prompt { color: var(--parchment); background: rgba(191,154,105,0.08); border-inline-start: 3px solid var(--gold); border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; line-height: 1.9; }
.chat-log { display: flex; flex-direction: column; gap: 10px; max-height: 420px; overflow-y: auto; padding: 4px 2px 10px; margin-bottom: 12px; }
.chat-msg { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: 15px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-msg.mine { align-self: flex-start; background: rgba(191,154,105,0.16); border: 1px solid rgba(191,154,105,0.35); }
.chat-msg.theirs { align-self: flex-end; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
.chat-msg .who { display: block; font-size: 12px; color: var(--ash-dim); margin-bottom: 2px; }
.chat-msg audio { width: 240px; max-width: 100%; height: 40px; margin-top: 6px; display: block; }
.chat-empty { color: var(--ash-dim); font-size: 14px; }
.chat-form textarea, .hg-form textarea { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid var(--hairline); border-radius: 10px; padding: 12px 14px; color: var(--parchment); font: inherit; font-size: 15px; resize: vertical; min-height: 90px; }
.chat-form textarea:focus, .hg-form textarea:focus { border-color: var(--gold); outline: none; }
.chat-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.chat-tools .spacer { flex: 1; }
.chat-count { font-size: 12px; color: var(--ash-dim); }
.rec-btn { display: inline-flex; align-items: center; gap: 8px; }
.rec-btn.recording { border-color: #ff8a80 !important; color: #ffb4a8 !important; }
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.rec-btn.recording .rec-dot { animation: recpulse 1s infinite; }
@keyframes recpulse { 50% { opacity: .25; } }
.rec-preview { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rec-preview audio { height: 38px; max-width: 240px; }
.chat-gate { text-align: center; padding: 10px 0; }
.chat-gate p { color: var(--ash); margin-bottom: 14px; }
.chat-gate .lt-row { justify-content: center; }

/* ---------- LaTism Dialogue (hamgoft.js) ---------- */
.hg-composer { max-width: 780px; margin: 30px auto 24px; }
#hamgoftList { max-width: 780px; margin: 0 auto; }
.hg-item { background: var(--aubergine); border: 1px solid var(--hairline); border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; }
.hg-replies { margin-top: 12px; margin-inline-start: 18px; border-inline-start: 2px solid var(--hairline); padding-inline-start: 14px; }
.hg-replies .hg-item { background: rgba(255,255,255,0.02); margin-bottom: 8px; }
.hg-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--ash-dim); margin-bottom: 6px; }
.hg-head strong { color: var(--parchment); font-weight: 700; font-size: 14.5px; }
.hg-head .admin-badge { color: var(--gold); margin-inline-start: 6px; }
.hg-text { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ash); line-height: 1.9; }
.hg-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; align-items: center; }
.hg-vote { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--hairline); border-radius: 20px; padding: 4px 12px; background: none; color: var(--ash); cursor: pointer; font: inherit; font-size: 13.5px; }
.hg-vote[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); background: rgba(191,154,105,0.1); }
.hg-vote svg { width: 15px; height: 15px; }
.hg-link { background: none; border: 0; color: var(--ash-dim); cursor: pointer; font: inherit; font-size: 13.5px; padding: 4px 6px; }
.hg-link:hover { color: var(--gold); }
.hg-link.danger:hover { color: #ffb4a8; }
.hg-reply-form { margin-top: 10px; }
.hg-item audio { width: 260px; max-width: 100%; height: 40px; display: block; margin-top: 8px; }

/* ---------- footer ---------- */
.foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-logo { margin-bottom: 14px; display: inline-block; }
.foot-logo img { width: 88px; height: 88px; }
.foot-col a.foot-sub { padding-inline-start: 14px; font-size: 13.5px; color: var(--ash-dim); }
.foot-bottom .designer { color: var(--ash-dim); font-family: var(--font-en); letter-spacing: .03em; }
.foot-bottom .designer:hover { color: var(--gold); }

/* ---------- panels: back-to-site + logo image ---------- */
.lt-head .logo img { width: 40px; height: 40px; }
.hg-title { font-size: 20px; margin: 0 0 14px; color: var(--parchment); }
#hamgoftList .hg-title { margin-top: 10px; }

/* ---------- conversations in the panels ---------- */
.conv-filter { margin: 6px 0 14px; }
.conv-filter select { background: rgba(255,255,255,0.04); color: var(--parchment); border: 1px solid var(--hairline); border-radius: 10px; padding: 8px 12px; font: inherit; }
.conv-layout { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 860px) { .conv-layout { grid-template-columns: minmax(0, 1fr); } }
.conv-list { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.conv-row { display: flex; flex-direction: column; gap: 3px; text-align: start; width: 100%; background: var(--aubergine); border: 1px solid var(--hairline); border-radius: 12px; padding: 12px 14px; color: var(--ash); font: inherit; cursor: pointer; min-width: 0; }
.conv-row:hover, .conv-row.current { border-color: var(--gold); }
.conv-row.unread { border-inline-start: 3px solid var(--gold); }
.conv-row strong { color: var(--parchment); }
.conv-row-meta { font-size: 12.5px; color: var(--ash-dim); }
.conv-row-prev { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-thread { min-width: 0; }
.conv-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; margin: 14px 0 18px; }
.conv-types .conv-row[aria-pressed="true"] { border-color: var(--gold); background: rgba(191,154,105,0.08); }

/* ---------- client feedback, Oct 2026 ---------- */
/* "LaTism" wordmark next to the emblem: Arial, like the Latin line under the
   logo. Arial Bold, subset to the letters of the word (~1 KB). */
@font-face { font-family: 'LaTism Wordmark'; src: url('/assets/fonts/arial-bold-latism.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
body[data-lang] .logo { font-family: 'LaTism Wordmark', Arial, 'Helvetica Neue', Helvetica, sans-serif; font-style: normal; font-weight: 700; letter-spacing: 0; }

/* Menu headings and section labels: larger and bold, so they read easily. */
nav.main-menu .mi-top { font-size: 17px; font-weight: 700; color: var(--parchment); }
nav.main-menu .submenu a { font-size: 16px; }
nav.main-menu .mi:hover > .mi-top, nav.main-menu .mi:focus-within > .mi-top, nav.main-menu .mi.open > .mi-top { color: var(--gold); }
#drawer a.dr-top, #drawer span.dr-top { font-weight: 700; }
.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: .12em; }
body[data-lang="en"] .eyebrow { font-size: 14px; }
@media (max-width: 1300px) {
  nav.main-menu { display: none; }
  header.site-nav .menu-btn { display: block; }
}
@media (min-width: 1301px) and (max-width: 1440px) {
  nav.main-menu { gap: 0; }
  nav.main-menu .mi-top { font-size: 16px; padding: 8px 7px; }
}
header.site-nav .start-btn { white-space: nowrap; }

/* One button style everywhere (site and panels): every button filled with the
   brand gold (#BF9A69), dark text; on the public pages the buttons of one row
   also share one width. */
body .btn,
body .btn-ghost,
body button.btn-ghost {
  background: var(--gold); color: var(--void-deep); border-color: var(--gold); font-weight: 700;
  justify-content: center; text-align: center;
}
body .btn:hover { background: var(--gold); color: var(--void-deep); filter: brightness(1.12); box-shadow: 0 14px 28px -10px rgba(191,154,105,0.55); }
body .btn[disabled] { opacity: .55; cursor: not-allowed; filter: none; transform: none; box-shadow: none; }
body[class*="page-"] .btn:not(.lt-btn-sm):not(.start-btn) { min-width: 200px; min-height: 52px; padding: 12px 28px; line-height: 1.5; font-size: 15px; }
body .rec-btn.recording { background: #7a2f28 !important; border-color: #7a2f28 !important; color: #ffe1dc !important; }
.hero-ctas, .hami-actions, .chat-launchers {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: max-content; max-width: 100%; margin-inline: auto;
}
@media (max-width: 640px) {
  .hero-ctas, .hami-actions, .chat-launchers { grid-auto-flow: row; width: 100%; max-width: 340px; }
  body[class*="page-"] .btn:not(.lt-btn-sm):not(.start-btn) { min-width: 0; width: 100%; }
}

/* Header controls: language switch and "Begin the Path" share one height and the same gold. */
header.site-nav .start-btn { height: 40px; }
.lang-toggle { height: 40px; border-color: var(--gold); border-radius: 10px; font-size: 13px; }
.lang-toggle button { color: var(--gold); font-weight: 700; padding: 0 14px; }
.lang-toggle button.active { background: var(--gold); color: var(--void-deep); }
@media (max-width: 560px) {
  header.site-nav .start-btn, header.site-nav .lang-toggle { height: 34px; }
  header.site-nav .lang-toggle button { padding: 0 10px; }
}

/* Round icons (Telegram, Instagram, phone) match the gold chat button. */
.social-icons a, .foot-col .social-icons a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; margin: 0; background: var(--gold); border-color: var(--gold); color: var(--void-deep); }
.social-icons a:hover { background: var(--gold); border-color: var(--gold); color: var(--void-deep); filter: brightness(1.12); }
.social-icons svg { width: 18px; height: 18px; }

/* ---------- «فراسوی حقیقت زیستی» (assets/beyond.js) ---------- */
.beyond-intro p { text-align: center; color: var(--parchment); font-size: clamp(18px, 2vw, 21px); }
body[data-lang="en"] .beyond-intro p { text-align: center; }
.beyond-gate { max-width: 780px; margin: 34px auto 0; }
.beyond-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.beyond-choices .btn { white-space: normal; line-height: 1.7; height: 100%; }
@media (max-width: 640px) { .beyond-choices { grid-template-columns: 1fr; } }
.beyond-code { margin-top: 18px; }
.beyond-code label { display: block; color: var(--ash); margin-bottom: 8px; }
.beyond-code input { flex: 1; min-width: 0; background: rgba(255,255,255,0.04); border: 1px solid var(--hairline); border-radius: 10px; padding: 12px 14px; color: var(--parchment); font: inherit; font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; }
.beyond-code input:focus { border-color: var(--gold); outline: none; }
.beyond-code .hint { color: var(--ash-dim); font-size: 14px; margin-top: 10px; }
.beyond-shelf { max-width: 780px; margin: 34px auto 0; }
.beyond-player { margin: 10px 0 4px; }
.beyond-player audio { width: 100%; max-width: 480px; height: 42px; }
.beyond-card { display: flex; gap: 18px; align-items: center; color: inherit; border: 1px solid var(--gold); text-align: start; }
.beyond-card:hover { background: rgba(191,154,105,0.06); text-decoration: none; }
.beyond-card .block-title { display: block; }
.beyond-card .block-sub { display: block; margin-bottom: 0; }
.beyond-lock { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: var(--void-deep); display: grid; place-items: center; }
.beyond-lock svg { width: 24px; height: 24px; }
.pill-nav a.pill-beyond { border-color: var(--gold); color: var(--gold); }
/* Choice buttons (text/voice, filters) still need to show which one is chosen:
   the unchosen ones keep a gold outline instead of the fill. */
body .btn[role="radio"][aria-checked="false"], body .lt-filter .btn[aria-pressed="false"] { background: transparent; color: var(--gold); border-color: var(--gold); }

/* ---------- لاتی‌بیز (biz.html, assets/biz.js) ---------- */
/* Flag emoji: Windows has no flag glyphs, so these letters come from Twemoji. */
@font-face { font-family: 'LaTism Flags'; src: url('fonts/twemoji-country-flags.woff2') format('woff2'); unicode-range: U+1F1E6-1F1FF; font-display: swap; }
.ico-globe { width: 1.05em; height: 1.05em; flex: none; vertical-align: -0.15em; margin-inline-end: 6px; }
nav.main-menu .mi-biz { margin-inline-start: 8px; padding-inline-start: 10px; border-inline-start: 1px solid var(--hairline); }
nav.main-menu .mi-biz .mi-top { display: inline-flex; align-items: center; color: var(--gold); }
#drawer .dr-biz .dr-top { display: inline-flex; align-items: center; color: var(--gold); }
.foot-col a.foot-biz { display: flex; align-items: center; color: var(--gold); }

.biz-teaser-card { max-width: 820px; margin: 0 auto; text-align: center; padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 48px); border: 1px solid var(--hairline); border-radius: 20px;
  background: linear-gradient(rgba(4,20,12,0.7), rgba(4,20,12,0.7)), url('biz/world-dots.svg') center / 110% auto no-repeat, var(--aubergine); }
.biz-teaser-card .eyebrow { display: flex; justify-content: center; }
.biz-teaser-card h2 { display: flex; justify-content: center; align-items: center; color: var(--gold); }
.biz-teaser-slogan { color: var(--gold); font-weight: 700; font-size: clamp(18px, 2.2vw, 22px); margin: 6px 0 10px; }
.biz-teaser-card p:not(.biz-teaser-slogan) { color: var(--ash); margin-bottom: 22px; }

.biz-hero { padding-bottom: clamp(20px, 3vw, 32px); border-bottom: 0; }
.biz-strip { display: inline-block; font-size: 13.5px; font-weight: 700; letter-spacing: .06em; color: var(--gold); border: 1px solid var(--hairline); border-radius: 999px; padding: 4px 16px; margin-bottom: 14px; }
.biz-hero h1 { color: var(--parchment); }
.biz-map-sec { background: var(--void-deep); border-bottom: 1px solid var(--hairline); padding-bottom: clamp(24px, 4vw, 44px); }
.biz-map { position: relative; max-width: 1100px; margin: 0 auto; direction: ltr; }
.biz-map img { display: block; width: 100%; height: auto; }
.biz-pins { position: absolute; inset: 0; }
.biz-pin { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.biz-pin span { width: 11px; height: 11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(191,154,105,0.25); transition: transform .2s, box-shadow .2s; }
.biz-pin span::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; border: 1px solid var(--gold); opacity: 0; animation: bizPulse 2.6s ease-out infinite; }
.biz-pin:hover span, .biz-pin:focus-visible span, .biz-pin.on span { transform: scale(1.35); box-shadow: 0 0 0 6px rgba(191,154,105,0.35); }
.biz-pin:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 50%; }
@keyframes bizPulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .biz-pin span::after { animation: none; } }
@media (max-width: 640px) { .biz-pin { width: 22px; height: 22px; margin: -11px 0 0 -11px; } .biz-pin span { width: 8px; height: 8px; box-shadow: 0 0 0 3px rgba(191,154,105,0.25); } }
.biz-stats { display: flex; justify-content: center; gap: clamp(28px, 6vw, 72px); margin-top: 18px; }
.biz-stats div { text-align: center; }
.biz-stats strong { display: block; font-size: clamp(30px, 4vw, 42px); color: var(--gold); line-height: 1.2; }
.biz-stats span { color: var(--ash); font-size: 15px; }

.biz-body .block-title { text-align: center; }
.biz-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; margin: 8px 0 22px; }
.biz-cats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.biz-chip { font: inherit; font-size: 14.5px; font-weight: 700; color: var(--gold); background: transparent; border: 1px solid var(--gold); border-radius: 999px; padding: 6px 16px; cursor: pointer; }
.biz-chip[aria-pressed="true"] { background: var(--gold); color: var(--void-deep); }
.biz-chip:focus-visible, .biz-country select:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.biz-country select { font: inherit; font-size: 14.5px; color: var(--parchment); background: var(--aubergine); border: 1px solid var(--gold); border-radius: 999px; padding: 6px 16px; min-width: 180px; }
@media (max-width: 640px) { .biz-cats { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; max-width: 100%; padding-bottom: 4px; scrollbar-width: none; } .biz-chip { flex: none; } .biz-country, .biz-country select { width: 100%; } }

.biz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
@media (max-width: 520px) { .biz-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }
.biz-card { font: inherit; color: inherit; text-align: start; display: flex; flex-direction: column; padding: 0; background: var(--aubergine); border: 1px solid var(--hairline); border-radius: 16px; overflow: hidden; cursor: pointer; transition: border-color .25s, transform .25s; }
.biz-card:hover, .biz-card:focus-visible { border-color: var(--gold); transform: translateY(-2px); }
.biz-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.biz-photo-wrap { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--aubergine-soft); }
.biz-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.biz-initials { display: grid; place-items: center; font-size: clamp(34px, 6vw, 52px); font-weight: 700; color: var(--gold); background: radial-gradient(circle at 50% 35%, rgba(191,154,105,0.18), transparent 70%); }
.biz-verified { position: absolute; bottom: 8px; inset-inline-end: 8px; width: 28px; height: 28px; }
.biz-sample { position: absolute; top: 8px; inset-inline-start: 8px; font-size: 12px; font-weight: 700; background: rgba(4,20,12,0.85); color: var(--gold); border: 1px solid var(--gold); border-radius: 999px; padding: 1px 10px; }
.biz-card-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.biz-name { font-size: 18px; font-weight: 700; color: var(--parchment); line-height: 1.5; }
.biz-place { display: flex; align-items: center; gap: 6px; color: var(--ash); font-size: 14px; }
.biz-flag { font-family: 'LaTism Flags', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; font-size: 17px; line-height: 1; }
.biz-line { color: var(--ash); font-size: 14.5px; line-height: 1.7; overflow-wrap: anywhere; margin-bottom: 6px; }
.biz-place { margin-bottom: 4px; }
.biz-cat { align-self: flex-start; margin-top: auto; font-size: 12.5px; font-weight: 700; color: var(--gold); border: 1px solid var(--hairline); border-radius: 999px; padding: 2px 10px; }
@media (max-width: 520px) { .biz-card-body { padding: 10px 12px 12px; } .biz-name { font-size: 16px; } .biz-line, .biz-place { font-size: 13px; } }
.biz-empty { text-align: center; padding: 36px 20px; border: 1px dashed var(--hairline); border-radius: 16px; color: var(--ash); }
.biz-empty-icon { width: 56px; height: 56px; color: var(--gold); margin-bottom: 12px; }

.biz-block { max-width: 820px; margin: clamp(48px, 7vw, 80px) auto 0; text-align: center; }
.biz-block > p { color: var(--ash); font-size: 17px; line-height: 2; }
.biz-charter { text-align: start; padding-inline-start: 1.4em; color: var(--ash); line-height: 2; }
.biz-faq { text-align: start; border-bottom: 1px solid var(--hairline); padding: 12px 0; }
.biz-faq summary { cursor: pointer; color: var(--parchment); font-weight: 700; }
.biz-faq p { color: var(--ash); margin-top: 8px; }
.biz-closing { max-width: 820px; margin: clamp(48px, 7vw, 80px) auto 0; padding-top: 24px; border-top: 1px solid var(--hairline); text-align: center; color: var(--ash-dim); font-size: 15px; }

/* the request chat */
.biz-overlay .modal-box.biz-chat { max-width: 520px; padding: 22px; display: flex; flex-direction: column; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); }
.biz-chat-head { display: flex; gap: 12px; align-items: center; padding-inline-end: 34px; margin-bottom: 12px; }
.biz-chat-photo { width: 52px; height: 52px; flex: none; border-radius: 50%; object-fit: cover; font-size: 20px; }
.biz-chat-head h3 { font-size: 18px; margin: 0; color: var(--gold); line-height: 1.5; }
.biz-chat-head p { margin: 0; color: var(--ash-dim); font-size: 13.5px; }
.biz-log { flex: 1; min-height: 120px; max-height: none; }
.biz-notice { font-size: 13.5px; line-height: 1.8; color: var(--ash); background: rgba(191,154,105,0.08); border-inline-start: 3px solid var(--gold); border-radius: 10px; padding: 10px 12px; }
.biz-done { text-align: center; font-weight: 700; color: #bfe8d8; background: rgba(53,106,97,0.25); border: 1px solid rgba(53,106,97,0.5); border-radius: 10px; padding: 10px; }
.biz-step input[type="text"], .biz-step textarea { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid var(--hairline); border-radius: 10px; padding: 11px 14px; color: var(--parchment); font: inherit; font-size: 15px; }
.biz-step textarea { resize: vertical; min-height: 96px; }
.biz-step input:focus, .biz-step textarea:focus { border-color: var(--gold); outline: none; }
.biz-contact-types { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.biz-radio { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--hairline); border-radius: 999px; padding: 4px 12px; cursor: pointer; font-size: 14px; }
.biz-radio:has(input:checked) { border-color: var(--gold); color: var(--gold); }
.biz-radio input { accent-color: var(--gold); }
.biz-step-actions { display: flex; gap: 8px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
body .biz-step-actions .btn:not(.lt-btn-sm) { min-width: 0; min-height: 44px; padding: 8px 22px; width: auto; }
.biz-step-actions .btn-primary { margin-inline-start: auto; }
.biz-step-count { order: -1; color: var(--ash-dim); font-size: 13px; }
.biz-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.8; color: var(--ash); }
.biz-consent input { margin-top: 6px; accent-color: var(--gold); flex: none; }
.biz-consent a { color: var(--gold); text-decoration: underline; }
.biz-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.biz-step .form-msg { margin-top: 10px; }
/* admin › لاتی‌بیز */
.bz-thumb { display: block; width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: rgba(191,154,105,0.12); }
.bz-thumb-lg { width: 96px; height: 96px; }
.bz-reqs .bz-req-text { min-width: 240px; max-width: 420px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.8; }
.bz-reqs select { font: inherit; background: var(--aubergine); color: var(--parchment); border: 1px solid var(--hairline); border-radius: 8px; padding: 4px 8px; }
body .lt-filter .btn[aria-pressed="true"] { color: var(--void-deep); }
/* With LaTiBiz added, the English menu needs a little less room on mid-size screens. */
@media (min-width: 1301px) and (max-width: 1440px) {
  body[data-lang="en"] nav.main-menu .mi-top { font-size: 15px; padding: 8px 5px; }
  body[data-lang="en"] header.site-nav .nav-right { gap: 10px; }
  nav.main-menu .mi-biz { margin-inline-start: 4px; padding-inline-start: 6px; }
}
@media (min-width: 1301px) and (max-width: 1360px) {
  nav.main-menu .caret { display: none; }
  nav.main-menu .mi-top { padding: 8px 6px; }
}

/* ---------- «احیای زندگی» announcement (assets/promo.js) ---------- */
.promo-overlay .modal-box.promo-box { max-width: 560px; padding: 0; display: flex; flex-direction: column; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow: hidden; border-color: rgba(191,154,105,0.45); }
.promo-scroll { overflow-y: auto; overscroll-behavior: contain; padding: clamp(26px,4vw,38px) clamp(22px,4vw,38px) 14px; scrollbar-width: thin; scrollbar-color: var(--hairline) transparent; }
.promo-box p { color: var(--ash); font-size: 16px; line-height: 1.9; margin: 0 0 14px; }
body[data-lang="en"] .promo-box p { font-size: 17px; line-height: 1.6; }
.promo-kind { display: inline-block; font-size: 13px !important; color: #BF9A69 !important; border: 1px solid rgba(191,154,105,0.45); border-radius: 999px; padding: 2px 14px; margin-bottom: 14px !important; }
.promo-box .promo-title { font-size: clamp(28px,5vw,36px); color: #BF9A69; font-weight: 700; margin: 0 0 4px; line-height: 1.4; }
.promo-box .promo-sub { color: var(--parchment) !important; font-size: 18px !important; font-weight: 700; margin-bottom: 20px !important; }
.promo-box h3 { font-size: 20px; color: #BF9A69; font-weight: 700; margin: 22px 0 8px; }
.promo-q { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; }
.promo-q li { position: relative; padding-inline-start: 20px; color: var(--parchment); font-size: 16.5px; line-height: 1.7; }
.promo-q li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .7em; width: 7px; height: 7px; border: 1px solid #BF9A69; transform: rotate(45deg); }
.promo-details { margin: 0 0 18px; display: grid; gap: 6px; }
.promo-details div { display: flex; gap: 8px; flex-wrap: wrap; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,0.04); border: 1px solid var(--hairline); }
.promo-details dt { color: #BF9A69; font-weight: 700; }
.promo-details dt::after { content: ":"; }
.promo-details dd { margin: 0; color: var(--parchment); }
.promo-box .promo-closing { color: var(--parchment) !important; font-weight: 700; text-align: center; margin-top: 20px !important; }
.promo-box .promo-sign { text-align: center; color: #BF9A69 !important; font-family: 'Crimson Pro', 'B Lotus', serif; font-size: 17px !important; letter-spacing: .04em; margin: 0 !important; }
.promo-cta { padding: 14px clamp(22px,4vw,38px) 20px; border-top: 1px solid var(--hairline); background: var(--aubergine); }
.promo-cta .btn-primary { width: 100%; justify-content: center; gap: 8px; margin: 0; flex-wrap: wrap; }
.promo-cta .btn-primary svg { width: 20px; height: 20px; flex: none; }
.promo-handle { font-family: 'Crimson Pro', sans-serif; font-weight: 600; opacity: .85; }
.promo-close { z-index: 2; width: 40px; height: 40px; top: 10px; inset-inline-end: 10px; border-radius: 50%; background: rgba(4,20,12,0.6) !important; display: grid; place-items: center; }

/* minimised: a small icon at the bottom right (above the assistant button when that sits on the right, in English) */
.promo-badge { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 140; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--aubergine); color: #BF9A69; border: 1px solid #BF9A69; box-shadow: 0 10px 26px -10px rgba(0,0,0,0.7); cursor: pointer; font: inherit; font-weight: 700; font-size: 15px; animation: promo-pop .35s ease-out; transition: transform .2s ease, background .2s ease; }
.promo-badge[hidden] { display: none; }
.promo-badge:hover { transform: translateY(-2px); background: rgba(191,154,105,0.14); }
.promo-badge:focus-visible { outline: 2px solid #BF9A69; outline-offset: 3px; }
.promo-badge-ico { font-size: 22px; line-height: 1; }
body[data-lang="en"] .promo-badge { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
@keyframes promo-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@media (max-width: 520px) {
  .promo-badge { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); width: 52px; height: 52px; padding: 0; justify-content: center; }
  body[data-lang="en"] .promo-badge { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .promo-badge-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .promo-overlay { padding: 10px; }
  .promo-overlay .modal-box.promo-box { max-height: calc(100dvh - 20px); }
}
@media (prefers-reduced-motion: reduce) { .promo-badge { animation: none; transition: none; } }
@media print { .promo-badge, .promo-overlay { display: none !important; } }
.promo-scroll:focus { outline: none; }

/* ---------- LaTiBiz members: founder on top, then rows of 3 and 2 (assets/biz.js) ---------- */
.bz-tree { display: flex; flex-direction: column; align-items: center; gap: clamp(18px, 3vw, 30px); margin-top: 12px; }
/* Rows run left to right in both languages, as on the owner's layout. */
.bz-row { display: flex; justify-content: center; gap: clamp(10px, 3vw, 40px); width: 100%; direction: ltr; }
.bz-m { --ph: clamp(96px, 13vw, 150px); font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; width: calc(var(--ph) + 60px); max-width: 32%; text-align: center; }
.bz-ph { position: relative; z-index: 0; display: block; width: var(--ph); height: var(--ph); max-width: 100%; aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden;
  border: 3px solid #BF9A69; background: var(--aubergine-soft); box-shadow: 0 14px 30px -14px rgba(0,0,0,0.8); transition: transform .25s ease, box-shadow .25s ease; }
.bz-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bz-ph .biz-initials { width: 100%; height: 100%; }
.bz-nm { position: relative; z-index: 1; margin-top: -16px; padding: 6px 16px; border-radius: 999px; background: var(--aubergine); border: 1px solid #BF9A69;
  color: var(--parchment); font-weight: 700; font-size: clamp(13px, 1.5vw, 16.5px); line-height: 1.5; max-width: 100%; box-shadow: 0 8px 18px -10px rgba(0,0,0,0.8); }
.bz-m .bz-nm span { display: inline; }
body[data-lang="fa"] .bz-m .bz-nm .en, body[data-lang="en"] .bz-m .bz-nm .fa,
body[data-lang="fa"] .bz-m .bz-sub .en, body[data-lang="en"] .bz-m .bz-sub .fa { display: none; }
.bz-nm, .bz-sub { direction: rtl; }
body[data-lang="en"] .bz-nm, body[data-lang="en"] .bz-sub { direction: ltr; }
.bz-sub { margin-top: 6px; color: #BF9A69; font-size: 14px; font-weight: 700; }
.bz-m:hover .bz-ph, .bz-m:focus-visible .bz-ph { transform: translateY(-3px); box-shadow: 0 18px 34px -12px rgba(191,154,105,0.45); }
.bz-m:hover .bz-nm, .bz-m:focus-visible .bz-nm { background: #BF9A69; color: var(--void-deep); }
.bz-m:focus-visible { outline: none; }
.bz-m:focus-visible .bz-ph { outline: 2px solid #BF9A69; outline-offset: 4px; }
.bz-founder { --ph: clamp(130px, 17vw, 190px); width: calc(var(--ph) + 80px); max-width: 70%; }
.bz-founder .bz-ph { border-width: 4px; }
.bz-founder .bz-nm { font-size: clamp(15px, 1.8vw, 19px); padding: 7px 22px; }
@media (max-width: 520px) {
  .bz-row { gap: 8px; }
  .bz-m { --ph: 92px; width: 31%; }
  .bz-row-2 .bz-m { width: 40%; }
  .bz-founder { --ph: 124px; width: 70%; }
  .bz-nm { padding: 4px 8px; font-size: 12.5px; margin-top: -12px; }
}

/* profile window */
.biz-overlay .modal-box.bz-profile { max-width: 560px; padding: clamp(24px, 4vw, 36px); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain; }
.bz-p-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.bz-p-photo { width: clamp(140px, 30vw, 190px); height: clamp(140px, 30vw, 190px); border-radius: 50%; object-fit: cover; border: 3px solid #BF9A69; margin-bottom: 8px; }
.bz-p-head h3 { font-size: clamp(22px, 3.4vw, 28px); color: var(--parchment); margin: 0; line-height: 1.5; }
.bz-p-known { color: #BF9A69; font-weight: 700; margin: 0; }
.bz-p-head .biz-place { margin: 0; justify-content: center; }
.bz-p-head .biz-cat { align-self: center; margin-top: 4px; }
.bz-p-line { color: #BF9A69; font-weight: 700; font-size: 17.5px; line-height: 1.8; margin: 20px 0 8px; text-align: center; }
.bz-p-bio { color: var(--ash); font-size: 16px; line-height: 2; margin: 0; text-align: justify; text-align-last: start; }
body[data-lang="en"] .bz-p-bio { line-height: 1.7; font-size: 17px; }
.bz-p-actions { margin-top: 22px; }
.bz-p-actions .btn { width: 100%; justify-content: center; margin: 0; }
@media (max-width: 520px) { body[data-lang="fa"] .bz-nm { white-space: nowrap; max-width: none; font-size: 12px; padding: 4px 7px; } }

/* LaTiBiz mission and steps */
.biz-mission { margin-top: 0; }
.biz-how { list-style: none; margin: 8px auto 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: none; }
.biz-how li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 14px; border: 1px solid var(--hairline); border-radius: 16px; background: var(--aubergine); color: var(--parchment); font-size: 16px; line-height: 1.8; }
.biz-how-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #BF9A69; color: var(--void-deep); font-weight: 700; font-size: 18px; }
@media (max-width: 760px) { .biz-how { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .biz-how { grid-template-columns: 1fr; } .biz-how li { flex-direction: row; text-align: start; } }
.biz-how + .biz-dir, #how + .biz-dir { margin-top: clamp(48px, 7vw, 80px); }
.biz-how li { justify-content: flex-start; }
@media (max-width: 420px) { .biz-how li { align-items: center; padding: 14px; } }

/* LaTiBiz: buttons for the two general forms */
.biz-cta { display: flex; justify-content: center; margin-top: 22px; }
.biz-cta .btn { min-width: 240px; justify-content: center; }

/* LaTiBiz charter */
.biz-sub { color: #BF9A69; font-size: 20px; font-weight: 700; margin: 26px 0 14px; }
.biz-charter { list-style: none; counter-reset: ch; padding: 0; margin: 0; display: grid; gap: 10px; text-align: start; }
.biz-charter li { counter-increment: ch; position: relative; display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; padding-inline-start: 62px;
  border: 1px solid var(--hairline); border-radius: 14px; background: var(--aubergine); line-height: 1.8; }
.biz-charter li::before { content: counter(ch, persian); position: absolute; inset-inline-start: 16px; top: 14px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: #BF9A69; color: var(--void-deep); font-weight: 700; }
body[data-lang="en"] .biz-charter li::before { content: counter(ch); }
.biz-charter strong { color: #BF9A69; font-size: 17px; }
.biz-charter li > span { color: var(--ash); }
.biz-charter-note { margin-top: 18px; color: var(--ash-dim) !important; font-size: 15px !important; }

/* LaTiBiz FAQ: one open at a time (details name="bizfaq") */
.biz-faqs { display: grid; gap: 10px; text-align: start; }
.biz-faq { border: 1px solid var(--hairline); border-radius: 14px; background: var(--aubergine); padding: 0; overflow: hidden; transition: border-color .25s ease, box-shadow .25s ease; }
.biz-faq:hover { border-color: rgba(191,154,105,0.6); }
.biz-faq[open] { border-color: #BF9A69; box-shadow: 0 14px 30px -18px rgba(191,154,105,0.55); }
.biz-faq summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 15px 18px; cursor: pointer; color: var(--parchment); font-weight: 700; font-size: 16.5px; line-height: 1.6; }
.biz-faq summary::-webkit-details-marker { display: none; }
.biz-faq summary:focus-visible { outline: 2px solid #BF9A69; outline-offset: -2px; border-radius: 14px; }
.biz-faq-n { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #BF9A69; color: #BF9A69; font-size: 15px; transition: background .25s ease, color .25s ease; }
.biz-faq[open] .biz-faq-n { background: #BF9A69; color: var(--void-deep); }
.biz-faq-q { flex: 1; }
.biz-faq-ico { flex: none; position: relative; width: 16px; height: 16px; }
.biz-faq-ico::before, .biz-faq-ico::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; border-radius: 2px; background: #BF9A69; transition: transform .3s ease; }
.biz-faq-ico::after { transform: rotate(90deg); }
.biz-faq[open] .biz-faq-ico::after { transform: rotate(0deg); }
.biz-faq-a { padding: 0 18px 16px; padding-inline-start: 64px; animation: biz-faq-in .3s ease; }
.biz-faq-a p { margin: 0; color: var(--ash); line-height: 1.9; }
@keyframes biz-faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 520px) { .biz-faq-a { padding-inline-start: 18px; } .biz-charter li { padding-inline-start: 56px; } }
@media (prefers-reduced-motion: reduce) { .biz-faq-a { animation: none; } }
