/* The service site: a ledger page and a banknote's fine lines. Paper, ink, one deep green; saffron for the lines. */
@font-face {
  font-family: "Vazirmatn"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/Vazirmatn-wght.063c75da7f96.woff2") format("woff2");
}
@font-face {
  font-family: "Markazi Text"; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url("../fonts/MarkaziText-arabic-wght.34992bb7df7e.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E,
    U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Markazi Text"; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url("../fonts/MarkaziText-latin-wght.f5d0cd64d62d.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}

:root {
  --paper: #F3F5F1; --panel: #E9EDE7; --card: #FBFCFA; --white: #FFFFFF;
  --ink: #13211C; --ink-2: #3D4F48; --rule: #C7D0C9; --rule-soft: #DDE3DE; --dash: #AEB9B1;
  --accent: #1E5B47; --accent-ink: #FFFFFF; --saffron: #C9922E; --danger: #8A2E1F;
  --dark: #13211C; --dark-2: #1B2E27; --dark-line: #2E453B; --on-dark: #F3F5F1; --on-dark-2: #C9D3CC; --on-dark-3: #9FB0A6;
  --warn-bg: #F6EEE4; --warn-line: #E2C9A6;
  --display: "Markazi Text", "Vazirmatn", Tahoma, serif;
  --body: "Vazirmatn", Tahoma, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.8; }
img, svg { max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.latin { direction: ltr; unicode-bidi: isolate; }
.tab { font-variant-numeric: tabular-nums; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 8px; }

/* header and footer */
.top { border-bottom: 1px solid var(--rule); background: var(--paper); }
.top .wrap { padding-block: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 32px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name b { font-family: var(--display); font-size: 30px; font-weight: 700; }
.brand-name small { font-size: 12px; color: var(--ink-2); }
.nav { display: flex; flex-wrap: wrap; gap: 0 26px; font-size: 15px; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.nav a:hover { color: var(--accent); }
.nav-back { color: var(--ink); font-size: 15px; padding: 10px 0; }
.ticket-form { display: flex; flex-direction: column; gap: 16px; }
.ticket-form fieldset.card { padding: 0; border: 0; background: none; }
.foot { background: var(--dark); color: var(--on-dark-2); border-top: 1px solid var(--dark-line); font-size: 14px; }
.foot .wrap { padding-block: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.foot a { color: var(--on-dark-2); padding: 10px 0; display: inline-block; }
.foot a:hover { color: var(--on-dark); }
.notice-test { background: var(--warn-bg); border-bottom: 1px solid var(--warn-line); font-size: 14px; text-align: center; padding: 6px 12px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px;
  border-radius: 999px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; background: var(--accent); color: var(--accent-ink); }
.btn:hover { color: var(--accent-ink); filter: brightness(1.08); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { color: var(--ink); background: rgba(19, 33, 28, 0.05); filter: none; }
.btn-square { border-radius: 12px; }
.btn-wide { width: 100%; }
.btn-light { background: var(--on-dark); color: var(--ink); }
.btn-light:hover { color: var(--ink); }
.btn-sm { min-height: 44px; padding: 8px 20px; font-size: 15px; }

/* hero */
.hero .wrap { padding-block: clamp(40px, 7vw, 96px) 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(42px, 5.4vw, 72px); line-height: 1.12; }
.hero-lead { font-size: 18px; line-height: 1.9; color: var(--ink-2); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { flex: 1 1 420px; min-width: 0; position: relative; height: 460px; }
.hero-art .lines { position: absolute; inset: 80px 0 auto 0; width: 100%; height: 300px; }
.sheet { position: absolute; top: 20px; bottom: 20px; left: 9%; right: 9%; background: var(--card); border: 1px solid var(--rule);
  border-radius: 6px; box-shadow: 0 1px 0 var(--rule), 0 24px 48px -32px rgba(19, 33, 28, 0.5); padding: 28px 30px;
  display: flex; flex-direction: column; gap: 12px; }
.sheet-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px;
  border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.sheet-head b { font-family: var(--display); font-size: 30px; line-height: 1.2; }
.sheet-head small { font-size: 12px; color: var(--ink-2); }
.sheet-row { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--rule-soft); padding-bottom: 9px; font-size: 15px; }
.sheet-row:last-of-type { border-bottom: 0; }
.box-mark { width: 16px; height: 16px; border: 1.5px solid var(--accent); border-radius: 4px; flex: none; }
.sheet .seal { position: absolute; left: 22px; bottom: 18px; opacity: 0.85; transform: rotate(-12deg); }

/* sections */
.section .wrap { padding-block: 80px; display: flex; flex-direction: column; gap: 36px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; }
.section h2 { font-family: var(--display); font-size: clamp(36px, 4vw, 54px); line-height: 1.15; }
.band { background: var(--panel); border-block: 1px solid var(--rule); }
.ruled { border-top: 1px solid var(--rule); }

/* packages */
.packages { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.package { flex: 1 1 300px; min-width: 0; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 28px;
  display: flex; flex-direction: column; gap: 20px; }
.package.is-highlight { border: 2px solid var(--accent); padding: 27px; }
.package h3 { font-family: var(--display); font-size: 36px; line-height: 1.2; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-size: 42px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.price-talk { font-size: 26px; font-weight: 800; line-height: 1.4; }
.ticks { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px dashed var(--dash); display: flex; flex-direction: column;
  gap: 10px; font-size: 15px; flex-grow: 1; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { flex: none; margin-top: 4px; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px; }
.steps li { flex: 1 1 230px; min-width: 0; display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--ink); padding-top: 16px; }
.steps .num { font-family: var(--display); font-size: 48px; line-height: 1; color: var(--accent); }
.steps h3 { font-size: 18px; font-weight: 700; }

/* questions */
.faq .wrap { flex-direction: row; flex-wrap: wrap; gap: 24px 48px; }
.faq h2 { flex: 1 1 260px; }
.faq-list { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; }
.faq details { border-bottom: 1px solid var(--rule); padding: 14px 0; }
.faq summary { font-weight: 700; font-size: 17px; padding: 8px 0; cursor: pointer; }
.faq details p { margin: 6px 0 4px; color: var(--ink-2); }

/* about and contact (dark) */
.dark { background: var(--dark); color: var(--on-dark); }
.dark .wrap { padding-block: 80px; display: flex; flex-wrap: wrap; gap: 48px; }
.dark h2 { color: var(--on-dark); font-family: var(--display); font-size: clamp(36px, 4vw, 54px); line-height: 1.15; }
.about { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about p { color: var(--on-dark-2); font-size: 17px; line-height: 1.9; }
.facts { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 28px; font-size: 15px; }
.facts dt { color: var(--on-dark-3); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.enamad-slot { width: 124px; height: 136px; border: 1.5px dashed #6F857A; border-radius: 12px; display: flex; align-items: center;
  justify-content: center; text-align: center; font-size: 12px; line-height: 1.7; color: var(--on-dark-3); padding: 10px; }
.enamad { display: inline-block; background: var(--white); border-radius: 12px; padding: 6px; line-height: 0; }
.panel-form { flex: 1 1 380px; min-width: 0; background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 16px; padding: 28px;
  display: flex; flex-direction: column; gap: 16px; }
.panel-form h3 { font-size: 21px; }
.panel-form .muted { color: var(--on-dark-2); }
.panel-form label { color: #E4EAE6; }

/* forms */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink-2); }
.field input, .field textarea { background: var(--white); color: var(--ink); border: 1px solid var(--dash); border-radius: 10px;
  padding: 10px 12px; font: inherit; font-size: 16px; min-height: 46px; }
.field textarea { resize: vertical; min-height: 96px; }
.field input[dir="ltr"] { text-align: left; }
.field .error, .form-error { color: var(--danger); font-size: 14px; }
.dark .field .error, .dark .form-error { color: #F2B8A8; }
.row { display: flex; flex-wrap: wrap; gap: 16px; }
.row > .field { flex: 1 1 240px; min-width: 0; }
fieldset.card { margin: 0; padding: 24px; border: 1px solid var(--rule); border-radius: 16px; background: var(--card); display: flex;
  flex-direction: column; gap: 16px; min-width: 0; }
fieldset.card legend { padding: 0 8px; font-weight: 700; font-size: 18px; color: var(--ink); }
.choices { display: flex; flex-wrap: wrap; gap: 12px; }
.choice { flex: 1 1 200px; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--dash);
  border-radius: 12px; background: var(--white); cursor: pointer; min-height: 56px; color: var(--ink); font-weight: 700; }
.choice:has(input:checked) { border: 1.5px solid var(--accent); }
.choice input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 5px 0 0; accent-color: var(--accent); flex: none; }
.alert { padding: 14px 16px; background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 12px; font-size: 15px; }
.ok-note { padding: 14px 16px; background: #E4EFE9; border: 1px solid #B9D3C6; border-radius: 12px; }

/* checkout, the order and the receipt */
.page-main .wrap { padding-block: 48px 80px; display: flex; flex-direction: column; gap: 32px; }
.page-main h1 { font-family: var(--display); font-size: clamp(38px, 4.4vw, 56px); line-height: 1.15; }
.split { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.split > form { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.summary { flex: 1 1 320px; min-width: 0; background: var(--card); border: 1px solid var(--rule); border-top: 3px solid var(--ink);
  border-radius: 4px 4px 16px 16px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.summary h2 { font-size: 18px; font-family: var(--body); }
.summary .what { font-family: var(--display); font-size: 32px; font-weight: 700; line-height: 1.2; }
.lines-dl { margin: 0; display: flex; flex-direction: column; border-top: 1px dashed var(--dash); }
.lines-dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--rule-soft); }
.lines-dl > div:last-child { border-bottom: 0; }
.lines-dl dt { color: var(--ink-2); }
.lines-dl dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.lines-dl .total dt { color: var(--ink); font-weight: 700; }
.lines-dl .total dd { font-weight: 800; font-size: 20px; }
.narrow { max-width: 680px; }
.ticket { background: var(--card); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; }
.ticket-head { background: var(--dark); color: var(--on-dark); padding: 22px 28px; display: flex; flex-direction: column; gap: 4px; }
.ticket-head h1 { font-size: 38px; line-height: 1.2; }
.ticket-head p { color: var(--on-dark-2); font-size: 14px; }
.ticket-perf { border-top: 2px dashed var(--dash); margin: 0 28px; }
.ticket-body { padding: 12px 28px 28px; display: flex; flex-direction: column; gap: 16px; }
.result { background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: 32px 28px; display: flex; flex-direction: column; gap: 20px; }
.result-head { display: flex; align-items: center; gap: 16px; }
.result-head h1 { font-size: 40px; line-height: 1.2; }
.prose { max-width: 70ch; display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 2; }
.fake-bank { background: #FFF7E0; border: 2px dashed #B98A10; border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }

@media (max-width: 520px) {
  .hero-art { height: 420px; }
  .sheet { left: 0; right: 0; padding: 22px 20px; }
  .price b { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
