/* =========================================================
   Azhary Theme — طراحی‌های اظهری
   Minimal · luxurious · Persian. RTL first.
   ========================================================= */
:root {
	--az-bg: #F4F0E8;
	--az-ink: #1E1A18;
	--az-brick: #A10E10;
	--az-cream: #E5D8C6;
	--az-line: #D7CAB8;
	--az-muted: #75685B;
	--az-paper: #FAF7F0;
	--az-font: "Vazirmatn", Tahoma, sans-serif;
	--az-radius: 14px;
	--az-radius-lg: 24px;
	--az-ease: cubic-bezier(.2, .7, .2, 1);
	--az-container: 1200px;
	--az-shadow: 0 1px 0 rgba(30, 26, 24, .04), 0 18px 40px -26px rgba(30, 26, 24, .45);
	/* Pointed Persian arch, used as a mask */
	--az-arch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 140' preserveAspectRatio='none'%3E%3Cpath d='M0 140V52C0 26 26 9 50 0c24 9 50 26 50 52v88z'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--az-bg); color: var(--az-ink); font: 400 16px/1.95 var(--az-font); direction: rtl; text-align: right; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }
button, input, select, textarea, optgroup, .wp-block-button__link, .elementor-widget-container { font-family: var(--az-font); }
h1, h2, h3, h4, h5, h6, .elementor-heading-title { font-family: var(--az-font); }
a { color: var(--az-brick); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--az-ink); }
h1, h2, h3, h4 { line-height: 1.45; margin: 0 0 .6em; font-weight: 800; color: var(--az-ink); }
p { margin: 0 0 1em; }
::selection { background: var(--az-brick); color: #fff; }
:focus-visible { outline: 2px solid var(--az-brick); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.az-skip { position: absolute; top: -60px; right: 16px; z-index: 1000; background: var(--az-ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.az-skip:focus { top: 12px; }
[hidden] { display: none !important; }

.az-container { width: 100%; max-width: var(--az-container); margin: 0 auto; padding: 0 24px; }
.az-container--narrow { max-width: 820px; }
.az-center { text-align: center; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
h2.az-center, .az-section__title.az-center { display: block; margin-top: 0; }
.az-empty { color: var(--az-muted); text-align: center; padding: 32px 0; }
.az-ic { flex: none; }

/* ---------- Buttons ---------- */
.az-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	font: 600 15px/1 var(--az-font); padding: 1em 1.8em; border-radius: 999px;
	border: 1px solid var(--az-ink); background: transparent; color: var(--az-ink);
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background .3s var(--az-ease), color .3s, border-color .3s, transform .2s;
}
.az-btn:hover { background: var(--az-ink); color: var(--az-paper); }
.az-btn:active { transform: translateY(1px); }
.az-btn--primary { background: var(--az-ink); color: var(--az-paper); }
.az-btn--primary:hover { background: var(--az-brick); border-color: var(--az-brick); color: #fff; }
.az-btn--ghost { border-color: var(--az-line); background: rgba(250, 247, 240, .6); }
.az-btn--ghost:hover { border-color: var(--az-ink); }
.az-btn--light { background: var(--az-paper); color: var(--az-ink); border-color: var(--az-paper); }
.az-btn--light:hover { background: transparent; color: var(--az-paper); }
.az-btn--lg { font-size: 16px; padding: 1.1em 2.1em; }
.az-btn--sm { font-size: 14px; padding: .75em 1.3em; }
.az-btn--block { width: 100%; }
.az-link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--az-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--az-line); padding-bottom: 4px; transition: border-color .25s, gap .25s; }
.az-link-arrow:hover { border-color: var(--az-brick); color: var(--az-brick); gap: 12px; }

.az-eyebrow { font-size: 13px; letter-spacing: .02em; color: var(--az-brick); font-weight: 600; margin: 0 0 10px; display: inline-flex; align-items: center; gap: 10px; }
.az-eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--az-brick); }
.az-eyebrow a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */
.az-header { position: sticky; top: 0; z-index: 100; background: rgba(244, 240, 232, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s; }
.admin-bar .az-header { top: 32px; }
.az-header.is-scrolled { border-color: var(--az-line); background: rgba(244, 240, 232, .95); }
.az-header__inner { display: flex; align-items: center; gap: 28px; height: 88px; transition: height .3s var(--az-ease); }
.az-header.is-scrolled .az-header__inner { height: 72px; }
.az-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--az-ink); flex: none; }
.az-brand img { width: 56px; height: 56px; object-fit: contain; transition: width .3s, height .3s; }
.az-header.is-scrolled .az-brand img { width: 46px; height: 46px; }
.az-brand__text strong { display: block; font-size: 17px; font-weight: 800; line-height: 1.3; }
.az-brand__text small { display: block; font-size: 10px; letter-spacing: .25em; color: var(--az-muted); direction: ltr; text-align: right; }
.az-brand--light { color: var(--az-paper); }
.az-brand--light img { background: var(--az-paper); border-radius: 50%; padding: 4px; }
.az-brand--light .az-brand__text small { color: #A99C8C; }
.az-nav { flex: 1; }
.az-nav__head, .az-nav__actions { display: none; }
.az-nav__list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 4px; }
.az-nav__list > li { position: relative; }
.az-nav__list a { display: block; padding: 10px 14px; color: var(--az-ink); text-decoration: none; font-size: 15px; font-weight: 500; position: relative; }
.az-nav__list > li > a::after { content: ""; position: absolute; right: 14px; left: 14px; bottom: 4px; height: 1px; background: var(--az-brick); transform: scaleX(0); transition: transform .3s var(--az-ease); transform-origin: right; }
.az-nav__list > li > a:hover::after, .az-nav__list > .current-menu-item > a::after, .az-nav__list > .current_page_item > a::after, .az-nav__list > .current-menu-ancestor > a::after { transform: scaleX(1); }
.az-nav__list .current-menu-item > a { color: var(--az-brick); }
.az-nav__list .sub-menu { list-style: none; position: absolute; top: 100%; right: 0; min-width: 200px; margin: 0; padding: 8px; background: var(--az-paper); border: 1px solid var(--az-line); border-radius: 12px; box-shadow: var(--az-shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s; }
.az-nav__list li:hover > .sub-menu, .az-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.az-header__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.az-header__link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--az-ink); text-decoration: none; padding: 8px 4px; }
.az-header__link:hover { color: var(--az-brick); }
.az-burger { display: none; background: none; border: 1px solid var(--az-line); border-radius: 12px; width: 44px; height: 44px; color: var(--az-ink); cursor: pointer; place-items: center; }
.az-scrim { display: none; }

/* ---------- Ornament ---------- */
.az-ornament { display: flex; align-items: center; gap: 18px; max-width: var(--az-container); margin: 0 auto; padding: 8px 24px; }
.az-ornament span { flex: 1; height: 1px; background: linear-gradient(to left, transparent, var(--az-line) 30%, var(--az-line) 70%, transparent); }
.az-ornament img { width: 120px; height: 28px; opacity: .9; }
.az-ornament--small { max-width: 360px; padding: 18px 0 0; }
.az-ornament--small img { width: 90px; }

/* ---------- Hero ---------- */
.az-hero { padding: 56px 0 72px; position: relative; overflow: hidden; }
.az-hero::before { content: ""; position: absolute; width: 640px; height: 640px; left: -220px; top: -120px; border-radius: 50%; border: 1px solid var(--az-cream); box-shadow: 0 0 0 40px rgba(229, 216, 198, .22), 0 0 0 80px rgba(229, 216, 198, .12); pointer-events: none; }
.az-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; position: relative; }
.az-hero__title { font-size: clamp(48px, 7.4vw, 104px); font-weight: 900; line-height: 1.12; margin: 0 0 14px; letter-spacing: -.01em; }
.az-hero__sub { font-size: clamp(22px, 2.6vw, 32px); color: var(--az-brick); font-weight: 700; margin: 0 0 22px; }
.az-hero__desc { font-size: 18px; color: var(--az-muted); max-width: 520px; line-height: 2.1; }
.az-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.az-hero__facts { list-style: none; margin: 46px 0 0; padding: 26px 0 0; border-top: 1px solid var(--az-line); display: flex; gap: 36px; flex-wrap: wrap; }
.az-hero__facts strong { display: block; font-size: 17px; }
.az-hero__facts span { color: var(--az-muted); font-size: 13px; }

.az-arch { position: relative; isolation: isolate; max-width: 440px; margin-inline: auto; padding: 14px; }
.az-arch__frame { position: relative; aspect-ratio: 5 / 7; -webkit-mask: var(--az-arch) center / 100% 100% no-repeat; mask: var(--az-arch) center / 100% 100% no-repeat; background: var(--az-cream); }
.az-arch__img, .az-arch__frame picture, .az-arch__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.az-arch__line { position: absolute; inset: 0; pointer-events: none; -webkit-mask: var(--az-arch) center / 100% 100% no-repeat; mask: var(--az-arch) center / 100% 100% no-repeat; background: transparent; border: 0; }
.az-arch::before { content: ""; position: absolute; inset: 0; background: var(--az-line); -webkit-mask: var(--az-arch) center / 100% 100% no-repeat; mask: var(--az-arch) center / 100% 100% no-repeat; z-index: -1; }
.az-arch::after { content: ""; position: absolute; inset: 1px; background: var(--az-bg); -webkit-mask: var(--az-arch) center / 100% 100% no-repeat; mask: var(--az-arch) center / 100% 100% no-repeat; z-index: -1; }
.az-arch__seal { position: absolute; width: 110px; height: 110px; bottom: 28px; right: -34px; background: var(--az-paper); border-radius: 50%; padding: 6px; box-shadow: var(--az-shadow); animation: az-spin 60s linear infinite; }
@keyframes az-spin { to { transform: rotate(360deg); } }

/* ---------- Sections ---------- */
.az-section { padding: 96px 0; }
.az-section--tight { padding: 56px 0; }
.az-section__head { text-align: center; margin-bottom: 44px; }
.az-section__head--row { display: flex; justify-content: space-between; align-items: flex-end; text-align: right; gap: 20px; flex-wrap: wrap; }
.az-section__title { font-size: clamp(28px, 3.6vw, 44px); font-weight: 900; margin: 0; }
.az-section__title--sm { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 22px; }

/* ---------- Grid & cards ---------- */
.az-grid { display: grid; gap: 26px; }
.az-grid--3 { grid-template-columns: repeat(3, 1fr); }
.az-grid--2 { grid-template-columns: repeat(2, 1fr); }
.az-card { position: relative; opacity: 1; transition: opacity .4s, transform .4s var(--az-ease); }
.az-card[hidden] { display: none; }
.az-card__link { display: block; text-decoration: none; color: var(--az-ink); }
.az-card__media { margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: var(--az-radius-lg); background: var(--az-paper); border: 1px solid var(--az-line); position: relative; }
.az-card__media::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(250, 247, 240, 0); border-radius: 16px; transition: border-color .4s; pointer-events: none; }
.az-card__img, .az-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--az-ease), filter .4s; }
.az-card__ph { display: block; width: 100%; height: 100%; background: var(--az-cream); }
.az-card__body { padding: 16px 4px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.az-card__title { font-size: 17px; font-weight: 700; margin: 0; }
.az-card__meta { font-size: 13px; color: var(--az-muted); margin: 0; white-space: nowrap; }
.az-card__link:hover .az-card__img { transform: scale(1.045); }
.az-card__link:hover .az-card__media::after { border-color: rgba(250, 247, 240, .8); }
.az-card__link:hover .az-card__title { color: var(--az-brick); }
.az-grid--masonry .az-card:nth-child(6n+2) .az-card__media { aspect-ratio: 4 / 5; }
.az-grid--masonry .az-card:nth-child(6n+4) .az-card__media { aspect-ratio: 4 / 5; }
.az-grid--masonry .az-card .az-card__media img { object-fit: cover; }
.az-portfolio.is-loading [data-grid] { opacity: .45; pointer-events: none; transition: opacity .2s; }

.az-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.az-filter__btn { font: 500 14px var(--az-font); padding: 9px 18px; border-radius: 999px; border: 1px solid var(--az-line); background: transparent; color: var(--az-ink); cursor: pointer; text-decoration: none; transition: all .25s; display: inline-flex; align-items: center; gap: 6px; }
.az-filter__btn small { color: var(--az-muted); font-size: 12px; }
.az-filter__btn:hover { border-color: var(--az-ink); }
.az-filter__btn.is-active { background: var(--az-ink); color: var(--az-paper); border-color: var(--az-ink); }
.az-filter__btn.is-active small { color: var(--az-cream); }

/* ---------- About ---------- */
.az-about { background: var(--az-paper); border-block: 1px solid var(--az-line); }
.az-about__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.az-about__photo { margin: 0; position: relative; }
.az-about__photo img, .az-about__photo picture { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 200px 200px var(--az-radius-lg) var(--az-radius-lg); filter: grayscale(1) contrast(1.05); }
.az-about__photo::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--az-brick); border-radius: 200px 200px var(--az-radius-lg) var(--az-radius-lg); z-index: 0; opacity: .5; }
.az-about__photo > * { position: relative; z-index: 1; }
.az-about__role { color: var(--az-brick); font-weight: 600; margin: 8px 0 22px; }
.az-about__body { font-size: 17px; color: #4A4038; line-height: 2.2; }
.az-about--page { border-top: 0; }

/* ---------- Process ---------- */
.az-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; }
.az-step { position: relative; padding: 46px 30px 34px; background: var(--az-paper); border: 1px solid var(--az-line); border-radius: 140px 140px var(--az-radius-lg) var(--az-radius-lg); text-align: center; transition: transform .4s var(--az-ease), box-shadow .4s; }
.az-step:hover { transform: translateY(-4px); box-shadow: var(--az-shadow); }
.az-step__num { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 20px; border-radius: 50%; border: 1px solid var(--az-brick); color: var(--az-brick); font-size: 22px; font-weight: 800; }
.az-step h3 { font-size: 20px; }
.az-step p { color: var(--az-muted); font-size: 15px; margin: 0; }
.az-steps .az-step:not(:last-child)::after { content: ""; position: absolute; top: 74px; left: -27px; width: 28px; height: 1px; background: var(--az-line); }

/* ---------- CTA ---------- */
.az-cta { padding: 24px 0 96px; }
.az-cta__box { position: relative; overflow: hidden; background: var(--az-ink); color: var(--az-paper); border-radius: 300px 300px var(--az-radius-lg) var(--az-radius-lg); text-align: center; padding: 96px 32px 72px; }
.az-cta__box::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(229, 216, 198, .2); border-radius: 290px 290px 16px 16px; pointer-events: none; }
.az-cta__box h2 { color: var(--az-paper); font-size: clamp(28px, 4vw, 48px); font-weight: 900; max-width: 760px; margin: 0 auto 14px; }
.az-cta__box p { color: #CDBFAE; margin: 0 auto 30px; max-width: 520px; }
.az-cta__seal { filter: brightness(0) invert(.9) sepia(.3); margin-bottom: 18px; opacity: .8; }

/* ---------- Posts ---------- */
.az-post { background: var(--az-paper); border: 1px solid var(--az-line); border-radius: var(--az-radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--az-ease), box-shadow .35s; }
.az-post:hover { transform: translateY(-4px); box-shadow: var(--az-shadow); }
.az-post__media { display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--az-cream); }
.az-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--az-ease); }
.az-post:hover .az-post__media img { transform: scale(1.04); }
.az-post__ph { display: grid; place-items: center; width: 100%; height: 100%; }
.az-post__body { padding: 22px 24px 26px; }
.az-post__meta { font-size: 12px; color: var(--az-muted); margin: 0 0 8px; }
.az-post__title { font-size: 18px; margin: 0 0 10px; }
.az-post__title a { color: var(--az-ink); text-decoration: none; }
.az-post__title a:hover { color: var(--az-brick); }
.az-post__excerpt { font-size: 14px; color: var(--az-muted); margin: 0; }

/* ---------- Page head / prose ---------- */
.az-pagehead { text-align: center; padding: 72px 0 24px; }
.az-pagehead .az-ornament { margin: 0 auto; }
.az-pagehead__title { font-size: clamp(32px, 5vw, 60px); font-weight: 900; margin: 0 0 10px; }
.az-pagehead__sub { color: var(--az-muted); font-size: 17px; margin: 0; }
.az-pagehead--article { padding-bottom: 32px; }
.az-pagehead--article .az-pagehead__title { font-size: clamp(28px, 4vw, 44px); }
.az-prose { font-size: 17px; line-height: 2.15; color: #3A322B; }
.az-prose h2 { font-size: 26px; margin-top: 1.6em; }
.az-prose h3 { font-size: 21px; margin-top: 1.4em; }
.az-prose img { border-radius: var(--az-radius); }
.az-prose blockquote { margin: 1.6em 0; padding: 8px 22px; border-right: 3px solid var(--az-brick); color: var(--az-muted); font-size: 18px; }
.az-prose ul, .az-prose ol { padding-right: 1.3em; }
.az-prose a { color: var(--az-brick); }
.az-prose table { width: 100%; border-collapse: collapse; }
.az-prose td, .az-prose th { border: 1px solid var(--az-line); padding: 8px 12px; }
.az-article__cover { margin: 0 auto 36px; }
.az-article__cover img { width: 100%; border-radius: var(--az-radius-lg); display: block; }
.az-tags a { display: inline-block; padding: 4px 12px; margin: 0 0 6px 6px; border: 1px solid var(--az-line); border-radius: 999px; font-size: 13px; color: var(--az-muted); text-decoration: none; }
.az-inline-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin: 48px 0; padding: 26px 30px; background: var(--az-paper); border: 1px solid var(--az-line); border-radius: var(--az-radius-lg); }
.az-inline-cta p { margin: 4px 0 0; color: var(--az-muted); font-size: 14px; }
.az-postnav { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; border-top: 1px solid var(--az-line); font-size: 14px; }
.az-postnav a { color: var(--az-ink); text-decoration: none; }
.az-blog { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.az-blog__side { position: sticky; top: 110px; display: grid; gap: 18px; }
.az-widget { background: var(--az-paper); border: 1px solid var(--az-line); border-radius: var(--az-radius); padding: 22px; }
.az-widget__title { font-size: 16px; margin: 0 0 12px; }
.az-widget ul { list-style: none; margin: 0; padding: 0; }
.az-widget li { padding: 6px 0; border-bottom: 1px dashed var(--az-line); }
.az-widget--cta p { color: var(--az-muted); font-size: 14px; }
.az-search { display: flex; border: 1px solid var(--az-line); border-radius: 999px; overflow: hidden; background: var(--az-bg); }
.az-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 16px; font: 15px var(--az-font); color: var(--az-ink); }
.az-search input:focus { outline: none; }
.az-search button { border: 0; background: none; padding: 0 14px; color: var(--az-ink); cursor: pointer; }
.az-pager { display: flex; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.az-pager .page-numbers { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--az-line); color: var(--az-ink); text-decoration: none; }
.az-pager .current { background: var(--az-ink); color: var(--az-paper); border-color: var(--az-ink); }
.az-crumbs { font-size: 13px; color: var(--az-muted); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.az-crumbs a { color: var(--az-muted); text-decoration: none; }
.az-crumbs a:hover { color: var(--az-brick); }

/* ---------- Single portfolio ---------- */
.az-work { padding: 40px 0 24px; }
.az-work__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: start; }
.az-work__main { margin: 0; background: var(--az-paper); border: 1px solid var(--az-line); border-radius: var(--az-radius-lg); overflow: hidden; }
.az-work__main img { display: block; width: 100%; height: auto; }
.az-work__info { position: sticky; top: 110px; }
.az-work__title { font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; }
.az-work__meta { margin: 0 0 24px; border-block: 1px solid var(--az-line); }
.az-work__meta > div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--az-line); font-size: 15px; }
.az-work__meta > div:last-child { border-bottom: 0; }
.az-work__meta dt { color: var(--az-muted); }
.az-work__meta dd { margin: 0; font-weight: 600; }
.az-work__concept { font-size: 16px; margin-bottom: 26px; }
.az-work__concept h2 { font-size: 18px; margin: 0 0 8px; }
.az-work__gallery { margin-top: 64px; }
.az-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.az-gallery a { display: block; border-radius: var(--az-radius-lg); overflow: hidden; border: 1px solid var(--az-line); }
.az-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--az-ease); }
.az-gallery a:hover img { transform: scale(1.03); }
.az-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(23, 19, 16, .94); display: grid; place-items: center; padding: 40px; }
.az-lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; object-fit: contain; }
.az-lightbox__close { position: absolute; top: 18px; left: 18px; background: none; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; width: 48px; height: 48px; color: #fff; cursor: pointer; display: grid; place-items: center; }
.az-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 54px; cursor: pointer; padding: 10px 18px; opacity: .7; }
.az-lightbox__nav:hover { opacity: 1; }
.az-lightbox__prev { right: 10px; }
.az-lightbox__next { left: 10px; }

/* ---------- Services ---------- */
.az-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.az-service { background: var(--az-paper); border: 1px solid var(--az-line); border-radius: 160px 160px var(--az-radius-lg) var(--az-radius-lg); padding: 52px 30px 28px; display: flex; flex-direction: column; text-align: center; transition: transform .4s var(--az-ease), box-shadow .4s, border-color .3s; }
.az-service:hover { transform: translateY(-5px); box-shadow: var(--az-shadow); border-color: var(--az-muted); }
.az-service__icon { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; border: 1px solid var(--az-line); color: var(--az-brick); background: var(--az-bg); }
.az-service__title { font-size: 22px; margin-bottom: 8px; }
.az-service__title a { color: var(--az-ink); text-decoration: none; }
.az-service__excerpt { color: var(--az-muted); font-size: 15px; }
.az-service__list { list-style: none; padding: 0; margin: 4px 0 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.az-service__list li { font-size: 13px; padding: 4px 12px; border-radius: 999px; background: var(--az-bg); border: 1px solid var(--az-line); }
.az-service__foot { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--az-line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.az-service__price { font-size: 14px; font-weight: 600; color: var(--az-brick); }
.az-svc-hero { padding: 48px 0 24px; }
.az-svc-hero__grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 56px; align-items: start; }
.az-svc-hero .az-pagehead__title { text-align: right; }
.az-svc-card { position: sticky; top: 110px; background: var(--az-paper); border: 1px solid var(--az-line); border-radius: 140px 140px var(--az-radius-lg) var(--az-radius-lg); padding: 44px 26px 26px; text-align: center; box-shadow: var(--az-shadow); }
.az-svc-card dl { margin: 0 0 22px; text-align: right; }
.az-svc-card dl > div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--az-line); font-size: 14px; }
.az-svc-card dt { color: var(--az-muted); }
.az-svc-card dd { margin: 0; font-weight: 700; }
.az-chips { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.az-chips li { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--az-line); background: var(--az-paper); font-size: 14px; }
.az-timeline-h { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; counter-reset: t; }
.az-timeline-h li { position: relative; padding: 22px 18px; background: var(--az-paper); border: 1px solid var(--az-line); border-radius: var(--az-radius); }
.az-timeline-h span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--az-ink); color: var(--az-paper); font-weight: 700; margin-bottom: 10px; }
.az-timeline-h p { margin: 0; font-size: 15px; }
.az-two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.az-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.az-checks li { position: relative; padding-right: 30px; }
.az-checks li::before { content: ""; position: absolute; right: 4px; top: 7px; width: 6px; height: 12px; border: solid var(--az-brick); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.az-price-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.az-price-table td { padding: 11px 0; border-bottom: 1px dashed var(--az-line); }
.az-price-table td:last-child { text-align: left; color: var(--az-brick); font-weight: 600; white-space: nowrap; }
.az-faq details { border: 1px solid var(--az-line); border-radius: var(--az-radius); background: var(--az-paper); margin-bottom: 10px; }
.az-faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.az-faq summary::-webkit-details-marker { display: none; }
.az-faq summary::after { content: "+"; color: var(--az-brick); font-size: 22px; line-height: 1; transition: transform .2s; }
.az-faq details[open] summary::after { transform: rotate(45deg); }
.az-faq details p { padding: 0 20px 16px; margin: 0; color: var(--az-muted); }

/* ---------- Contact ---------- */
.az-contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.az-contact__list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 16px; }
.az-contact__list li { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: var(--az-paper); border: 1px solid var(--az-line); border-radius: var(--az-radius); }
.az-contact__list .az-ic, .az-contact__list .azc-ic { color: var(--az-brick); }
.az-contact__list small { display: block; color: var(--az-muted); font-size: 12px; }
.az-contact__list a { color: var(--az-ink); text-decoration: none; font-weight: 600; }
.az-contact__order { margin-top: 24px; padding: 22px; border-radius: var(--az-radius-lg); background: var(--az-ink); color: var(--az-paper); }
.az-contact__order p { color: #CDBFAE; font-size: 14px; }
.az-contact__order .az-btn { background: var(--az-paper); color: var(--az-ink); border-color: var(--az-paper); }
.az-contact__form { background: var(--az-paper); border: 1px solid var(--az-line); border-radius: var(--az-radius-lg); padding: 32px; }
.az-social { list-style: none; margin: 18px 0 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.az-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(229, 216, 198, .25); color: var(--az-cream); transition: all .25s; }
.az-social a:hover { background: var(--az-paper); color: var(--az-ink); }
.az-social--dark a { border-color: var(--az-line); color: var(--az-ink); }
.az-social--dark a:hover { background: var(--az-ink); color: var(--az-paper); }

/* ---------- Footer ---------- */
.az-footer { position: relative; background: var(--az-ink); color: #CDBFAE; padding: 80px 0 0; margin-top: 40px; }
.az-footer__arch { position: absolute; top: -40px; right: 50%; transform: translateX(50%); width: 80px; height: 80px; background: var(--az-ink); border-radius: 50% 50% 0 0; }
.az-footer__arch::after { content: ""; position: absolute; inset: 20px; background: url("../img/site-icon.png") center / contain no-repeat; border-radius: 50%; }
.az-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.az-footer__about p { margin: 18px 0 0; font-size: 14px; line-height: 2.1; max-width: 360px; }
.az-footer__title { color: var(--az-paper); font-size: 16px; margin: 0 0 18px; }
.az-footer__links, .az-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.az-footer a { color: #CDBFAE; text-decoration: none; transition: color .2s; }
.az-footer a:hover { color: var(--az-paper); }
.az-footer__contact li { display: flex; gap: 10px; align-items: center; }
.az-footer__contact .az-ic { color: var(--az-brick); filter: brightness(1.5); }
.az-footer__seal { margin-top: 18px; }
.az-footer__seal a { display: inline-block; background: #fff; border-radius: 12px; padding: 6px; line-height: 0; }
.az-footer__seal img { width: 96px; height: auto; }
.az-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 24px; border-top: 1px solid rgba(229, 216, 198, .12); font-size: 13px; color: #8E8173; }
.az-footer__bottom p { margin: 0; }

/* ---------- App pages (login/order) ---------- */
.az-app { min-height: 60vh; }
body.az-app-page .az-main { background: radial-gradient(circle at 15% 0, rgba(229, 216, 198, .5), transparent 40%); }

/* ---------- 404 ---------- */
.az-404 { padding: 96px 0; text-align: center; }
.az-404__arch { width: 220px; aspect-ratio: 5/7; margin: 0 auto 28px; background: var(--az-ink); -webkit-mask: var(--az-arch) center / 100% 100% no-repeat; mask: var(--az-arch) center / 100% 100% no-repeat; display: grid; place-items: end center; padding-bottom: 40px; }
.az-404__arch span { color: var(--az-paper); font-size: 56px; font-weight: 900; }

/* ---------- Comments ---------- */
.az-comments { margin-top: 32px; }
.az-comments__list { list-style: none; padding: 0; }
.az-comments .comment-body { padding: 18px; border: 1px solid var(--az-line); border-radius: var(--az-radius); background: var(--az-paper); margin-bottom: 12px; }
.az-comments .avatar { border-radius: 50%; float: right; margin-left: 12px; }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; padding: 12px; border: 1px solid var(--az-line); border-radius: 12px; background: var(--az-paper); font: inherit; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--az-ease), transform .9s var(--az-ease); transition-delay: calc(var(--d, 0) * 120ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .az-card { opacity: 0; transform: translateY(14px); }
.js .az-card.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.az-header__link span { display: none; }
	.az-nav__list a { padding: 10px 10px; font-size: 14px; }
	.az-footer__grid { grid-template-columns: 1fr 1fr; }
	.az-blog { grid-template-columns: 1fr; }
	.az-blog__side { position: static; }
}
@media (max-width: 960px) {
	.az-burger { display: grid; }
	.az-header__link { display: none; }
	.az-header__actions { margin-inline-start: auto; }
	.az-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); z-index: 200; background: var(--az-paper); transform: translateX(105%); transition: transform .35s var(--az-ease); display: flex; flex-direction: column; padding: 20px; overflow-y: auto; box-shadow: -20px 0 40px rgba(0, 0, 0, .12); }
	.az-nav.is-open { transform: none; }
	.az-nav__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
	.az-nav__close { background: none; border: 1px solid var(--az-line); border-radius: 12px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--az-ink); cursor: pointer; }
	.az-nav__list { flex-direction: column; gap: 0; }
	.az-nav__list a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--az-line); }
	.az-nav__list > li > a::after { display: none; }
	.az-nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 16px 0 0; background: transparent; }
	.az-nav__actions { display: grid; gap: 10px; margin-top: auto; padding-top: 24px; }
	.az-scrim { position: fixed; inset: 0; background: rgba(30, 26, 24, .45); z-index: 150; display: block; opacity: 0; visibility: hidden; transition: opacity .3s; }
	body.az-nav-open .az-scrim { opacity: 1; visibility: visible; }
	body.az-nav-open { overflow: hidden; }
	.az-hero__grid, .az-about__grid, .az-work__grid, .az-svc-hero__grid, .az-contact, .az-two { grid-template-columns: 1fr; gap: 40px; }
	.az-hero__visual { order: -1; }
	.az-arch { max-width: 340px; }
	.az-hero { padding-top: 32px; }
	.az-hero__text { text-align: center; }
	.az-hero__desc { margin-inline: auto; }
	.az-hero__actions, .az-hero__facts { justify-content: center; }
	.az-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.az-steps { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
	.az-steps .az-step::after { display: none; }
	.az-work__info, .az-svc-card { position: static; }
	.az-about__photo { max-width: 380px; margin: 0 auto; }
	.az-section { padding: 72px 0; }
}
@media (max-width: 782px) { .admin-bar .az-header { top: 46px; } }
@media (max-width: 600px) {
	body { font-size: 15px; }
	.az-container { padding: 0 16px; }
	.az-header__inner { height: 72px; gap: 12px; }
	.az-brand img { width: 46px; height: 46px; }
	.az-brand__text strong { font-size: 15px; }
	.az-header__cta { display: none; }
	.az-grid--3, .az-grid--2, .az-gallery { grid-template-columns: 1fr; }
	.az-grid--masonry .az-card .az-card__media { aspect-ratio: 1 !important; }
	.az-hero__facts { gap: 20px; }
	.az-hero__actions .az-btn { flex: 1 1 100%; }
	.az-arch__seal { width: 80px; height: 80px; right: -6px; }
	.az-cta__box { border-radius: 180px 180px var(--az-radius-lg) var(--az-radius-lg); padding: 80px 20px 48px; }
	.az-cta__box::before { border-radius: 170px 170px 16px 16px; }
	.az-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.az-services { grid-template-columns: 1fr; }
	.az-contact__form { padding: 22px 16px; }
	.az-section { padding: 56px 0; }
	.az-section--tight { padding: 40px 0; }
	.az-pagehead { padding: 48px 0 16px; }
	.az-filter { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: -16px; padding-inline: 16px; }
	.az-filter__btn { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js [data-reveal], .js .az-card { opacity: 1; transform: none; }
}
.az-post__ph img { width: 120px; height: 28px; object-fit: contain; opacity: .7; }

/* About: brand seal instead of photo */
.az-about__photo--seal { display: grid; place-items: center; padding: 48px 40px; background: var(--az-bg); border-radius: 220px 220px var(--az-radius-lg) var(--az-radius-lg); border: 1px solid var(--az-line); }
.az-about__photo--seal::before { inset: 12px; border-color: var(--az-line); opacity: 1; border-radius: 210px 210px 16px 16px; }
.az-about__photo--seal img, .az-about__photo--seal picture { aspect-ratio: auto; width: 100%; max-width: 380px; height: auto; object-fit: contain; border-radius: 0; filter: none; margin: 0 auto; transition: transform 1.2s var(--az-ease); }
.az-about__photo--seal:hover img { transform: rotate(-4deg) scale(1.02); }
@media (max-width: 600px) { .az-about__photo--seal { padding: 36px 24px; } }
.az-elementor { min-height: 40vh; }

/* =========================================================
   به یاد رفقا — quieter palette: cream, earth, olive, a touch of flower yellow
   ========================================================= */
.rf, .rf-home, .rf-single { --rf-olive: #5B6B3A; --rf-olive-soft: #E3E6D3; --rf-yellow: #D9A92B; --rf-earth: #9A7B55; --rf-paper: #FBF8F0; --rf-rule: #E6DDCC; }
.rf-chip { display: inline-block; padding: 2px 12px; border-radius: 999px; border: 1px solid var(--rf-olive); color: var(--rf-olive); font-size: 12px; font-weight: 600; text-decoration: none; background: transparent; }
a.rf-chip:hover { background: var(--rf-olive); color: #fff; }

/* Header banner: wide Dokuhe photo with the title on it, like a page header */
.rf-banner { position: relative; isolation: isolate; min-height: clamp(380px, 58vh, 540px); display: flex; align-items: flex-end; color: #FBF8F0; text-align: center; overflow: hidden; }
.rf-banner__bg { position: absolute; inset: 0; z-index: -2; }
.rf-banner__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; display: block; animation: rf-in 1.6s ease both; }
.rf-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(30, 26, 24, .05) 0%, rgba(30, 26, 24, .35) 40%, rgba(30, 26, 24, .82) 100%); }
.rf-banner__inner { padding-top: 120px; padding-bottom: 48px; max-width: 820px; }
.rf-banner .az-eyebrow { color: #F1D27A; justify-content: center; }
.rf-banner .az-eyebrow::before { background: #F1D27A; }
.rf-banner__title { font-size: clamp(38px, 6vw, 68px); font-weight: 900; margin: 4px 0 14px; color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.rf-banner__letter { max-width: 660px; margin: 0 auto 12px; font-size: 18px; line-height: 2.2; color: #F2EADB; }
.rf-banner .az-ornament { filter: brightness(0) invert(1); opacity: .7; }
@keyframes rf-in { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }

/* Archive tools */
.rf-archive { padding-top: 40px; padding-bottom: 40px; scroll-margin-top: 90px; }
.rf-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.rf-filter.az-filter { margin: 0; justify-content: flex-start; }
.rf-filter .az-ic { color: var(--az-brick); }
.rf-filter .is-active .az-ic { color: var(--az-cream); }
.rf-card__media { position: relative; }
.rf-card__kind { position: absolute; top: 12px; left: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(251, 248, 240, .92); color: var(--az-ink); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .5); }
.rf-card--video .rf-card__kind { top: 50%; left: 50%; width: 62px; height: 62px; transform: translate(-50%, -50%); background: rgba(161, 14, 16, .9); color: #fff; transition: transform .3s; }
.rf-card--video:hover .rf-card__kind { transform: translate(-50%, -50%) scale(1.08); }
.rf-search { display: flex; border: 1px solid var(--az-line); border-radius: 999px; background: var(--rf-paper); overflow: hidden; min-width: 0; flex: 0 1 320px; }
.rf-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 16px; font: 15px var(--az-font); color: var(--az-ink); }
.rf-search input:focus { outline: none; }
.rf-search:focus-within { border-color: var(--rf-olive); }
.rf-search button { border: 0; background: none; padding: 0 14px; color: var(--az-ink); cursor: pointer; }
.rf-result { color: var(--az-muted); font-size: 14px; margin: -10px 0 18px; }

/* Cards: pages of a memory notebook */
.rf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.rf-card { position: relative; background: var(--rf-paper); border: 1px solid var(--rf-rule); border-radius: 6px 18px 18px 6px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(30, 26, 24, .04); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.rf-card::before { content: ""; position: absolute; top: 0; bottom: 0; right: 18px; width: 1px; background: rgba(91, 107, 58, .35); z-index: 1; pointer-events: none; }
.js .rf-card { opacity: 0; transform: translateY(14px); }
.js .rf-card.is-in { opacity: 1; transform: none; }
.rf-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--rf-olive-soft); }
.rf-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.rf-card:hover .rf-card__media img { transform: scale(1.04); }
.rf-card__ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--rf-olive); }
.rf-card__body { padding: 18px 36px 22px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1;
	background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 31px, var(--rf-rule) 31px, var(--rf-rule) 32px); background-position: 0 6px; }
.rf-card__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--az-muted); margin: 0; }
.rf-card__title { font-size: 19px; line-height: 1.6; margin: 0; }
.rf-card__title a { color: var(--az-ink); text-decoration: none; background-image: linear-gradient(var(--rf-yellow), var(--rf-yellow)); background-size: 0 2px; background-repeat: no-repeat; background-position: 100% 100%; transition: background-size .45s ease; padding-bottom: 2px; }
.rf-card:hover .rf-card__title a, .rf-card__title a:focus-visible { background-size: 60% 2px; }
.rf-card__excerpt { font-size: 14px; line-height: 2; color: #5A4F46; margin: 0; }
.rf-card__more { margin-top: auto; align-self: flex-start; display: inline-flex; gap: 6px; align-items: center; color: var(--rf-olive); font-weight: 700; font-size: 14px; text-decoration: none; padding-top: 6px; }
.rf-card__more:hover { color: var(--az-ink); }
.rf-pager { margin-top: 36px; }
.rf-empty { text-align: center; padding: 56px 16px; color: var(--az-muted); border: 1px dashed var(--az-line); border-radius: 18px; background: var(--rf-paper); }
.rf-empty svg { color: var(--rf-earth); }
.rf-end { text-align: center; padding: 40px 24px 80px; }
.rf-end h2 { font-size: clamp(22px, 3vw, 30px); margin: 10px 0 10px; }
.rf-end p { color: var(--az-muted); max-width: 560px; margin: 0 auto 22px; line-height: 2.1; }

/* Article */
.rf-single { padding: 36px 0 24px; }
.rf-single__head { margin-bottom: 22px; }
.rf-single__title { font-size: clamp(28px, 4vw, 44px); font-weight: 900; line-height: 1.5; margin: 12px 0 0; text-wrap: balance; }
.rf-single__cover { margin: 0 0 30px; border-radius: 18px; overflow: hidden; border: 1px solid var(--az-line); }
.rf-single__cover img { display: block; width: 100%; height: auto; }
.rf-prose { font-size: 18px; line-height: 2.3; }
.rf-prose blockquote { border-right-color: var(--rf-olive); background: var(--rf-olive-soft); padding: 14px 20px; border-radius: 0 0 0 14px; color: #3E3530; }
.rf-prose audio { width: 100%; margin: 12px 0; }
.rf-prose video, .rf-prose iframe { width: 100%; max-width: 100%; border-radius: 14px; }
.rf-prose figure { margin: 24px 0; }
.rf-prose figcaption { font-size: 13px; color: var(--az-muted); text-align: center; }
.rf-sources { margin-top: 36px; padding: 20px 24px; border: 1px solid var(--rf-rule); border-radius: 14px; background: var(--rf-paper); }
.rf-sources h2 { font-size: 16px; margin: 0 0 8px; color: var(--rf-olive); }
.rf-sources ol { margin: 0; padding-right: 20px; font-size: 14px; line-height: 2; overflow-wrap: anywhere; }
.rf-back { margin-top: 28px; }
.rf-back .az-ic { transform: scaleX(-1); }
.rf-related { padding-top: 56px; }
.rf-related h2 { font-size: 24px; margin-bottom: 22px; }

/* Home section: set apart from the commercial parts */
.rf-home { --rf-olive: var(--az-brick); --rf-yellow: #C9534F; background: #F4E6E2; border-block: 1px solid #E8CFC8; padding: 72px 0; margin: 40px 0 64px; }
.rf-home__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.rf-home__photo { margin: 0; border-radius: 160px 160px 18px 18px; overflow: hidden; border: 6px solid var(--rf-paper); max-width: 520px; justify-self: center; width: 100%; }
.rf-home__photo img { display: block; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: center 62%; }
.rf-home__title { font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; margin: 0 0 6px; display: inline-block; background-image: linear-gradient(var(--rf-yellow), var(--rf-yellow)); background-size: 0 3px; background-repeat: no-repeat; background-position: 100% 100%; padding-bottom: 6px; transition: background-size 1.2s ease .3s; }
.rf-home__text.is-in .rf-home__title, html:not(.js) .rf-home__title { background-size: 70% 3px; }
.rf-home__lead { color: #4A4038; font-size: 17px; line-height: 2.1; margin: 8px 0 18px; }
.rf-home__list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.rf-home__list a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; background: var(--rf-paper); border: 1px solid #EBD6D0; text-decoration: none; color: var(--az-ink); transition: border-color .2s; }
.rf-home__list a:hover { border-color: var(--rf-olive); }
.rf-home__thumb { width: 54px; height: 54px; border-radius: 8px; overflow: hidden; background: #EBD9D4; flex: none; }
.rf-home__thumb img { width: 100%; height: 100%; object-fit: cover; }
.rf-home__ttl { display: flex; flex-direction: column; font-weight: 700; font-size: 15px; line-height: 1.7; min-width: 0; }
.rf-home__ttl small { font-weight: 400; color: var(--az-muted); font-size: 12px; }
.rf-home__empty { color: var(--az-muted); }

@media (max-width: 960px) {
	.rf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rf-home__inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
	.rf-banner { min-height: 440px; }
	.rf-banner__inner { padding-bottom: 30px; }
	.rf-banner__letter { font-size: 15.5px; line-height: 2.1; }
	.rf-grid { grid-template-columns: 1fr; }
	.rf-search { flex-basis: 100%; }
	.rf-filter.az-filter { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 6px; width: calc(100% + 32px); }
	.js .rf-card { transform: none; }
	.rf-home { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) {
	.rf-banner__bg img { animation: none; }
	.js .rf-card { opacity: 1; transform: none; }
}
.rf .az-eyebrow, .rf-home .az-eyebrow { color: var(--rf-olive); }
.rf .az-eyebrow::before, .rf-home .az-eyebrow::before { background: var(--rf-olive); }

/* =========================================================
   «اگر کاری از من بر زمین مانده…» — follow-up section (home)
   ========================================================= */
.az-amends { background: #EFE8DC; border-top: 1px solid var(--az-line); padding: 88px 0 96px; margin-top: 24px; }
.az-amends__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.az-amends__intro { position: sticky; top: 120px; }
.az-amends__title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 900; line-height: 1.55; margin: 6px 0 18px; }
.az-amends__intro p:not(.az-eyebrow) { color: #4A403A; font-size: 16.5px; line-height: 2.2; margin: 0 0 14px; }
.az-amends__line { display: block; margin-top: 18px; color: var(--az-brick); opacity: .75; }
.az-amends__card { background: var(--az-paper); border: 1px solid var(--az-line); border-radius: 28px; padding: 36px 34px 28px; position: relative; box-shadow: 0 30px 60px -48px rgba(30, 26, 24, .55); }
.az-amends__card::before { content: ""; position: absolute; inset: 9px; border: 1px dashed #E2D6C4; border-radius: 21px; pointer-events: none; }
.az-amends__card > * { position: relative; }
@media (max-width: 960px) {
	.az-amends__grid { grid-template-columns: 1fr; gap: 28px; }
	.az-amends__intro { position: static; }
}
@media (max-width: 600px) {
	.az-amends { padding: 56px 0 64px; }
	.az-amends__card { padding: 26px 18px 20px; border-radius: 22px; }
	.az-amends__card::before { inset: 6px; border-radius: 17px; }
}

/* =========================================================
   Azhary widgets inside Elementor
   ========================================================= */
/* Sections keep their full-width bands even inside a boxed Elementor container. */
[class*="elementor-widget-azhary-"] { width: 100%; }
[class*="elementor-widget-azhary-"] > :is(section, article, div):not(.elementor-widget-container),
[class*="elementor-widget-azhary-"] > .elementor-widget-container > :is(section, article, div) { margin-inline: calc(50% - 50vw); }
.elementor-editor-active [data-reveal], .elementor-editor-active .az-card, .elementor-editor-active .rf-card { opacity: 1 !important; transform: none !important; }
.az-ew-form { padding-block: 40px; }

.az-work__tags { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.az-work__tags a { display: inline-block; font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: rgba(142, 59, 46, .08); color: var(--az-brick); text-decoration: none; }
.az-work__tags a:hover { background: rgba(142, 59, 46, .16); }

/* ===== «طرح‌های آماده» shop band ===== */
.az-shop { position: relative; overflow: hidden; background: var(--az-ink); color: var(--az-cream); padding: 0 0 88px; isolation: isolate; }
.az-shop::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23E5D8C6' stroke-width='1'%3E%3Cpath d='M32 4l8 20 20 8-20 8-8 20-8-20-20-8 20-8z'/%3E%3Ccircle cx='32' cy='32' r='6'/%3E%3C/g%3E%3C/svg%3E"); }
.az-shop::after { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; top: -180px; left: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(161, 14, 16, .38), transparent 65%); }
.az-shop__ribbon { background: var(--az-brick); color: var(--az-paper); transform: rotate(-1.6deg); margin: 0 -40px 72px; padding: 12px 0; overflow: hidden; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); }
.az-shop__ribbon-track { display: flex; gap: 26px; font-family: var(--az-font, inherit); width: max-content; white-space: nowrap; font-weight: 800; font-size: 15px; animation: az-ribbon 38s linear infinite; }
.az-shop__ribbon-track i { font-style: normal; opacity: .6; }
@keyframes az-ribbon { from { transform: translateX(0); } to { transform: translateX(33.3333%); } }
.az-shop__head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.az-shop__head .az-section__title { color: var(--az-paper); }
.az-eyebrow--light { color: #E7A79F; }
.az-shop__lead { color: #BFB1A1; margin: 12px 0 0; line-height: 2; }
.az-shop__rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 24px; padding-top: 18px; }
.az-shop__card { position: relative; display: flex; flex-direction: column; background: var(--az-paper); color: var(--az-ink); border-radius: 18px; padding: 12px 12px 16px; transform: rotate(var(--tilt, 0deg)); transition: transform .45s var(--az-ease), box-shadow .45s var(--az-ease); box-shadow: 0 26px 40px -28px rgba(0, 0, 0, .9); }
.az-shop__card:hover { transform: rotate(0deg) translateY(-8px); box-shadow: 0 34px 50px -26px rgba(0, 0, 0, .95), 0 0 0 1px rgba(229, 216, 198, .25); }
.az-shop__card::before { content: ""; position: absolute; top: -14px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #F0C9A0, #8C5A2B); box-shadow: 0 3px 6px rgba(0, 0, 0, .5); }
.az-shop__frame { position: relative; display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #EFE7DA; }
.az-shop__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--az-ease); }
.az-shop__card:hover .az-shop__frame img { transform: scale(1.05); }
.az-shop__noimg { display: grid; place-items: center; height: 100%; color: var(--az-muted); }
.az-shop__badge { position: absolute; top: 10px; right: 10px; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(30, 26, 24, .78); color: var(--az-paper); backdrop-filter: blur(4px); }
.az-shop__tag { position: absolute; top: 34px; left: -10px; z-index: 2; transform: rotate(-8deg); transform-origin: right center; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .35)); transition: transform .45s var(--az-ease); }
.az-shop__card:hover .az-shop__tag { transform: rotate(-3deg); }
.az-shop__tag-in { display: block; background: var(--az-brick); color: #fff; font-weight: 800; font-size: 14px; line-height: 1.3; padding: 8px 14px 8px 26px; clip-path: polygon(0 50%, 14px 0, 100% 0, 100% 100%, 14px 100%); position: relative; }
.az-shop__tag-in::before { content: ""; position: absolute; left: 9px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--az-ink); }
.az-shop__tag del { opacity: .65; font-weight: 500; font-size: 12px; display: block; }
.az-shop__tag ins { text-decoration: none; }
.az-shop__tag .woocommerce-Price-currencySymbol { font-size: 11px; font-weight: 600; padding-inline-start: 4px; }
.az-shop__tag bdi { display: inline-flex; align-items: baseline; gap: 4px; unicode-bidi: isolate; }
.az-shop__body { padding: 14px 4px 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.az-shop__name { margin: 0; font-size: 16px; line-height: 1.7; }
.az-shop__name a { color: inherit; text-decoration: none; }
.az-shop__actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.az-shop__more { font-size: 13.5px; color: var(--az-muted); text-decoration: none; border-bottom: 1px dashed currentColor; }
.az-shop__more:hover { color: var(--az-brick); }
.az-shop__card--empty { grid-column: 1 / -1; transform: none; background: transparent; color: var(--az-cream); border: 2px dashed rgba(229, 216, 198, .35); text-decoration: none; padding: 34px; text-align: center; gap: 8px; }
.az-shop__card--empty::before { display: none; }
.az-shop__card--empty span { color: #BFB1A1; font-size: 14px; }
.az-shop__foot { margin-top: 56px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.az-shop__note { margin: 0; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.9; color: #BFB1A1; max-width: 640px; }
.az-shop__note .az-ic { flex: none; margin-top: 5px; color: #E7A79F; }
.az-shop__note strong { color: var(--az-paper); }
.az-shop__note a { color: #F1B9B0; }
@media (max-width: 1000px) { .az-shop__rail { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
	.az-shop { padding-bottom: 64px; }
	.az-shop__ribbon { margin-bottom: 52px; }
	.az-shop__rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; padding: 22px 16px 18px; margin: 0 -16px; scrollbar-width: none; }
	.az-shop__rail::-webkit-scrollbar { display: none; }
	.az-shop__card { flex: 0 0 72%; scroll-snap-align: center; }
	.az-shop__card--empty { flex-basis: 100%; }
	.az-shop__foot { flex-direction: column; align-items: stretch; text-align: right; }
}
@media (prefers-reduced-motion: reduce) { .az-shop__ribbon-track { animation: none; } .az-shop__card, .az-shop__card:hover { transform: none; } }
@media (min-width: 961px) { .az-nav__list .sub-menu a { white-space: nowrap; } }
/* WooCommerce block checkout parks a hidden input at left:-20000px; in RTL that adds a huge sideways scroll. */
.wc-block-components-address-form__address_2-hidden-input { left: 0 !important; right: auto !important; width: 1px !important; height: 1px !important; opacity: 0 !important; clip-path: inset(50%) !important; }

/* ===== «فروشگاه» page ===== */
.az-store { background: var(--az-ink); color: var(--az-cream); position: relative; isolation: isolate; overflow: hidden; }
.az-store::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23E5D8C6' stroke-width='1'%3E%3Cpath d='M32 4l8 20 20 8-20 8-8 20-8-20-20-8 20-8z'/%3E%3Ccircle cx='32' cy='32' r='6'/%3E%3C/g%3E%3C/svg%3E"); }
.az-store__hero { position: relative; padding: 72px 0 40px; text-align: center; }
.az-store__hero::after { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; top: -320px; left: 50%; margin-left: -350px; border-radius: 50%; background: radial-gradient(circle, rgba(161, 14, 16, .32), transparent 65%); }
.az-store__title { margin: 0; font-size: clamp(30px, 5vw, 52px); line-height: 1.3; color: var(--az-paper); text-wrap: balance; }
.az-store__lead { max-width: 620px; margin: 14px auto 0; color: #BFB1A1; line-height: 2; }
.az-store__nav { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.az-store__nav a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(229, 216, 198, .22); color: var(--az-cream); text-decoration: none; font-weight: 600; font-size: 14.5px; transition: background .25s, border-color .25s, color .25s; }
.az-store__nav a span { font-size: 12px; opacity: .65; font-weight: 500; }
.az-store__nav a:hover { border-color: rgba(229, 216, 198, .5); }
.az-store__nav a.is-active { background: var(--az-brick); border-color: var(--az-brick); color: #fff; }
.az-store__sec { padding: 46px 0 34px; scroll-margin-top: 90px; }
.az-store__sec + .az-store__sec { border-top: 1px solid rgba(229, 216, 198, .1); }
.az-store__sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.az-store__sechead h2 { margin: 0; font-size: clamp(22px, 3vw, 30px); color: var(--az-paper); display: flex; align-items: center; gap: 12px; }
.az-store__sechead h2::before { content: ""; width: 10px; height: 10px; transform: rotate(45deg); background: var(--az-brick); flex: none; }
.az-store__sechead p { margin: 8px 0 0; color: #BFB1A1; font-size: 14.5px; }
.az-store__all { color: #F1B9B0; text-decoration: none; border-bottom: 1px dashed currentColor; font-size: 14px; white-space: nowrap; }
.az-store__grid { padding-top: 18px; }
.az-store__soon { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 34px 20px; border: 2px dashed rgba(229, 216, 198, .22); border-radius: 18px; text-align: center; }
.az-store__soon strong { color: var(--az-paper); font-size: 17px; }
.az-store__soon span { color: #BFB1A1; font-size: 14px; }
.az-store__soon a { margin-top: 6px; color: #F1B9B0; font-size: 13px; }
.az-store__pages { display: flex; justify-content: center; gap: 8px; margin-top: 34px; }
.az-store__pages a { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(229, 216, 198, .22); color: var(--az-cream); text-decoration: none; }
.az-store__pages a.is-active { background: var(--az-paper); color: var(--az-ink); }
.az-store__foot { padding: 30px 0 80px; }
@media (max-width: 760px) {
	.az-store__hero { padding: 48px 0 26px; }
	.az-store__nav { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; }
	.az-store__nav a { flex: none; }
	.az-store__grid { padding: 22px 16px 18px; }
}
/* Menu with «فروشگاه»: keep every item on one line. */
@media (min-width: 961px) {
	.az-nav__list > li > a { white-space: nowrap; }
}
@media (min-width: 961px) {
	.az-nav__list > li > a { padding: 10px 10px; font-size: 14.5px; }
	.az-nav__list > li > a::after { right: 10px; left: 10px; }
	.az-header__inner { gap: 18px; }
}
@media (min-width: 961px) and (max-width: 1180px) {
	.az-nav__list > li > a { padding: 10px 7px; font-size: 13.5px; }
	.az-nav__list > li > a::after { right: 7px; left: 7px; }
	.az-brand__text small { display: none; }
}
@media (min-width: 961px) and (max-width: 1100px) {
	.az-header__link span, .az-header__link .az-header__label { display: none; }
	.az-header__cta { padding-inline: 14px; font-size: 13.5px; }
	.az-header__inner { gap: 12px; }
	.az-brand img { width: 46px; height: 46px; }
}

/* Article table of contents */
.az-toc { margin: 28px 0 34px; border: 1px solid var(--az-line); border-radius: 16px; background: var(--az-paper); padding: 6px 20px; }
.az-toc summary { cursor: pointer; font-weight: 800; padding: 12px 0; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.az-toc summary::-webkit-details-marker { display: none; }
.az-toc summary::after { content: "−"; font-size: 20px; color: var(--az-brick); }
.az-toc details:not([open]) summary::after { content: "+"; }
.az-toc ul { margin: 0 0 14px; padding-inline-start: 20px; display: grid; gap: 6px; list-style: none; }
.az-toc li { position: relative; }
.az-toc li::before { content: ""; position: absolute; right: -16px; top: .85em; width: 6px; height: 6px; transform: rotate(45deg); background: var(--az-brick); }
.az-toc a { color: var(--az-ink); text-decoration: none; font-size: 14.5px; line-height: 1.8; }
.az-toc a:hover { color: var(--az-brick); }
.az-prose h2[id], .entry-content h2[id] { scroll-margin-top: 96px; }
.az-prose figure.wp-block-table, .az-prose .wp-block-table { overflow-x: auto; margin: 22px 0; }
.az-prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.az-prose th, .az-prose td { border: 1px solid var(--az-line); padding: 10px 12px; text-align: right; vertical-align: top; }
.az-prose th { background: rgba(142, 59, 46, .07); font-weight: 700; }
.az-prose figure.wp-block-image { margin: 26px 0; }
.az-prose figure.wp-block-image img { border-radius: 16px; width: 100%; height: auto; }

/* real portfolio examples inside articles */
.az-work-fig{max-width:520px;margin:28px auto !important;text-align:center}
.az-work-fig > a{display:block;border-radius:18px;overflow:hidden;box-shadow:0 10px 30px rgba(30,26,24,.10);transition:transform .25s}
.az-work-fig > a:hover{transform:translateY(-3px)}
.az-work-fig img{width:100%;height:auto;display:block;border-radius:0 !important}
.az-work-fig figcaption{font-size:.92em;margin-top:10px}
.az-work-fig figcaption a{display:inline;box-shadow:none;background:none;padding:0}

/* ---------- Process — motion stages ---------- */
.az-steps--fx { gap: 30px; }
.az-steps--fx .az-step { padding: 12px 12px 34px; overflow: visible; }
.az-steps--fx .az-step:not(:last-child)::after { top: 140px; left: -31px; width: 32px; height: 2px; background: repeating-linear-gradient(90deg, var(--az-brick) 0 6px, transparent 6px 12px); background-size: 24px 2px; opacity: .55; animation: azDash 1.2s linear infinite; animation-play-state: paused; }
.az-steps--fx.is-in .az-step::after { animation-play-state: running; }
@keyframes azDash { to { background-position: -24px 0; } }
.az-stage { position: relative; height: 250px; border-radius: 130px 130px 18px 18px; overflow: hidden; background: #1e1a18; isolation: isolate; }
.az-stage__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: azKen 14s ease-in-out infinite alternate; }
.az-stage *, .az-stage *::before, .az-stage *::after { animation-play-state: paused; }
.az-steps--fx.is-in .az-stage *, .az-steps--fx.is-in .az-stage *::before, .az-steps--fx.is-in .az-stage *::after { animation-play-state: running; }
@keyframes azKen { to { transform: scale(1.16) translate(-3%, 2%); } }
.az-steps--fx .az-step__num { position: relative; margin: -29px auto 18px; background: var(--az-paper); z-index: 2; }
.az-steps--fx .az-step__num::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px dashed var(--az-brick); opacity: .6; animation: azSpin 9s linear infinite; }
.az-steps--fx .az-step__num::before { animation-play-state: paused; }
.az-steps--fx.is-in .az-step__num::before { animation-play-state: running; }
@keyframes azSpin { to { transform: rotate(360deg); } }
.az-steps--fx .az-step h3, .az-steps--fx .az-step p { padding: 0 18px; }

/* stage 1: chat over photo */
.az-stage--talk::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,26,24,.15), rgba(30,26,24,.72)); z-index: 0; }
.az-chat { position: absolute; inset: auto 16px 18px; z-index: 1; display: flex; flex-direction: column; gap: 7px; }
.az-bub { display: inline-flex; align-items: center; gap: 7px; max-width: 86%; padding: 7px 12px; border-radius: 16px; font-size: 12.5px; line-height: 1.6; opacity: 0; transform: translateY(10px) scale(.92); animation: azBub 8s var(--az-ease) infinite; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.az-bub img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex: none; }
.az-bub--q { align-self: flex-start; background: #fbf7f1; color: #1e1a18; border-bottom-right-radius: 4px; padding-inline-start: 5px; }
.az-bub--a { align-self: flex-end; background: var(--az-brick, #8e3b2e); color: #fff; border-bottom-left-radius: 4px; }
.az-chat .az-bub:nth-child(2) { animation-delay: .9s; }
.az-chat .az-bub:nth-child(3) { animation-delay: 1.8s; }
.az-chat .az-bub:nth-child(4) { animation-delay: 2.7s; }
@keyframes azBub { 0% { opacity: 0; transform: translateY(10px) scale(.92); } 8%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-6px); } }
.az-bub--typing { gap: 4px; padding: 10px 14px; }
.az-bub--typing i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: azDot 1s infinite; }
.az-bub--typing i:nth-child(2) { animation-delay: .15s; }
.az-bub--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes azDot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

/* stage 2: sketch → final */
.az-stage--design { background: #fff; }
.az-paper { position: absolute; inset: 0; background-color: #fff; background-image: linear-gradient(rgba(142,59,46,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(142,59,46,.07) 1px, transparent 1px); background-size: 18px 18px; }
.az-guides { position: absolute; inset: 14% 18%; width: 64%; height: 72%; fill: none; stroke: rgba(142,59,46,.22); stroke-width: .6; stroke-dasharray: 3 3; animation: azGuide 7s ease-in-out infinite; }
@keyframes azGuide { 0%, 55% { opacity: 1; } 70%, 92% { opacity: 0; } 100% { opacity: 1; } }
.az-sk, .az-fin { position: absolute; inset: 52px 0 26px; margin: auto; height: calc(100% - 78px); width: auto; max-width: 92%; object-fit: contain; }
.az-sk { filter: contrast(1.6); animation: azSk 7s ease-in-out infinite; }
.az-fin { clip-path: inset(0 0 100% 0); animation: azFin 7s cubic-bezier(.6,.05,.3,1) infinite; }
.az-paper.is-custom .az-sk { filter: grayscale(1) contrast(1.8) brightness(1.25); opacity: .55; }
@keyframes azSk { 0% { opacity: 0; transform: scale(.97); } 10% { opacity: 1; transform: none; } 70% { opacity: 1; } 80%, 100% { opacity: 0; } }
@keyframes azFin { 0%, 22% { clip-path: inset(0 0 100% 0); opacity: 1; } 62%, 90% { clip-path: inset(0 0 0 0); opacity: 1; } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
.az-scan { position: absolute; left: 6%; right: 6%; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--az-brick, #8e3b2e), transparent); opacity: 0; animation: azScan 7s cubic-bezier(.6,.05,.3,1) infinite; z-index: 2; }
@keyframes azScan { 0%, 22% { top: 50px; opacity: 0; } 25% { opacity: 1; } 62% { top: calc(100% - 26px); opacity: 1; } 66%, 100% { top: calc(100% - 26px); opacity: 0; } }
.az-pencil { position: absolute; width: 34px; height: 34px; top: -32px; left: 10%; filter: drop-shadow(0 4px 6px rgba(0,0,0,.25)); animation: azPen 1.1s ease-in-out infinite alternate; }
@keyframes azPen { to { left: 78%; transform: rotate(-8deg); } }
.az-tag { position: absolute; top: 22px; right: 50%; transform: translateX(50%); font-size: 11.5px; font-weight: 700; padding: 4px 12px; border-radius: 99px; white-space: nowrap; z-index: 3; }
.az-tag--sk { background: #2a2522; color: #f4f0e8; animation: azTagA 7s infinite; }
.az-tag--vec { background: var(--az-brick, #8e3b2e); color: #fff; opacity: 0; animation: azTagB 7s infinite; }
@keyframes azTagA { 0%, 50% { opacity: 1; } 58%, 100% { opacity: 0; } }
@keyframes azTagB { 0%, 58% { opacity: 0; } 64%, 92% { opacity: 1; } 100% { opacity: 0; } }

/* stage 3: delivery */
.az-stage--deliver::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,26,24,0) 40%, rgba(30,26,24,.65)); z-index: 0; }
.az-files { position: absolute; top: 58px; right: 14px; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.az-files span { display: block; width: 46px; padding: 8px 0 6px; text-align: center; font: 800 11px/1 system-ui, sans-serif; letter-spacing: .04em; color: #1e1a18; background: #fbf7f1; border-radius: 6px 12px 6px 6px; box-shadow: 0 6px 14px rgba(0,0,0,.2); border-top: 3px solid var(--c, #8e3b2e); opacity: 0; transform: translateX(30px) rotate(6deg); animation: azFile 6s var(--az-ease) infinite; }
.az-files span:nth-child(1) { --c: #e8a33a; }
.az-files span:nth-child(2) { --c: #2f5d50; animation-delay: .35s; }
.az-files span:nth-child(3) { --c: #8e3b2e; animation-delay: .7s; }
.az-files span:nth-child(4) { --c: #3c6bb0; animation-delay: 1.05s; }
@keyframes azFile { 0% { opacity: 0; transform: translateX(30px) rotate(6deg); } 10%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: translateY(8px); } }
.az-dl { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: flex; align-items: center; gap: 10px; }
.az-dl__bar { flex: 1; height: 6px; border-radius: 6px; background: rgba(255,255,255,.25); overflow: hidden; }
.az-dl__bar b { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #e8b04a, #fff3d6); animation: azBar 6s ease-in-out infinite; }
@keyframes azBar { 0%, 20% { width: 0; } 60%, 92% { width: 100%; } 100% { width: 100%; opacity: 0; } }
.az-dl__ok { font-size: 12px; font-weight: 700; color: #fff; background: #2f5d50; padding: 4px 10px; border-radius: 99px; opacity: 0; transform: scale(.6); animation: azOk 6s var(--az-ease) infinite; white-space: nowrap; }
@keyframes azOk { 0%, 60% { opacity: 0; transform: scale(.6); } 66%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

@media (max-width: 960px) {
	.az-stage { height: 230px; }
}
@media (prefers-reduced-motion: reduce) {
	.az-stage *, .az-stage *::before, .az-stage *::after, .az-steps--fx .az-step__num::before, .az-steps--fx .az-step::after { animation: none !important; }
	.az-bub, .az-files span, .az-dl__ok, .az-tag--vec { opacity: 1; transform: none; }
	.az-fin { clip-path: none; }
	.az-sk, .az-tag--sk, .az-scan, .az-guides { opacity: 0; }
	.az-dl__bar b { width: 100%; }
}
.elementor-editor-active .az-steps--fx .az-stage *, .elementor-editor-active .az-steps--fx .az-stage *::before, .elementor-editor-active .az-steps--fx .az-stage *::after { animation-play-state: running !important; }

/* ---------- Rofagha (home) — khaki keffiyeh, motion ---------- */
.rf-home--fx { position: relative; overflow: hidden; isolation: isolate; --rf-yellow: #E8B83A; --rf-olive: #5B4A26; background: #C7B58A; border-block: 0; padding: 104px 0; color: #2A2216; }
.rf-home--fx > .az-container { position: relative; z-index: 3; }
.rf-fx__net { position: absolute; inset: 0; z-index: 0; background: #C7B58A url(../img/chafiyeh-khaki.webp) 0 0 / 302px 302px repeat; animation: rfNet 60s linear infinite; }
@keyframes rfNet { to { background-position: 302px 302px; } }
.rf-home--fx::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at 72% 50%, rgba(236,224,190,.82) 0, rgba(214,198,158,.45) 40%, rgba(62,50,30,.38) 100%); }
.rf-fx__band { position: absolute; left: 0; right: 0; height: 34px; z-index: 2;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='34'%3E%3Cellipse cx='13' cy='17' rx='8' ry='4.5' fill='%234E4128' fill-opacity='.8'/%3E%3C/svg%3E") 0 0/26px 34px repeat-x,
		linear-gradient(#4E4128 0 3px, transparent 3px 7px, #4E4128 7px 9px, transparent 9px 25px, #4E4128 25px 27px, transparent 27px 31px, #4E4128 31px 34px);
	opacity: .55; animation: rfBand 22s linear infinite; }
.rf-fx__band--top { top: 26px; }
.rf-fx__band--bot { bottom: 26px; animation-direction: reverse; }
@keyframes rfBand { to { background-position: 260px 0, 0 0; } }
.rf-fx__light { position: absolute; inset: 0; z-index: 1; background: linear-gradient(105deg, transparent 35%, rgba(255,248,225,.35) 50%, transparent 65%); background-size: 250% 100%; animation: rfLight 9s ease-in-out infinite; mix-blend-mode: soft-light; }
@keyframes rfLight { 0% { background-position: 120% 0; } 60%, 100% { background-position: -40% 0; } }
.rf-fx__petals { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.rf-fx__petals i { position: absolute; top: -20px; left: var(--x); width: var(--s); height: calc(var(--s) * .62); border-radius: 60% 40% 60% 40%; background: #E8B83A; opacity: .85; box-shadow: 0 0 6px rgba(232,184,58,.5); animation: rfPetal var(--t) linear infinite; animation-delay: var(--dl); }
.rf-fx__petals i:nth-child(3n) { background: #F1D27A; }
.rf-fx__petals i:nth-child(4n) { background: #B23A2E; opacity: .7; }
@keyframes rfPetal { 0% { transform: translate(0, -20px) rotate(0); } 50% { transform: translate(40px, 50vh) rotate(200deg); } 100% { transform: translate(-30px, 110vh) rotate(420deg); } }
.rf-home--fx *, .rf-home--fx::before, .rf-home--fx .rf-fx__net, .rf-home--fx .rf-fx__band { animation-play-state: paused; }
.rf-home--fx.is-in *, .rf-home--fx.is-in .rf-fx__net, .rf-home--fx.is-in .rf-fx__band { animation-play-state: running; }
.rf-home--fx .rf-home__photo { position: relative; border: 8px solid #F4ECD6; box-shadow: 0 30px 60px rgba(42,34,22,.35), 0 0 0 1px rgba(78,65,40,.3); }
.rf-home--fx .rf-home__photo img { animation: rfKen 18s ease-in-out infinite alternate; transform-origin: 60% 70%; }
@keyframes rfKen { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-2%, -1%); } }
.rf-home__grain { position: absolute; inset: 0; pointer-events: none; opacity: .22; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E"); animation: rfGrain .8s steps(4) infinite; }
@keyframes rfGrain { 0% { transform: translate(0,0); } 25% { transform: translate(-6px,4px); } 50% { transform: translate(5px,-3px); } 75% { transform: translate(-3px,-6px); } }
.rf-home__ribbon { position: absolute; bottom: 22px; right: -6px; background: #2A2216; color: #F1D27A; font-weight: 800; font-size: 14px; padding: 8px 18px 8px 22px; border-radius: 4px 0 0 4px; box-shadow: 0 8px 18px rgba(0,0,0,.3); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 10px 50%); }
.rf-home--fx .rf-home__text { display: flex; flex-direction: column; align-items: flex-start; }
.rf-home--fx .rf-home__text .az-eyebrow { color: #6B2A1E; }
.rf-home--fx .rf-home__text .az-eyebrow::before { background: #6B2A1E; }
.rf-home--fx .rf-home__title { color: #2A2216; background-image: linear-gradient(#B23A2E, #B23A2E); font-size: clamp(30px, 4vw, 48px); }
.rf-home--fx .rf-home__lead { color: #3A2F1E; }
.rf-home--fx .rf-home__empty { color: #4E4128; }
.rf-home--fx .rf-home__list a { background: rgba(251,246,232,.9); border-color: rgba(78,65,40,.25); backdrop-filter: blur(4px); }
.rf-home--fx .az-btn--ghost { background: #2A2216; color: #F4ECD6; border-color: #2A2216; position: relative; overflow: hidden; }
.rf-home--fx .az-btn--ghost::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(241,210,122,.45) 50%, transparent 70%); transform: translateX(-120%); animation: azShine 3.6s ease-in-out infinite; }
@keyframes azShine { 0%, 55% { transform: translateX(120%); } 100% { transform: translateX(-120%); } }

/* ---------- CTA — motion ---------- */
.az-cta--fx .az-cta__box { isolation: isolate; padding: 110px 32px 84px; background: radial-gradient(ellipse at 50% 0%, #3a2f2a 0, #1E1A18 60%); }
.az-cta--fx .az-cta__box::before { z-index: 4; }
.az-cta__glow { position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 2px; pointer-events: none;
	background: conic-gradient(from var(--a, 0deg), transparent 0 70%, #E8B04A 80%, #B84A3A 88%, transparent 96%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: azGlow 6s linear infinite; }
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes azGlow { to { --a: 360deg; } }
.az-cta__marq { position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; justify-content: center; gap: 26px; opacity: .38; -webkit-mask: radial-gradient(ellipse at 50% 52%, transparent 24%, #000 66%); mask: radial-gradient(ellipse at 50% 52%, transparent 24%, #000 66%); }
.az-cta__row { overflow: hidden; }
.az-cta__track { display: flex; gap: 26px; width: max-content; animation: azMarq 46s linear infinite; }
.az-cta__row--1 .az-cta__track { animation-direction: reverse; animation-duration: 54s; }
.az-cta__track img { width: 120px; height: 120px; object-fit: contain; border-radius: 16px; filter: saturate(.8) brightness(.85); box-shadow: 0 10px 24px rgba(0,0,0,.5); transform: rotate(-3deg); }
.az-cta__track img:nth-child(even) { transform: rotate(3deg) translateY(10px); }
@keyframes azMarq { to { transform: translateX(50%); } }
.az-cta__rose { position: absolute; z-index: 1; left: 50%; top: 52%; width: 520px; height: 520px; transform: translate(-50%, -50%); fill: none; stroke: rgba(232,176,74,.16); stroke-width: .6; }
.az-cta__rose-a { animation: azSpin 60s linear infinite; transform-origin: 0 0; }
.az-cta__rose-b { animation: azSpin 90s linear infinite reverse; transform-origin: 0 0; stroke-dasharray: 2 3; }
.az-cta__dots { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.az-cta__dots i { position: absolute; bottom: -10px; left: var(--x); width: 3px; height: 3px; border-radius: 50%; background: #F1D27A; box-shadow: 0 0 8px #E8B04A; opacity: 0; animation: azRise var(--t) ease-in infinite; animation-delay: var(--dl); }
@keyframes azRise { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-420px); opacity: 0; } }
.az-cta__in { position: relative; z-index: 5; }
.az-cta--fx h2 span { display: inline-block; opacity: 0; transform: translateY(26px) rotate(3deg); filter: blur(6px); transition: opacity .7s var(--az-ease), transform .7s var(--az-ease), filter .7s; transition-delay: calc(.25s + var(--i) * .12s); }
.az-cta--fx .is-in h2 span, html:not(.js) .az-cta--fx h2 span { opacity: 1; transform: none; filter: none; }
.az-cta--fx h2 span:last-child { color: #F1D27A; }
.az-cta__btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 0 0 0 rgba(241,210,122,.5); animation: azPulse 2.6s ease-out infinite; }
.az-cta__btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(232,176,74,.5) 50%, transparent 70%); animation: azShine 3.2s ease-in-out infinite; }
.az-cta__btn svg { transition: transform .3s; }
.az-cta__btn:hover svg { transform: translateX(-5px); }
@keyframes azPulse { 0% { box-shadow: 0 0 0 0 rgba(241,210,122,.45); } 70%, 100% { box-shadow: 0 0 0 18px rgba(241,210,122,0); } }
.az-cta--fx .az-cta__box *, .az-cta--fx .az-cta__glow { animation-play-state: paused; }
.az-cta--fx .az-cta__box.is-in *, .az-cta--fx .az-cta__box.is-in .az-cta__glow { animation-play-state: running; }
@media (max-width: 960px) {
	.rf-home--fx { padding: 84px 0; }
	.az-cta__rose { width: 380px; height: 380px; }
	.az-cta__track img { width: 84px; height: 84px; }
}
@media (prefers-reduced-motion: reduce) {
	.rf-home--fx *, .rf-fx__net, .rf-fx__band, .az-cta--fx * { animation: none !important; }
	.rf-fx__petals, .az-cta__dots { display: none; }
}
.elementor-editor-active .rf-home--fx *, .elementor-editor-active .az-cta--fx * { animation-play-state: running !important; }
.elementor-editor-active .az-cta--fx h2 span { opacity: 1; transform: none; filter: none; }

/* 4-step layout */
.az-steps--fx.az-steps--n4 { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.az-steps--n4 .az-stage { height: 230px; border-radius: 110px 110px 16px 16px; }
.az-steps--fx.az-steps--n4 .az-step:not(:last-child)::after { left: -23px; width: 24px; top: 130px; }
.az-steps--n4 .az-step h3 { font-size: 1.12rem; }
.az-steps--n4 .az-step p { font-size: .92rem; padding: 0 12px; }
.az-steps--n4 .az-chat { inset: auto 10px 14px; }
.az-steps--n4 .az-bub { font-size: 11.5px; }
@media (max-width: 1200px) { .az-steps--fx.az-steps--n4 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; row-gap: 34px; } .az-steps--fx.az-steps--n4 .az-step::after { display: none; } }
@media (max-width: 700px) { .az-steps--fx.az-steps--n4 { grid-template-columns: 1fr; max-width: 420px; } }

/* stage: secure payment */
.az-stage--pay { background: radial-gradient(circle at 50% 30%, #3a2f2a 0, #1E1A18 70%); }
.az-stage--pay::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: radial-gradient(#E8B04A 1px, transparent 1.4px); background-size: 16px 16px; animation: azPayBg 12s linear infinite; }
@keyframes azPayBg { to { background-position: 160px 80px; } }
.az-pay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-top: 34px; }
.az-pay__card { position: relative; width: 84%; background: #fbf7f1; color: #1E1A18; border-radius: 16px; padding: 14px 14px 12px; box-shadow: 0 18px 40px rgba(0,0,0,.45); transform: translateY(18px) rotate(-2deg); opacity: 0; animation: azPayCard 7s var(--az-ease) infinite; }
@keyframes azPayCard { 0% { opacity: 0; transform: translateY(24px) rotate(-3deg); } 10%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-10px); } }
.az-pay__row { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; gap: 8px; white-space: nowrap; }
.az-pay__row span { opacity: .6; }
.az-pay__row b { font-weight: 800; }
.az-pay__line { height: 1px; margin: 9px 0; background: repeating-linear-gradient(90deg, rgba(30,26,24,.25) 0 5px, transparent 5px 9px); }
.az-pay__sum b { color: #8E3B2E; font-size: 13px; }
.az-pay__btn { position: relative; margin-top: 11px; height: 34px; border-radius: 10px; background: #1E1A18; color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 6px; overflow: hidden; animation: azPayBtn 7s infinite; }
@keyframes azPayBtn { 0%, 44% { background: #1E1A18; transform: scale(1); } 47% { transform: scale(.94); } 50%, 100% { background: #2f5d50; transform: scale(1); } }
.az-pay__btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(232,176,74,.55), transparent); transform: translateX(110%); animation: azPayLoad 7s infinite; }
@keyframes azPayLoad { 0%, 47% { transform: translateX(110%); } 58% { transform: translateX(-110%); } 100% { transform: translateX(-110%); } }
.az-pay__lock { font-size: 12px; }
.az-pay__go { animation: azPayGo 7s infinite; }
.az-pay__ok { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; animation: azPayOk 7s infinite; }
@keyframes azPayGo { 0%, 56% { opacity: 1; } 60%, 100% { opacity: 0; } }
@keyframes azPayOk { 0%, 58% { opacity: 0; transform: scale(.7); } 63%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.az-pay__btn .az-pay__lock { animation: azPayGo 7s infinite; }
.az-pay__chip { position: absolute; top: 18px; z-index: 2; right: 50%; transform: translateX(50%); background: #F1C40F; color: #1E1A18; font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: 99px; box-shadow: 0 6px 14px rgba(0,0,0,.3); }
.az-pay__cursor { position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; background: rgba(255,255,255,.25); left: 70%; top: 85%; opacity: 0; animation: azPayCur 7s var(--az-ease) infinite; }
@keyframes azPayCur { 0%, 22% { opacity: 0; left: 75%; top: 95%; } 30% { opacity: 1; } 44% { left: 48%; top: 77%; opacity: 1; transform: scale(1); } 47% { transform: scale(.7); } 52% { transform: scale(1); opacity: 1; } 60%, 100% { opacity: 0; left: 48%; top: 77%; } }
@media (prefers-reduced-motion: reduce) { .az-pay__card { opacity: 1; transform: none; } .az-pay__go, .az-pay__btn .az-pay__lock { opacity: 0; } .az-pay__ok { opacity: 1; } .az-pay__btn { background: #2f5d50; } }

/* ---------- Mobile polish ---------- */
@media (max-width: 960px) {
	/* backdrop-filter makes the header a containing block, which trapped the fixed menu drawer inside it */
	.az-header, .az-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(244, 240, 232, .98); }
	.az-nav { height: 100vh; height: 100dvh; }
}
@media (max-width: 600px) {
	body { font-size: 15px; line-height: 1.9; }
	.az-container { padding-inline: 18px; }
	.az-header__inner { height: 64px; }
	.az-brand img { width: 42px; height: 42px; }
	.az-burger { width: 40px; height: 40px; }
	.az-hero { padding: 18px 0 44px; }
	.az-hero__grid { gap: 26px; }
	.az-hero__visual { max-width: 270px; margin: 0 auto; }
	.az-hero__visual { max-width: 240px; }
	.az-hero__visual img { max-height: none; }
	.az-hero__title { font-size: 40px; }
	.az-hero__sub { font-size: 19px; }
	.az-hero__desc { font-size: 15px; line-height: 2; }
	.az-hero__facts { margin-top: 28px; }
	.az-section { padding: 48px 0; }
	.az-section__title { font-size: 25px; }
	.az-section__head { margin-bottom: 26px; }
	.az-btn--lg { padding: 13px 22px; font-size: 15px; }
	.az-steps--n4 .az-stage { height: 200px; }
	.rf-home--fx { padding: 70px 0; }
	.rf-home--fx .rf-home__title { font-size: 28px; }
	.az-cta--fx .az-cta__box { padding: 80px 18px 60px; }
	.az-cta--fx h2 { font-size: 26px; }
	.az-amends__title { font-size: 24px; }
	.az-store__title { font-size: 28px; }
}
.az-sub-toggle { display: none; }
@media (max-width: 960px) {
	.az-nav__list .menu-item-has-children { position: relative; }
	.az-sub-toggle { display: grid; place-items: center; position: absolute; left: 0; top: 8px; width: 38px; height: 38px; border: 1px solid var(--az-line); border-radius: 10px; background: transparent; color: var(--az-ink); cursor: pointer; transition: transform .25s; }
	.is-sub-open > .az-sub-toggle { transform: rotate(180deg); }
	.az-nav__list .sub-menu { display: none; }
	.az-nav__list .is-sub-open > .sub-menu { display: block; }
	.az-nav__list .sub-menu a { font-size: 15px; padding: 11px 4px; }
}
body.az-nav-open .az-header { z-index: 400; }

/* ---------- Hero — motion ---------- */
@keyframes azHeroUp { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.az-hero--fx .az-hx, .az-hero--fx .az-hw { display: inline-block; opacity: 0; animation: azHeroUp .9s cubic-bezier(.2,.8,.2,1) var(--hd, 0s) both; }
.az-hero--fx p.az-hx, .az-hero--fx div.az-hx { display: block; }
.az-hero--fx .az-hero__actions.az-hx { display: flex; }
.az-hero--fx .az-hero__facts li.az-hx { display: list-item; list-style: none; }
.az-hero--fx .az-eyebrow.az-hx { display: inline-flex; }
.az-hero--fx .az-hw:last-child { color: var(--az-brick); }
.az-hero--fx .az-hero__sub span { position: relative; display: inline-block; }
.az-hero--fx .az-hero__sub span::after { content: ""; position: absolute; right: 0; left: 0; bottom: -4px; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M3 8 C 60 2, 120 11, 180 6 S 270 3, 297 7' fill='none' stroke='%23E8B04A' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; transform: scaleX(0); transform-origin: right; animation: azBrush 1s cubic-bezier(.6,.05,.3,1) 1.1s both; opacity: .85; }
@keyframes azBrush { to { transform: scaleX(1); } }
.az-hero__orbit { position: absolute; width: 900px; height: 900px; left: -380px; top: -260px; border-radius: 50%; border: 1px dashed rgba(142,59,46,.22); animation: azSpin 80s linear infinite; pointer-events: none; }
.az-hero__orbit::after { content: ""; position: absolute; top: 50%; left: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--az-brick); box-shadow: 0 0 14px rgba(142,59,46,.6); }
.az-hero--fx::before { animation: azBreath 7s ease-in-out infinite; }
@keyframes azBreath { 50% { transform: scale(1.06); } }
.az-hero--fx .az-arch__frame { animation: azArchIn 1.4s cubic-bezier(.6,.05,.3,1) .2s both; }
@keyframes azArchIn { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
.az-hero--fx .az-arch__img, .az-hero--fx .az-arch__frame img { animation: azHeroKen 16s ease-in-out 1.4s infinite alternate; transform-origin: 55% 60%; }
@keyframes azHeroKen { from { transform: scale(1); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
.az-arch__shine { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(115deg, transparent 38%, rgba(255,246,220,.45) 50%, transparent 62%); background-size: 250% 100%; animation: azArchShine 6s ease-in-out 2s infinite; mix-blend-mode: soft-light; }
@keyframes azArchShine { 0% { background-position: 130% 0; } 45%, 100% { background-position: -50% 0; } }
.az-arch__glow { position: absolute; inset: 10% -6% -4%; z-index: -2; border-radius: 50%; background: radial-gradient(circle, rgba(232,176,74,.28), transparent 65%); filter: blur(10px); animation: azGlowP 5s ease-in-out infinite; }
@keyframes azGlowP { 50% { opacity: .55; transform: scale(.94); } }
.az-hero--fx .az-arch__seal { animation: azSealIn .9s cubic-bezier(.2,.8,.2,1) 1.2s both, az-spin 60s linear 2.1s infinite; }
@keyframes azSealIn { from { opacity: 0; transform: scale(.3) rotate(-120deg); } to { opacity: 1; transform: none; } }
.az-float { position: absolute; z-index: 3; width: 92px; height: 92px; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 18px 36px rgba(30,26,24,.22), 0 0 0 4px var(--az-paper); opacity: 0; animation: azFloatIn .8s cubic-bezier(.2,.8,.2,1) var(--fd) both, azBob 5s ease-in-out calc(var(--fd) + .8s) infinite; }
.az-float img { width: 100%; height: 100%; object-fit: cover; display: block; }
.az-float--0 { --fd: 1.5s; --r: -8deg; top: 14%; left: -46px; }
.az-float--1 { --fd: 1.75s; --r: 7deg; top: 46%; left: -64px; width: 80px; height: 80px; animation-duration: .8s, 6s; }
.az-float--2 { --fd: 2s; --r: -5deg; top: 8%; right: -30px; width: 74px; height: 74px; animation-duration: .8s, 5.5s; }
@keyframes azFloatIn { from { opacity: 0; transform: scale(.4) rotate(var(--r)); } to { opacity: 1; transform: rotate(var(--r)); } }
@keyframes azBob { 0%, 100% { transform: translateY(0) rotate(var(--r)); } 50% { transform: translateY(-14px) rotate(calc(var(--r) * -1)); } }
.az-hero__sparks { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.az-hero__sparks i { position: absolute; bottom: 8%; left: var(--x); width: 4px; height: 4px; border-radius: 50%; background: #E8B04A; box-shadow: 0 0 10px #E8B04A; opacity: 0; animation: azRise var(--t) ease-in infinite; animation-delay: var(--dl); }
@media (max-width: 600px) {
	.az-float { width: 64px; height: 64px; border-radius: 16px; }
	.az-float--0 { left: -18px; } .az-float--1 { left: -24px; width: 56px; height: 56px; } .az-float--2 { right: -14px; width: 54px; height: 54px; }
	.az-hero__orbit { width: 560px; height: 560px; left: -300px; top: -160px; }
}
@media (prefers-reduced-motion: reduce) {
	.az-hero--fx *, .az-hero--fx::before, .az-hero__orbit { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
	.az-hero--fx .az-hero__sub span::after { transform: scaleX(1); }
	.az-hero__sparks { display: none; }
}

/* ---------- Language switcher ---------- */
.azc-langs { display: inline-flex; gap: 6px; align-items: center; }
.azc-langs__btn { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--az-line); background: var(--az-paper); color: var(--az-ink); font-size: 13px; font-weight: 800; text-decoration: none; transition: all .2s; font-family: inherit; }
.azc-langs__btn:hover { background: var(--az-ink); color: var(--az-paper); border-color: var(--az-ink); transform: translateY(-2px); }
.azc-langs__btn span { line-height: 1; }
.az-nav__actions .azc-langs { justify-content: center; margin-top: 4px; }
.az-header__actions > .azc-langs { margin-inline: 2px; }
@media (max-width: 960px) { .az-header__actions > .azc-langs { display: none; } }
.azc-lang-ar .az-header__link, .azc-lang-en .az-header__link,
.azc-lang-ar .az-nav__actions .az-btn--ghost, .azc-lang-en .az-nav__actions .az-btn--ghost,
.azc-lang-ar .sv-fact--price, .azc-lang-en .sv-fact--price,
.azc-lang-ar .azc-choice__price, .azc-lang-en .azc-choice__price { display: none !important; }

/* Header cart */
.az-cart { position: relative; display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; color: var(--az-ink); text-decoration: none; transition: color .2s, background .2s; }
.az-cart:hover { color: var(--az-brick); background: rgba(0,0,0,.04); }
.az-cart__n { position: absolute; top: 2px; left: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--az-brick); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
@media (min-width: 961px) and (max-width: 1360px) {
	.az-header__link span { display: none; }
	.az-header__inner { gap: 14px; }
	.az-nav__list > li > a { padding-inline: 8px; font-size: 14px; }
}
@media (min-width: 961px) and (max-width: 1200px) {
	.az-brand__text { display: none; }
	.az-nav__list > li > a { padding-inline: 6px; font-size: 13.5px; }
	.az-header__actions { gap: 6px; }
}
