/* ==========================================================================
   Dr. Elen Arasi — elenarasi.com
   Shared styles (RTL / Persian first)
   Palette (from PRD §6): white, ivory, matte gold, emerald, charcoal
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --white: #ffffff;
  --ivory: #faf7f0;
  --gold: #b8964e;
  --emerald: #1f4d3a;
  --charcoal: #2b2b2b;

  --text-soft: rgba(43, 43, 43, 0.8);
  --on-emerald: rgba(255, 255, 255, 0.9);
  --hairline: rgba(184, 150, 78, 0.55);

  --font-fa: "Vazirmatn", "Tahoma", "Segoe UI", system-ui, sans-serif;
  --font-logo: "Cormorant Garamond", "Times New Roman", serif;

  --container: 1160px;
  --gutter: 24px;
  --section-pad: 64px;
  --header-h: 76px;
}
@media (min-width: 900px) {
  :root {
    --section-pad: 96px;
    --gutter: 40px;
  }
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-fa);
  font-size: 17px;
  line-height: 1.9;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (min-width: 900px) {
  body {
    font-size: 18px;
  }
}
img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--charcoal);
  outline-offset: 3px;
}
.on-emerald :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--white);
}
[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--charcoal);
  color: var(--white);
}
.skip-link:focus {
  top: 12px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: var(--section-pad);
}
.section--ivory {
  background: var(--ivory);
}
.section--emerald {
  background: var(--emerald);
  color: var(--white);
}
.center {
  text-align: center;
}

/* ---------- Type ---------- */
.section-title {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 300;
  line-height: 1.5;
  text-align: center;
}
.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  margin: 22px auto 0;
  background: var(--gold);
}
.section--emerald .section-title {
  color: var(--white);
}
.section-head {
  margin-bottom: 48px;
}
@media (min-width: 900px) {
  .section-head {
    margin-bottom: 64px;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 30px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  background: var(--gold);
  color: var(--white);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
}
.btn--outline {
  background: transparent;
  color: var(--charcoal);
}
.btn--outline:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.btn--sm {
  min-height: 44px;
  padding: 8px 20px;
  font-size: 0.95rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--hairline);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}
.logo__en {
  font-family: var(--font-logo);
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: 0.02em;
  direction: ltr;
  white-space: nowrap;
}
.logo__fa {
  margin-top: 3px;
  font-size: 0.74rem;
  font-weight: 400;
  color: var(--text-soft);
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 36px;
}
.site-nav__link {
  position: relative;
  padding-block: 6px;
  font-size: 1rem;
}
.site-nav__link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.site-nav__link:hover::after,
.site-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 20px;
  height: 1px;
  margin-inline: auto;
  background: var(--charcoal);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle__bars {
  position: relative;
}
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
  position: absolute;
  inset-inline: 0;
}
.menu-toggle__bars::before {
  top: -6px;
}
.menu-toggle__bars::after {
  top: 6px;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars {
  background: transparent;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 859px) {
  :root {
    --header-h: 68px;
    --gutter: 18px;
  }
  .js .menu-toggle {
    display: block;
  }
  .site-header__inner {
    gap: 10px;
  }
  .site-header__actions {
    margin-inline-start: auto;
    gap: 8px;
  }
  .logo__en {
    font-size: 1.25rem;
  }
  .logo__fa {
    font-size: 0.66rem;
  }
  .site-header .btn--sm {
    min-height: 40px;
    padding: 6px 12px;
    font-size: 0.8rem;
    white-space: nowrap;
  }
  .menu-toggle {
    width: 40px;
    height: 40px;
  }
  .site-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--hairline);
    padding-inline: var(--gutter);
  }
  .js .site-nav {
    display: none;
  }
  .js .site-nav.is-open {
    display: block;
  }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav__link {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(184, 150, 78, 0.25);
  }
  .site-nav__list li:last-child .site-nav__link {
    border-bottom: 0;
  }
  .site-nav__link::after {
    display: none;
  }
  .site-nav__link[aria-current="page"] {
    color: var(--emerald);
    font-weight: 600;
  }
}
@media (max-width: 359px) {
  .logo__en {
    font-size: 1.1rem;
  }
  .site-header .btn--sm {
    padding-inline: 9px;
    font-size: 0.74rem;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding-block: 40px var(--section-pad);
}
.hero__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.hero__media {
  order: -1;
  width: min(100%, 360px);
  margin-inline: auto;
  padding: 14px;
  border: 1px solid var(--gold);
}
.hero__media picture,
.hero__media img {
  width: 100%;
}
.hero__title {
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  font-weight: 300;
  line-height: 1.4;
}
.hero__sub {
  margin-top: 24px;
  font-size: 1.1rem;
  line-height: 2;
  color: var(--text-soft);
}
.hero__cta {
  margin-top: 36px;
}
.hero__trust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  font-size: 0.95rem;
  color: var(--text-soft);
}
.hero__trust::before {
  content: "";
  flex: none;
  width: 40px;
  height: 1px;
  background: var(--gold);
}
@media (min-width: 900px) {
  .hero {
    padding-block: 72px var(--section-pad);
  }
  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 72px;
  }
  .hero__media {
    order: 0;
    width: min(100%, 440px);
    margin-inline: 0 auto;
  }
}

/* ---------- Pain points (ivory) ---------- */
.pain__list {
  display: grid;
  gap: 8px 56px;
  max-width: 940px;
  margin-inline: auto;
}
.pain__item {
  padding-block: 14px;
  padding-inline-start: 22px;
  border-inline-start: 1px solid var(--gold);
  font-size: 1.1rem;
}
.pain__closing {
  max-width: 760px;
  margin: 48px auto 0;
  font-size: 1.25rem;
  line-height: 2.05;
  font-weight: 400;
}
@media (min-width: 760px) {
  .pain__list {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Packages ---------- */
.cards {
  display: grid;
  gap: 24px;
}
.card {
  display: flex;
  flex-direction: column;
  padding: 36px 30px 32px;
  background: var(--white);
  border: 1px solid var(--gold);
}
.card__title {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.6;
}
.card__kicker {
  margin-top: 4px;
  font-size: 0.95rem;
  color: var(--text-soft);
}
.card__desc {
  margin-top: 18px;
  color: var(--text-soft);
}
.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.card__tags li {
  padding: 2px 12px;
  border: 1px solid var(--hairline);
  font-size: 0.82rem;
  line-height: 1.9;
}
.card__price {
  margin-top: auto;
  padding-top: 26px;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gold);
}
.card .btn {
  margin-top: 20px;
  width: 100%;
}
@media (min-width: 900px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

/* ---------- Why me (emerald) ---------- */
.why__grid {
  display: grid;
  gap: 20px;
}
.why__item {
  padding: 30px 28px;
  border-top: 1px solid var(--hairline);
}
.why__item h3 {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--white);
}
.why__item p {
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.95;
  color: var(--on-emerald);
}
.why__item--featured {
  padding: 40px 32px;
  border: 1px solid var(--gold);
}
.why__item--featured h3 {
  font-size: 1.5rem;
  font-weight: 400;
}
.why__item--featured p {
  font-size: 1.05rem;
}
.why__key {
  display: block;
  margin-top: 14px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.8;
  color: var(--gold);
}
@media (min-width: 640px) {
  .why__grid {
    grid-template-columns: 1fr 1fr;
  }
  .why__item--featured {
    grid-column: 1 / -1;
  }
  .why__item:last-child {
    grid-column: 1 / -1;
  }
}
@media (min-width: 960px) {
  .why__grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 28px;
  }
  .why__item {
    grid-column: span 2;
  }
  .why__item--featured {
    grid-column: 1 / -1;
    padding: 52px 56px;
  }
  .why__item:nth-last-child(-n + 2) {
    grid-column: span 3;
  }
  .why__item:last-child {
    grid-column: span 3;
  }
}

/* ---------- Trust bar ---------- */
.stats {
  display: grid;
  gap: 28px;
  max-width: 880px;
  margin-inline: auto;
}
.stat {
  text-align: center;
}
.stat__num {
  display: block;
  font-size: 3.2rem;
  font-weight: 200;
  line-height: 1.3;
  color: var(--gold);
}
.stat__label {
  display: block;
  margin-top: 2px;
  font-size: 1rem;
  color: var(--text-soft);
}
.trust__note {
  max-width: 720px;
  margin: 52px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--hairline);
  text-align: center;
}
.trust__note strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 2;
}
.trust__note p {
  margin-top: 6px;
  color: var(--text-soft);
}
@media (min-width: 700px) {
  .stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .stat + .stat {
    border-inline-start: 1px solid var(--hairline);
  }
}

/* ---------- Steps (ivory) ---------- */
.steps {
  display: grid;
  gap: 36px;
  max-width: 1000px;
  margin-inline: auto;
  counter-reset: none;
}
.step {
  text-align: center;
}
.step__num {
  display: block;
  font-size: 3rem;
  font-weight: 200;
  line-height: 1.3;
  color: var(--gold);
}
.step__num::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  margin: 8px auto 0;
  background: var(--gold);
}
.step p {
  margin-top: 16px;
  max-width: 300px;
  margin-inline: auto;
}
@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
  }
}

/* ---------- Closing CTA ---------- */
.final-cta {
  text-align: center;
}
.final-cta__title {
  max-width: 760px;
  margin: 0 auto 36px;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 300;
  line-height: 1.6;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--emerald);
  color: var(--white);
  padding-top: 64px;
}
.site-footer__grid {
  display: grid;
  gap: 36px;
}
.site-footer__name {
  font-size: 1.3rem;
  font-weight: 500;
}
.site-footer__tag {
  margin-top: 6px;
  color: var(--on-emerald);
  font-size: 0.95rem;
}
.site-footer__list {
  display: grid;
  gap: 10px;
  color: var(--on-emerald);
  font-size: 0.98rem;
}
.site-footer__list a {
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-footer__list a:hover {
  border-bottom-color: var(--white);
}
.ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}
.social {
  display: flex;
  gap: 14px;
}
.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  transition: background-color 0.25s ease;
}
.social a:hover {
  background: rgba(255, 255, 255, 0.12);
}
.social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.site-footer__copy {
  margin-top: 56px;
  padding-block: 22px;
  border-top: 1px solid rgba(184, 150, 78, 0.45);
  text-align: center;
  font-size: 0.9rem;
  color: var(--on-emerald);
}
@media (min-width: 800px) {
  .site-footer__grid {
    grid-template-columns: 1.3fr 1fr auto;
    align-items: start;
    gap: 56px;
  }
}

/* ---------- Scroll reveal (progressive enhancement) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Inner pages: page intro, packages, fit list, FAQ
   ========================================================================== */

.page-hero {
  padding-block: 64px 24px;
  text-align: center;
}
.page-hero__title {
  max-width: 820px;
  margin-inline: auto;
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  font-weight: 300;
  line-height: 1.5;
}
.page-hero__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  margin: 26px auto 0;
  background: var(--gold);
}
.page-hero__sub {
  max-width: 740px;
  margin: 26px auto 0;
  font-size: 1.1rem;
  line-height: 2.05;
  color: var(--text-soft);
}
@media (min-width: 900px) {
  .page-hero {
    padding-block: 96px 40px;
  }
}

/* First-step strip */
.first-step {
  display: grid;
  gap: 24px;
  align-items: center;
  max-width: 960px;
  margin-inline: auto;
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid var(--gold);
}
.first-step__label {
  font-size: 0.95rem;
  color: var(--text-soft);
}
.first-step__title {
  margin-top: 2px;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.7;
}
.first-step__text {
  margin-top: 10px;
  color: var(--text-soft);
}
@media (min-width: 860px) {
  .first-step {
    grid-template-columns: 1fr auto;
    gap: 48px;
    padding: 44px 48px;
  }
}

/* Package sections */
.pkg {
  --soft: var(--text-soft);
}
.section--emerald.pkg {
  --soft: var(--on-emerald);
}
.pkg__grid {
  display: grid;
  gap: 40px;
}
.pkg__badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 2px 16px;
  border: 1px solid var(--gold);
  font-size: 0.85rem;
  line-height: 1.9;
}
.pkg__title {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 300;
  line-height: 1.55;
}
.pkg__title small {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
  font-weight: 400;
  color: var(--soft);
}
.pkg__lead {
  margin-top: 22px;
  font-size: 1.2rem;
  line-height: 2;
}
.pkg__text {
  margin-top: 14px;
  color: var(--soft);
}
.pkg__meta {
  margin-top: 28px;
  border-top: 1px solid var(--hairline);
}
.pkg__meta div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 16px;
  padding-block: 14px;
  border-bottom: 1px solid var(--hairline);
}
.pkg__meta dt {
  color: var(--soft);
  font-size: 0.95rem;
}
.pkg__meta dd {
  margin: 0;
  font-weight: 500;
}
.pkg__note {
  margin-top: 18px;
  font-size: 0.95rem;
  color: var(--soft);
}
.pkg .btn {
  margin-top: 28px;
}
.section--emerald .btn:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--charcoal);
}
.pkg__block + .pkg__block {
  margin-top: 36px;
}
.pkg__block h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 1.05rem;
  font-weight: 600;
}
.pkg__block h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hairline);
}
.dash-list li {
  position: relative;
  padding-block: 5px;
  padding-inline-start: 28px;
  color: var(--soft);
}
.dash-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 1.1rem;
  width: 14px;
  height: 1px;
  background: var(--gold);
}
.dash-list strong {
  color: var(--charcoal);
  font-weight: 600;
}
.section--emerald .dash-list strong {
  color: var(--white);
}
@media (min-width: 960px) {
  .pkg__grid {
    grid-template-columns: 5fr 7fr;
    gap: 80px;
    align-items: start;
  }
}

/* Transformation projects */
.projects {
  display: grid;
  gap: 8px 40px;
}
.project {
  padding-block: 16px;
  border-top: 1px solid var(--hairline);
}
.project h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}
.project p {
  margin-top: 4px;
  color: var(--soft);
  font-size: 0.98rem;
  line-height: 1.95;
}
@media (min-width: 640px) {
  .projects {
    grid-template-columns: 1fr 1fr;
  }
  .project--wide {
    grid-column: 1 / -1;
  }
}

/* Which one fits */
.fit {
  max-width: 860px;
  margin-inline: auto;
  border-top: 1px solid var(--hairline);
}
.fit li {
  display: grid;
  gap: 4px 20px;
  align-items: center;
  padding-block: 24px;
  border-bottom: 1px solid var(--hairline);
}
.fit__q {
  font-size: 1.15rem;
}
.fit__arrow {
  display: none;
  color: var(--gold);
  font-size: 1.4rem;
}
.fit__a {
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
  justify-self: start;
}
.fit__a:hover {
  color: var(--emerald);
}
.fit__more {
  max-width: 860px;
  margin: 36px auto 0;
  text-align: center;
  color: var(--text-soft);
}
@media (min-width: 760px) {
  .fit li {
    grid-template-columns: 1fr auto 11rem;
  }
  .fit__arrow {
    display: block;
  }
}

/* FAQ */
.faq {
  max-width: 820px;
  margin-inline: auto;
  border-top: 1px solid var(--hairline);
}
.faq details {
  border-bottom: 1px solid var(--hairline);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px;
  font-size: 1.1rem;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.6rem;
  font-weight: 200;
  line-height: 1;
  color: var(--gold);
}
.faq details[open] summary::after {
  content: "−";
}
.faq__answer {
  padding-bottom: 24px;
  color: var(--text-soft);
}

/* ==========================================================================
   About page
   ========================================================================== */
:root {
  --soft: var(--text-soft);
}

.prose {
  max-width: 700px;
  margin-inline: auto;
}
.prose p {
  font-size: 1.15rem;
  line-height: 2.2;
}
.prose p + p {
  margin-top: 1.3em;
}

.credentials {
  --soft: var(--charcoal);
  display: grid;
  gap: 48px;
  max-width: 980px;
  margin: 56px auto 0;
  padding-top: 56px;
  border-top: 1px solid var(--hairline);
}
.credentials h3 {
  margin-bottom: 16px;
  font-size: 1.25rem;
  font-weight: 500;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tags li {
  padding: 4px 16px;
  border: 1px solid var(--gold);
  font-size: 0.95rem;
  line-height: 1.9;
}
@media (min-width: 860px) {
  .credentials {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }
}

.network {
  max-width: 860px;
  margin-inline: auto;
  padding: 44px 32px;
  border: 1px solid var(--gold);
  text-align: center;
}
.network h3 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 400;
  line-height: 1.7;
}
.network p {
  margin-top: 18px;
  color: var(--on-emerald);
  line-height: 2.05;
}
@media (min-width: 800px) {
  .network {
    padding: 56px 64px;
  }
}

/* ==========================================================================
   Booking page and form
   ========================================================================== */
.booking {
  display: grid;
  gap: 40px;
  grid-template-areas:
    "info"
    "form"
    "contact";
}
.booking__info {
  grid-area: info;
}
.booking__form {
  grid-area: form;
}
.booking__contact {
  grid-area: contact;
}
@media (min-width: 960px) {
  .booking {
    grid-template-columns: 5fr 7fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "info form"
      "contact form";
    gap: 48px 72px;
    align-items: start;
  }
}

.booking h2 {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.7;
}
.booking__steps li {
  position: relative;
  padding-block: 8px;
  padding-inline-start: 28px;
  color: var(--text-soft);
}
.booking__steps li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 1.25rem;
  width: 14px;
  height: 1px;
  background: var(--gold);
}
.booking__steps {
  margin-top: 14px;
}

.btn--emerald {
  background: var(--emerald);
  border-color: var(--emerald);
}
.btn--emerald:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
}
.booking__contact p {
  color: var(--text-soft);
}
.booking__contact .btn {
  margin-top: 16px;
}
.booking__office {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  color: var(--text-soft);
  font-size: 0.98rem;
}

/* Form */
.form-card {
  padding: 28px 22px;
  background: var(--white);
  border: 1px solid var(--gold);
}
@media (min-width: 700px) {
  .form-card {
    padding: 44px 48px;
  }
}
.field {
  margin-bottom: 26px;
  min-width: 0;
  border: 0;
  padding: 0;
}
.field > label,
.field > legend {
  display: block;
  padding: 0;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 1rem;
}
.req {
  margin-inline-start: 4px;
}
.hint {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-soft);
}
.input {
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid rgba(43, 43, 43, 0.4);
  border-radius: 2px;
  background: var(--white);
  color: var(--charcoal);
  font: inherit;
  font-size: 1rem;
  line-height: 1.7;
}
textarea.input {
  min-height: 120px;
  resize: vertical;
}
.input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}
.input--ltr {
  direction: ltr;
  text-align: left;
}
.input--ltr::placeholder {
  color: rgba(43, 43, 43, 0.45);
}
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 6px 16px;
  border: 1px solid rgba(43, 43, 43, 0.4);
  border-radius: 2px;
  background: var(--white);
  font-size: 0.98rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.choice input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--emerald);
}
.choice:hover {
  border-color: var(--gold);
}
.choice:has(input:checked) {
  border-color: var(--emerald);
  background: var(--ivory);
}
.choice:has(input:focus-visible) {
  outline: 2px solid var(--charcoal);
  outline-offset: 2px;
}
.field.has-error .input,
.field.has-error .choice {
  border-color: var(--charcoal);
  border-width: 2px;
}
.field-error {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.92rem;
  font-weight: 600;
}
.field-error::before {
  content: "!";
  display: grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--charcoal);
  border-radius: 50%;
  font-size: 0.8rem;
  line-height: 1;
}
.field.has-error .field-error {
  display: flex;
}
.hp {
  position: absolute !important;
  inset-inline-start: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-submit {
  width: 100%;
  margin-top: 6px;
}
.form-submit[disabled] {
  opacity: 0.7;
  cursor: wait;
}
.form-note {
  margin-top: 16px;
  font-size: 0.92rem;
  text-align: center;
  color: var(--text-soft);
}
.form-fail {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border: 2px solid var(--charcoal);
  font-weight: 600;
}
.form-fail.is-visible {
  display: block;
}
.form-success {
  display: none;
  padding: 36px 8px;
  text-align: center;
}
.form-success.is-visible {
  display: block;
}
.form-success p {
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 2.1;
}
.form-success::before {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  margin: 0 auto 28px;
  background: var(--gold);
}
.form-success:focus {
  outline: none;
}

/* ==========================================================================
   English version (LTR) — applies only to <html lang="en">
   Layout already uses logical properties, so it mirrors by itself.
   Here: Latin typography and tighter line-heights.
   ========================================================================== */
html[lang="en"] {
  --font-fa: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Vazirmatn", sans-serif;
}
html[lang="en"] body {
  line-height: 1.7;
}
html[lang="en"] :is(p, li, dd, dt, summary, label, legend, .btn, .hint, .field-error) {
  line-height: 1.7;
}
html[lang="en"] :is(h1, h2, h3, h4, .hero__title, .page-hero__title, .section-title, .final-cta__title, .pkg__title, .stat__num) {
  font-family: var(--font-logo);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}
html[lang="en"] :is(h3, h4) {
  font-weight: 600;
}
html[lang="en"] .hero__title {
  font-size: clamp(2.5rem, 6vw, 4.1rem);
}
html[lang="en"] .page-hero__title,
html[lang="en"] .final-cta__title {
  font-size: clamp(2.1rem, 4.6vw, 3.2rem);
}
html[lang="en"] .section-title {
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
}
html[lang="en"] .pkg__title {
  font-size: clamp(2rem, 4vw, 2.7rem);
}
html[lang="en"] :is(.card__title, .first-step__title, .pkg__block h3, .why__item h3, .project h4, .network h3, .credentials h3, .booking__info h2, .booking__contact h2) {
  font-size: 1.4rem;
}
html[lang="en"] .stat__num {
  font-size: 2.6rem;
}
html[lang="en"] .logo__fa {
  font-family: "Vazirmatn", "Tahoma", system-ui, sans-serif;
}
html[lang="en"] .site-nav__lang,
html[lang="en"] .lang-switch {
  font-family: "Vazirmatn", "Tahoma", system-ui, sans-serif;
}
html[lang="fa"] .site-nav__lang,
html[lang="fa"] .lang-switch {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: 0.06em;
}
.btn__short {
  display: none;
}
@media (max-width: 640px) {
  .btn__full {
    display: none;
  }
  .btn__short {
    display: inline;
  }
}

/* ---------- Language switch (outer end of the header) ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--hairline);
  font-size: 0.9rem;
  color: var(--charcoal);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.lang-switch:hover {
  border-color: var(--gold);
}
.nav-lang-mobile {
  display: none;
}
@media (max-width: 859px) {
  .lang-switch {
    display: none;
  }
  .nav-lang-mobile {
    display: list-item;
  }
}
