/* ==========================================================
   MUSTASHARIK — Brand Tokens & Base Styles
   Deep emerald · Warm gold · Cream paper · Charcoal
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;900&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Cinzel:wght@400;500;600&display=swap');

:root {
  /* Brand palette — from logo */
  --emerald:        #0A4D2E;
  --emerald-deep:   #073921;
  --emerald-darker: #052918;
  --emerald-soft:   #14633e;
  --emerald-tint:   #e8efe9;
  --gold:           #C9A961;
  --gold-deep:      #a98a44;
  --gold-soft:      #f5edd9;
  --red:            #C8102E;
  --red-deep:       #a30a23;
  --whatsapp:       #25d366;
  --whatsapp-deep:  #1ea958;

  /* Surfaces */
  --cream:          #FAF7F1;
  --cream-warm:     #f3eee2;
  --cream-deep:     #ebe4d2;
  --paper:          #ffffff;
  --ink:            #1A1A1A;
  --ink-soft:       #2a2826;
  --charcoal:       #3a3835;
  --muted:          #6b6862;
  --muted-soft:     #8c8880;
  --hairline:       #e2dccc;
  --hairline-soft:  #ece6d6;
  --black:          #0a0a0a;

  /* Type families */
  --font-ar-display: 'Tajawal', 'Noto Sans Arabic', sans-serif;
  --font-ar-body:    'Tajawal', 'Noto Sans Arabic', sans-serif;
  --font-en-display: 'Cormorant Garamond', 'Garamond', serif;
  --font-en-body:    'Cormorant Garamond', 'Garamond', serif;
  --font-accent:     'Cinzel', 'Cormorant Garamond', serif;

  /* Spacing */
  --s-xxs: 4px;
  --s-xs: 8px;
  --s-sm: 12px;
  --s-md: 16px;
  --s-lg: 24px;
  --s-xl: 32px;
  --s-2xl: 48px;
  --s-3xl: 64px;
  --s-section: 96px;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-pill: 9999px;
}

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

/* Default SVG sizing — prevents inline SVGs from collapsing or filling */
svg { width: 1em; height: 1em; flex-shrink: 0; }
.btn svg { width: 18px; height: 18px; }
.btn-sm svg { width: 16px; height: 16px; }
.btn-lg svg { width: 20px; height: 20px; }
.topbar-info svg { width: 14px; height: 14px; }
.lang-toggle svg { width: 14px; height: 14px; }
.cat-icon svg { width: 28px; height: 28px; }
.service-icon svg { width: 22px; height: 22px; }
.why-icon svg { width: 28px; height: 28px; }
.contact-row .ico svg { width: 20px; height: 20px; }
.check-mark svg { width: 12px; height: 12px; }
.fab-whatsapp svg { width: 30px; height: 30px; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-ar-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

[lang="en"], html[lang="en"] body {
  font-family: var(--font-en-body);
  font-size: 17px;
  line-height: 1.55;
}

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

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

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

/* ─── Typography helpers ─── */
.eyebrow {
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-block;
}

[dir="rtl"] .eyebrow {
  font-family: var(--font-ar-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold-deep);
}

[dir="rtl"] .eyebrow::before,
[dir="rtl"] .eyebrow::after { content: " ◆ "; color: var(--gold); margin: 0 6px; font-size: 8px; vertical-align: middle; }

h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 700; line-height: 1.15; }

[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 {
  font-family: var(--font-ar-display);
  font-weight: 700;
}

[dir="ltr"] h1, [dir="ltr"] h2, [dir="ltr"] h3, [dir="ltr"] h4 {
  font-family: var(--font-en-display);
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

h1 { font-size: clamp(36px, 5.5vw, 68px); }
h2 { font-size: clamp(30px, 3.8vw, 48px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); }
h4 { font-size: 18px; }

[dir="ltr"] h1 { font-weight: 500; }
[dir="ltr"] h2 { font-weight: 500; }

p { margin: 0; color: var(--charcoal); }

/* ─── Layout ─── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
}

.section { padding: var(--s-section) 0; }

@media (max-width: 768px) {
  .section { padding: 64px 0; }
}

/* Gold divider */
.gold-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  border: none;
  margin: 24px 0;
}

[dir="rtl"] .gold-divider.center,
[dir="ltr"] .gold-divider.center { margin: 24px auto; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: all 200ms ease-out;
  white-space: nowrap;
  border: 1.5px solid transparent;
}

[dir="ltr"] .btn {
  font-family: var(--font-en-body);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.btn-gold {
  background: var(--gold);
  color: var(--emerald-deep);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); transform: translateY(-1px); }

.btn-emerald {
  background: var(--emerald);
  color: #fff;
  border-color: var(--emerald);
}
.btn-emerald:hover { background: var(--emerald-deep); border-color: var(--emerald-deep); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  border-color: var(--whatsapp);
}
.btn-whatsapp:hover { background: var(--whatsapp-deep); border-color: var(--whatsapp-deep); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--emerald);
  border-color: var(--emerald);
}
.btn-outline:hover { background: var(--emerald); color: #fff; }

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--emerald-deep); }

.btn-sm { padding: 11px 18px; font-size: 13px; }
.btn-lg { padding: 18px 36px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

/* ─── Topbar ─── */
.topbar {
  background: var(--black);
  color: #d8d2c2;
  font-size: 13px;
  padding: 0;
  border-bottom: 1px solid var(--emerald-deep);
  min-height: 38px;
  display: flex;
  align-items: center;
}

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

.topbar-info {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.topbar-info span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.topbar-info svg,
.topbar svg {
  width: 14px !important;
  height: 14px !important;
  color: var(--gold);
  flex-shrink: 0;
  display: inline-block;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 200ms ease;
  line-height: 1;
}
.lang-toggle:hover { background: var(--gold); color: var(--black); }
.lang-toggle svg { width: 14px !important; height: 14px !important; }

@media (max-width: 768px) {
  .topbar-info { gap: 14px; font-size: 12px; }
  .topbar-info .topbar-addr { display: none; }
}

/* ─── Header ─── */
.header {
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.brand-text { display: flex; flex-direction: column; gap: 2px; }

.brand-name {
  font-family: var(--font-ar-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--emerald-deep);
  line-height: 1.1;
}

[dir="ltr"] .brand-name {
  font-family: var(--font-en-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.brand-sub {
  font-family: var(--font-accent);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-deep);
}

[dir="rtl"] .brand-sub {
  font-family: var(--font-ar-body);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

nav.nav { display: flex; gap: 6px; align-items: center; }

nav.nav a {
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--r-md);
  transition: all 180ms ease;
  position: relative;
}

[dir="ltr"] nav.nav a {
  font-family: var(--font-en-body);
  font-size: 16px;
}

nav.nav a:hover { color: var(--emerald); }
nav.nav a.active { color: var(--emerald-deep); }
nav.nav a.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 1.5px;
  background: var(--gold);
}

.header-cta { display: flex; gap: 10px; align-items: center; }

.menu-btn { display: none; padding: 10px; }

@media (max-width: 980px) {
  nav.nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header-cta .btn:not(.btn-whatsapp) { display: none; }
}

@media (max-width: 480px) {
  .brand-mark { width: 44px; height: 44px; }
  .brand-name { font-size: 17px; }
  .brand-sub { display: none; }
}

/* Mobile drawer */
.mobile-nav {
  display: none;
  background: var(--paper);
  border-top: 1px solid var(--hairline);
  padding: 16px 32px 24px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline-soft);
}
.mobile-nav a:last-child { border-bottom: none; }

/* ─── Hero ─── */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(201,169,97,0.12), transparent 50%),
    linear-gradient(135deg, var(--emerald) 0%, var(--emerald-darker) 70%, #000 100%);
  color: #fff;
  overflow: hidden;
  padding: 100px 0 110px;
  isolation: isolate;
}

[dir="rtl"] .hero {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201,169,97,0.12), transparent 50%),
    linear-gradient(225deg, var(--emerald) 0%, var(--emerald-darker) 70%, #000 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 80px, rgba(201,169,97,0.04) 80px 81px),
    repeating-linear-gradient(-45deg, transparent 0 80px, rgba(201,169,97,0.04) 80px 81px);
  pointer-events: none;
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 64px 0 80px; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border: 1px solid rgba(201,169,97,0.4);
  border-radius: var(--r-pill);
  font-family: var(--font-accent);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  background: rgba(201,169,97,0.05);
}

[dir="rtl"] .hero-eyebrow {
  font-family: var(--font-ar-display);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
  padding: 8px 18px;
}

.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,169,97,0.18);
}

.hero h1 {
  color: #fff;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.1;
  margin: 0;
}

[dir="rtl"] .hero h1 {
  font-family: var(--font-ar-display);
  font-weight: 900;
  line-height: 1.2;
}

[dir="ltr"] .hero h1 {
  font-family: var(--font-en-display);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -1px;
}

.hero-tagline {
  font-family: var(--font-en-display);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  color: var(--gold);
  margin-top: 20px;
  letter-spacing: -0.3px;
}

[dir="rtl"] .hero-tagline {
  font-family: var(--font-ar-display);
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0;
}

.hero-sub {
  margin-top: 24px;
  color: rgba(255,255,255,0.78);
  font-size: 17px;
  line-height: 1.7;
  max-width: 560px;
}

[dir="rtl"] .hero-sub { font-size: 17px; }

.hero-ctas {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(201,169,97,0.25);
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-meta-item { color: rgba(255,255,255,0.75); font-size: 13px; }
.hero-meta-item strong { display: block; color: var(--gold); font-family: var(--font-accent); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px; }
[dir="rtl"] .hero-meta-item strong { font-family: var(--font-ar-display); font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 500; }

/* Hero shield */
.hero-shield {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
}

.shield-glow {
  position: absolute; inset: -10%;
  background: radial-gradient(circle, rgba(201,169,97,0.25), transparent 60%);
  filter: blur(40px);
  z-index: 0;
}

.shield-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5));
}

.shield-ring {
  position: absolute;
  inset: 6%;
  border: 1px dashed rgba(201,169,97,0.35);
  border-radius: 50%;
  z-index: 0;
  animation: spin 80s linear infinite;
}
.shield-ring.outer { inset: -6%; border-style: solid; border-color: rgba(201,169,97,0.15); animation-duration: 120s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .hero-shield { max-width: 320px; margin: 0 auto; }
}

/* ─── Trust strip ─── */
.trust {
  background: var(--cream-warm);
  border-bottom: 1px solid var(--hairline);
  padding: 48px 0;
}

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

.trust-item {
  text-align: center;
  padding: 8px 24px;
  border-inline-end: 1px solid var(--hairline);
}
.trust-item:last-child { border-inline-end: none; }

.trust-num {
  font-family: var(--font-en-display);
  font-size: 44px;
  font-weight: 600;
  color: var(--emerald-deep);
  line-height: 1;
  letter-spacing: -1px;
}

[dir="rtl"] .trust-num {
  font-family: var(--font-ar-display);
  font-weight: 900;
  font-size: 42px;
}

.trust-num .gold-accent { color: var(--gold); }

.trust-label {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
  font-weight: 500;
}
[dir="rtl"] .trust-label { font-size: 15px; }

@media (max-width: 768px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-inline-end: none; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); padding-bottom: 28px; margin-bottom: 20px; }
}

/* ─── Section header ─── */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s-2xl);
}
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { margin: 0; }
.section-head .lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}
[dir="ltr"] .section-head .lead { font-family: var(--font-en-display); font-style: italic; font-size: 21px; color: var(--charcoal); }

/* ─── Services ─── */
.services { background: var(--cream); }

.cat-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 64px 0 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline);
}
.cat-header:first-of-type { margin-top: 0; }

.cat-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--emerald-deep);
  color: var(--gold);
  border-radius: var(--r-md);
  flex-shrink: 0;
}
.cat-icon svg { width: 28px; height: 28px; }

.cat-meta { flex: 1; }
.cat-title {
  font-family: var(--font-ar-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
[dir="ltr"] .cat-title {
  font-family: var(--font-en-display);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.5px;
}
.cat-sub {
  font-family: var(--font-accent);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 4px;
}
[dir="rtl"] .cat-sub { font-family: var(--font-en-display); font-style: italic; letter-spacing: 1px; text-transform: none; font-size: 13px; }

.cat-count {
  font-family: var(--font-accent);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1.5px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: all 200ms ease;
  border-bottom: 3px solid var(--hairline);
}

.service-card:hover {
  border-bottom-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,77,46,0.06);
}

.service-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--emerald-tint);
  color: var(--emerald-deep);
  border-radius: var(--r-md);
}
.service-icon svg { width: 22px; height: 22px; }

.service-name-ar {
  font-family: var(--font-ar-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.service-name-en {
  font-family: var(--font-en-display);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
  font-weight: 400;
}

[dir="ltr"] .service-name-ar { display: none; }
[dir="ltr"] .service-name-en {
  font-style: normal;
  font-size: 22px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.3px;
}

.service-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}
[dir="rtl"] .service-desc { font-size: 15px; }
[dir="ltr"] .service-desc { font-family: var(--font-en-body); font-size: 16px; }

.service-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline-soft);
}
.service-price-main {
  font-family: var(--font-ar-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--emerald-deep);
}
[dir="ltr"] .service-price-main { font-family: var(--font-en-body); font-weight: 600; }
.service-price-main .amt { color: var(--gold-deep); font-size: 19px; }

.service-price-note {
  font-size: 11px;
  color: var(--muted-soft);
}

.service-card .btn-whatsapp {
  font-size: 13px;
  padding: 11px 14px;
  margin-top: 4px;
}

/* Services controls */
.services-toolbar {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: var(--s-2xl);
  flex-wrap: wrap;
}
.services-toolbar button {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  background: var(--paper);
  color: var(--ink-soft);
  transition: all 180ms ease;
}
.services-toolbar button:hover { border-color: var(--emerald); color: var(--emerald); }
.services-toolbar button.active {
  background: var(--emerald-deep);
  color: var(--gold);
  border-color: var(--emerald-deep);
}

/* ─── Tabby banner ─── */
.tabby {
  background: linear-gradient(135deg, #3FE0B0 0%, #2BC499 100%);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.tabby::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.15), transparent 40%);
  pointer-events: none;
}

.tabby .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
}
@media (max-width: 768px) { .tabby .container { grid-template-columns: 1fr; text-align: center; } }

.tabby-text h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  color: #003a2a;
  margin: 0;
}
[dir="rtl"] .tabby-text h2 { font-family: var(--font-ar-display); font-weight: 900; }
[dir="ltr"] .tabby-text h2 { font-weight: 600; font-style: italic; }

.tabby-sub {
  margin-top: 10px;
  color: #00513b;
  font-size: 16px;
  max-width: 540px;
}

.tabby-bullet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 6px 14px;
  background: rgba(0,58,42,0.12);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: #003a2a;
}

.tabby-logo {
  background: #fff;
  padding: 24px 36px;
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 20px rgba(0,58,42,0.15);
}
.tabby-logo .tabby-word {
  font-family: var(--font-en-body);
  font-size: 32px;
  font-weight: 800;
  color: #292929;
  letter-spacing: -1px;
}
.tabby-logo .tabby-word .dot { color: #3FE0B0; }
.tabby-logo .tabby-tag { font-size: 11px; color: #6b6862; letter-spacing: 1px; text-transform: uppercase; }

/* ─── About ─── */
.about { background: var(--cream-warm); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

.about-body p { margin-top: 18px; line-height: 1.85; color: var(--ink-soft); font-size: 17px; }
[dir="rtl"] .about-body p { font-size: 18px; line-height: 1.9; }
[dir="ltr"] .about-body p { font-family: var(--font-en-body); }

.about-checklist {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.about-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--ink-soft);
  font-weight: 500;
}
[dir="rtl"] .about-checklist li { font-size: 16px; }
.check-mark {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--emerald);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
}
.check-mark svg { width: 12px; height: 12px; }

/* About visual: license card */
.license-card {
  background: linear-gradient(160deg, var(--emerald) 0%, var(--emerald-darker) 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gold);
  box-shadow: 0 30px 60px rgba(10,77,46,0.18);
}

.license-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(201,169,97,0.3);
  border-radius: 12px;
  pointer-events: none;
}

.license-stamp {
  position: absolute;
  top: 24px; inset-inline-end: 24px;
  width: 90px; height: 90px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid; place-items: center;
  text-align: center;
  background: rgba(201,169,97,0.08);
  transform: rotate(-8deg);
}
.license-stamp span {
  font-family: var(--font-accent);
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--gold);
  line-height: 1.4;
  text-transform: uppercase;
  padding: 4px;
}
[dir="rtl"] .license-stamp span { font-family: var(--font-ar-display); font-size: 11px; letter-spacing: 0; text-transform: none; font-weight: 700; line-height: 1.3; }

.license-eyebrow {
  font-family: var(--font-accent);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
[dir="rtl"] .license-eyebrow { font-family: var(--font-ar-display); font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 500; }

.license-title {
  font-family: var(--font-en-display);
  font-style: italic;
  font-size: 26px;
  font-weight: 500;
  color: #fff;
  margin: 0;
  letter-spacing: -0.3px;
}
[dir="rtl"] .license-title { font-family: var(--font-ar-display); font-style: normal; font-weight: 700; font-size: 24px; }

.license-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 4px;
  margin-top: 24px;
  padding: 16px 0;
  border-top: 1px solid rgba(201,169,97,0.3);
  border-bottom: 1px solid rgba(201,169,97,0.3);
  text-align: center;
}

.license-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.license-meta-row { font-size: 13px; }
.license-meta-row span { color: rgba(255,255,255,0.55); display: block; margin-bottom: 4px; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; font-family: var(--font-accent); }
[dir="rtl"] .license-meta-row span { font-family: var(--font-ar-display); font-size: 12px; letter-spacing: 0; text-transform: none; }
.license-meta-row strong { color: #fff; font-family: 'JetBrains Mono', monospace; font-size: 14px; letter-spacing: 1px; }

/* ─── Why us ─── */
.why {
  background: var(--black);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(10,77,46,0.4), transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(201,169,97,0.06), transparent 50%);
  pointer-events: none;
}

.why .container { position: relative; }
.why h2 { color: #fff; }
.why .section-head .lead { color: rgba(255,255,255,0.7); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  padding: 36px 28px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  border-radius: var(--r-lg);
  transition: all 200ms ease;
}
.why-card:hover { border-color: var(--gold); background: rgba(201,169,97,0.04); }

.why-icon {
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: grid; place-items: center;
  background: rgba(201,169,97,0.08);
  color: var(--gold);
}
.why-icon svg { width: 28px; height: 28px; }

.why-card h4 {
  color: #fff;
  font-family: var(--font-ar-display);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
}
[dir="ltr"] .why-card h4 { font-family: var(--font-en-display); font-style: italic; font-weight: 500; font-size: 24px; }

.why-card p {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
[dir="rtl"] .why-card p { font-size: 15px; }

/* ─── Contact ─── */
.contact { background: var(--cream); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: stretch;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info {
  background: linear-gradient(155deg, var(--emerald) 0%, var(--emerald-darker) 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.contact-info::after {
  content: "";
  position: absolute;
  bottom: -80px; inset-inline-end: -80px;
  width: 240px; height: 240px;
  border: 1px solid rgba(201,169,97,0.2);
  border-radius: 50%;
}
.contact-info::before {
  content: "";
  position: absolute;
  bottom: -40px; inset-inline-end: -40px;
  width: 160px; height: 160px;
  border: 1px solid rgba(201,169,97,0.3);
  border-radius: 50%;
}

.contact-info .eyebrow { color: var(--gold); }
.contact-info h3 { color: #fff; margin: 8px 0 32px; font-size: 32px; }
[dir="rtl"] .contact-info h3 { font-family: var(--font-ar-display); font-weight: 700; }

.contact-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 22px;
  position: relative;
  z-index: 1;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-row .ico {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: rgba(201,169,97,0.15);
  border: 1px solid rgba(201,169,97,0.3);
  color: var(--gold);
  display: grid; place-items: center;
}
.contact-row .ico svg { width: 20px; height: 20px; }

.contact-row .label {
  font-family: var(--font-accent);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}
[dir="rtl"] .contact-row .label { font-family: var(--font-ar-display); font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 500; }

.contact-row .val {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}
[dir="rtl"] .contact-row .val { font-size: 16px; }

.contact-cta {
  background: var(--paper);
  border-radius: var(--r-xl);
  padding: 48px;
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-cta h3 { font-size: 28px; margin: 0; }
.contact-cta .lead { color: var(--muted); margin-top: 14px; line-height: 1.7; }
[dir="ltr"] .contact-cta .lead { font-family: var(--font-en-display); font-style: italic; font-size: 19px; }

.cta-stack {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ─── Footer ─── */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.65);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .brand { margin-bottom: 20px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: var(--gold); }

.footer-desc { font-size: 14px; line-height: 1.7; max-width: 360px; }
[dir="rtl"] .footer-desc { font-size: 15px; line-height: 1.85; }

.footer h5 {
  color: #fff;
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin: 0 0 22px;
  font-weight: 500;
}
[dir="rtl"] .footer h5 { font-family: var(--font-ar-display); font-size: 16px; letter-spacing: 0; text-transform: none; font-weight: 700; color: var(--gold); }

.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer ul a { font-size: 14px; color: rgba(255,255,255,0.65); transition: color 150ms ease; }
[dir="rtl"] .footer ul a { font-size: 15px; }
.footer ul a:hover { color: var(--gold); text-decoration: none; }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.footer-bottom .lic-num { font-family: 'JetBrains Mono', monospace; color: var(--gold); }

/* ─── Floating WhatsApp ─── */
.fab-whatsapp {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: 90;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  cursor: pointer;
  transition: transform 200ms ease;
}
.fab-whatsapp:hover { transform: scale(1.08); }
.fab-whatsapp svg { width: 30px; height: 30px; }
.fab-whatsapp::before, .fab-whatsapp::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--whatsapp);
  opacity: 0.4;
  z-index: -1;
  animation: wapulse 2s ease-out infinite;
}
.fab-whatsapp::after { animation-delay: 1s; }
@keyframes wapulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ─── Legal pages ─── */
.legal-hero {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-darker) 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.legal-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 56px); margin: 12px 0 0; }
.legal-hero .eyebrow { color: var(--gold); }

.legal-body { padding: 80px 0; max-width: 860px; margin: 0 auto; }
.legal-body h2 { font-size: 28px; margin: 48px 0 16px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 20px; margin: 32px 0 12px; }
.legal-body p { font-size: 16px; line-height: 1.85; margin: 12px 0; color: var(--ink-soft); }
[dir="rtl"] .legal-body p { font-size: 17px; line-height: 1.95; }
.legal-body ul { padding-inline-start: 22px; line-height: 1.85; color: var(--ink-soft); }
.legal-body ul li { margin: 8px 0; }
.legal-body strong { color: var(--emerald-deep); }
