@font-face { font-family: 'Vazirmatn'; src: url('/fonts/Vazirmatn.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

/* پالت هم‌خانوادهٔ travel-to-iran: سرمه‌ای، طلایی زعفرانی، فیروزه‌ای، کاغذی */
:root {
  --ink: #14213d; --ink-2: #1d2d52; --ink-3: #2a3b66;
  --gold: #e3a535; --gold-d: #b97f14; --gold-l: #fbf0d9;
  --turq: #0e7c86; --turq-d: #0a5d64; --turq-l: #e3f3f2; --turq-2: #7cc7c4;
  --silver: #8d99ab; --bronze: #c07a45;
  --paper: #fffdf9; --sand: #f6efe4; --sand-2: #efe5d5; --white: #fff;
  --text: #1f2633; --muted: #5e6676; --line: #e7ddcd;
  --radius: 22px; --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(20, 33, 61, .06), 0 12px 32px -12px rgba(20, 33, 61, .18);
  --shadow-lg: 0 30px 60px -20px rgba(20, 33, 61, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='none' stroke='%23e3a535' stroke-opacity='.10'%3E%3Cpath d='M44 8l9.6 26.4L80 44l-26.4 9.6L44 80l-9.6-26.4L8 44l26.4-9.6z'/%3E%3Cpath d='M44 20l17 7 7 17-7 17-17 7-17-7-7-17 7-17z'/%3E%3C/g%3E%3C/svg%3E");
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 16px/1.9 'Vazirmatn', Tahoma, sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
p a, .prose a, .note a { color: var(--turq); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.45; margin: 0 0 .4em; color: var(--ink); }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 10px; z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }
.preview-bar { background: #c2452d; color: #fff; text-align: center; padding: 6px; font-size: .9rem; position: relative; z-index: 60; }

/* دکمه‌ها */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--gold); color: var(--ink); border: 0; border-radius: 999px; padding: .7em 1.5em; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 10px 24px -10px rgba(227, 165, 53, .8); transition: transform .2s var(--ease), background .2s; }
.btn:hover { background: #ecb247; transform: translateY(-1px); }
.btn .ic { transform: none; }
.btn.wide { display: flex; width: 100%; }
.btn-sm { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--turq); font-size: .92rem; }
.btn-sm:hover { color: var(--turq-d); }
.btn-sm .ic, .sec-link .ic, .go .ic, .side-card a .ic { transition: transform .2s var(--ease); }
.btn-sm:hover .ic, .sec-link:hover .ic, .lcard:hover .go .ic { transform: translateX(-3px); }
.ghost { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .92rem; }
.ghost:hover { color: var(--ink); }

/* هدر: روی نوار تیره شفاف، بعد از اسکرول کاغذی */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--ink); transition: background .25s, box-shadow .25s; }
.hdr.scrolled { background: rgba(255, 253, 249, .94); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(20, 33, 61, .35); }
.hdr-in { display: flex; align-items: center; gap: 22px; height: 72px; }
.brand { display: inline-flex; flex: none; }
.logo-svg { height: 36px; width: auto; display: block; }
.logo-svg .lg-the { fill: var(--turq-2); }
.logo-svg .lg-bests { fill: #fff; }
.hdr.scrolled .logo-svg .lg-the { fill: var(--turq); }
.hdr.scrolled .logo-svg .lg-bests { fill: var(--ink); }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { color: rgba(255, 255, 255, .85); padding: 7px 14px; border-radius: 999px; font-weight: 500; font-size: .95rem; transition: background .2s, color .2s; }
.nav a:hover, .nav a[aria-current] { background: rgba(255, 255, 255, .1); color: #fff; }
.hdr.scrolled .nav a { color: var(--ink); }
.hdr.scrolled .nav a:hover, .hdr.scrolled .nav a[aria-current] { background: var(--sand); }
.hbtn { display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: var(--ink); font-weight: 700; padding: 7px 16px; border-radius: 999px; font-size: .93rem; }
.hbtn:hover { background: #ecb247; }
.burger { display: none; background: rgba(255, 255, 255, .1); border: 0; color: #fff; width: 42px; height: 42px; border-radius: 12px; cursor: pointer; font-size: 20px; }
.hdr.scrolled .burger { background: var(--sand); color: var(--ink); }
.burger .i-close { display: none; }
.menu-open .burger .i-open { display: none; }
.menu-open .burger .i-close { display: inline; }
@media (max-width: 860px) {
  .hdr-in { height: 64px; gap: 10px; }
  .logo-svg { height: 30px; }
  .hbtn span { display: none; }
  .hbtn { margin-inline-start: auto; padding: 0; width: 42px; height: 42px; justify-content: center; border-radius: 12px; font-size: 18px; }
  .burger { display: inline-grid; place-items: center; }
  .nav { display: none; position: absolute; top: 100%; inset-inline: 0; flex-direction: column; gap: 2px; padding: 10px 16px 18px; background: var(--ink); box-shadow: var(--shadow-lg); }
  .hdr.scrolled .nav { background: var(--paper); }
  .menu-open .nav { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1.02rem; }
}

/* هدر شفاف روی نوار تیره/عکس بالای صفحه (مثل travel-to-iran) */
.over .hdr:not(.scrolled) { background: linear-gradient(to bottom, rgba(20, 33, 61, .75), rgba(20, 33, 61, 0)); }
.over .hdr { margin-bottom: -72px; }
@media (max-width: 860px) { .over .hdr { margin-bottom: -64px; } .menu-open .hdr:not(.scrolled) { background: var(--ink); } }

/* اسلایدر عکس بناهای شهر */
.slider { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--ink); }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.4s var(--ease), transform 9s linear; }
.slide.on { opacity: 1; transform: scale(1); }
.has-slider::before { display: none; }
.has-slider::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, rgba(20, 33, 61, .97) 0%, rgba(20, 33, 61, .6) 38%, rgba(20, 33, 61, .2) 70%, rgba(20, 33, 61, .45) 100%), linear-gradient(to left, rgba(20, 33, 61, .55), rgba(20, 33, 61, 0) 65%); }
.slide-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.caps { display: grid; min-width: 0; }
.cap { grid-area: 1 / 1; display: flex; align-items: flex-start; gap: 8px; margin: 0; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease); color: #fff; font-size: .9rem; line-height: 1.6; }
.cap.on { opacity: 1; visibility: visible; }
.cap .ic { color: var(--gold); margin-top: .2em; }
.cap b { display: block; font-weight: 700; }
.cap b a:hover { color: var(--gold); }
.cap small { display: block; color: rgba(255, 255, 255, .6); font-size: .74rem; }
.cap a { color: inherit; }
.cap small a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); }
.cap small a:hover { color: #fff; }
.dots { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; max-width: 50%; }
.dots button { width: 9px; height: 9px; padding: 0; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .35); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.dots button.on { width: 26px; background: var(--gold); }
.dots button:hover { background: rgba(255, 255, 255, .7); }
@media (prefers-reduced-motion: reduce) { .slide { transform: none !important; } }

/* نوار تیرهٔ بالای صفحه */
.phero { position: relative; background: radial-gradient(900px 420px at 85% -10%, rgba(227, 165, 53, .16), transparent 65%), radial-gradient(700px 400px at 0% 120%, rgba(14, 124, 134, .28), transparent 60%), var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.phero::before { content: ''; position: absolute; inset: 0; background: var(--pattern); z-index: -1; }
.phero-bg { position: absolute; inset: 0; z-index: -1; }
.phero-bg img { width: 100%; height: 100%; object-fit: cover; }
.phero.has-img::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(20, 33, 61, .96) 15%, rgba(20, 33, 61, .55) 60%, rgba(20, 33, 61, .35)); }
.phero-in { padding-block: 100px 46px; position: relative; }
.phero.has-img .phero-in, .phero.has-slider .phero-in { padding-top: 170px; padding-bottom: 32px; }
.phero.has-slider.tall .phero-in { min-height: min(78vh, 640px); display: flex; flex-direction: column; justify-content: flex-end; }
.phero.has-slider h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
@media (max-width: 860px) { .phero-in { padding-top: 88px; } .phero.has-img .phero-in, .phero.has-slider .phero-in { padding-top: 140px; } .phero.has-slider.tall .phero-in { min-height: 520px; } }
.phero h1 { color: #fff; font-size: clamp(1.85rem, 4.6vw, 3rem); font-weight: 850; letter-spacing: -.015em; line-height: 1.35; max-width: 22ch; margin-bottom: 12px; }
.phero .lead { color: rgba(255, 255, 255, .82); font-size: 1.08rem; max-width: 68ch; }
.phero .lead p { margin: 0 0 .5em; }
.phero .lead strong { color: #fff; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: rgba(255, 255, 255, .6); margin-bottom: 22px; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: rgba(255, 255, 255, .92); }
.crumbs .sep { opacity: .5; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 700; font-size: .9rem; margin: 0 0 8px; }
.pmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 16px; }
.pmeta > span:not(.score):not(.rating) { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .88); padding: 4px 12px; border-radius: 999px; font-size: .86rem; }
.pmeta .rating { color: #fff; background: rgba(255, 255, 255, .08); padding: 4px 12px; border-radius: 999px; }
.pmeta .rating .muted { color: rgba(255, 255, 255, .7); }
.pmeta .price-chip { color: var(--turq-2) !important; }
.hchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hchips a { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); padding: 5px 14px; border-radius: 999px; font-size: .9rem; color: #fff; }
.hchips a:hover { background: rgba(255, 255, 255, .16); }

/* صفحهٔ اصلی */
.hero { background: radial-gradient(1000px 520px at 90% -20%, rgba(227, 165, 53, .22), transparent 65%), radial-gradient(800px 500px at -10% 110%, rgba(14, 124, 134, .35), transparent 60%), var(--ink); color: #fff; position: relative; isolation: isolate; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: var(--pattern); z-index: -1; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .9fr); gap: 48px; align-items: end; padding-block: 150px 10px; min-height: min(80vh, 660px); }
.hero.has-slider .stats { border-top-color: rgba(255, 255, 255, .18); }
.hero .slide-foot { margin-top: 30px; margin-bottom: 4px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.6vw, 3.9rem); font-weight: 900; line-height: 1.3; letter-spacing: -.02em; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { color: rgba(255, 255, 255, .8); font-size: 1.12rem; max-width: 56ch; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: rgba(255, 255, 255, .85); font-size: .93rem; }
.ticks li { display: inline-flex; align-items: center; gap: 6px; }
.ticks .ic { color: var(--turq-2); }
.finder { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(16px); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-lg); }
.finder h2 { color: #fff; font-size: 1.25rem; margin-bottom: 16px; }
.finder label { display: block; margin-bottom: 14px; }
.finder label > span { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: rgba(255, 255, 255, .7); margin-bottom: 6px; }
.finder select { width: 100%; font: inherit; color: #fff; background: rgba(20, 33, 61, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left 16px center; border: 1px solid rgba(255, 255, 255, .2); border-radius: 14px; padding: 12px 16px; appearance: none; cursor: pointer; }
.finder select option { color: var(--text); background: #fff; }
.finder .btn { margin-top: 6px; padding-block: .85em; }
.finder-alt { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 14px; font-size: .88rem; color: rgba(255, 255, 255, .7); }
.finder-alt:hover { color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 26px 34px; }
.stats b { display: block; font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; color: var(--gold); line-height: 1.3; }
.stats span { color: rgba(255, 255, 255, .7); font-size: .88rem; }
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 30px; padding-top: 120px; min-height: 0; }
  .slide-foot { flex-direction: column; align-items: flex-start; }
  .dots { max-width: none; justify-content: flex-start; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* بخش‌ها */
.sec { padding-block: 56px 8px; }
.sec-gap { margin-top: 40px; }
.sec-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 22px; }
.sec-h h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); font-weight: 800; margin: 0; }
.kicker { display: block; color: var(--turq); font-weight: 700; font-size: .8rem; margin: 0 0 2px; letter-spacing: .01em; }
.sec-link { display: inline-flex; align-items: center; gap: 6px; color: var(--turq); font-weight: 700; font-size: .92rem; white-space: nowrap; }
.empty { color: var(--muted); padding: 40px 0; text-align: center; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 20px; }

/* کارت لیست */
.lcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.lcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.lcard-h { display: flex; gap: 14px; align-items: center; padding: 20px 22px 6px; }
.lcard-h h3 { font-size: 1.12rem; margin: 0; font-weight: 800; }
.lc-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--sand); display: grid; place-items: center; font-size: 1.45rem; flex: none; color: var(--gold-d); }
.mini { list-style: none; padding: 6px 22px 10px; margin: 0; flex: 1; }
.mini li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px dashed var(--line); }
.mini li:first-child { border-top: 0; }
.mini li a { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.mini li a:hover { color: var(--turq); }
.mini .mr { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: .85rem; }
.mini .mr .ic { color: var(--gold); width: 1em; height: 1em; }
.lcard-f { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 22px; background: var(--sand); font-size: .84rem; color: var(--muted); }
.lcard-f .go { display: inline-flex; align-items: center; gap: 6px; color: var(--turq); font-weight: 700; }

/* شماره رتبه */
.num { flex: none; min-width: 32px; height: 32px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; font-size: .82rem; font-weight: 800; background: var(--sand); color: var(--ink); }
.num.n1 { background: var(--gold); color: var(--ink); }
.num.n2 { background: #dfe4ec; color: var(--ink); }
.num.n3 { background: #f1dcc9; color: #6f3e18; }

/* کاشی صنف */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 14px; }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: var(--shadow); }
.t-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--turq-l); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 8px; }
.tile b { color: var(--ink); }
.tile small { color: var(--muted); font-size: .8rem; }
.tile.soon { opacity: .7; }
.tile .sub { font-size: .78rem; color: var(--turq); }

/* کارت شهر */
.cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.ccard { position: relative; min-height: 132px; border-radius: var(--radius-sm); overflow: hidden; display: flex; align-items: flex-end; padding: 16px; color: #fff; background: var(--pattern), linear-gradient(135deg, var(--ink-2), var(--turq-d)); isolation: isolate; transition: transform .25s var(--ease), box-shadow .25s; }
.ccard:nth-child(3n+2) { background: var(--pattern), linear-gradient(135deg, var(--ink), var(--ink-3)); }
.ccard:nth-child(3n) { background: var(--pattern), linear-gradient(135deg, #3a2a12, var(--gold-d)); }
.ccard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ccard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s var(--ease); }
.ccard:hover img { transform: scale(1.05); }
.ccard.has-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 33, 61, .85), rgba(20, 33, 61, .1) 70%); z-index: -1; }
.cc-t b { display: block; font-size: 1.25rem; font-weight: 800; }
.cc-t small { color: rgba(255, 255, 255, .78); font-size: .82rem; }
.ccard.soon .cc-t small { color: rgba(255, 255, 255, .6); }

/* مراحل و فراخوان */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--gold-l); color: var(--gold-d); font-weight: 800; margin-bottom: 12px; }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--pattern), radial-gradient(600px 300px at 0% 0%, rgba(14, 124, 134, .4), transparent), var(--ink); color: #fff; border-radius: var(--radius); padding: 34px 36px; margin-bottom: 30px; }
.cta h2 { color: #fff; font-size: 1.45rem; }
.cta p { color: rgba(255, 255, 255, .75); margin: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; background: var(--sand); border-radius: 999px; font-size: .9rem; transition: background .2s; }
.chips a:hover { background: var(--sand-2); }
.chips.big a { padding: 9px 16px; background: var(--white); border: 1px solid var(--line); font-weight: 500; }

/* صفحهٔ دو ستونه (لیست و کسب‌وکار) */
.page2 { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; padding-block: 36px 20px; align-items: start; }
.side-col { position: sticky; top: 92px; display: grid; gap: 16px; }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.side-card h3 { display: flex; align-items: center; gap: 8px; font-size: 1.02rem; margin-bottom: 10px; }
.side-card h3 .ic { color: var(--turq); }
.side-card p { font-size: .9rem; color: var(--muted); margin: 0 0 10px; }
.side-card > a:not(.btn) { display: inline-flex; align-items: center; gap: 6px; color: var(--turq); font-weight: 700; font-size: .9rem; }
.side-card.tint { background: var(--turq-l); border-color: transparent; box-shadow: none; }
.side-card.dark { background: var(--pattern), var(--ink); border: 0; color: #fff; }
.side-card.dark h3 { color: #fff; }
.side-card.dark p { color: rgba(255, 255, 255, .75); }
.side-card.dark .btn { width: 100%; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; max-height: 44vh; overflow: auto; }
.toc a { display: flex; align-items: center; gap: 10px; padding: 5px 6px; border-radius: 10px; font-size: .92rem; }
.toc a:hover, .toc a.active { background: var(--sand); }
.toc .num { min-width: 28px; height: 28px; font-size: .75rem; }
.toc-m { display: none; }
@media (max-width: 1000px) {
  .page2 { grid-template-columns: 1fr; gap: 24px; }
  .side-col { position: static; }
  .side-col .toc { display: none; }
  .toc-m { display: block; margin-bottom: 16px; }
  .toc-m ol { list-style: none; display: flex; gap: 8px; overflow-x: auto; padding: 0 0 6px; margin: 0; scrollbar-width: thin; }
  .toc-m a { display: block; white-space: nowrap; background: var(--sand); padding: 5px 12px; border-radius: 999px; font-size: .86rem; }
}

/* آیتم رتبه‌بندی */
.ranking { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 20px; }
.item { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); scroll-margin-top: 96px; transition: box-shadow .25s; }
.item:hover { box-shadow: var(--shadow-lg); }
.item.first { border: 2px solid var(--gold); box-shadow: 0 0 0 6px var(--gold-l), var(--shadow); }
.media { position: relative; display: block; border-radius: 16px; overflow: hidden; background: var(--sand); aspect-ratio: 4 / 3; align-self: start; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.item:hover .media img { transform: scale(1.04); }
.media .num { position: absolute; top: 10px; inset-inline-start: 10px; min-width: 44px; height: 44px; font-size: 1rem; box-shadow: 0 6px 16px rgba(20, 33, 61, .25); background: var(--white); }
.media .num.n1 { background: var(--gold); }
.media .num.n2 { background: #dfe4ec; }
.media .num.n3 { background: #f1dcc9; }
.ribbon { position: absolute; bottom: 10px; inset-inline-start: 10px; display: inline-flex; align-items: center; gap: 5px; background: var(--ink); color: var(--gold); font-size: .78rem; font-weight: 700; padding: 3px 11px; border-radius: 999px; }
.ph { width: 100%; height: 100%; display: grid; place-items: center; font-size: 3rem; font-weight: 900; color: var(--gold-d); background: var(--pattern), linear-gradient(135deg, var(--sand), var(--sand-2)); }
.item .body { padding: 4px 0; min-width: 0; }
.item .top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.item h2 { font-size: 1.35rem; font-weight: 800; margin: 0; }
.item h2 a:hover { color: var(--turq); }
.badge { background: var(--gold-l); color: var(--gold-d); font-size: .78rem; font-weight: 700; border-radius: 999px; padding: 2px 11px; }
.price { color: var(--turq); }
.scores { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 8px 0 4px; }
.score { display: inline-flex; align-items: baseline; gap: 5px; background: var(--turq-l); color: var(--turq-d); border-radius: 10px; padding: 2px 10px; }
.score b { font-size: 1.05rem; font-weight: 800; }
.score small { font-size: .74rem; }
.pmeta .score { background: rgba(124, 199, 196, .16); color: var(--turq-2); }
.rating { display: inline-flex; align-items: center; gap: 7px; font-size: .92rem; flex-wrap: wrap; }
.stars { display: inline-flex; gap: 2px; direction: ltr; }
.stars i { width: 15px; height: 15px; background: var(--sand-2); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.stars i.on { background: var(--gold); }
.stars i.half { background: linear-gradient(90deg, var(--gold) 50%, var(--sand-2) 50%); }
.phero .stars i { background: rgba(255, 255, 255, .25); }
.phero .stars i.on { background: var(--gold); }
.phero .stars i.half { background: linear-gradient(90deg, var(--gold) 50%, rgba(255, 255, 255, .25) 50%); }
.note { color: #3b4252; margin: 8px 0 0; font-size: .97rem; }
.note p { margin: 0 0 .5em; }
.acts { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); }
@media (max-width: 760px) {
  .item { grid-template-columns: 1fr; gap: 14px; padding: 12px; }
  .media { aspect-ratio: 16 / 9; }
  .item h2 { font-size: 1.2rem; }
}

.prose { max-width: 820px; }
.prose h2 { font-size: 1.35rem; margin-top: 1.4em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.2em; }
.prose li { margin-bottom: .3em; }
.card-prose { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; margin-block: 10px 24px; max-width: none; }
.card-prose.narrow { max-width: 860px; margin-inline: auto; }
.card-prose > :first-child { margin-top: 0; }
.faq { margin-top: 30px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 20px; margin-bottom: 10px; transition: border-color .2s; }
.faq details[open] { border-color: var(--gold); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold-d); font-size: 1.3rem; line-height: 1.2; }
.faq details[open] summary::after { content: '−'; }
.faq details > div { color: var(--muted); padding-top: 8px; }

/* صفحهٔ کسب‌وکار */
.biz-hero .phero-in { padding-bottom: 36px; }
.awards { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.awards a { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; padding: 7px 14px 7px 8px; color: #fff; font-size: .92rem; font-weight: 600; line-height: 1.5; transition: background .2s; }
.awards a:hover { background: rgba(255, 255, 255, .15); }
.awards small { display: block; font-weight: 400; color: rgba(255, 255, 255, .65); font-size: .76rem; }
.medal { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: rgba(255, 255, 255, .15); color: #fff; flex: none; }
.medal.m1 { background: var(--gold); color: var(--ink); }
.medal.m2 { background: #dfe4ec; color: var(--ink); }
.medal.m3 { background: #f1dcc9; color: #6f3e18; }
.intro { font-size: 1.15rem; color: var(--ink); line-height: 1.9; margin-top: 0; }
.contact ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.contact li .ic { color: var(--turq); margin-top: .3em; }
.contact li a:hover { color: var(--turq); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 10px; margin-bottom: 30px; }
.gallery img { border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.sources { margin-top: 24px; }
.src-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 12px; margin-bottom: 10px; }
.src { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; display: flex; flex-direction: column; }
.src-n { font-weight: 700; color: var(--ink); font-size: .92rem; }
.src-n a { color: var(--turq); }
.src b { font-size: 1.6rem; font-weight: 800; color: var(--ink); }
.src b small { font-size: .85rem; color: var(--muted); font-weight: 500; }
.src .muted { font-size: .8rem; }

/* جستجو */
.bigsearch { display: flex; align-items: center; gap: 8px; max-width: 680px; margin-top: 18px; background: var(--white); border-radius: 999px; padding: 6px 6px 6px 6px; padding-inline-start: 18px; box-shadow: var(--shadow-lg); }
.bigsearch > .ic { color: var(--muted); font-size: 1.2rem; }
.bigsearch input { flex: 1; min-width: 0; font: inherit; padding: 10px 4px; border: 0; background: transparent; color: var(--text); outline: none; }
.bigsearch .btn { box-shadow: none; padding-block: .6em; }
.blist { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 12px; }
.bcard { display: flex; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px; transition: border-color .2s, box-shadow .2s; }
.bcard:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.bcard .th { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; flex: none; font-size: 1.8rem; }
.bc-t { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.bc-t b { color: var(--ink); }
.bc-go { color: var(--muted); margin-inline-end: 6px; }

/* اعتبار عکس‌ها */
.credits { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.credits li { display: flex; gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px; }
.credits img { width: 96px; height: 68px; object-fit: cover; border-radius: 10px; flex: none; }
.credits b { display: block; color: var(--ink); }
.credits small { color: var(--muted); font-size: .8rem; }
.credits a { color: var(--turq); }

/* فوتر */
.ftr { background: var(--pattern), var(--ink); color: rgba(255, 255, 255, .75); margin-top: 60px; border-top: 4px solid var(--gold); }
.ftr-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; padding-block: 44px 20px; }
.ftr .logo-svg { height: 34px; }
.ftr .logo-svg .lg-the { fill: var(--turq-2); }
.ftr .logo-svg .lg-bests { fill: #fff; }
.ftr p { font-size: .92rem; max-width: 46ch; }
.ftr h3 { color: #fff; font-size: 1rem; }
.ftr-in > div > a:not(.brand) { display: block; color: rgba(255, 255, 255, .75); font-size: .93rem; padding: 3px 0; }
.ftr-in > div > a:not(.brand):hover { color: var(--gold); }
.pledge { display: inline-flex; align-items: center; gap: 8px; color: var(--turq-2); font-weight: 600; }
.copy { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 16px 22px; font-size: .82rem; color: rgba(255, 255, 255, .5); }
@media (max-width: 760px) { .ftr-in { grid-template-columns: 1fr; gap: 20px; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
