:root {
  --ink: #0f1b2d;
  --ink-2: #3d4b63;
  --muted: #66738a;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-2: #f4f7fb;
  --navy: #0f2a4a;
  --navy-2: #164777;
  --blue: #1b8fd8;
  --blue-d: #1270ad;
  --red: #d7261e;
  --red-d: #b91f18;
  --wa: #1fa855;
  --wa-d: #178c46;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .05), 0 12px 32px rgba(15, 27, 45, .08);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --font: "Vazirmatn", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.85; font-size: 17px; padding-bottom: 76px; -webkit-font-smoothing: antialiased; }
[lang="en"] body, body:where([dir="ltr"]) { line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-d); }
h1, h2, h3 { line-height: 1.4; margin: 0 0 .6rem; }
h1 { font-size: clamp(2rem, 5.2vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); font-weight: 800; }
h3 { font-size: 1.08rem; font-weight: 700; }
[dir="ltr"] h1, [dir="ltr"] h2 { letter-spacing: -.02em; }
p { margin: 0 0 1rem; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
svg { width: 1.2em; height: 1.2em; flex: none; }
bdi { unicode-bidi: isolate; }

/* header */
.top { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 30; }
.top .wrap { position: static; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 66px; }
.brand { display: flex; align-items: center; gap: .65rem; color: #fff; text-decoration: none; }
.brand img { background: #fff; border-radius: 10px; padding: 3px; }
.brand, .brand picture, .top-act, .top-act .btn { flex: none; white-space: nowrap; }
.brand span { display: flex; flex-direction: column; line-height: 1.25; }
.brand b { font-size: 1.25rem; font-weight: 800; }
.brand small { font-size: .8rem; opacity: .75; letter-spacing: .02em; }
.top-act { display: flex; align-items: center; gap: .9rem; }
.lang { color: #cfe2f5; text-decoration: none; font-size: .92rem; font-weight: 500; }

/* menu: links in the header on wide screens, a «منو» button on narrow ones */
.nav { display: flex; gap: 1.15rem; flex: 1; justify-content: center; }
.nav a { color: #cfe2f5; text-decoration: none; font-size: .93rem; font-weight: 500; white-space: nowrap; padding: .2rem 0; border-bottom: 2px solid transparent; transition: color 150ms var(--ease-out), border-color 150ms var(--ease-out); }
.nav a[aria-current="page"] { color: #fff; border-color: var(--blue); }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .45rem; color: #fff; font-weight: 700; font-size: .95rem; padding: .45rem .8rem; border: 1.5px solid rgba(255, 255, 255, .3); border-radius: 12px; transition: transform 160ms var(--ease-out); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:active { transform: scale(.97); }
.bars, .bars::before, .bars::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; inset-inline: 0; }
.bars::before { top: -5px; }
.bars::after { top: 5px; }
.menu[open] .bars { background: transparent; }
.menu[open] .bars::before { top: 0; transform: rotate(45deg); }
.menu[open] .bars::after { top: 0; transform: rotate(-45deg); }
.menu-panel { position: absolute; inset-inline: 0; top: 100%; background: var(--navy); border-top: 1px solid rgba(255, 255, 255, .1); padding: .5rem 16px 1.1rem; display: flex; flex-direction: column; box-shadow: 0 18px 30px rgba(0, 0, 0, .25); animation: menu-in 180ms var(--ease-out); }
.menu-panel a:not(.btn) { color: #fff; text-decoration: none; padding: .8rem .2rem; border-bottom: 1px solid rgba(255, 255, 255, .08); font-weight: 500; }
.menu-panel a[aria-current="page"] { color: #8fc8f2; }
.menu-panel .btn { margin-top: 1rem; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: #fff; } }
@media (max-width: 1099px) {
  .nav { display: none; }
  .menu { display: block; }
}

/* buttons: instant press feedback, short ease-out, hover only with a real pointer */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: inherit; font-weight: 700; text-decoration: none; border-radius: 14px; padding: .85rem 1.4rem; border: 0; cursor: pointer; min-height: 54px; transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn-call { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(215, 38, 30, .25); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(31, 168, 85, .22); }
.btn-ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--line); }
.btn-sm { min-height: 42px; padding: .45rem 1rem; font-size: .95rem; box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
  .btn-call:hover { background: var(--red-d); }
  .btn-wa:hover { background: var(--wa-d); }
  .btn-ghost:hover { background: var(--bg-2); }
  .card.link:hover { border-color: var(--blue); box-shadow: var(--shadow); }
}
.cta-btns { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.4rem 0 .9rem; }
.hours { display: flex; align-items: center; gap: .45rem; font-size: .93rem; margin: 0; opacity: .85; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

/* hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 3rem 0 3.2rem; }
.hero-in { display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; align-items: center; }
.eyebrow { display: inline-block; background: rgba(255, 255, 255, .12); border-radius: 999px; padding: .2rem .95rem; font-size: .9rem; margin-bottom: 1rem; }
.lead { font-size: 1.18rem; color: #dbe8f6; max-width: 34em; }
.lead b { color: #fff; }
.hero .hours { color: #cfe2f5; }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { border-radius: 20px; aspect-ratio: 900 / 1164; object-fit: cover; object-position: top; width: 100%; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.hero-photo figcaption { position: absolute; inset-inline: 12px; bottom: 12px; display: flex; gap: .4rem; align-items: center; background: rgba(255, 255, 255, .95); color: var(--ink); border-radius: 12px; padding: .5rem .8rem; font-size: .88rem; font-weight: 500; }
.hero-photo svg { color: var(--red); }
.hero-sub { padding: 1.4rem 0 2.4rem; }
.hero-sub h1 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); }
.crumbs { font-size: .88rem; color: #a9c3de; margin-bottom: 1rem; }
.crumbs a { color: #cfe2f5; }

/* promises strip */
.promises { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.promise-list { list-style: none; margin-block: 0; padding: 1.3rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.promise-list li { display: flex; gap: .6rem; align-items: flex-start; }
.promise-list svg { color: var(--wa); margin-top: .3rem; }
.promise-list b { display: block; }
.promise-list small { color: var(--ink-2); font-size: .88rem; line-height: 1.6; display: block; }

/* sections */
.sec { padding: 3rem 0; }
.sec.alt { background: var(--bg-2); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.2rem 0; }
.grid.two-col { grid-template-columns: 1fr 1fr; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.2rem; color: inherit; text-decoration: none; display: flex; flex-direction: column; transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.card > svg { width: 1.9rem; height: 1.9rem; color: var(--blue-d); margin-bottom: .7rem; }
.card p { color: var(--ink-2); font-size: .96rem; margin: 0; }
.card .more { margin-top: .8rem; color: var(--blue-d); font-weight: 700; font-size: .93rem; }
.card .more::after { content: " ←"; }
[dir="ltr"] .card .more::after { content: " →"; }

/* steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 1.2rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.narrow .steps { grid-template-columns: 1fr; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .25rem; }
.narrow .steps li { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: .7rem; }
.narrow .steps li span { flex-basis: 100%; padding-inline-start: 2.7rem; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; flex: none; }
[dir="rtl"] .steps li::before { content: counter(s, persian); }
.steps span { color: var(--ink-2); font-size: .96rem; }

.ticks { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.ticks li { display: flex; gap: .55rem; align-items: center; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.ticks svg { color: var(--wa); }
.ticks.no li::before, .ticks.ask li::before { flex: none; display: grid; place-items: center; width: 1.3rem; height: 1.3rem; border-radius: 50%; font-weight: 800; font-size: .8rem; color: #fff; }
.ticks.no li::before { content: "×"; background: var(--red); }
.ticks.ask li::before { content: "?"; background: #d98b00; }
.note { background: #eef6fd; border-radius: 12px; padding: .8rem 1rem; font-size: .95rem; }
.address-box { background: var(--bg-2); border-radius: var(--radius); padding: 1rem 1.3rem; }
.address-box p:last-child { margin: 0; text-align: left; }

/* office */
.office { display: grid; grid-template-columns: 300px 1fr; gap: 2.5rem; align-items: center; }
.office img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 900 / 1164; object-fit: cover; object-position: top; width: 100%; }
.facts { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.facts li { display: flex; gap: .6rem; margin-bottom: .6rem; }
.facts svg { color: var(--blue-d); margin-top: .35rem; }

/* faq */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: .6rem; }
.faq summary { cursor: pointer; padding: .9rem 1.15rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--blue-d); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq summary h3 { margin: 0; font-size: 1rem; }
.faq details > div { padding: 0 1.15rem .2rem; color: var(--ink-2); }

/* final CTA */
.cta-band { background: var(--navy); color: #fff; padding: 2.4rem 0; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cta-in h2 { margin: 0 0 .3rem; }
.cta-in p { margin: 0; color: #cfe2f5; }
.cta-in .cta-btns { margin: 0; }

/* footer */
.foot { background: #0a1d33; color: #b8c7d9; padding: 2.2rem 0 1rem; font-size: .93rem; }
.foot a { color: #e1ecf8; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.5rem; }
.foot-brand { display: flex; align-items: center; gap: .6rem; color: #fff; line-height: 1.4; }
.foot-brand img { background: #fff; border-radius: 8px; padding: 2px; }
.foot-brand small { color: #b8c7d9; }

/* sticky call bar on phones */
.dock { position: fixed; inset-inline: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1.4fr 1fr; gap: .5rem; padding: .55rem .7rem calc(.55rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(15, 27, 45, .08); }
.dock .btn { min-height: 52px; padding: .6rem; box-shadow: none; }

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .dock { display: none; }
}
@media (max-width: 899px) {
  .hero-in, .office { grid-template-columns: 1fr; }
  .hero-photo { max-width: 560px; }
  .hero-photo img { aspect-ratio: 1100 / 732; }
  .grid, .grid.four { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .promise-list { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .office img { max-width: 300px; justify-self: center; }
  .top-act > .btn { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding: 2rem 0 2.2rem; }
  .grid, .grid.two-col, .grid.four, .steps { grid-template-columns: 1fr; }
  .cta-btns .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .btn, .card, .nav a { transition: none; } .btn:active { transform: none; } .menu-panel { animation: none; } }

/* outside office hours: a short note, and WhatsApp moves first */
.status-note { display: flex; gap: .5rem; align-items: center; background: #fff6e0; color: #6b4a00; border-radius: 12px; padding: .6rem .9rem; margin: 1.2rem 0 0; font-weight: 500; font-size: .95rem; max-width: 34em; }
.status-note::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: #e0a100; flex: none; }
.status-note[hidden] { display: none; }
.cta-in .status-note { margin: 0 0 .8rem; }
.is-closed .cta-btns .btn-wa, .is-closed .dock .btn-wa { order: -1; }

/* ---- WordPress ---- */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
/* sections are group blocks; their only job is the class (hero, sec, alt, wrap, narrow, grid, card) */
.sec + .wp-block-group, .wp-block-group + .wp-block-group { margin-block-start: 0; }
.wp-block-group.wrap, .wp-block-group.narrow { margin-inline: auto; }
.menu-list, .foot-links ul { list-style: none; margin: 0; padding: 0; }
.nav .menu-list { display: flex; gap: 1.15rem; }
.nav .current-menu-item:not(.menu-item-type-custom) > a { color: #fff; border-color: var(--blue); }
.menu-panel .menu-list a { display: block; }
.menu-panel .current-menu-item:not(.menu-item-type-custom) > a { color: #8fc8f2; }
.foot-links ul { margin-bottom: 1rem; }
.hero-photo img { aspect-ratio: 750 / 970; }
.hero-photo figcaption { margin: 0; }
.office .wp-block-image { margin: 0; }
.hero h1, .hero h2 { color: #fff; }
/* promises: a list whose items start with a bold phrase */
ul.promise-list { width: min(1120px, 100% - 32px); margin-inline: auto; }
.promise-list li { display: block; position: relative; padding-inline-start: 1.8rem; color: var(--ink-2); font-size: .9rem; line-height: 1.6; }
.promise-list li strong { display: block; color: var(--ink); font-size: 1rem; }
.promise-list li br, .steps li br { display: none; }
.promise-list li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0; color: var(--wa); font-weight: 800; font-size: 1.1rem; }
/* steps: a numbered list whose items start with a bold phrase */
.steps li { display: block; color: var(--ink-2); font-size: .96rem; position: relative; }
.steps li strong { display: block; color: var(--ink); font-size: 1.02rem; margin-top: .5rem; }
.narrow .steps li { display: block; padding-inline-start: 3.6rem; }
.narrow .steps li::before { position: absolute; inset-inline-start: 1rem; top: 1rem; }
.narrow .steps li strong { margin-top: .1rem; }
/* ticks */
.ticks li { display: block; position: relative; padding-inline-start: 2rem; }
.ticks li::before { content: "✓"; position: absolute; inset-inline-start: .1rem; top: .5rem; color: var(--wa); font-weight: 800; }
.ticks.no li::before, .ticks.ask li::before { inset-inline-start: 0; top: .85rem; color: #fff; line-height: 1; }
/* cards: an icon comes from a class such as ic-box; a link in the title makes the whole card a link */
.card { position: relative; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card:has(h3 a) p:last-child::after { content: "بیشتر بخوانید ←"; display: block; margin-top: .7rem; color: var(--blue-d); font-weight: 700; font-size: .93rem; }
[dir="ltr"] .card:has(h3 a) p:last-child::after { content: "Read more →"; }
[class*="ic-"]::before { content: ""; width: 1.9rem; height: 1.9rem; margin-bottom: .7rem; background: var(--blue-d); -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; flex: none; }
.ic-box { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 7.5 12 2 3 7.5v9L12 22l9-5.5zM12 4.3l6.4 3.9L12 12 5.6 8.2zM5 9.9l6 3.6v6.1l-6-3.7zm8 9.7v-6.1l6-3.6v6z'/%3E%3C/svg%3E"); }
.ic-doc { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zm4 18H6V4h7v5h5zM8 12h8v2H8zm0 4h8v2H8z'/%3E%3C/svg%3E"); }
.ic-device { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 1H8a2 2 0 0 0-2 2v18a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2zm0 18H8V5h8z'/%3E%3C/svg%3E"); }
.ic-map { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m15 4-6-2-6 2v18l6-2 6 2 6-2V2zm-5 .4 4 1.3v13.9l-4-1.3zM5 5.4l3-1v13.9l-3 1zm14 13.2-3 1V5.7l3-1z'/%3E%3C/svg%3E"); }
.ic-inbox { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm0 12h-4a3 3 0 0 1-6 0H5V5h14z'/%3E%3C/svg%3E"); }
.ic-pill { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.2 19.8a5 5 0 0 1 0-7.1l8.5-8.5a5 5 0 1 1 7.1 7.1l-8.5 8.5a5 5 0 0 1-7.1 0zm1.4-5.7a3 3 0 0 0 4.2 4.3l4-4.1-4.2-4.2z'/%3E%3C/svg%3E"); }
.ic-gift { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 7h-2.2A3 3 0 0 0 12 3.8 3 3 0 0 0 6.2 7H4a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1v7a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-7a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1zM5 9h6v2H5zm1 4h5v6H6zm12 6h-5v-6h5zm1-8h-6V9h6z'/%3E%3C/svg%3E"); }

/* ---- one goal: the call ---- */
.hero .wp-block-heading { margin-block: 0 .6rem; }
.hero .lead, .sec .wp-block-heading { margin-block-start: 0; }
.eyebrow { margin-block-start: 0; }
.status-note.is-open { background: #e5f6ec; color: #0e5c31; }
.status-note.is-open::before { background: #1fa855; }
.status-note { width: fit-content; }
.cta-btns .btn-call { font-size: 1.12rem; padding-inline: 1.7rem; min-height: 60px; }
.cta-btns .btn-wa { background: transparent; color: var(--wa-d); border: 2px solid currentColor; box-shadow: none; min-height: 60px; }
.hero .cta-btns .btn-wa, .cta-band .btn-wa { color: #fff; border-color: rgba(255, 255, 255, .45); }
.is-closed .cta-btns .btn-wa { background: var(--wa); color: #fff; border-color: var(--wa); }
.trust { margin: 0 0 .6rem; font-size: .95rem; }
.trust a { color: inherit; text-decoration: none; }
.trust .star { color: #f5b301; }
.ready { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.3rem; margin-top: 1.2rem; }
.ready p { margin: 0; }
@media (hover: hover) and (pointer: fine) { .cta-btns .btn-wa:hover { background: rgba(31, 168, 85, .15); } .is-closed .cta-btns .btn-wa:hover { background: var(--wa-d); } }
@media (max-width: 560px) { .hero-photo { margin-top: .4rem; } .status-note { width: auto; } }
.dock .btn { white-space: nowrap; font-size: .98rem; min-width: 0; }
.is-closed .dock { grid-template-columns: 1fr 1fr; }

.reviews .score { font-size: 1.15rem; margin: 0 0 .4rem; }
.star { color: #f5b301; }
.quote { margin: 0; justify-content: space-between; gap: .9rem; }
.quote blockquote { margin: 0; font-size: 1.05rem; }
.quote figcaption { color: var(--muted); font-size: .9rem; }
.reviews .grid:has(> :only-child) { grid-template-columns: minmax(0, 560px); }
