/* ==========================================================================
   قالب سارا نیکبختی — استایل اصلی
   راست‌چین از پایه نوشته شده؛ فایل rtl.css جداگانه‌ای وجود ندارد.
   ترتیب: توکن‌ها ← پایه ← اجزای مشترک ← هدر ← سکشن‌ها ← بلاگ ← فوتر ← ریسپانسیو
   ========================================================================== */

/* --------------------------------------------------------------------------
   ۱. توکن‌های طراحی
   -------------------------------------------------------------------------- */

:root {
	--c-brand: #015046;
	--c-brand-600: #01695c;
	--c-brand-800: #013b34;
	--c-brand-900: #01241f;
	--c-gold: #b08d57;
	--c-gold-300: #d7bb90;
	--c-surface: #e9e9e9;
	--c-surface-2: #f5f5f4;
	--c-white: #ffffff;
	--c-ink: #12211f;
	--c-muted: #5c6b68;
	--c-line: rgba(1, 80, 70, 0.14);
	--c-line-soft: rgba(1, 80, 70, 0.08);

	--radius-sm: 8px;
	--radius: 14px;
	--radius-lg: 22px;
	--radius-pill: 999px;

	--shadow-sm: 0 2px 10px rgba(1, 36, 31, 0.06);
	--shadow: 0 12px 34px rgba(1, 36, 31, 0.10);
	--shadow-lg: 0 24px 60px rgba(1, 36, 31, 0.16);

	--container: 1200px;
	--gutter: 24px;
	--section-y: clamp(56px, 7vw, 104px);

	--t-fast: 0.18s ease;
	--t: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   ۲. پایه
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font-base);
	font-size: 16px;
	line-height: 1.9;
	color: var(--c-ink);
	background: var(--c-white);
	direction: rtl;
	text-align: right;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.6em;
	line-height: 1.45;
	font-weight: 800;
	color: var(--c-brand-900);
	letter-spacing: -0.01em;
}

p {
	margin: 0 0 1.1em;
}

p:last-child {
	margin-bottom: 0;
}

a {
	color: var(--c-brand);
	text-decoration: none;
	transition: color var(--t-fast);
}

a:hover {
	color: var(--c-gold);
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

ul, ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
	background: none;
	border: 0;
	padding: 0;
}

:focus-visible {
	outline: 3px solid var(--c-gold);
	outline-offset: 3px;
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	inset-inline-start: -9999px;
	top: 0;
	z-index: 999;
	padding: 12px 20px;
	background: var(--c-brand);
	color: #fff;
	border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.skip-link:focus {
	inset-inline-start: 16px;
	color: #fff;
}

.icon {
	width: 1.25em;
	height: 1.25em;
	flex: none;
}

/* --------------------------------------------------------------------------
   ۳. چیدمان مشترک
   -------------------------------------------------------------------------- */

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--narrow {
	max-width: 820px;
}

.section {
	padding-block: var(--section-y);
	position: relative;
}

.section--surface {
	background: var(--c-surface);
}

.section--dark {
	background: var(--c-brand);
	color: rgba(255, 255, 255, 0.86);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
	color: #fff;
}

.section__foot {
	margin-top: 44px;
	text-align: center;
}

/* سرتیتر سکشن‌ها */

.section-head {
	max-width: 720px;
	margin-bottom: 48px;
}

.section-head--center {
	margin-inline: auto;
	text-align: center;
}

.section-head__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--c-gold);
	text-transform: none;
}

.section-head__eyebrow::before {
	content: "";
	width: 26px;
	height: 2px;
	background: var(--c-gold);
	border-radius: 2px;
}

.section-head--center .section-head__eyebrow::after {
	content: "";
	width: 26px;
	height: 2px;
	background: var(--c-gold);
	border-radius: 2px;
}

.section-head__title {
	margin: 0;
	font-size: clamp(1.6rem, 3.2vw, 2.4rem);
}

.section-head__subtitle {
	margin: 14px 0 0;
	font-size: 1.02rem;
	color: var(--c-muted);
}

.section--dark .section-head__subtitle {
	color: rgba(255, 255, 255, 0.72);
}

.section--dark .section-head__eyebrow {
	color: var(--c-gold-300);
}

.section--dark .section-head__eyebrow::before,
.section--dark .section-head__eyebrow::after {
	background: var(--c-gold-300);
}

/* --------------------------------------------------------------------------
   ۴. دکمه‌ها
   -------------------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 13px 26px;
	border-radius: var(--radius-pill);
	font-weight: 700;
	font-size: 0.97rem;
	line-height: 1.4;
	border: 1.5px solid transparent;
	transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
	white-space: nowrap;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn:active {
	transform: translateY(0);
}

.btn .icon {
	width: 1.15em;
	height: 1.15em;
}

.btn--lg {
	padding: 16px 32px;
	font-size: 1.02rem;
}

.btn--primary {
	background: var(--c-brand);
	color: #fff;
	box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
	background: var(--c-brand-800);
	color: #fff;
	box-shadow: var(--shadow);
}

.btn--gold {
	background: var(--c-gold);
	color: #1c1408;
	box-shadow: var(--shadow-sm);
}

.btn--gold:hover {
	background: var(--c-gold-300);
	color: #1c1408;
	box-shadow: var(--shadow);
}

.btn--outline {
	border-color: var(--c-brand);
	color: var(--c-brand);
	background: transparent;
}

.btn--outline:hover {
	background: var(--c-brand);
	color: #fff;
}

.btn--ghost {
	border-color: rgba(255, 255, 255, 0.4);
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
}

.btn--ghost:hover {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.7);
	color: #fff;
}

.btn[disabled] {
	opacity: 0.55;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

/* --------------------------------------------------------------------------
   ۵. اجزای کوچک
   -------------------------------------------------------------------------- */

.checklist {
	display: grid;
	gap: 12px;
	margin: 26px 0 30px;
}

.checklist li {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	font-size: 0.98rem;
}

.checklist .icon {
	color: var(--c-gold);
	margin-top: 5px;
	width: 1.1em;
	height: 1.1em;
	stroke-width: 2.4;
}

.stars {
	display: inline-flex;
	gap: 3px;
	margin-bottom: 14px;
}

.stars__item .icon {
	width: 17px;
	height: 17px;
	color: rgba(1, 80, 70, 0.2);
}

.stars__item.is-on .icon {
	color: var(--c-gold);
	fill: var(--c-gold);
}

.socials {
	display: flex;
	align-items: center;
	gap: 8px;
}

.socials a {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	color: inherit;
	border: 1px solid currentColor;
	opacity: 0.75;
	transition: opacity var(--t-fast), background var(--t-fast), color var(--t-fast);
}

.socials a:hover {
	opacity: 1;
	background: var(--c-gold);
	border-color: var(--c-gold);
	color: #1c1408;
}

.socials--top a {
	width: 30px;
	height: 30px;
	border-color: rgba(255, 255, 255, 0.28);
}

.socials--footer {
	margin-top: 22px;
}

/* --------------------------------------------------------------------------
   ۶. نوار بالا و هدر
   -------------------------------------------------------------------------- */

.topbar {
	background: var(--c-brand-900);
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.85rem;
}

.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 46px;
}

.topbar__contact {
	display: flex;
	align-items: center;
	gap: 22px;
	flex-wrap: wrap;
}

.topbar__item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: inherit;
}

.topbar__item:hover {
	color: var(--c-gold-300);
}

.topbar__item .icon {
	width: 15px;
	height: 15px;
	color: var(--c-gold-300);
}

.topbar__item--muted {
	opacity: 0.75;
}

.header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: var(--c-white);
	border-bottom: 1px solid var(--c-line-soft);
	transition: box-shadow var(--t), padding var(--t);
}

.header.is-stuck {
	box-shadow: var(--shadow);
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 82px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	flex: none;
	color: var(--c-brand-900);
}

.brand:hover {
	color: var(--c-brand);
}

.brand__logo {
	height: 52px;
	width: auto;
}

.brand__logo--footer {
	height: 62px;
	filter: brightness(0) invert(1);
}

.brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.5;
}

.brand__text strong {
	font-size: 1.06rem;
	font-weight: 800;
}

.brand__text small {
	font-size: 0.76rem;
	color: var(--c-muted);
	font-weight: 500;
}

.footer .brand__text small {
	color: rgba(255, 255, 255, 0.62);
}

.footer .brand,
.footer .brand__text strong {
	color: #fff;
}

/* ناوبری */

.nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
}

.nav__list li {
	position: relative;
}

.nav__list a {
	display: block;
	padding: 10px 14px;
	border-radius: var(--radius-sm);
	font-weight: 600;
	font-size: 0.96rem;
	color: var(--c-ink);
	transition: color var(--t-fast), background var(--t-fast);
}

.nav__list a:hover,
.nav__list .current-menu-item > a,
.nav__list .current_page_item > a {
	color: var(--c-brand);
	background: var(--c-surface-2);
}

/* زیرمنو */

.nav__list .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	inset-inline-start: 0;
	min-width: 210px;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--c-line-soft);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
	z-index: 5;
}

.nav__list li:hover > .sub-menu,
.nav__list li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: none;
}

.header__tel {
	display: none;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 0.94rem;
	color: var(--c-brand-900);
}

.header__tel .icon {
	color: var(--c-gold);
}

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border-radius: var(--radius-sm);
	background: var(--c-surface);
	color: var(--c-brand-900);
	place-items: center;
}

.nav-toggle .icon {
	width: 22px;
	height: 22px;
}

.nav-toggle__close {
	display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__open {
	display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
	display: block;
}

/* --------------------------------------------------------------------------
   ۷. هیرو
   -------------------------------------------------------------------------- */

.hero {
	position: relative;
	background: var(--c-brand);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.07), transparent 42%),
		radial-gradient(circle at 85% 90%, rgba(176, 141, 87, 0.22), transparent 46%),
		linear-gradient(160deg, var(--c-brand-800), var(--c-brand) 55%, var(--c-brand-900));
}

.hero__inner {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	align-items: center;
	gap: 40px;
	padding-block: clamp(48px, 6vw, 80px);
	min-height: 560px;
}

.hero__eyebrow {
	display: inline-block;
	margin: 0 0 16px;
	padding: 7px 16px;
	border-radius: var(--radius-pill);
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.16);
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--c-gold-300);
}

.hero__title {
	margin: 0 0 18px;
	font-size: clamp(2.3rem, 6vw, 4rem);
	line-height: 1.25;
	color: #fff;
}

.hero__subtitle {
	margin: 0 0 32px;
	max-width: 520px;
	font-size: clamp(1rem, 1.6vw, 1.14rem);
	color: rgba(255, 255, 255, 0.82);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 36px;
}

.hero__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 26px;
	padding-top: 26px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.8);
}

.hero__badge .icon {
	color: var(--c-gold-300);
}

.hero__tel {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-weight: 700;
	color: #fff;
}

.hero__tel .icon {
	color: var(--c-gold-300);
}

.hero__tel:hover {
	color: var(--c-gold-300);
}

.hero__media {
	position: relative;
	justify-self: center;
	align-self: end;
}

.hero__media-frame {
	position: absolute;
	inset-inline-end: 6%;
	bottom: 0;
	width: 78%;
	height: 84%;
	border-radius: var(--radius-lg) var(--radius-lg) 0 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(176, 141, 87, 0.18));
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-bottom: 0;
}

.hero__portrait {
	position: relative;
	max-height: 520px;
	width: auto;
	margin-inline: auto;
	filter: drop-shadow(0 24px 44px rgba(1, 24, 20, 0.42));
}

/* --------------------------------------------------------------------------
   ۸. آمار
   -------------------------------------------------------------------------- */

.stats {
	background: var(--c-brand-900);
	color: #fff;
	padding-block: 8px;
}

.stats__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.stats__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 26px 14px;
	text-align: center;
	position: relative;
}

.stats__item + .stats__item::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 26%;
	height: 48%;
	width: 1px;
	background: rgba(255, 255, 255, 0.14);
}

.stats__value {
	font-size: clamp(1.7rem, 3.4vw, 2.5rem);
	font-weight: 800;
	color: var(--c-gold-300);
	line-height: 1.3;
}

.stats__label {
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   ۹. درباره
   -------------------------------------------------------------------------- */

.about__grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}

.about__media {
	position: relative;
	padding: 0 0 20px 20px;
}

.about__image {
	position: relative;
	z-index: 1;
	width: 100%;
	border-radius: var(--radius-lg);
}

.about__accent {
	position: absolute;
	inset-block-start: 22px;
	inset-inline-start: 0;
	width: 68%;
	height: 100%;
	border-radius: var(--radius-lg);
	background: var(--c-brand);
	opacity: 0.1;
}

.about__text {
	color: var(--c-muted);
	font-size: 1.02rem;
}

.about--page {
	padding-bottom: 0;
}

/* --------------------------------------------------------------------------
   ۱۰. خدمات
   -------------------------------------------------------------------------- */

.services__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.service-card {
	display: flex;
	flex-direction: column;
	padding: 32px 28px;
	background: #fff;
	border: 1px solid var(--c-line-soft);
	border-radius: var(--radius-lg);
	transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.service-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow);
	border-color: rgba(176, 141, 87, 0.5);
}

.service-card__icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	margin-bottom: 20px;
	border-radius: var(--radius);
	background: rgba(1, 80, 70, 0.07);
	color: var(--c-brand);
	transition: background var(--t), color var(--t);
}

.service-card__icon .icon {
	width: 27px;
	height: 27px;
}

.service-card:hover .service-card__icon {
	background: var(--c-brand);
	color: var(--c-gold-300);
}

.service-card__title {
	margin: 0 0 10px;
	font-size: 1.16rem;
}

.service-card__title a {
	color: inherit;
}

.service-card__text {
	margin: 0 0 20px;
	color: var(--c-muted);
	font-size: 0.95rem;
	flex: 1;
}

.service-card__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--c-brand);
}

.service-card__link .icon {
	width: 16px;
	height: 16px;
	transition: transform var(--t-fast);
}

.service-card__link:hover .icon {
	transform: translateX(-4px);
}

/* --------------------------------------------------------------------------
   ۱۱. چرا من
   -------------------------------------------------------------------------- */

.why__grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}

.why__list {
	display: grid;
	gap: 26px;
}

.why__item {
	display: flex;
	gap: 18px;
}

.why__num {
	display: grid;
	place-items: center;
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(176, 141, 87, 0.14);
	color: var(--c-gold);
	font-weight: 800;
	font-size: 0.95rem;
}

.why__item-title {
	margin: 6px 0 6px;
	font-size: 1.08rem;
}

.why__item-text {
	margin: 0;
	color: var(--c-muted);
	font-size: 0.95rem;
}

.why__media {
	position: relative;
}

.why__image {
	width: 100%;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}

/* --------------------------------------------------------------------------
   ۱۲. مسیر همکاری
   -------------------------------------------------------------------------- */

.process__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	counter-reset: step;
}

.process__item {
	position: relative;
	padding: 30px 24px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius-lg);
}

.process__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 18px;
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.1);
	color: var(--c-gold-300);
}

.process__icon .icon {
	width: 25px;
	height: 25px;
}

.process__step {
	position: absolute;
	top: 22px;
	inset-inline-end: 24px;
	font-size: 2.4rem;
	font-weight: 800;
	line-height: 1;
	color: rgba(255, 255, 255, 0.12);
}

.process__title {
	margin: 0 0 8px;
	font-size: 1.05rem;
	color: #fff;
}

.process__text {
	margin: 0;
	font-size: 0.92rem;
	color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   ۱۳. نظرات و اسلایدر
   -------------------------------------------------------------------------- */

.slider {
	position: relative;
}

.slider__track {
	display: flex;
	gap: 22px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-bottom: 8px;
	scrollbar-width: none;
}

.slider__track::-webkit-scrollbar {
	display: none;
}

.slider__slide {
	flex: 0 0 calc((100% - 44px) / 3);
	scroll-snap-align: start;
}

.testimonial {
	position: relative;
	height: 100%;
	margin: 0;
	padding: 34px 30px 28px;
	background: #fff;
	border: 1px solid var(--c-line-soft);
	border-radius: var(--radius-lg);
	display: flex;
	flex-direction: column;
}

.testimonial__quote {
	position: absolute;
	top: 24px;
	inset-inline-end: 26px;
	color: rgba(176, 141, 87, 0.22);
}

.testimonial__quote .icon {
	width: 34px;
	height: 34px;
	fill: currentColor;
	stroke: none;
}

.testimonial__text {
	margin: 0 0 24px;
	font-size: 0.97rem;
	color: var(--c-muted);
	flex: 1;
}

.testimonial__text p:last-child {
	margin-bottom: 0;
}

.testimonial__author {
	display: flex;
	align-items: center;
	gap: 13px;
	padding-top: 20px;
	border-top: 1px solid var(--c-line-soft);
}

.testimonial__avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	flex: none;
}

.testimonial__avatar--fallback {
	display: grid;
	place-items: center;
	background: rgba(1, 80, 70, 0.08);
	color: var(--c-brand);
}

.testimonial__name {
	display: block;
	font-size: 1rem;
	color: var(--c-brand-900);
}

.testimonial__role {
	display: block;
	font-size: 0.83rem;
	color: var(--c-muted);
}

.slider__nav {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 32px;
}

.slider__btn {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--c-line);
	color: var(--c-brand);
	transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.slider__btn:hover:not([disabled]) {
	background: var(--c-brand);
	border-color: var(--c-brand);
	color: #fff;
}

.slider__btn[disabled] {
	opacity: 0.4;
	cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   ۱۴. صبح قانون
   -------------------------------------------------------------------------- */

.sobh__card {
	display: grid;
	grid-template-columns: 1.3fr 0.7fr;
	gap: 40px;
	align-items: center;
	padding: clamp(34px, 5vw, 60px);
	border-radius: var(--radius-lg);
	background:
		radial-gradient(circle at 88% 15%, rgba(176, 141, 87, 0.28), transparent 48%),
		linear-gradient(135deg, var(--c-brand-800), var(--c-brand-900));
	color: rgba(255, 255, 255, 0.82);
	overflow: hidden;
	position: relative;
}

.sobh__eyebrow {
	display: inline-block;
	margin: 0 0 14px;
	padding: 6px 15px;
	border-radius: var(--radius-pill);
	background: rgba(255, 255, 255, 0.1);
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--c-gold-300);
}

.sobh__title {
	margin: 0 0 16px;
	font-size: clamp(1.8rem, 3.6vw, 2.6rem);
	color: #fff;
	line-height: 1.35;
}

.sobh__subtitle {
	display: block;
	margin-top: 8px;
	font-size: 1rem;
	font-weight: 500;
	color: var(--c-gold-300);
}

.sobh__text {
	margin: 0 0 22px;
	max-width: 560px;
	color: rgba(255, 255, 255, 0.76);
}

.sobh__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-bottom: 30px;
}

.sobh__tags li {
	padding: 7px 15px;
	border-radius: var(--radius-pill);
	border: 1px solid rgba(255, 255, 255, 0.2);
	font-size: 0.85rem;
}

.sobh__media {
	display: grid;
	place-items: center;
}

.sobh__logo {
	max-width: 200px;
	filter: brightness(0) invert(1);
	opacity: 0.92;
}

.sobh__mark {
	font-size: clamp(2rem, 5vw, 3.4rem);
	font-weight: 800;
	color: rgba(255, 255, 255, 0.14);
	text-align: center;
	line-height: 1.3;
}

/* --------------------------------------------------------------------------
   ۱۵. کارت مقاله و گرید
   -------------------------------------------------------------------------- */

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

.post-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--c-line-soft);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: transform var(--t), box-shadow var(--t);
}

.post-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow);
}

.post-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--c-surface);
	overflow: hidden;
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.post-card:hover .post-card__media img {
	transform: scale(1.05);
}

.post-card__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: rgba(1, 80, 70, 0.25);
}

.post-card__placeholder .icon {
	width: 42px;
	height: 42px;
}

.post-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 24px 24px 22px;
}

.post-card__cat {
	align-self: flex-start;
	margin-bottom: 12px;
	padding: 5px 13px;
	border-radius: var(--radius-pill);
	background: rgba(1, 80, 70, 0.08);
	color: var(--c-brand);
	font-size: 0.78rem;
	font-weight: 700;
}

.post-card__title {
	margin: 0 0 10px;
	font-size: 1.1rem;
	line-height: 1.6;
}

.post-card__title a {
	color: var(--c-brand-900);
}

.post-card__title a:hover {
	color: var(--c-brand);
}

.post-card__excerpt {
	margin: 0 0 18px;
	font-size: 0.93rem;
	color: var(--c-muted);
	flex: 1;
}

.post-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.83rem;
	color: var(--c-muted);
}

/* --------------------------------------------------------------------------
   ۱۶. رزرو مشاوره
   -------------------------------------------------------------------------- */

.booking__features {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-bottom: 36px;
}

.booking__features li {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 9px 18px;
	border-radius: var(--radius-pill);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	font-size: 0.9rem;
}

.booking__features .icon {
	color: var(--c-gold-300);
	width: 18px;
	height: 18px;
}

.booking__features--light li {
	background: rgba(1, 80, 70, 0.06);
	border-color: var(--c-line);
	color: var(--c-brand-900);
}

.booking__features--light .icon {
	color: var(--c-gold);
}

.booking__card {
	max-width: 900px;
	margin-inline: auto;
	padding: clamp(26px, 4vw, 44px);
	background: #fff;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	color: var(--c-ink);
}

.booking__card--page {
	box-shadow: var(--shadow);
	border: 1px solid var(--c-line-soft);
}

.booking__aside {
	max-width: 900px;
	margin: 34px auto 0;
	padding: 28px 30px;
	background: var(--c-surface);
	border-radius: var(--radius-lg);
}

.booking__aside-title {
	margin: 0 0 16px;
	font-size: 1.1rem;
}

.booking__aside-list {
	display: grid;
	gap: 10px;
	counter-reset: aside;
}

.booking__aside-list li {
	position: relative;
	padding-inline-start: 34px;
	font-size: 0.95rem;
	color: var(--c-muted);
	counter-increment: aside;
}

.booking__aside-list li::before {
	content: counter(aside, persian);
	position: absolute;
	inset-inline-start: 0;
	top: 3px;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--c-brand);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
}

/* فرم */

.booking-form__stepline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0 0 30px;
	padding-bottom: 22px;
	border-bottom: 1px dashed var(--c-line);
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--c-muted);
}

.booking-form__stepline span:nth-child(odd) {
	padding: 6px 14px;
	border-radius: var(--radius-pill);
	background: var(--c-surface-2);
	color: var(--c-brand-900);
}

.booking-form__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.field--full {
	grid-column: 1 / -1;
}

.field.is-hidden {
	display: none;
}

.field label,
.field__label {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--c-brand-900);
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
	width: 100%;
	padding: 13px 15px;
	background: var(--c-surface-2);
	border: 1.5px solid transparent;
	border-radius: var(--radius);
	font-size: 0.95rem;
	transition: border-color var(--t-fast), background var(--t-fast);
	font-family: inherit;
}

.field select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c6b68' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-position: left 14px center;
	background-size: 17px 17px;
	background-repeat: no-repeat;
	padding-inline-start: 42px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	background: #fff;
	border-color: var(--c-brand);
}

.field textarea {
	resize: vertical;
	min-height: 110px;
	line-height: 1.8;
}

.field__hint {
	margin: 0;
	font-size: 0.83rem;
	color: var(--c-muted);
}

.field__hint.is-price {
	color: var(--c-brand);
	font-weight: 700;
}

.radio-group {
	display: flex;
	gap: 10px;
}

.radio {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 14px;
	border-radius: var(--radius);
	background: var(--c-surface-2);
	border: 1.5px solid transparent;
	font-size: 0.92rem;
	font-weight: 600;
	cursor: pointer;
	transition: border-color var(--t-fast), background var(--t-fast);
}

.radio input {
	accent-color: var(--c-brand);
	margin: 0;
}

.radio:has(input:checked) {
	border-color: var(--c-brand);
	background: rgba(1, 80, 70, 0.06);
	color: var(--c-brand);
}

.booking-form__foot {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	margin-top: 28px;
	padding-top: 26px;
	border-top: 1px dashed var(--c-line);
	text-align: center;
}

.booking-form__notice {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	max-width: 620px;
	margin: 0;
	padding: 14px 18px;
	border-radius: var(--radius);
	background: rgba(176, 141, 87, 0.1);
	border: 1px dashed rgba(176, 141, 87, 0.5);
	font-size: 0.87rem;
	color: #6d5527;
	text-align: start;
}

.booking-form__notice .icon {
	flex: none;
	margin-top: 3px;
	width: 17px;
	height: 17px;
}

/* --------------------------------------------------------------------------
   ۱۷. تماس
   -------------------------------------------------------------------------- */

.contact__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(28px, 4vw, 48px);
	align-items: start;
}

.contact__cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
}

.contact-card {
	padding: 26px 24px;
	background: #fff;
	border-radius: var(--radius-lg);
	border: 1px solid var(--c-line-soft);
}

.contact-card__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-bottom: 16px;
	border-radius: var(--radius-sm);
	background: rgba(1, 80, 70, 0.07);
	color: var(--c-brand);
}

.contact-card__title {
	margin: 0 0 8px;
	font-size: 1rem;
}

.contact-card__text {
	margin: 0;
	font-size: 0.92rem;
	color: var(--c-muted);
	line-height: 1.9;
}

.contact__media {
	display: grid;
	gap: 20px;
}

.contact__map,
.contact__image {
	width: 100%;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}

.contact__map iframe {
	display: block;
	width: 100%;
	min-height: 320px;
	border: 0;
}

.contact__image {
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.contact__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 26px;
	background: #fff;
	border-radius: var(--radius-lg);
	border: 1px solid var(--c-line-soft);
}

.contact__cta p {
	margin: 0;
	font-weight: 600;
	color: var(--c-brand-900);
}

/* --------------------------------------------------------------------------
   ۱۸. فوتر و نوار موبایل
   -------------------------------------------------------------------------- */

.footer {
	background: var(--c-brand-900);
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.94rem;
}

.footer__grid {
	display: grid;
	grid-template-columns: 1.3fr 0.8fr 1.1fr 1fr;
	gap: 40px;
	padding-block: clamp(48px, 6vw, 76px);
}

.footer__about {
	margin: 20px 0 0;
	font-size: 0.92rem;
	line-height: 2;
}

.footer__title {
	margin: 0 0 20px;
	font-size: 1.02rem;
	color: #fff;
	position: relative;
	padding-bottom: 12px;
}

.footer__title::after {
	content: "";
	position: absolute;
	bottom: 0;
	inset-inline-start: 0;
	width: 34px;
	height: 2px;
	background: var(--c-gold);
	border-radius: 2px;
}

.footer__menu {
	display: grid;
	gap: 11px;
}

.footer__menu a {
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.93rem;
}

.footer__menu a:hover {
	color: var(--c-gold-300);
}

.footer__contact {
	display: grid;
	gap: 15px;
}

.footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	line-height: 1.9;
}

.footer__contact .icon {
	flex: none;
	margin-top: 5px;
	width: 17px;
	height: 17px;
	color: var(--c-gold-300);
}

.footer__contact a {
	color: rgba(255, 255, 255, 0.72);
}

.footer__contact a:hover {
	color: var(--c-gold-300);
}

.footer__cta-text {
	margin: 0 0 18px;
	font-size: 0.92rem;
}

.footer__enamad {
	margin-top: 22px;
	max-width: 110px;
	background: #fff;
	border-radius: var(--radius-sm);
	padding: 6px;
}

.footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.85rem;
}

.footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-block: 20px;
}

.footer__bottom p {
	margin: 0;
}

.footer__disclaimer {
	opacity: 0.6;
}

/* اعتبار سازنده: سطر مستقل و آرام، اما در دید هرکسی که فوتر را می‌بیند. */
.footer__credit {
	flex-basis: 100%;
	margin-top: 4px;
	padding-top: 13px;
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	text-align: center;
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.56);
}

.footer__credit a {
	color: var(--c-gold-300);
	font-weight: 600;
	border-bottom: 1px solid transparent;
	transition: color var(--t-fast), border-color var(--t-fast);
}

.footer__credit a:hover {
	color: #fff;
	border-bottom-color: currentColor;
}

/* نوار چسبان موبایل */

.mobile-bar {
	display: none;
	position: fixed;
	bottom: 0;
	inset-inline: 0;
	z-index: 80;
	background: #fff;
	border-top: 1px solid var(--c-line);
	box-shadow: 0 -6px 22px rgba(1, 36, 31, 0.1);
	padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
}

.mobile-bar__item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	padding: 7px 4px;
	border-radius: var(--radius-sm);
	font-size: 0.74rem;
	font-weight: 700;
	color: var(--c-brand-900);
}

.mobile-bar__item .icon {
	width: 20px;
	height: 20px;
	color: var(--c-brand);
}

.mobile-bar__item--cta {
	background: var(--c-brand);
	color: #fff;
}

.mobile-bar__item--cta .icon {
	color: var(--c-gold-300);
}

/* --------------------------------------------------------------------------
   ۱۹. صفحات داخلی و محتوا
   -------------------------------------------------------------------------- */

.page-hero {
	position: relative;
	background: var(--c-brand-900);
	color: #fff;
	isolation: isolate;
	overflow: hidden;
}

.page-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-size: cover;
	background-position: center;
	opacity: 0.22;
}

.page-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(1, 36, 31, 0.72), rgba(1, 36, 31, 0.94));
}

.page-hero__inner {
	padding-block: clamp(52px, 7vw, 96px);
	text-align: center;
}

.page-hero__title {
	margin: 0;
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	color: #fff;
}

.page-hero__text {
	margin: 14px auto 0;
	max-width: 660px;
	color: rgba(255, 255, 255, 0.75);
}

.breadcrumb {
	margin-bottom: 14px;
	font-size: 0.86rem;
	color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
	color: rgba(255, 255, 255, 0.8);
}

.entry-content {
	font-size: 1.03rem;
	line-height: 2.1;
	color: #2b3a37;
}

.entry-content > * + * {
	margin-top: 1.2em;
}

.entry-content h2 {
	margin-top: 1.8em;
	font-size: 1.45rem;
}

.entry-content h3 {
	margin-top: 1.6em;
	font-size: 1.2rem;
}

.entry-content ul,
.entry-content ol {
	padding-inline-start: 1.4em;
}

.entry-content ul {
	list-style: disc;
}

.entry-content ol {
	list-style: decimal;
}

.entry-content li {
	margin-bottom: 0.5em;
}

.entry-content blockquote {
	margin: 1.6em 0;
	padding: 20px 26px;
	border-inline-start: 4px solid var(--c-gold);
	background: var(--c-surface-2);
	border-radius: var(--radius);
	color: var(--c-muted);
	font-size: 1rem;
}

.entry-content img,
.entry-content figure {
	border-radius: var(--radius);
}

.entry-content a {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.entry-content--lead {
	max-width: 760px;
	margin: 0 auto 36px;
	text-align: center;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.94rem;
}

.entry-content th,
.entry-content td {
	padding: 11px 14px;
	border: 1px solid var(--c-line);
	text-align: start;
}

.entry-content th {
	background: var(--c-surface-2);
}

/* صفحه تکی */

.single__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 20px;
	margin-bottom: 26px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--c-line-soft);
	font-size: 0.88rem;
	color: var(--c-muted);
}

.single__thumb {
	margin: 0 0 32px;
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 34px;
}

.tag-list li a,
.tag-list a {
	display: inline-block;
	padding: 6px 14px;
	border-radius: var(--radius-pill);
	background: var(--c-surface);
	font-size: 0.83rem;
	color: var(--c-brand);
}

.single__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 42px;
	padding: 30px 32px;
	border-radius: var(--radius-lg);
	background: var(--c-brand);
	color: rgba(255, 255, 255, 0.8);
}

.single__cta h2 {
	margin: 0 0 6px;
	font-size: 1.2rem;
	color: #fff;
}

.single__cta p {
	margin: 0;
	font-size: 0.93rem;
}

.post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 42px;
}

.post-nav .nav-links {
	display: contents;
}

.post-nav .nav-previous,
.post-nav .nav-next {
	padding: 20px 22px;
	border: 1px solid var(--c-line-soft);
	border-radius: var(--radius);
	background: #fff;
}

.post-nav .nav-next {
	text-align: end;
}

.post-nav .nav-label {
	display: block;
	font-size: 0.8rem;
	color: var(--c-muted);
	margin-bottom: 5px;
}

.post-nav .nav-title {
	display: block;
	font-weight: 700;
	font-size: 0.96rem;
	color: var(--c-brand-900);
}

/* صفحه‌بندی */

.pagination {
	margin-top: 46px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	justify-content: center;
	border-radius: var(--radius-sm);
	background: #fff;
	border: 1px solid var(--c-line);
	font-weight: 700;
	font-size: 0.92rem;
	color: var(--c-brand-900);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
	background: var(--c-brand);
	border-color: var(--c-brand);
	color: #fff;
}

.pagination .icon {
	width: 16px;
	height: 16px;
}

/* جستجو */

.search-form {
	display: flex;
	gap: 8px;
}

.search-form__input {
	flex: 1;
	padding: 13px 16px;
	border: 1.5px solid var(--c-line);
	border-radius: var(--radius);
	background: #fff;
	font-size: 0.95rem;
}

.search-form__input:focus {
	outline: none;
	border-color: var(--c-brand);
}

.search-form__submit {
	padding: 13px 26px;
	border-radius: var(--radius);
	background: var(--c-brand);
	color: #fff;
	font-weight: 700;
	transition: background var(--t-fast);
}

.search-form__submit:hover {
	background: var(--c-brand-800);
}

.search-again {
	max-width: 560px;
	margin: 0 auto 44px;
}

.no-results {
	max-width: 520px;
	margin-inline: auto;
	text-align: center;
	padding: 40px 20px;
}

.no-results__icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	margin: 0 auto 22px;
	border-radius: 50%;
	background: var(--c-surface);
	color: var(--c-brand);
}

.no-results__icon .icon {
	width: 32px;
	height: 32px;
}

.no-results__text {
	color: var(--c-muted);
	margin-bottom: 26px;
}

/* ۴۰۴ */

.error-404 {
	text-align: center;
}

.error-404__code {
	margin: 0;
	font-size: clamp(4rem, 14vw, 8rem);
	font-weight: 800;
	line-height: 1;
	color: rgba(1, 80, 70, 0.12);
}

.error-404__title {
	margin: 0 0 12px;
	font-size: clamp(1.5rem, 3vw, 2rem);
}

.error-404__text {
	color: var(--c-muted);
	margin-bottom: 30px;
}

.error-404__search {
	max-width: 460px;
	margin: 0 auto 26px;
}

.error-404__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

/* دیدگاه‌ها */

.comments {
	margin-top: 52px;
	padding-top: 40px;
	border-top: 1px solid var(--c-line-soft);
}

.comments__title {
	font-size: 1.25rem;
	margin-bottom: 26px;
}

.comments__list,
.comments__list .children {
	display: grid;
	gap: 20px;
	list-style: none;
}

.comments__list .children {
	margin-top: 20px;
	padding-inline-start: 26px;
	border-inline-start: 2px solid var(--c-line-soft);
}

.comments__list .comment-body {
	padding: 22px 24px;
	background: var(--c-surface-2);
	border-radius: var(--radius);
}

.comments__list .comment-author img {
	border-radius: 50%;
	display: inline-block;
	vertical-align: middle;
	margin-inline-end: 10px;
}

.comments__list .comment-meta {
	font-size: 0.85rem;
	color: var(--c-muted);
	margin-bottom: 10px;
}

.comments__notes {
	font-size: 0.87rem;
	color: var(--c-muted);
}

.comment-form {
	display: grid;
	gap: 14px;
	margin-top: 34px;
}

.comment-form label {
	display: block;
	font-size: 0.88rem;
	font-weight: 700;
	margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 15px;
	background: var(--c-surface-2);
	border: 1.5px solid transparent;
	border-radius: var(--radius);
	font-family: inherit;
	font-size: 0.95rem;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	background: #fff;
	border-color: var(--c-brand);
}

.comment-form .form-submit {
	margin: 0;
}

/* ابزارک‌ها */

.widget {
	margin-bottom: 30px;
	padding: 24px;
	background: var(--c-surface-2);
	border-radius: var(--radius);
}

.widget__title {
	font-size: 1.05rem;
	margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   ۲۰. انیمیشن ورود
   -------------------------------------------------------------------------- */

.reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.6s ease, transform 0.6s ease;
	will-change: opacity, transform;
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* --------------------------------------------------------------------------
   ۲۱. ریسپانسیو
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
	.footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 34px;
	}

	.services__grid,
	.post-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.slider__slide {
		flex-basis: calc((100% - 22px) / 2);
	}

	.process__list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 900px) {
	.topbar {
		display: none;
	}

	.header__inner {
		min-height: 72px;
	}

	.nav {
		/* کشو از همان سمتی باز می‌شود که دکمه منو در آن قرار دارد (چپ در RTL)،
		   تا هنگام باز شدن از عرض صفحه عبور نکند. */
		position: fixed;
		inset: 0 auto 0 0;
		width: min(84vw, 340px);
		padding: 92px 24px 32px;
		background: #fff;
		box-shadow: var(--shadow-lg);
		transform: translateX(-100%);
		transition: transform var(--t);
		overflow-y: auto;
		z-index: 95;
		visibility: hidden;
	}

	.nav.is-open {
		transform: translateX(0);
		visibility: visible;
	}

	.nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.nav__list a {
		padding: 13px 14px;
		border-bottom: 1px solid var(--c-line-soft);
		border-radius: 0;
	}

	.nav__list .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		padding: 0 12px;
		min-width: 0;
	}

	.nav-toggle {
		display: grid;
		position: relative;
		z-index: 96;
	}

	.header__cta span {
		display: none;
	}

	.header__cta {
		padding: 12px 14px;
	}

	.nav-backdrop {
		/* هدر با z-index:90 یک stacking context می‌سازد و منو داخل آن است،
		   پس پرده باید زیر ۹۰ بماند وگرنه روی خودِ منو می‌افتد. */
		position: fixed;
		inset: 0;
		z-index: 85;
		background: rgba(1, 36, 31, 0.5);
		opacity: 0;
		visibility: hidden;
		transition: opacity var(--t), visibility var(--t);
	}

	.nav-backdrop.is-open {
		opacity: 1;
		visibility: visible;
	}

	body.nav-open {
		overflow: hidden;
	}

	.hero__inner {
		grid-template-columns: 1fr;
		text-align: center;
		min-height: 0;
	}

	.hero__content {
		order: 1;
	}

	.hero__media {
		order: 2;
		margin-top: 24px;
	}

	.hero__subtitle {
		margin-inline: auto;
	}

	.hero__actions,
	.hero__foot {
		justify-content: center;
	}

	.hero__portrait {
		max-height: 380px;
	}

	.about__grid,
	.why__grid,
	.contact__grid,
	.sobh__card {
		grid-template-columns: 1fr;
	}

	.why__media {
		order: -1;
	}

	.sobh__media {
		display: none;
	}

	.section-head {
		margin-bottom: 36px;
	}

	.mobile-bar {
		display: flex;
		gap: 8px;
	}

	.site {
		padding-bottom: 74px;
	}
}

@media (max-width: 640px) {
	:root {
		--gutter: 18px;
	}

	.stats__list {
		grid-template-columns: repeat(2, 1fr);
	}

	.stats__item:nth-child(3)::before {
		content: none;
	}

	.services__grid,
	.post-grid,
	.contact__cards,
	.process__list,
	.post-nav {
		grid-template-columns: 1fr;
	}

	.slider__slide {
		flex-basis: 100%;
	}

	.booking-form__grid {
		grid-template-columns: 1fr;
	}

	.footer__grid {
		grid-template-columns: 1fr;
	}

	.brand__logo {
		height: 44px;
	}

	.brand__text small {
		display: none;
	}

	.single__cta,
	.contact__cta {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.booking-form__stepline {
		font-size: 0.8rem;
	}
}

/* --------------------------------------------------------------------------
   ۲۲. ترجیح کاهش حرکت و چاپ
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.reveal {
		opacity: 1;
		transform: none;
	}

	.slider__track {
		scroll-behavior: auto;
	}
}

@media print {
	.topbar,
	.header,
	.footer,
	.mobile-bar,
	.booking,
	.slider__nav {
		display: none !important;
	}

	body {
		color: #000;
		background: #fff;
	}
}
