/* Custom landing RTL overrides for Garcon */

html[dir="rtl"] {
  direction: rtl;
  text-align: right;
  max-width: 100%;
  overflow-x: clip;
}

html[dir="rtl"] body {
  font-family: "Iran Sans", "Vazir", "Segoe UI", Tahoma, sans-serif;
  max-width: 100%;
  overflow-x: clip;
}

html[dir="rtl"] #smooth-wrapper,
html[dir="rtl"] #smooth-content {
  max-width: 100%;
  overflow-x: clip;
}

/* Physical left/right helpers used in template markup */
html[dir="rtl"] .left-0 {
  left: auto !important;
  right: 0 !important;
}

html[dir="rtl"] .right-0 {
  right: auto !important;
  left: 0 !important;
}

/* Flip absolute positioning helpers that rely on physical sides */
html[dir="rtl"] .p-absolute.top-0.left-0 {
  left: auto;
  right: 0;
}

/* Header */
html[dir="rtl"] .at-header-logo a {
  flex-direction: row-reverse;
}

html[dir="rtl"] .at-header-right {
  justify-content: flex-end !important;
}

/* Offcanvas slides from the start edge in RTL */
html[dir="rtl"] .at-offcanvas-area,
html[dir="rtl"] .at-offcanvas {
  text-align: right;
}

html[dir="rtl"] .at-offcanvas-2-area,
html[dir="rtl"] .at-offcanvas-2-wrapper {
  text-align: right;
}

/* ---- Home 12 hero (RTL Persian — گارسون) ---- */
html[dir="rtl"] .sec-1-home-12[dir="rtl"] {
  direction: rtl;
  text-align: center;
  unicode-bidi: isolate;
}

html[dir="rtl"] .sec-1-home-12[dir="rtl"] .sec-1-home-12__title,
html[dir="rtl"] .sec-1-home-12[dir="rtl"] .sec-1-home-12__sub,
html[dir="rtl"] .sec-1-home-12[dir="rtl"] .sec-1-home-12__pill-text,
html[dir="rtl"] .sec-1-home-12[dir="rtl"] .sec-1-home-12__btn-primary,
html[dir="rtl"] .sec-1-home-12[dir="rtl"] .sec-1-home-12__btn-primary-label,
html[dir="rtl"] .sec-1-home-12[dir="rtl"] .sec-1-home-12__btn-secondary {
  font-family: 'BBC Reith Qalam';
  letter-spacing: 0;
}

html[dir="rtl"] .sec-1-home-12[dir="rtl"] .sec-1-home-12__title {
  line-height: 1.15;
}

html[dir="rtl"] .sec-1-home-12[dir="rtl"] .sec-1-home-12__sub {
  line-height: 1.7;
  max-width: 34em;
  font-family: yekan;
}

/* Pill padding & avatar overlap for RTL */
html[dir="rtl"] .sec-1-home-12[dir="rtl"] .sec-1-home-12__pill {
  padding: 6px 8px 6px 16px;
}

html[dir="rtl"] .sec-1-home-12[dir="rtl"] .sec-1-home-12__avatar + .sec-1-home-12__avatar {
  margin-left: 0;
  margin-right: -10px;
}

/* CTA arrow points start-ward in RTL */
html[dir="rtl"] .sec-1-home-12[dir="rtl"] .sec-1-home-12__btn-primary-icon svg {
  transform: scaleX(-1);
}

html[dir="rtl"] .sec-1-home-12[dir="rtl"] .sec-1-home-12__btn-primary:hover .sec-1-home-12__btn-primary-icon svg,
html[dir="rtl"] .sec-1-home-12[dir="rtl"] .sec-1-home-12__btn-primary:focus-visible .sec-1-home-12__btn-primary-icon svg {
  transform: scaleX(-1) translate(-2px, -2px);
}

/* Custom sec-2 (Garson features) stays RTL */
html[dir="rtl"] .sec-2-home-2 {
  text-align: right;
}

/* Theme-aware borders for feature tabs (bg is transparent point-waves, not a dark video) */
.sec-2-home-2 .at-btn-border-white {
  border-color: rgba(var(--at-common-black-rgb), 0.28);
  background: transparent;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.sec-2-home-2 .at-btn.common-black:hover {
  color: var(--at-common-black) !important;
}

.sec-2-home-2 .garson-feature-tabs .at-btn-border-white.is-active {
  border-color: var(--at-theme-primary);
  color: var(--at-theme-primary) !important;
}

.sec-2-home-2 .garson-feature-tabs .at-btn-border-white:focus-visible {
  outline: 2px solid var(--at-theme-primary);
  outline-offset: 4px;
}

.sec-2-home-2 .garson-feature-panels {
  position: relative;
  min-height: 11rem;
}

.sec-2-home-2 .garson-feature-panel {
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.sec-2-home-2 .garson-feature-panel:not(.is-active) {
  display: none;
}

.sec-2-home-2 .garson-feature-panel.is-active {
  display: flex;
  animation: garson-feature-in 0.35s ease;
}

@keyframes garson-feature-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sec-2-home-2 .garson-feature-panel.is-active {
    animation: none;
  }
}

.common-b {
  margin-bottom: 5px;
  color: var(--at-theme-primary) !important;
}

html[dir="rtl"] .at-hero-social a {
  flex-direction: row-reverse;
}

html[dir="rtl"] .at-hero-social a svg,
html[dir="rtl"] .at-btn i svg,
html[dir="rtl"] .at-about-title-wrap .at-btn i svg {
  transform: scaleX(-1);
}

.at-btn {
  font-family: BBC Reith Qalam;
}

.main-title {
  color: var(--at-theme-primary);  
}
/* Keep service label row readable in RTL */
html[dir="rtl"] .alt-hero-service ul,
html[dir="rtl"] .at-hero-service ul {
  padding-right: 0;
  padding-left: 0;
  text-align: right;
}

html[dir="rtl"] .alt-hero-service ul li,
html[dir="rtl"] .at-hero-service ul li {
  text-align: right;
}

/* Buttons with dual text + icon */
html[dir="rtl"] .at-btn {
  direction: rtl;
}

html[dir="rtl"] .at-btn > span,
html[dir="rtl"] .at-btn > i {
  display: inline-flex;
}

/* Search overlay */
html[dir="rtl"] .at-search-form-toggle,
html[dir="rtl"] .at-search-top {
  text-align: right;
}

/* Mega menu lists */
html[dir="rtl"] .at-main-menu ul,
html[dir="rtl"] .at-submenu ul,
html[dir="rtl"] .at-megamenu ul {
  text-align: right;
  padding-right: 0;
}

/* Back to top stays visual; no change needed beyond direction */
html[dir="rtl"] .back-to-top-wrapper {
  left: 30px;
  right: auto;
}

/* ---- Persian word-based title / reveal (no char split) ---- */

/*
  Persian fonts (Iran Yekan) ink extends past the em box — especially «گ».
  --title-shift must clear that overflow so the orange ghost stays fully
  clipped until hover; padding-top keeps the white word from clipping on top.
*/
.at-title-anim:has(.at-title-text-fa),
.at-title-anim.overflow-hidden:has(.at-title-text-fa) {
  --title-shift: 1.28em;
  overflow: hidden !important;
  line-height: 1;
  display: block;
}

.at-title-text-fa {
  display: block;
  overflow: hidden;
  margin: 0;
  font-family: "Iran Yekan", "Yekan", "Iran Sans", sans-serif;
  font-weight: 700;
}

.at-title-text-fa .word {
  display: inline-block;
  white-space: nowrap;
  font-family: BBC Reith Qalam;
  vertical-align: top;
  /* Keep primary forever — currentColor on hover was turning orange → white */
  text-shadow: 0 var(--title-shift) var(--at-theme-primary);
  transition: translate 0.3s var(--basic-ease);
}

.at-title-anim:hover .at-title-text-fa .word {
  translate: 0 calc(-1 * var(--title-shift)) 0;
  transition: translate 0.5s calc((var(--word) - 1) * 0.08s) var(--basic-ease);
}

.at-title-text-fa sup {
  display: inline-block;
  vertical-align: super;
  line-height: 1;
}

.at-offcanvas-2-wrapper .at-offcanvas-menu > nav > ul > li > a {
  font-family: BBC Nassim;
}

/* Horizontal reveal only — do not clip RTL line start (first word on the right) */
.reveal-text-fa,
html[dir="rtl"] .at-rise-animation {
  max-width: 100%;
  overflow-wrap: break-word;
}

.reveal-text-fa .split-line {
  overflow: visible;
  max-width: 100%;
}

.reveal-text-fa .split-word {
  display: inline-block;
  white-space: nowrap;
}

/* Rise animation: word units keep Persian joining; clip per line */
html[dir="rtl"] .at-rise-animation .split-line {
  overflow: hidden;
  display: block;
  max-width: 100%;
  font-family: 'BBC Reith Qalam';
}

html[dir="rtl"] .at-rise-animation .split-word {
  display: inline-block;
  white-space: nowrap;
  vertical-align: top;
}

/* Mobile: allow long Persian titles to wrap so they do not widen the page */
@media (max-width: 991.98px) {
  .reveal-text-fa .split-word,
  html[dir="rtl"] .at-rise-animation .split-word {
    white-space: normal;
  }

  .reveal-text-fa .split-line,
  html[dir="rtl"] .at-rise-animation .split-line {
    overflow-wrap: anywhere;
  }
}

/* Hero throwable logos — full-bleed physics scene */
.sec-1-home-12 {
  --hero-throw-min-h: 100svh;
  position: relative;
  min-height: var(--hero-throw-min-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  overflow-x: clip;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

/* Copy stays readable but does not steal logo drags */
.sec-1-home-12__hero {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(40px, 8vh, 72px);
  pointer-events: none;
}

.sec-1-home-12__hero-inner {
  position: relative;
  z-index: 1;
  row-gap: clamp(18px, 2.5vh, 28px);
}

.sec-1-home-12__pill,
.sec-1-home-12__title,
.sec-1-home-12__sub {
  pointer-events: none;
}

.sec-1-home-12__ctas {
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.sec-1-home-12__ctas a {
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

.sec-1-home-12__hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: min(780px, 94vw);
  height: min(460px, 58vh);
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(254, 254, 254, 0.94) 0%,
    rgba(254, 254, 254, 0.62) 42%,
    rgba(254, 254, 254, 0) 72%
  );
  pointer-events: none;
  z-index: 0;
}

[data-bs-theme="dark"] .sec-1-home-12__hero::before {
  background: radial-gradient(
    ellipse at center,
    rgba(15, 15, 15, 0.92) 0%,
    rgba(15, 15, 15, 0.55) 42%,
    rgba(15, 15, 15, 0) 72%
  );
}

/* Layer must not capture touch — empty space scrolls the page */
.sec-1-home-12__throw.sec-6-home-15__throw {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  margin: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  touch-action: pan-y;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.sec-1-home-12__throw .client-capsule-wrapper-box,
.sec-1-home-12__throw .client-capsule-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  margin-top: 0 !important;
  overflow: hidden;
  pointer-events: none;
  touch-action: pan-y;
}

.sec-1-home-12__throw [data-t-throwable-el] {
  pointer-events: auto;
  /* pan-y until JS decides drag — keeps vertical page scroll working */
  touch-action: pan-y;
}

.sec-1-home-12__throw [data-t-throwable-el].is-throw-drag {
  touch-action: none;
}

.sec-1-home-12__throw .client-capsule-wrapper > *,
.sec-1-home-12__throw .client-box,
.sec-1-home-12__throw .client-box__label {
  -webkit-user-select: none !important;
     -moz-user-select: none !important;
          user-select: none !important;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}

.sec-1-home-12__throw .client-box {
  width: auto;
  min-width: clamp(96px, 11vw, 148px);
  height: clamp(46px, 5.2vw, 76px);
  padding: 8px 22px;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  cursor: grab;
  touch-action: pan-y;
}

.sec-1-home-12__throw .client-box__label {
  color: #fff;
  font-family: inherit;
  font-size: clamp(0.9rem, 1.35vw, 1.2rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.sec-1-home-12__throw [data-t-throwable-el].is-throw-drag .client-box {
  touch-action: none;
}

.sec-1-home-12__throw .client-box:active {
  cursor: grabbing;
}

.sec-1-home-12__throw .client-box--brand-h15 {
  background-color: var(--at-theme-primary);
}

/* Neutral chips: white + pink text (dark); black + pink text (light) */
.sec-1-home-12__throw .client-box.bg-neutral-500 {
  background-color: #fff !important;
}

.sec-1-home-12__throw .client-box.bg-neutral-500 .client-box__label {
  color: var(--at-theme-primary, #e32652);
}

[data-bs-theme="light"] .sec-1-home-12__throw .client-box.bg-neutral-500 {
  background-color: #0f0f0f !important;
}

[data-bs-theme="dark"] .sec-1-home-12__throw .client-box {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

body.is-throw-dragging {
  -webkit-user-select: none !important;
     -moz-user-select: none !important;
          user-select: none !important;
  overflow-x: hidden !important;
  cursor: grabbing;
}

body.is-throw-dragging #smooth-wrapper,
body.is-throw-dragging #smooth-content {
  overflow-x: hidden !important;
}

/* Mobile/tablet: same throwable physics as desktop, smaller capsules */
@media (max-width: 991.98px) {
  .sec-1-home-12 {
    --hero-throw-min-h: 100svh;
    min-height: var(--hero-throw-min-h);
    padding-top: 100px;
    padding-bottom: 48px;
  }

  .sec-1-home-12__throw {
    display: block !important;
    visibility: visible !important;
    pointer-events: auto;
  }

  .sec-1-home-12__throw .client-box {
    width: auto;
    min-width: clamp(72px, 22vw, 108px);
    height: clamp(36px, 11vw, 48px);
    padding: 6px 14px;
  }

  .sec-1-home-12__throw .client-box__label {
    font-size: clamp(0.8rem, 3.2vw, 0.95rem);
  }

  .sec-1-home-12__title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .sec-1-home-12__sub {
    font-size: 15px;
    max-width: 100%;
    padding-inline: 8px;
  }
}

.phone {
  color: var(--at-theme-primary);
}

/* WebGL point waves background (custom sec-2) */
.point-waves-wrap {
  background-color: transparent;
  min-height: 420px;
}

.point-waves-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}

/* ---- Home 3 Section 11 — steps (RTL, blog-card-2 style) ---- */
html[dir="rtl"] .home-3-section-11 {
  direction: rtl;
  text-align: right;
}

/* Keep title + stack row vertically centered while section-fix is pinned */
.home-3-section-11 .section-fix {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-3-section-11 .section-title-pin {
  width: 100%;
}

.home-3-section-11 .scroll-section .item {
  min-height: 0;
}

.home-3-section-11 .scroll-section .item:first-child {
  min-height: auto;
  height: auto;
}

.permium{
  color:var(--at-theme-primary) !important;
}

html[dir="rtl"] .home-3-section-11 .reveal-text-fa,
html[dir="rtl"] .home-3-section-11 .blog-card-2__title-link,
html[dir="rtl"] .home-3-section-11 .blog-card-2__meta,
html[dir="rtl"] .home-3-section-11 .blog-card-2__category {
  letter-spacing: 0;
}

html[dir="rtl"] .home-3-section-11 .blog-card-2__category {
  text-transform: none;
}

html[dir="rtl"] .home-3-section-11 .blog-card-2 {
  flex-direction: row-reverse;
}

html[dir="rtl"] .home-3-section-11 .blog-card-2__meta {
  line-height: 1.7;
}

html[dir="rtl"] .home-3-section-11 .blog-card-2__meta-text {
  display: inline;
}

/* Premium finale card (05) — same family, stronger presence, no image */
html[dir="rtl"] .home-3-section-11 .blog-card-2--premium {
  position: relative;
  overflow: hidden;
  align-items: stretch;
  min-height: 300px;
  padding: 40px 36px;
  border-bottom: none;
  border-radius: 16px;
  background: var(--at-neutral-0);
  color: var(--at-theme-primary);
}

html[dir="rtl"] .home-3-section-11 .blog-card-2--premium .blog-card-2__left {
  flex: 1 1 auto;
  gap: 18px;
  justify-content: center;
}

html[dir="rtl"] .home-3-section-11 .blog-card-2--premium .blog-card-2__category {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.text-start{
  color: var(--at-theme-primary) !important;
}

html[dir="rtl"] .home-3-section-11 .blog-card-2--premium .blog-card-2__title-link {
  color: #fff;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.35;
}

html[dir="rtl"] .home-3-section-11 .blog-card-2--premium .blog-card-2__meta,
html[dir="rtl"] .home-3-section-11 .blog-card-2--premium .blog-card-2__meta-text {
  color: var(--at-common-black);
  font-size: 15px;
  max-width: 36em;
}

@media only screen and (min-width: 768px) and (max-width: 991px),
  only screen and (min-width: 576px) and (max-width: 767px),
  (max-width: 574.98px) {
  html[dir="rtl"] .home-3-section-11 .blog-card-2 {
    flex-direction: column;
  }

  html[dir="rtl"] .home-3-section-11 .blog-card-2__thumb {
    flex: none;
    width: 100%;
    height: 220px;
    order: 2;
  }

  html[dir="rtl"] .home-3-section-11 .blog-card-2--premium {
    min-height: 450px;
    padding: 28px 24px;
  }
}

/* Explicit mobile/tablet: keep step cards from forcing desktop thumb width */
@media (max-width: 991.98px) {
  html[dir="rtl"] .home-3-section-11 .blog-card-2 {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  html[dir="rtl"] .home-3-section-11 .blog-card-2__left {
    flex: none;
    order: 1;
    min-width: 0;
  }

  html[dir="rtl"] .home-3-section-11 .blog-card-2__thumb {
    flex: none;
    width: 100%;
    max-width: 100%;
    height: 220px;
    order: 2;
  }

  html[dir="rtl"] .home-3-section-11 .reveal-text-fa.fz-ds-1,
  html[dir="rtl"] .home-3-section-11 .fz-ds-1 {
    font-size: clamp(2rem, 8vw, 3.25rem) !important;
    max-width: 100%;
  }

  /* Keep desktop absolute stack layout — pin animation runs on mobile too */
  .home-3-section-11 .scroll-section .item:not(:first-child) {
    position: absolute;
  }
}

/* ---- Home 14 / Section 5 — Plans (RTL FA — گارسون) ---- */
html[dir="rtl"] .sec-5-home-14[dir="rtl"] {
  direction: rtl;
  text-align: right;
  unicode-bidi: isolate;
}

html[dir="rtl"] .sec-5-home-14[dir="rtl"] .sec-5-home-14__eyebrow {
  letter-spacing: 0;
  text-transform: none;
  font-family: 'Yekan', sans-serif;
}

html[dir="rtl"] .sec-5-home-14[dir="rtl"] .sec-5-home-14__eyebrow-key,
html[dir="rtl"] .sec-5-home-14[dir="rtl"] .sec-5-home-14__eyebrow-meta {
  letter-spacing: 0;
}

html[dir="rtl"] .sec-5-home-14[dir="rtl"] .sec-5-home-14__title {
  letter-spacing: 0;
  line-height: 1.2;
  font-family: 'BBC Reith Qalam', 'Yekan', sans-serif;
}

html[dir="rtl"] .sec-5-home-14[dir="rtl"] .sec-5-home-14__head-copy,
html[dir="rtl"] .sec-5-home-14[dir="rtl"] .sec-5-home-14__row-title,
html[dir="rtl"] .sec-5-home-14[dir="rtl"] .sec-5-home-14__row-desc,
html[dir="rtl"] .sec-5-home-14[dir="rtl"] .sec-5-home-14__row-price-amount,
html[dir="rtl"] .sec-5-home-14[dir="rtl"] .sec-5-home-14__row-price-cta,
html[dir="rtl"] .sec-5-home-14[dir="rtl"] .sec-5-home-14__row-num {
  letter-spacing: 0;
  font-family: 'Yekan', sans-serif;
}

html[dir="rtl"] .sec-5-home-14[dir="rtl"] .sec-5-home-14__head-right {
  align-items: flex-start;
}

html[dir="rtl"] .sec-5-home-14[dir="rtl"] .sec-5-home-14__head-copy {
  text-align: right;
  line-height: 1.7;
}

html[dir="rtl"] .sec-5-home-14[dir="rtl"] .sec-5-home-14__row-title {
  line-height: 1.25;
}

html[dir="rtl"] .sec-5-home-14[dir="rtl"] .sec-5-home-14__row-desc {
  line-height: 1.7;
}

html[dir="rtl"] .sec-5-home-14[dir="rtl"] .sec-5-home-14__row-price {
  align-items: flex-start;
  text-align: right;
}

html[dir="rtl"] .sec-5-home-14[dir="rtl"] .sec-5-home-14__row-arrow {
  transform: scaleX(-1);
}

html[dir="rtl"] .sec-5-home-14[dir="rtl"] .sec-5-home-14__row-link:hover .sec-5-home-14__row-arrow {
  transform: scaleX(-1) translateX(-4px) translateY(-4px);
}

html[dir="rtl"] .sec-5-home-14[dir="rtl"] .at-btn-group .at-btn-circle svg {
  transform: scaleX(-1);
}

@media only screen and (min-width: 768px) and (max-width: 991px),
  only screen and (min-width: 576px) and (max-width: 767px),
  (max-width: 574.98px) {
  html[dir="rtl"] .sec-5-home-14[dir="rtl"] .sec-5-home-14__head-copy br {
    display: none;
  }

  html[dir="rtl"] .sec-5-home-14[dir="rtl"] .sec-5-home-14__row-price {
    align-items: flex-start;
    text-align: right;
  }
}

/* Mobile/tablet: collapse plan rows so fixed desktop columns cannot widen the page */
@media (max-width: 991.98px) {
  html[dir="rtl"] .sec-5-home-14[dir="rtl"] .sec-5-home-14__row-link {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 16px;
    row-gap: 12px;
    padding: 28px 0;
    max-width: 100%;
  }

  html[dir="rtl"] .sec-5-home-14[dir="rtl"] .sec-5-home-14__row-link .sec-5-home-14__row-num {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  html[dir="rtl"] .sec-5-home-14[dir="rtl"] .sec-5-home-14__row-link .sec-5-home-14__row-icon {
    grid-column: 1;
    grid-row: 2;
    width: 64px;
    height: 64px;
  }

  html[dir="rtl"] .sec-5-home-14[dir="rtl"] .sec-5-home-14__row-link .sec-5-home-14__row-meta {
    grid-column: 2 / -1;
    grid-row: 2;
    min-width: 0;
  }

  html[dir="rtl"] .sec-5-home-14[dir="rtl"] .sec-5-home-14__row-link .sec-5-home-14__row-price {
    grid-column: 2 / -1;
    grid-row: 3;
    align-items: flex-start;
    text-align: right;
  }

  html[dir="rtl"] .sec-5-home-14[dir="rtl"] .sec-5-home-14__row-link .sec-5-home-14__row-arrow {
    display: none;
  }

  html[dir="rtl"] .sec-5-home-14[dir="rtl"] .sec-5-home-14__row-title {
    font-size: clamp(1.125rem, 4.5vw, 1.5rem);
  }

  html[dir="rtl"] .sec-5-home-14[dir="rtl"] .sec-5-home-14__title {
    font-size: clamp(1.75rem, 7vw, 2.75rem);
    max-width: 100%;
  }
}

/* ---- Home 2 Section 11 — showreel / scroll-zoom (RTL FA) ---- */
/* Keep marquee geometry LTR so translateX(-50%) loops seamless like EN */
html[dir="rtl"] .home-2-section-11 .postbox-scroll-zoom-marquee,
html[dir="rtl"] .home-2-section-11 .postbox-scroll-zoom-marquee-row,
html[dir="rtl"] .home-2-section-11 .postbox-scroll-zoom-marquee-track {
  direction: ltr;
  unicode-bidi: isolate;
}

html[dir="rtl"] .home-2-section-11 .postbox-scroll-zoom-marquee-track {
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
  padding-right: 40px;
}

html[dir="rtl"] .home-2-section-11 .postbox-scroll-zoom-marquee-track > span {
  direction: rtl;
  unicode-bidi: isolate;
  font-family: 'Yekan', sans-serif;
}

html[dir="rtl"] .home-2-section-11 .postbox-play-btn {
  direction: rtl;
}

html[dir="rtl"] .home-2-section-11 .postbox-play-btn h1 {
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
  font-family: 'Yekan', sans-serif;
}

/* ---- Home 12 / Section 8 — FAQ (RTL FA — گارسون) ---- */
html[dir="rtl"] .sec-8-home-12[dir="rtl"] {
  direction: rtl;
  text-align: right;
  unicode-bidi: isolate;
  background-color: var(--at-neutral-0);
}

html[dir="rtl"] .sec-8-home-12[dir="rtl"] .sec-8-home-12__header {
  text-align: center;
}

html[dir="rtl"] .sec-8-home-12[dir="rtl"] .sec-8-home-12__eyebrow {
  letter-spacing: 0;
  text-transform: none;
  font-family: 'Yekan', sans-serif;
}

html[dir="rtl"] .sec-8-home-12[dir="rtl"] .sec-8-home-12__title {
  letter-spacing: 0;
  line-height: 1.25;
  font-family: 'BBC Reith Qalam', 'Yekan', sans-serif;
}

html[dir="rtl"] .sec-8-home-12[dir="rtl"] .sec-8-home-12__question,
html[dir="rtl"] .sec-8-home-12[dir="rtl"] .sec-8-home-12__answer p {
  letter-spacing: 0;
  font-family: 'Yekan', sans-serif;
}

html[dir="rtl"] .sec-8-home-12[dir="rtl"] .sec-8-home-12__answer p {
  line-height: 1.75;
}

/* Logical padding so denser start-edge spacing flips in RTL */
html[dir="rtl"] .sec-8-home-12[dir="rtl"] .sec-8-home-12__summary {
  padding: 22px 28px 22px 24px;
}

html[dir="rtl"] .sec-8-home-12[dir="rtl"] .sec-8-home-12__answer {
  padding: 0 28px 22px 24px;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  html[dir="rtl"] .sec-8-home-12[dir="rtl"] .sec-8-home-12__summary {
    padding: 20px 24px 20px 22px;
  }

  html[dir="rtl"] .sec-8-home-12[dir="rtl"] .sec-8-home-12__answer {
    padding: 0 24px 20px 22px;
  }
}

@media (max-width: 767.98px) {
  html[dir="rtl"] .sec-8-home-12[dir="rtl"] .sec-8-home-12__summary {
    padding: 18px 20px 18px 18px;
  }

  html[dir="rtl"] .sec-8-home-12[dir="rtl"] .sec-8-home-12__answer {
    padding: 0 20px 18px 18px;
  }
}

/* ---- Home 2 Section 13 — Blog (RTL FA — گارسون) ---- */
html[dir="rtl"] .home-2-section-13[dir="rtl"] {
  direction: rtl;
  text-align: right;
  unicode-bidi: isolate;
}

html[dir="rtl"] .home-2-section-13[dir="rtl"] .fz-ds-1,
html[dir="rtl"] .home-2-section-13[dir="rtl"] .blog-card-2__title-link,
html[dir="rtl"] .home-2-section-13[dir="rtl"] .blog-card-2__excerpt,
html[dir="rtl"] .home-2-section-13[dir="rtl"] .blog-card-2__meta,
html[dir="rtl"] .home-2-section-13[dir="rtl"] .blog-card-2__category,
html[dir="rtl"] .home-2-section-13[dir="rtl"] .at-btn .text-1,
html[dir="rtl"] .home-2-section-13[dir="rtl"] .at-btn .text-2 {
  letter-spacing: 0;
  text-transform: none;
  font-family: BBC Reith Qalam;
}

html[dir="rtl"] .home-2-section-13[dir="rtl"] .fz-ds-1 {
  font-family:BBC Reith Qalam;
  line-height: 1.15;
}

html[dir="rtl"] .home-2-section-13[dir="rtl"] .blog-card-2__category {
  border-radius: 50px;
}

html[dir="rtl"] .home-2-section-13[dir="rtl"] .blog-card-2__excerpt {
  line-height: 1.7;
}

/* Desktop list mode — only ≥992px (Swiper shell must not fight stacked layout) */
@media (min-width: 992px) {
  html[dir="rtl"] .home-2-section-13__slider:not(.is-slider) {
    overflow: visible;
  }

  html[dir="rtl"] .home-2-section-13__slider:not(.is-slider) .home-2-section-13__track {
    display: flex;
    flex-direction: column;
    gap: 0;
    transform: none !important;
    width: 100% !important;
  }

  html[dir="rtl"] .home-2-section-13__slider:not(.is-slider) .swiper-slide {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }

  html[dir="rtl"] .home-2-section-13__slider:not(.is-slider) .home-2-section-13__pagination {
    display: none;
  }

  html[dir="rtl"] .home-2-section-13__slider:not(.is-slider) .blog-card-2 {
    width: 100%;
  }
}

/* Mobile / tablet — carousel card layout even before Swiper boots (avoids PC flash) */
@media (max-width: 991.98px) {
  html[dir="rtl"] .home-2-section-13__slider {
    position: relative;
    overflow: hidden;
    padding-bottom: 48px;
    margin-inline-end: -12px;
    padding-inline-end: 12px;
  }

  html[dir="rtl"] .home-2-section-13__slider .swiper-slide {
    height: auto;
  }

  html[dir="rtl"] .home-2-section-13__slider .blog-card-2 {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    height: 100%;
    padding: 16px 16px 20px;
    border: 1px solid rgba(30, 30, 30, 0.08);
    border-radius: 16px;
    background: var(--at-neutral-0, #fff);
    border-bottom: 1px solid rgba(30, 30, 30, 0.08);
  }

  html[dir="rtl"] .home-2-section-13__slider .blog-card-2__left,
  html[dir="rtl"] .home-2-section-13__slider .blog-card-2__right {
    flex: none;
    order: unset;
    gap: 14px;
  }

  html[dir="rtl"] .home-2-section-13__slider .blog-card-2__thumb {
    flex: none;
    order: -1;
    width: 100%;
    height: 200px;
    border-radius: 12px;
  }

  html[dir="rtl"] .home-2-section-13__slider .blog-card-2__right {
    gap: 16px;
    margin-top: auto;
  }

  /* CSS scroll-snap until Swiper adds .is-slider */
  html[dir="rtl"] .home-2-section-13__slider:not(.is-slider) .home-2-section-13__track {
    display: flex;
    flex-direction: row;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    transform: none !important;
    width: 100% !important;
  }

  html[dir="rtl"] .home-2-section-13__slider:not(.is-slider) .home-2-section-13__track::-webkit-scrollbar {
    display: none;
  }

  html[dir="rtl"] .home-2-section-13__slider:not(.is-slider) .swiper-slide {
    width: 88% !important;
    flex-shrink: 0;
    height: auto !important;
    margin: 0 !important;
    scroll-snap-align: start;
  }

  html[dir="rtl"] .home-2-section-13__slider:not(.is-slider) .home-2-section-13__pagination {
    display: none;
  }

  /* Kill Swiper's left:50% + translateX(-50%) so bullets stay truly centered */
  html[dir="rtl"] .home-2-section-13__slider.is-slider .home-2-section-13__pagination,
  html[dir="rtl"] .home-2-section-13__slider.is-slider .home-2-section-13__pagination.swiper-pagination-horizontal {
    position: absolute;
    inset-inline: 0 12px;
    left: auto;
    right: auto;
    bottom: 8px;
    top: auto;
    width: auto;
    margin: 0;
    background: var(--at-neutral-0);
    transform: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-align: center;
    z-index: 2;
  }

  html[dir="rtl"] .home-2-section-13__pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    opacity: 0.35;
    background: var(--at-common-black, #1e1e1e);
    transition: width 0.25s ease, opacity 0.25s ease, border-radius 0.25s ease;
    flex-shrink: 0;
  }

  html[dir="rtl"] .home-2-section-13__pagination .swiper-pagination-bullet-active {
    width: 22px;
    border-radius: 999px;
    opacity: 1;
    background: var(--at-theme-primary, #c94b2a);
  }
}

@media (max-width: 574.98px) {
  html[dir="rtl"] .home-2-section-13[dir="rtl"] .fz-ds-1 {
    font-size: clamp(2.4rem, 12vw, 3.6rem) !important;
  }

  html[dir="rtl"] .home-2-section-13__slider .blog-card-2__thumb {
    height: 180px;
  }

  html[dir="rtl"] .home-2-section-13__slider .blog-card-2 {
    padding: 12px 12px 16px;
  }
}

/* Close fz-ds-1 / client-box gap for tablet widths used on this landing */
@media (max-width: 991.98px) {
  html[dir="rtl"] .fz-ds-1 {
    font-size: clamp(2.25rem, 8vw, 3.5rem) !important;
    max-width: 100%;
  }

  html[dir="rtl"] .sec-2-home-2,
  html[dir="rtl"] .sec-2-home-2 .container,
  html[dir="rtl"] .sec-2-home-2 .row {
    max-width: 100%;
  }

}

@media (min-width: 575px) and (max-width: 767.98px) {
  .sec-1-home-12__throw .client-box {
    width: auto;
    min-width: clamp(84px, 18vw, 120px);
    height: clamp(40px, 9vw, 52px);
  }
}

/* ---- Footer 12 (Home 12) — RTL FA گارسون ---- */
html[dir="rtl"] .footer-12[dir="rtl"] {
  direction: rtl;
  text-align: right;
  unicode-bidi: isolate;
}

html[dir="rtl"] .footer-12[dir="rtl"] .footer-12__cta-inner {
  text-align: center;
}

html[dir="rtl"] .footer-12[dir="rtl"] .footer-12__cta-pill-text,
html[dir="rtl"] .footer-12[dir="rtl"] .footer-12__cta-sub,
html[dir="rtl"] .footer-12[dir="rtl"] .footer-12__cta-submit,
html[dir="rtl"] .footer-12[dir="rtl"] input.footer-12__cta-input,
html[dir="rtl"] .footer-12[dir="rtl"] .footer-12__brand-desc,
html[dir="rtl"] .footer-12[dir="rtl"] .footer-12__col-links a,
html[dir="rtl"] .footer-12[dir="rtl"] .footer-12__hours-value,
html[dir="rtl"] .footer-12[dir="rtl"] .footer-12__copy,
html[dir="rtl"] .footer-12[dir="rtl"] .footer-12__legal a,
html[dir="rtl"] .footer-12[dir="rtl"] .footer-12__socials a {
  letter-spacing: 0;
  font-family: 'Yekan', sans-serif;
}

html[dir="rtl"] .footer-12[dir="rtl"] .footer-12__cta-title {
  letter-spacing: 0;
  line-height: 1.2;
  font-family: 'BBC Reith Qalam', 'Yekan', sans-serif;
}

html[dir="rtl"] .footer-12[dir="rtl"] .footer-12__col-title {
  letter-spacing: 0;
  text-transform: none;
  font-family: 'Yekan', sans-serif;
  font-weight: 600;
}

html[dir="rtl"] .footer-12[dir="rtl"] .footer-12__brand {
  column-gap: 10px;
}

html[dir="rtl"] .footer-12[dir="rtl"] .footer-12__brand-name {
  font-family: 'BBC Reith Qalam', 'Yekan', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0;
  color: #fefefe;
}

html[dir="rtl"] .footer-12[dir="rtl"] .footer-12__brand-logo {
  height: 28px;
  width: auto;
}

html[dir="rtl"] .footer-12[dir="rtl"] .footer-12__brand-desc {
  line-height: 1.7;
}

html[dir="rtl"] .footer-12[dir="rtl"] .footer-12__cta-sub {
  line-height: 1.5;
}

html[dir="rtl"] .footer-12[dir="rtl"] .footer-12__cta-plan-hint {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

html[dir="rtl"] .footer-12[dir="rtl"] .footer-12__cta-submit.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

html[dir="rtl"] .footer-12[dir="rtl"] input.footer-12__cta-input {
  text-align: right;
}

html[dir="rtl"] .footer-12[dir="rtl"] .footer-12__col,
html[dir="rtl"] .footer-12[dir="rtl"] .footer-12__bottom {
  align-items: flex-start;
}

html[dir="rtl"] .footer-12[dir="rtl"] .at-hero-social.footer-12__socials {
  justify-content: flex-start;
}

@media (max-width: 575.98px) {
  html[dir="rtl"] .footer-12[dir="rtl"] input.footer-12__cta-input {
    text-align: center;
  }

  html[dir="rtl"] .footer-12[dir="rtl"] .footer-12__cta-title {
    line-height: 1.25;
  }
}

/* Landing footer phone input — match contact-page field look */
.footer-12__cta-form {
  --gc-pink: #e32652;
  --gc-pink-rgb: 227, 38, 82;
  --footer12-cta-control-h: 52px;
}

.footer-12__cta-row {
  padding: 8px;
  background-color: rgba(255, 255, 255, 0.06);
  background-image:
    linear-gradient(145deg, rgba(var(--gc-pink-rgb), 0.18) 0%, rgba(var(--gc-pink-rgb), 0.04) 42%, transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(var(--gc-pink-rgb), 0.28);
  border-radius: 1.1rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 8px 22px rgba(0, 0, 0, 0.12);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.footer-12__cta-row:focus-within {
  border-color: rgba(var(--gc-pink-rgb), 0.75);
  box-shadow:
    0 0 0 4px rgba(var(--gc-pink-rgb), 0.2),
    0 12px 30px rgba(var(--gc-pink-rgb), 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.1);
  background-image:
    linear-gradient(145deg, rgba(var(--gc-pink-rgb), 0.24) 0%, rgba(var(--gc-pink-rgb), 0.06) 48%, transparent 75%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
}

input.footer-12__cta-input {
  height: var(--footer12-cta-control-h);
  padding: 0 1rem;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0.85rem;
  color: #fefefe;
  font-size: 1.02rem;
  box-shadow: none !important;
}

input.footer-12__cta-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
  opacity: 1;
}

input.footer-12__cta-input:focus {
  outline: none;
  box-shadow: none !important;
}

.footer-12__cta-submit {
  height: var(--footer12-cta-control-h);
  padding: 0 1.35rem;
  background: linear-gradient(135deg, #ff4d73 0%, var(--gc-pink) 45%, #c51d45 100%);
  color: #fff;
  border-radius: 0.85rem;
  font-weight: 700;
  box-shadow:
    0 10px 22px rgba(var(--gc-pink-rgb), 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.footer-12__cta-submit:hover,
.footer-12__cta-submit:focus-visible {
  background: linear-gradient(135deg, #ff5f80 0%, #ed3a62 45%, #d0224c 100%);
  filter: brightness(1.03);
}

html[data-bs-theme="light"] .footer-12__cta-row {
  background-color: rgba(255, 255, 255, 0.92);
  background-image:
    linear-gradient(145deg, rgba(var(--gc-pink-rgb), 0.1) 0%, rgba(var(--gc-pink-rgb), 0.03) 45%, transparent 72%),
    linear-gradient(180deg, #fff, #faf7f8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 20px rgba(227, 38, 82, 0.08);
}

html[data-bs-theme="light"] input.footer-12__cta-input {
  color: #1e1e1e;
}

html[data-bs-theme="light"] input.footer-12__cta-input::placeholder {
  color: rgba(30, 30, 30, 0.45);
}

@media (max-width: 575.98px) {
  .footer-12__cta-row {
    padding: 0;
    background: transparent;
    background-image: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .footer-12__cta-row:focus-within {
    box-shadow: none;
    background: transparent;
    background-image: none;
  }

  input.footer-12__cta-input {
    width: 100%;
    min-height: 3.5rem;
    height: auto;
    padding:0.7rem !important;
    border-radius: 1.1rem !important;
    border: 1px solid rgba(var(--gc-pink-rgb), 0.28) !important;
    background-color: rgba(255, 255, 255, 0.06) !important;
    background-image:
      linear-gradient(145deg, rgba(var(--gc-pink-rgb), 0.18) 0%, rgba(var(--gc-pink-rgb), 0.04) 42%, transparent 70%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      inset 0 -1px 0 rgba(0, 0, 0, 0.12),
      0 8px 22px rgba(0, 0, 0, 0.12) !important;
  }

  input.footer-12__cta-input:focus {
    border-color: rgba(var(--gc-pink-rgb), 0.75) !important;
    box-shadow:
      0 0 0 4px rgba(var(--gc-pink-rgb), 0.2),
      0 12px 30px rgba(var(--gc-pink-rgb), 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
  }

  .footer-12__cta-submit {
    width: 100%;
    min-height: 3.5rem;
    height: auto;
    border-radius: 1.1rem;
    font-size: 1.05rem;
  }

  html[data-bs-theme="light"] input.footer-12__cta-input {
    background-color: rgba(255, 255, 255, 0.92) !important;
    background-image:
      linear-gradient(145deg, rgba(var(--gc-pink-rgb), 0.1) 0%, rgba(var(--gc-pink-rgb), 0.03) 45%, transparent 72%),
      linear-gradient(180deg, #fff, #faf7f8) !important;
  }
}
