/*
 * ============================================================
 *  MASTER HAWALA — STYLESHEET
 *  assets/css/style.css
 *
 *  Sections:
 *  01  Custom Properties (Design Tokens)
 *  02  Reset & Base
 *  03  Typography
 *  04  Layout Utilities
 *  05  Buttons
 *  06  Navigation
 *  07  Hero
 *  08  Trust Bar
 *  09  Section Commons
 *  10  Features
 *  11  How It Works
 *  12  Pricing
 *  13  Contact
 *  14  Footer
 *  15  Animations & Scroll FX
 *  16  Responsive — Tablet (≤ 960px)
 *  17  Responsive — Mobile (≤ 600px)
 *  18  RTL Overrides
 * ============================================================
 */

/* ── 01  Custom Properties ─────────────────────────────────── */
:root {
  /* Palette */
  --ink:         #0c1e1c;
  --ink-soft:    #1a3230;
  --teal:        #0e4f47;
  --teal-mid:    #136b61;
  --teal-lite:   #1d8a7d;
  --gold:        #c4912e;
  --gold-lite:   #dfae56;
  --cream:       #f5f0e8;
  --cream-2:     #ece6d8;
  --white:       #ffffff;
  --muted:       #6a7f7d;
  --danger:      #c0392b;
  --border:      rgba(14, 79, 71, 0.13);

  /* Typography */
  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'Plus Jakarta Sans', sans-serif;
  --ff-dari:    'Vazirmatn', sans-serif;

  /* Layout */
  --nav-h:      68px;
  --max-w:      1140px;
  --pad-x:      24px;
  --radius:     14px;
  --radius-sm:  9px;

  /* Shadows */
  --shadow-sm:  0 2px 12px rgba(12, 30, 28, 0.08);
  --shadow:     0 4px 28px rgba(12, 30, 28, 0.11);
  --shadow-lg:  0 12px 56px rgba(12, 30, 28, 0.16);

  /* Transitions */
  --tx: 0.22s ease;
}

/* ── 02  Reset & Base ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.rtl {
  direction: rtl;
  font-family: var(--ff-dari);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Skip link — accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top var(--tx);
}
.skip-link:focus {
  top: 0;
}

/* ── 03  Typography ────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}
.rtl .section-label::before { order: 2; }

.section-h2 {
  font-family: var(--ff-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 600px;
}

/* ── 04  Layout Utilities ──────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section {
  padding-block: 96px;
}

.section-alt {
  background: var(--cream-2);
}

.section-dark {
  background: var(--ink);
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-sub {
  margin-inline: auto;
}

.section-dark .section-sub {
  color: rgba(255, 255, 255, 0.55);
}

/* ── 05  Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--tx), color var(--tx),
              border-color var(--tx), transform var(--tx),
              box-shadow var(--tx);
}

.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 4px 18px rgba(196, 145, 46, 0.35);
}
.btn--primary:hover {
  background: var(--gold-lite);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 145, 46, 0.42);
}

.btn--ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.85);
}
.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn--outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--ink);
}
.btn--outline:hover {
  border-color: var(--teal-mid);
  background: rgba(14, 79, 71, 0.05);
}

.btn--teal {
  background: var(--teal);
  color: var(--white);
}
.btn--teal:hover {
  background: var(--teal-mid);
  transform: translateY(-1px);
}

.btn--white {
  background: var(--white);
  color: var(--teal);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}
.btn--white:hover {
  background: var(--cream);
  transform: translateY(-1px);
}

.btn--full { width: 100%; }

/* ── 06  Navigation ────────────────────────────────────────── */
.main-nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: var(--nav-h);
  z-index: 200;
  transition: background var(--tx), backdrop-filter var(--tx), box-shadow var(--tx);
}

.nav--scrolled {
  background: rgba(7, 22, 20, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.28);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--teal-lite) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-en {
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
}

.nav-logo-fa {
  font-family: var(--ff-dari);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--tx);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
  outline: none;
}

/* Nav right controls */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Language toggle */
.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 7px 12px;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  transition: background var(--tx);
}
.lang-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}
.lang-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: 6px;
  transition: background var(--tx);
}
.hamburger:hover {
  background: rgba(255, 255, 255, 0.08);
}
.hamburger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.hamburger--open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger--open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger--open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset-block-start: var(--nav-h);
  inset-inline: 0;
  background: rgba(7, 22, 20, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 16px 24px 24px;
  z-index: 199;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu--open {
  display: flex;
}

.mobile-menu a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color var(--tx);
}
.mobile-menu a:hover { color: var(--white); }
.mobile-menu a:last-child { border-bottom: none; }

/* ── 07  Hero ──────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  background: var(--ink);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-block-start: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 20% 50%, rgba(14, 79, 71, 0.42) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(196, 145, 46, 0.1) 0%, transparent 70%);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.023) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.023) 1px, transparent 1px);
  background-size: 56px 56px;
}

.hero-bg-geo {
  position: absolute;
  inset-inline-end: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  opacity: 0.04;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-block: 80px 100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196, 145, 46, 0.1);
  border: 1px solid rgba(196, 145, 46, 0.26);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-lite);
  letter-spacing: 0.05em;
  margin-bottom: 22px;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

.hero-h1 {
  font-family: var(--ff-display);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-h1-em {
  font-style: italic;
  color: var(--gold-lite);
}

.hero-sub {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 34px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  flex-wrap: wrap;
}

.hero-stat-n {
  font-family: var(--ff-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--gold-lite);
  line-height: 1;
}

.hero-stat-l {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.42);
  margin-top: 4px;
}

/* Hero mock card */
.hero-visual {
  position: relative;
}

.hero-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 26px;
  backdrop-filter: blur(6px);
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.hero-card-title {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-card-status {
  background: rgba(29, 138, 125, 0.18);
  border: 1px solid rgba(29, 138, 125, 0.38);
  color: #4ecdc4;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 100px;
}

.hero-card-amount {
  font-family: var(--ff-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-card-amount-unit {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.35);
}

.hero-card-ref {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 20px;
}

.hero-card-route {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 12px 14px;
}

.hero-card-branch {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.hero-card-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-card-dot--send { background: var(--gold); }
.hero-card-dot--recv { background: #4ecdc4; }

.hero-card-city { font-size: 13px; font-weight: 600; color: var(--white); }
.hero-card-city-note { font-size: 11px; color: rgba(255, 255, 255, 0.32); margin-top: 2px; }

.hero-card-arrow {
  color: rgba(255, 255, 255, 0.25);
  font-size: 14px;
  flex-shrink: 0;
}

.hero-card-footer {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 10px;
}

/* Floating accent chips */
.hero-chip {
  position: absolute;
  border-radius: 12px;
  padding: 11px 15px;
  backdrop-filter: blur(8px);
}

.hero-chip--status {
  inset-block-start: -18px;
  inset-inline-end: -14px;
  background: rgba(14, 79, 71, 0.92);
  border: 1px solid rgba(29, 138, 125, 0.4);
  animation: float-a 4s ease-in-out infinite;
}

.hero-chip--rate {
  inset-block-end: -14px;
  inset-inline-start: -20px;
  background: rgba(196, 145, 46, 0.1);
  border: 1px solid rgba(196, 145, 46, 0.3);
  animation: float-b 5s ease-in-out infinite;
}

@keyframes float-a {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}
@keyframes float-b {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

.chip-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.chip-value {
  font-size: 14px;
  font-weight: 700;
  margin-top: 3px;
  color: var(--white);
}

/* ── 08  Trust Bar ─────────────────────────────────────────── */
.trust-bar {
  background: var(--ink-soft);
  padding-block: 28px;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  opacity: 0.62;
  transition: opacity var(--tx);
}
.trust-item:hover { opacity: 1; }

.trust-item-icon { font-size: 18px; }
.trust-item-text { font-size: 13px; font-weight: 600; color: var(--white); white-space: nowrap; }

/* ── 09  Section Commons ───────────────────────────────────── */
/* (section, section-alt, section-dark, section-header, section-h2,
   section-sub — defined in 03 & 04) */

/* ── 10  Features ──────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition: transform var(--tx), box-shadow var(--tx);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--gold) 100%);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform 0.35s ease;
}

.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, rgba(14, 79, 71, 0.09), rgba(196, 145, 46, 0.07));
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  margin-bottom: 16px;
}

.feature-h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 9px;
  color: var(--ink);
}

.feature-p {
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

/* ── 11  How It Works ──────────────────────────────────────── */
.hiw-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

/* Connector line between step numbers */
.hiw-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  inset-inline-start: calc(33.33% + 36px);
  inset-inline-end: calc(33.33% + 36px);
  height: 2px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--gold) 100%);
}

.hiw-step {
  text-align: center;
  padding-inline: 20px;
  padding-block: 0 0;
}

.hiw-num {
  width: 72px;
  height: 72px;
  background: var(--accent, var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 22px;
  box-shadow: 0 0 0 8px rgba(14, 79, 71, 0.1);
  position: relative;
  z-index: 1;
}

.hiw-num-txt {
  font-family: var(--ff-display);
  font-size: 25px;
  font-weight: 700;
  color: var(--white);
}

.hiw-h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}

.hiw-p {
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

/* ── 12  Pricing ───────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 34px 28px;
  position: relative;
  transition: transform var(--tx), box-shadow var(--tx);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.pricing-card--featured {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  transform: scale(1.04);
}
.pricing-card--featured:hover { transform: scale(1.04) translateY(-4px); }

.pricing-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.pricing-card--featured .pricing-tier { color: var(--gold-lite); }

.pricing-name {
  font-family: var(--ff-display);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
}

.pricing-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 22px;
}
.pricing-card--featured .pricing-desc { color: rgba(255, 255, 255, 0.58); }

.pricing-price-wrap {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  margin-bottom: 4px;
  line-height: 1;
}

.pricing-currency {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 8px;
}

.pricing-amount {
  font-family: var(--ff-display);
  font-size: 48px;
  font-weight: 700;
}

.pricing-period {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}
.pricing-card--featured .pricing-period { color: rgba(255, 255, 255, 0.48); }

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 22px;
}
.pricing-card--featured .pricing-divider { background: rgba(255, 255, 255, 0.14); }

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 26px;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  line-height: 1.5;
}

.pricing-check {
  color: var(--teal-lite);
  flex-shrink: 0;
  font-weight: 700;
  font-size: 15px;
  margin-top: 1px;
}
.pricing-card--featured .pricing-check { color: var(--gold-lite); }

.pricing-cta { width: 100%; margin-top: auto; }

.pricing-addon {
  margin-top: 44px;
  padding: 22px 28px;
  background: rgba(14, 79, 71, 0.06);
  border: 1px dashed rgba(14, 79, 71, 0.22);
  border-radius: var(--radius);
  text-align: center;
}

.pricing-addon-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 5px;
}

.pricing-addon-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── 13  Contact ───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 60px;
  align-items: start;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.contact-info-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-top: 3px;
}

.contact-info-val a {
  color: var(--gold-lite);
  transition: color var(--tx);
}
.contact-info-val a:hover { color: var(--white); }

/* Form card */
.form-card {
  background: var(--white);
  border-radius: 20px;
  padding: 38px;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.form-field {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  font-size: 14px;
  color: var(--ink);
  width: 100%;
  transition: border-color var(--tx), box-shadow var(--tx), background var(--tx);
}

.form-field:focus {
  outline: none;
  border-color: var(--teal-mid);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(14, 79, 71, 0.1);
}

.form-field--invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

textarea.form-field {
  min-height: 114px;
  resize: vertical;
}

select.form-field { cursor: pointer; }

.form-error {
  font-size: 13px;
  color: var(--danger);
  font-weight: 600;
  margin-bottom: 10px;
  padding: 9px 12px;
  background: rgba(192, 57, 43, 0.07);
  border-radius: var(--radius-sm);
  border-inline-start: 3px solid var(--danger);
}

/* Form success state */
.form-success {
  text-align: center;
  padding: 24px 0;
}

.form-success-icon {
  font-size: 52px;
  margin-bottom: 14px;
}

.form-success-h {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.form-success-p {
  font-size: 15px;
  color: var(--muted);
}

/* ── 14  Footer ────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  padding-block: 60px 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr auto;
  gap: 40px 80px;
  margin-bottom: 44px;
}

.footer-brand-tagline {
  font-size: 14px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.48);
  margin-top: 14px;
  max-width: 300px;
}

.footer-cols {
  display: flex;
  gap: 60px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.48);
  transition: color var(--tx);
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.48);
  transition: color var(--tx);
}
.footer-bottom a:hover { color: var(--white); }

/* ── 15  Animations & Scroll FX ───────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger child .fade-up inside containers */
.features-grid .fade-up:nth-child(2) { transition-delay: 0.08s; }
.features-grid .fade-up:nth-child(3) { transition-delay: 0.16s; }
.features-grid .fade-up:nth-child(4) { transition-delay: 0.08s; }
.features-grid .fade-up:nth-child(5) { transition-delay: 0.16s; }
.features-grid .fade-up:nth-child(6) { transition-delay: 0.24s; }

.hiw-steps .fade-up:nth-child(2) { transition-delay: 0.12s; }
.hiw-steps .fade-up:nth-child(3) { transition-delay: 0.24s; }

.pricing-grid .fade-up:nth-child(2) { transition-delay: 0.1s; }
.pricing-grid .fade-up:nth-child(3) { transition-delay: 0.2s; }

/* ── 16  Responsive — Tablet (≤ 960px) ────────────────────── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-block: 60px 80px;
    gap: 0;
  }
  .hero-visual { display: none; }
  .hero-sub { max-width: none; }

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

  .hiw-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hiw-steps::before { display: none; }
  .hiw-step { text-align: start; display: flex; gap: 18px; align-items: flex-start; }
  .hiw-num  { margin: 0; flex-shrink: 0; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-4px); }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { flex-wrap: wrap; gap: 32px; }
}

/* ── 17  Responsive — Mobile (≤ 600px) ────────────────────── */
@media (max-width: 600px) {
  :root { --pad-x: 16px; }

  .section { padding-block: 68px; }

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

  .form-row { grid-template-columns: 1fr; }

  .form-card { padding: 24px 18px; }

  .hero-stats { gap: 20px; }

  .trust-inner { gap: 24px; }
  .trust-item-text { font-size: 12px; }

  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-cols { gap: 24px; }
}

/* ── 18  RTL Overrides ─────────────────────────────────────── */
.rtl .section-label::before       { order: 2; }
.rtl .feature-card::before        { transform-origin: right; }
.rtl .hiw-step                    { text-align: end; }
.rtl .pricing-feature             { flex-direction: row; }
.rtl .form-error                  { border-inline-start: none; border-inline-end: 3px solid var(--danger); }
.rtl .contact-info-item           { flex-direction: row; }
.rtl .hero-bg-geo                 { inset-inline-end: auto; inset-inline-start: -100px; }


/* ── Inline-style replacements (CSP-safe) ──────────────────── */
.hero-card-city-note--recv { color: #4ecdc4; }
.chip-value--delivered     { color: #4ecdc4; }

/* ── Form fallback mailto link ─────────────────────────────── */
.form-fallback {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-mid);
  padding: 10px;
  margin-top: 4px;
  border-radius: var(--radius-sm);
  background: rgba(14, 79, 71, 0.06);
  transition: background var(--tx), color var(--tx);
}
.form-fallback:hover {
  background: rgba(14, 79, 71, 0.12);
  color: var(--teal);
}


/* ── Language pills (3-button selector) ───────────────────── */
.lang-pills {
  display: flex;
  gap: 0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  padding: 3px;
}

.lang-pill {
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background var(--tx), color var(--tx);
  font-family: var(--ff-dari);
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.lang-pill:hover {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
}

.lang-pill--active {
  background: var(--gold);
  color: var(--ink) !important;
}

.lang-pill:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}


/* ══════════════════════════════════════════════════════════════
   CONTACT PAGE  (/contact.html)
   All styles for the tabbed contact & support centre
══════════════════════════════════════════════════════════════ */

/* ── Page shell ───────────────────────────────────────────── */
.contact-page {
  min-height: 100svh;
  padding-block: calc(var(--nav-h) + 56px) 96px;
  background: var(--cream);
}

.contact-page-hero {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 52px;
}

.contact-page-hero .section-h2 {
  font-size: clamp(32px, 5vw, 52px);
}

.contact-page-hero .section-sub {
  margin-inline: auto;
  margin-top: 12px;
}

/* ── Tab bar ──────────────────────────────────────────────── */
.contact-tab-bar {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 52px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 5px;
  width: fit-content;
  margin-inline: auto;
  box-shadow: var(--shadow-sm);
}

.contact-tab-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background var(--tx), color var(--tx);
  white-space: nowrap;
}

.contact-tab-btn:hover {
  color: var(--ink);
  background: rgba(14, 79, 71, 0.06);
}

.contact-tab-btn[aria-selected="true"] {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(14, 79, 71, 0.25);
}

.contact-tab-btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.contact-tab-icon {
  font-size: 16px;
  line-height: 1;
}

/* ── Panels ───────────────────────────────────────────────── */
.contact-panel {
  display: none;
  animation: panel-in 0.25s ease;
}

.contact-panel[data-active="true"] {
  display: block;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Two-column layout ────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 52px;
  align-items: start;
  max-width: 1000px;
  margin-inline: auto;
}

/* ── Info side ────────────────────────────────────────────── */
.contact-info-side {}

.contact-info-heading {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.15;
}

.contact-info-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 28px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.contact-info-card-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(14,79,71,0.1), rgba(196,145,46,0.07));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info-card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-info-card-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-mid);
  margin-top: 2px;
}

.contact-info-card-val a {
  color: var(--teal-mid);
  transition: color var(--tx);
}

.contact-info-card-val a:hover { color: var(--teal); }

/* ── Support steps ────────────────────────────────────────── */
.support-steps-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.support-step-item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.support-step-num {
  width: 28px;
  height: 28px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.support-step-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.support-step-text strong { color: var(--ink); }

/* ── Response badge ───────────────────────────────────────── */
.contact-response-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(14, 79, 71, 0.07);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
}

.contact-response-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ── Form card side ───────────────────────────────────────── */
.contact-form-side {}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.contact-form-title {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-tab-bar {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
  }

  .contact-form-card {
    padding: 24px 18px;
  }
}


/* ── Utility replacements for blocked inline styles ───────── */
.u-mt-18   { margin-top: 18px; }
.u-no-border-top { border-top: none; padding-top: 0; }


/* ── Standalone pages (404, success) ──────────────────────── */
.standalone-page {
  background: var(--ink);
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  -webkit-font-smoothing: antialiased;
}

.standalone-center {
  text-align: center;
  max-width: 480px;
}

.standalone-code {
  font-family: var(--ff-display);
  font-size: clamp(80px, 18vw, 140px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.standalone-icon {
  font-size: 72px;
  line-height: 1;
  margin-bottom: 12px;
}

.standalone-heading {
  font-family: var(--ff-display);
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.standalone-sub {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 32px;
}

.standalone-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Prose pages (privacy, terms) ─────────────────────────── */
.prose-page {
  background: var(--cream);
}

.prose-page nav {
  background: var(--ink);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.prose-page main {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 96px;
}

.prose-page h1 {
  font-family: var(--ff-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.prose-page .meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 48px;
}

.prose-page h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 32px 0 10px;
  color: var(--ink);
}

.prose-page p,
.prose-page li {
  font-size: 15px;
  line-height: 1.8;
  color: #2c4240;
}

.prose-page ul {
  padding-left: 20px;
  margin-top: 8px;
  list-style: disc;
}

.prose-page ul li {
  margin-bottom: 4px;
}

.prose-page a { color: var(--teal); }
.prose-page a:hover { text-decoration: underline; }

.prose-page .notice {
  background: rgba(14, 79, 71, 0.07);
  border-left: 3px solid var(--teal);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 14px;
  color: var(--muted);
}
