/* NAGHMEH design system: warm white, ink, one gold accent. Logical properties keep RTL correct. */
:root {
  --bg: #ffffff; --bg-soft: #faf8f3; --ink: #14120e; --muted: #6b6558; --line: #e9e4d8;
  --gold: #b8912b; --gold-deep: #8f6f14; --gold-soft: #f5edd6; --gold-line: #e2cf9a; --teal: #1d6a72; --danger: #b3261e; --ok: #1f7a4d;
  --font-display: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23b8912b' stroke-opacity='.13' stroke-width='1'%3E%3Crect x='14' y='14' width='44' height='44'/%3E%3Crect x='14' y='14' width='44' height='44' transform='rotate(45 36 36)'/%3E%3Ccircle cx='36' cy='36' r='7'/%3E%3Cpath d='M0 36h14M58 36h14M36 0v14M36 58v14'/%3E%3C/g%3E%3C/svg%3E");
  --ornament: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='18' viewBox='0 0 160 18'%3E%3Cg fill='none' stroke='%23b8912b' stroke-width='1.2'%3E%3Cpath d='M0 9h58M102 9h58'/%3E%3Cpath d='M80 1l8 8-8 8-8-8z'/%3E%3Cpath d='M62 9l6-4 6 4-6 4zM98 9l-6-4-6 4 6 4z'/%3E%3C/g%3E%3Ccircle cx='80' cy='9' r='2' fill='%23b8912b'/%3E%3C/svg%3E");
  --radius: 16px; --shadow: 0 10px 30px rgba(20, 18, 14, .06);
  --font-en: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-fa: 'Vazirmatn', 'Inter', system-ui, Tahoma, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
h1, h2, h3, p, a, li, td { overflow-wrap: anywhere; }
.btn { overflow-wrap: normal; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-en); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.rtl { font-family: var(--font-fa); }
[lang="fa"], [dir="rtl"] { font-family: var(--font-fa); }
[lang="en"] { font-family: var(--font-en); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: 0; font-family: var(--font-display); }
body.rtl h1, body.rtl h2, body.rtl h3 { font-family: var(--font-fa); font-weight: 700; }
body.rtl h1, body.rtl h2, body.rtl h3 { line-height: 1.4; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 24px; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }
.wordmark { font-family: var(--font-en); font-weight: 700; letter-spacing: .22em; color: var(--gold-deep); font-size: 1.05rem; }
.wordmark-lg { font-size: clamp(1.6rem, 4vw, 2.4rem); letter-spacing: .3em; margin: 18px 0 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 1rem; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1.5px var(--gold); }
.btn-primary:hover { background: var(--gold-deep); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--gold-line); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-sm { padding: 9px 16px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }

/* Header */
/* ---- Header: menu bar with a Persian pointed arch holding the logo ---- */
.site-header { position: relative; z-index: 20; background: var(--bg-soft) var(--pattern); border-bottom: 1px solid var(--gold-line); }
.header-band { height: 7px; background: repeating-linear-gradient(135deg, var(--gold) 0 10px, var(--gold-deep) 10px 20px); opacity: .85; }
.header-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 16px; min-height: 76px; }
.site-nav { display: flex; gap: 26px; font-weight: 500; color: var(--muted); justify-self: start; }
.brand-arch { position: relative; display: block; width: 200px; height: 236px; margin-bottom: -148px; z-index: 2; filter: drop-shadow(0 12px 22px rgba(20, 18, 14, .10)); }
.arch-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.arch-fill { fill: #fff; stroke: var(--gold); stroke-width: 2.5; }
.arch-line { fill: none; stroke: var(--gold); stroke-width: 1; opacity: .8; }
.arch-finial { fill: var(--gold); }
.brand-arch .brand-logo { position: absolute; left: 50%; top: 46px; width: 156px; height: 156px; transform: translateX(-50%); object-fit: contain; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--gold-deep); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 14px; }
.lang-switch { font-weight: 600; color: var(--gold-deep); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .95rem; }
.lang-switch:hover { background: var(--gold-soft); }
@media (max-width: 720px) {
  .header-grid { grid-template-columns: 1fr auto 1fr; min-height: 64px; column-gap: 8px; }
  .site-nav { order: 3; grid-column: 1 / -1; justify-self: center; gap: 22px; font-size: .95rem; padding: 10px 0 8px; margin-top: 128px; }
  .header-actions { display: contents; }
  .lang-switch { grid-column: 1; grid-row: 1; justify-self: start; padding: 7px 10px; font-size: .84rem; }
  .header-actions .btn { grid-column: 3; grid-row: 1; justify-self: end; padding: 8px 12px; font-size: .84rem; }
  .brand-arch { grid-column: 2; grid-row: 1; width: 150px; height: 177px; margin-bottom: -118px; }
  .brand-arch .brand-logo { width: 118px; height: 118px; top: 34px; }
}
@media (max-width: 400px) { .brand-arch { width: 126px; height: 149px; margin-bottom: -96px; } .brand-arch .brand-logo { width: 98px; height: 98px; top: 30px; } .site-nav { margin-top: 96px; } .header-actions .btn { padding: 8px 10px; font-size: .78rem; } .lang-switch { padding: 6px 8px; font-size: .8rem; } }

/* Hero and sections */
.hero { padding: clamp(176px, 22vw, 232px) 0 clamp(48px, 8vw, 96px); text-align: center; background: radial-gradient(ellipse at top, var(--gold-soft) 0%, transparent 55%); }
@media (max-width: 720px) { .hero { padding-top: 56px; } }
.page-head { padding-top: clamp(176px, 22vw, 232px); }
@media (max-width: 720px) { .page-head { padding-top: 48px; } }
.hero h1 { max-width: 16ch; margin-inline: auto; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; margin-inline: auto; }
.hero .lead { margin-bottom: 32px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; text-align: start; max-width: 100%; font-size: .9rem; font-weight: 500; color: var(--gold-deep); background: var(--gold-soft); border: 1px solid var(--gold-line); padding: 8px 16px; border-radius: 999px; margin-bottom: 28px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(184, 145, 43, .5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(184, 145, 43, .45); } 70% { box-shadow: 0 0 0 10px rgba(184, 145, 43, 0); } 100% { box-shadow: 0 0 0 0 rgba(184, 145, 43, 0); } }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-city { margin-top: 28px; color: var(--muted); }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-soft { background: var(--bg-soft) var(--pattern); border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line); }
.section h2 { text-align: center; }
.section-sub { text-align: center; color: var(--muted); max-width: 56ch; margin: 0 auto 40px; font-size: 1.1rem; }
.page-head { padding-bottom: 24px; }
.page-head h1::after, .section h2::after { content: ''; display: block; width: 160px; height: 18px; margin: 14px auto 0; background: var(--ornament) center / contain no-repeat; }
.prose h2::after { display: none; }
.page-head h1 { text-align: center; }
.page-head .lead { text-align: center; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps li { background: var(--bg); border: 1px solid var(--gold-line); border-radius: var(--radius); padding: 26px; font-size: 1.08rem; font-weight: 500; display: flex; gap: 16px; align-items: flex-start; }
.step-n { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-deep); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-en); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* Packages */
.packages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 1000px) { .packages-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .packages-grid { grid-template-columns: 1fr; } }
.package { position: relative; background: var(--bg); border: 1px solid var(--gold-line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; transition: box-shadow .2s, transform .2s; }
.package:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.package.highlighted { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow); }
.ribbon { position: absolute; top: -13px; inset-inline-start: 24px; background: var(--gold); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.package h3 { margin: 0; }
.package .tagline { color: var(--muted); margin: 0; font-size: .95rem; }
@media (min-width: 1001px) { .package .tagline { min-height: 3em; } .package .desc { min-height: 6.4em; } }
@media (min-width: 561px) and (max-width: 1000px) { .package .tagline { min-height: 3em; } .package .desc { min-height: 5em; } }
.price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 6px; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--font-en); }
.price .amount { font-size: 2rem; font-weight: 700; letter-spacing: -.02em; }
.price .period { color: var(--muted); }
.price-soon { font-size: .95rem; color: var(--gold-deep); font-weight: 600; font-family: inherit; }
.package .btn { margin-top: auto; }
body.rtl .price { font-family: var(--font-fa); }
body.rtl .price .amount { letter-spacing: 0; }
body.rtl .step-n, body.rtl .wordmark { letter-spacing: inherit; }
body.rtl .wordmark { letter-spacing: .22em; }
.package .desc { color: var(--muted); font-size: .95rem; }
.features { list-style: none; padding: 0; margin: 4px 0 22px; display: grid; gap: 10px; flex: 1; align-content: start; }
.features li { position: relative; padding-inline-start: 26px; font-size: .95rem; }
.features li::before { content: ''; position: absolute; inset-inline-start: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--gold-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%238f6f14' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Chips, cities */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { padding: 10px 18px; border: 1px solid var(--gold-line); border-radius: 999px; background: var(--bg); font-weight: 500; transition: border-color .15s, background .15s; }
.chip:hover, .chip.active { border-color: var(--gold); background: var(--gold-soft); color: var(--gold-deep); }
.chip-sm { padding: 4px 10px; font-size: .8rem; }
.chips-filter { justify-content: flex-start; margin-bottom: 28px; }
.cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.city-card { display: flex; flex-direction: column; gap: 2px; padding: 22px; background: var(--bg); border: 1px solid var(--gold-line); border-radius: var(--radius); font-size: 1.15rem; transition: box-shadow .2s; }
.city-card span { color: var(--muted); font-size: .95rem; }
.city-card:hover { box-shadow: var(--shadow); }
.city-soon { border-style: dashed; color: var(--muted); }
.cta { text-align: center; }
.cta .section-sub { margin-bottom: 28px; }

/* Cards and forms */
.card { background: var(--bg); border: 1px solid var(--gold-line); border-radius: var(--radius); padding: 32px; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--gold-soft); }
.form { display: grid; gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } .card { padding: 22px; } }
.field { display: grid; gap: 6px; font-weight: 500; }
.field > span, .field legend { font-size: .95rem; }
.field em { font-style: normal; color: var(--muted); font-weight: 400; }
fieldset.field { border: 0; padding: 0; margin: 0; }
input, select, textarea { width: 100%; font: inherit; color: inherit; background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
textarea { resize: vertical; min-height: 120px; }
.hp { position: absolute; inset-inline-start: -9999px; opacity: 0; height: 0; overflow: hidden; }
.package-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 640px) { .package-options { grid-template-columns: 1fr; } }
.package-option { position: relative; display: flex; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 400; transition: border-color .15s, background .15s; }
.package-option:hover { border-color: var(--gold); }
.package-option input { width: 18px; height: 18px; margin: 4px 0 0; accent-color: var(--gold-deep); flex: 0 0 auto; }
.package-option:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.po-body { display: grid; gap: 2px; }
.po-body strong { font-weight: 600; }
.po-price { font-size: .9rem; color: var(--gold-deep); font-weight: 600; }
.po-body small { color: var(--muted); }
.form-actions { display: grid; gap: 12px; justify-items: start; }
.consent { color: var(--muted); font-size: .88rem; margin: 0; }
.form-error { color: var(--danger); background: #fdf1f0; border: 1px solid #f3c8c4; padding: 12px 14px; border-radius: 12px; margin: 0; }
.success { text-align: center; }
.success h2 { color: var(--ok); }
.success .ref code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--bg-soft); padding: 4px 8px; border-radius: 6px; }
.field.invalid input, .field.invalid select { border-color: var(--danger); }

/* Directory */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.breadcrumbs a:hover { color: var(--ink); }
.biz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.biz-card { display: grid; gap: 8px; padding: 22px; background: var(--bg); border: 1px solid var(--gold-line); border-radius: var(--radius); transition: box-shadow .2s; }
.biz-card:hover { box-shadow: var(--shadow); }
.biz-card strong { font-size: 1.1rem; }
.biz-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.biz-card .chip { justify-self: start; }
.empty { text-align: center; padding: 48px 24px; }
.empty .btn { margin-top: 8px; }
.biz-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-bottom: 32px; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.hours { display: grid; gap: 6px; }
.hours div { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 6px 0; }
.hours dt { font-weight: 500; }
.hours dd { margin: 0; color: var(--muted); }
.prose h2 { text-align: start; font-size: 1.35rem; margin-top: 1.6em; }
.prose p { color: #2f2b24; }

/* Footer */
.site-footer { border-top: 4px solid var(--gold); padding: 40px 0 40px; color: #cfc7b4; font-size: .95rem; background: #171410 var(--pattern); }
.site-footer a:hover { color: var(--gold); }
.ornament { width: 160px; height: 18px; margin: 0 auto 8px; background: var(--ornament) center / contain no-repeat; filter: brightness(1.2); }
.site-footer .container { display: grid; gap: 28px; }
.footer-brand { display: grid; justify-items: center; gap: 6px; text-align: center; }
.footer-logo { width: 120px; height: 120px; object-fit: contain; }
.footer-links { justify-content: center; }
.footer-social { justify-content: center; }
.footer-social span { color: var(--gold); }
.footer-legal { text-align: center; }
.footer-brand p { margin: 2px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a:hover { color: var(--gold); }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-social span { color: var(--ink); font-weight: 500; }
.footer-legal { margin: 0; font-size: .85rem; }

/* Welcome */
.welcome-body { min-height: 100svh; display: grid; place-items: center; background: #fff; }
.welcome { text-align: center; padding: 48px 24px; max-width: 640px; animation: rise .9s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.welcome-body { background: #fff var(--pattern); }
.welcome-arch { position: relative; width: 340px; height: 400px; margin: 0 auto; filter: drop-shadow(0 18px 40px rgba(184, 145, 43, .18)); }
.welcome-arch .arch-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.welcome-logo { position: absolute; left: 50%; top: 84px; transform: translateX(-50%); width: 290px; height: 290px; }
@media (max-width: 480px) { .welcome-arch { width: 250px; height: 295px; } .welcome-logo { width: 220px; height: 220px; top: 52px; } .welcome-fade { height: 9.5em; } .welcome-actions .btn { width: 100%; } }
.welcome-fade { position: relative; height: 7.5em; margin: 8px 0 12px; }
.welcome-slide { position: absolute; inset: 0; display: grid; align-content: center; gap: 6px; opacity: 0; animation: crossfade 8s ease-in-out infinite; }
.welcome-slide:nth-child(2) { animation-delay: 4s; }
.welcome-slide h1 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); margin: 0; }
.welcome-slide p { color: var(--muted); margin: 0; font-size: 1.1rem; }
@keyframes crossfade { 0% { opacity: 0; } 12% { opacity: 1; } 44% { opacity: 1; } 56% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .welcome-slide { animation-duration: 16s; } .welcome-slide:nth-child(2) { animation-delay: 8s; } .welcome { animation: none; } }
.welcome-choose { color: var(--muted); font-size: .95rem; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.welcome-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.welcome-actions .btn { min-width: 220px; }
.welcome-links { margin-top: 36px; display: flex; gap: 18px; justify-content: center; font-size: .85rem; color: var(--muted); }
.welcome-links a:hover { color: var(--ink); }
