:root {
  color-scheme: light only;

  --ivory: #FAF7F2;
  --warm-white: #FFFCF7;
  --cream: #F5EFE3;
  --champagne: #E8DCC4;
  --champagne-soft: #F1E8D4;
  --gold: #C8A96A;
  --gold-dark: #A88947;
  --gold-deep: #8C6F33;
  --gold-soft: #E5D5AE;
  --gold-tint: #F7EFD9;
  --blush: #E9C9C1;
  --charcoal: #1F1B14;
  --ink: #2A2520;
  --text: #2A2520;
  --text-muted: #6B655C;
  --text-subtle: #9C9489;
  --border: #EAE2D2;
  --border-soft: #F1ECE0;
  --quiet-gray: #8A8780;

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --arabic: 'Cairo', 'Tajawal', system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--arabic);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

.grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.35;
  z-index: 1;
  mix-blend-mode: multiply;
}

h1, h2, h3, h4 {
  font-family: var(--arabic);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold-dark);
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

em.accent-word {
  font-style: normal;
  position: relative;
  color: var(--gold-dark);
  white-space: nowrap;
}

.underline-draw {
  position: absolute;
  inset-inline-start: 0;
  inset-inline-end: 0;
  bottom: -0.05em;
  height: 0.45em;
  background: linear-gradient(transparent 60%, rgba(200, 169, 106, 0.35) 60%);
  transform: scaleX(0);
  transform-origin: right center;
  animation: draw 0.9s var(--ease-out) 1.2s forwards;
}
@keyframes draw {
  to { transform: scaleX(1); }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-family: var(--arabic);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn-lg { padding: 1rem 1.8rem; font-size: 1rem; }
.btn-primary {
  background: var(--ink);
  color: var(--ivory);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  z-index: 0;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(168, 137, 71, 0.55);
}
.btn-primary:hover::before { opacity: 1; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: var(--gold-tint);
}
.btn-link {
  padding: 0.6rem 0.4rem;
  background: none;
  color: var(--ink);
  font-weight: 500;
}
.btn-link:hover { color: var(--gold-dark); }
.btn.block { display: flex; justify-content: center; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.7);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(250, 247, 242, 0.92);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 2px 8px -2px rgba(168, 137, 71, 0.25);
}
.brand-mark img,
.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.brand-word {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}
.primary-nav a {
  position: relative;
  padding-block: 0.4rem;
  transition: color 0.25s var(--ease);
}
.primary-nav a::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.3s var(--ease);
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav a:hover::after { transform: scaleX(1); transform-origin: left center; }
.primary-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.lang-toggle {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  transition: all 0.25s var(--ease);
  cursor: pointer;
}
.lang-toggle:hover { background: var(--gold-tint); }
.lang-toggle .lang-ar,
.lang-toggle .lang-en {
  transition: color 0.25s var(--ease), font-weight 0.25s var(--ease);
}
.lang-toggle .lang-divider { opacity: 0.4; margin: 0 0.15rem; }

html[lang="ar"] .lang-ar { color: var(--ink); font-weight: 700; }
html[lang="ar"] .lang-en { color: var(--text-muted); font-style: italic; font-weight: 400; }
html[lang="en"] .lang-en { color: var(--ink); font-weight: 700; font-style: normal; }
html[lang="en"] .lang-ar { color: var(--text-muted); font-weight: 400; }

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.menu-btn span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.menu-btn span:nth-child(1) { width: 22px; margin-inline-start: auto; margin-inline-end: 8px; }
.menu-btn span:nth-child(2) { width: 22px; margin-inline-start: auto; margin-inline-end: 8px; }
.menu-btn span:nth-child(3) { width: 14px; margin-inline-start: auto; margin-inline-end: 8px; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem var(--gutter) 1.5rem;
  background: var(--ivory);
  border-top: 1px solid var(--border);
}
.mobile-menu a {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-soft);
  font-weight: 500;
}
.mobile-menu a.btn { border: 0; margin-top: 0.6rem; }
.mobile-menu[hidden] { display: none; }
.mobile-menu.open { display: flex; }

.hero {
  position: relative;
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, var(--cream) 0%, transparent 70%),
    radial-gradient(circle at 85% 30%, rgba(232, 220, 196, 0.5) 0%, transparent 50%),
    radial-gradient(circle at 15% 75%, rgba(233, 201, 193, 0.25) 0%, transparent 50%),
    var(--ivory);
  overflow: hidden;
}

.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: var(--gold);
}
.flourish {
  position: absolute;
  opacity: 0.5;
}
.flourish-1 {
  top: 6%;
  inset-inline-end: -4%;
  width: clamp(220px, 28vw, 380px);
  animation: spin 60s linear infinite;
}
.flourish-2 {
  bottom: 8%;
  inset-inline-start: 4%;
  width: clamp(120px, 14vw, 180px);
  opacity: 0.35;
  animation: float 8s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  text-align: center;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 1rem 0 1.6rem;
  color: var(--ink);
}
.hero-title .line {
  display: block;
}
.hero-title em.accent-word {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-dark);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.4rem;
}
.hero-sub-en {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--text-subtle);
  font-size: 0.95rem;
  margin-top: 0.4rem;
  direction: ltr;
}

.hero-cta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
}

.hero-tagline {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.85rem;
  margin: 0 auto 3rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  max-width: 620px;
  padding: 0 0.5rem;
}
.hero-tagline .dot {
  color: var(--gold);
  font-weight: 700;
  opacity: 0.85;
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.4rem);
  padding: 1.1rem 2rem;
  background: rgba(255, 252, 247, 0.7);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
}
.stat-value {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}
.stat-divider {
  width: 1px;
  height: 30px;
  background: var(--border);
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.6;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* LCP fix: hero title must be visible immediately, not gated by JS reveal animation.
   Below-fold reveal animations still work as designed. */
.hero-title .reveal,
.guide-title.reveal,
.guide-title .reveal {
  opacity: 1;
  transform: none;
}

/* No-JS fallback: if JS fails or is slow, ALL reveals must show */
.no-js .reveal { opacity: 1; transform: none; }

.band {
  background: var(--warm-white);
  border-block: 1px solid var(--border);
  padding: 1.5rem 0;
}
.band-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 1.4rem 2rem;
}
.band-item {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}
.band-item svg { color: var(--gold-dark); flex-shrink: 0; }

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.section-head h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-head h2 em.accent-word {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

.categories {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}
.cat-card {
  position: relative;
  grid-column: span 4;
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--ivory);
  overflow: hidden;
  isolation: isolate;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  text-decoration: none;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.45);
}
.cat-feature {
  grid-column: span 8;
  grid-row: span 2;
  min-height: 580px;
  padding: 2.5rem;
}
.cat-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.2s var(--ease-out);
}
.cat-card:hover .cat-image { transform: scale(1.06); }
.cat-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 14, 6, 0) 30%, rgba(20, 14, 6, 0.55) 70%, rgba(20, 14, 6, 0.85) 100%),
    linear-gradient(0deg, rgba(20, 14, 6, 0.08), rgba(20, 14, 6, 0.08));
  z-index: -1;
  transition: opacity 0.4s var(--ease);
}
.cat-feature .cat-overlay {
  background:
    linear-gradient(180deg, rgba(20, 14, 6, 0) 35%, rgba(20, 14, 6, 0.6) 75%, rgba(20, 14, 6, 0.9) 100%),
    linear-gradient(0deg, rgba(20, 14, 6, 0.1), rgba(20, 14, 6, 0.1));
}

.cat-body { position: relative; z-index: 1; }
.cat-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 0.35rem 0.85rem;
  background: var(--gold);
  border-radius: 999px;
  color: var(--ink);
  margin-bottom: 1rem;
  font-weight: 700;
}
.cat-card h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  margin-bottom: 0.6rem;
  color: var(--ivory);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.cat-feature h3 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}
.cat-card p {
  font-size: 0.98rem;
  color: rgba(250, 247, 242, 0.9);
  line-height: 1.7;
  margin: 0 0 1.2rem;
  max-width: 38ch;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}
.cat-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gold-soft);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap 0.3s var(--ease), color 0.25s var(--ease);
}
.cat-card:hover .cat-cta { gap: 0.9rem; color: var(--ivory); }

.how {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: linear-gradient(180deg, var(--ivory) 0%, var(--warm-white) 100%);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 38px;
  inset-inline: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
  z-index: 0;
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 76px;
  height: 76px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--warm-white);
  border: 1px solid var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold-dark);
  position: relative;
}
.step-num::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed var(--gold-soft);
  opacity: 0.6;
}
.step h3 {
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}
.step p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.75;
  max-width: 32ch;
  margin: 0 auto;
}

.cities {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background:
    radial-gradient(ellipse at top, rgba(232, 220, 196, 0.3), transparent 70%),
    var(--ivory);
}
.city-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  max-width: 920px;
  margin: 0 auto;
}
.city-list li {
  padding: 0.85rem 1.4rem;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--text);
  transition: all 0.3s var(--ease);
  cursor: default;
}
.city-list li:hover {
  background: var(--gold-tint);
  border-color: var(--gold);
  color: var(--gold-deep);
  transform: translateY(-2px);
}

.vendor-cta {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--ivory);
}
.vendor-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 100% 0%, rgba(232, 220, 196, 0.7) 0%, transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(233, 201, 193, 0.4) 0%, transparent 55%),
    linear-gradient(135deg, var(--warm-white) 0%, var(--cream) 100%);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  isolation: isolate;
}
.vendor-card::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  inset-inline-end: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.vendor-card-art {
  position: absolute;
  inset-inline-end: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 32vw, 460px);
  color: var(--gold);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.vendor-card-art svg {
  width: 100%;
  height: auto;
  animation: spin 90s linear infinite;
}
.vendor-card-body {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.vendor-card-body h2 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  margin-bottom: 1.2rem;
}
.vendor-card-body h2 em.accent-word {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
}
.vendor-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.15rem);
  color: var(--text);
  line-height: 1.8;
  margin: 0 0 2rem;
  max-width: 56ch;
}
.vendor-perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem 1.6rem;
  margin: 0 0 2.4rem;
  list-style: none;
  padding: 0;
}
.vendor-perks li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.6;
}
.vendor-perks li svg {
  flex-shrink: 0;
  color: var(--gold-dark);
  margin-top: 0.2rem;
}
.vendor-perks strong {
  font-weight: 700;
  color: var(--ink);
}
.vendor-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.4rem;
}
.vendor-meta {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
}

.vendor-form {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.6rem;
  max-width: 720px;
}
.vf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.vf-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.92rem;
}
.vf-label {
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.vf-label em {
  font-style: normal;
  color: var(--gold-dark);
  font-weight: 700;
}
.vendor-form input,
.vendor-form select {
  font-family: var(--arabic);
  font-size: 0.98rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--warm-white);
  color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.vendor-form select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold-dark) 50%),
    linear-gradient(135deg, var(--gold-dark) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-inline-end: 2.2rem;
}
[dir="rtl"] .vendor-form select {
  background-position:
    18px 50%,
    13px 50%;
  padding-inline-end: 1rem;
  padding-inline-start: 2.2rem;
}
.vendor-form input::placeholder { color: var(--text-subtle); }
.vendor-form input:hover,
.vendor-form select:hover { border-color: var(--gold-soft); }
.vendor-form input:focus,
.vendor-form select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 106, 0.18);
  background: var(--warm-white);
}
.vendor-form input:invalid:not(:placeholder-shown) {
  border-color: #C97070;
}
.vf-hint {
  font-size: 0.78rem;
  color: var(--text-subtle);
}
.vf-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.6rem;
}
.vf-submit { min-width: 200px; }
.vf-submit-loading svg { animation: spin 0.9s linear infinite; }
.vf-submit[data-loading="true"] .vf-submit-label,
.vf-submit[data-loading="true"] .vf-submit-arrow { display: none; }
.vf-submit[data-loading="true"] .vf-submit-loading {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
}
.vf-error {
  font-size: 0.92rem;
  color: #B7484A;
  margin: 0.6rem 0 0;
}

.vendor-success {
  background: linear-gradient(135deg, var(--cream) 0%, var(--gold-tint) 100%);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.6rem;
  max-width: 720px;
  animation: vsuccess 0.5s var(--ease-out);
}
.vendor-success svg { color: var(--gold-dark); }
.vendor-success h3 {
  font-size: 1.6rem;
  margin: 0;
}
.vendor-success p {
  color: var(--text-muted);
  max-width: 46ch;
  line-height: 1.75;
  margin: 0;
}
@keyframes vsuccess {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .vf-row { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 720px) {
  .vendor-card-art { display: none; }
  .vendor-perks { grid-template-columns: 1fr; }
}

.stat-value {
  transition: color 0.3s var(--ease);
}
.stat.in-view .stat-value {
  color: var(--gold-dark);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.faq-item {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq-item[open] {
  border-color: var(--gold-soft);
  box-shadow: 0 8px 24px -14px rgba(168, 137, 71, 0.3);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.5rem;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color 0.25s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  width: 12px;
  height: 12px;
  border-inline-end: 2px solid var(--gold-dark);
  border-bottom: 2px solid var(--gold-dark);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
  margin-top: -4px;
}
.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}
.faq-item summary:hover { color: var(--gold-dark); }
.faq-item p {
  padding: 0 1.5rem 1.4rem;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.85;
  font-size: 0.98rem;
}

.app-cta {
  padding: clamp(4rem, 8vw, 8rem) 0;
  background: linear-gradient(135deg, var(--ink) 0%, #3A3026 50%, var(--gold-deep) 130%);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.app-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(200, 169, 106, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(233, 201, 193, 0.08) 0%, transparent 40%);
  pointer-events: none;
}
.app-cta-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 4rem;
  position: relative;
}
.app-cta-text .eyebrow { color: var(--gold-soft); }
.app-cta-text .eyebrow::before { background: var(--gold-soft); }
.app-cta-text h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  color: var(--ivory);
  margin-bottom: 1.2rem;
}
.app-cta-text h2 em.accent-word {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-soft);
}
.app-cta-text p {
  color: rgba(250, 247, 242, 0.75);
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 50ch;
  margin: 0 0 2rem;
}
.app-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.app-cta .btn-primary {
  background: var(--gold);
  color: var(--ink);
}
.app-cta .btn-primary::before {
  background: linear-gradient(135deg, var(--gold-soft), #FFFFFF);
}
.app-cta .btn-ghost {
  color: var(--ivory);
  border-color: rgba(250, 247, 242, 0.3);
}
.app-cta .btn-ghost:hover {
  background: rgba(250, 247, 242, 0.08);
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}

.phone-mock { display: flex; justify-content: center; }
.phone {
  width: 280px;
  height: 560px;
  border-radius: 44px;
  background: linear-gradient(180deg, #3A3026 0%, #2A2520 100%);
  padding: 12px;
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(200, 169, 106, 0.2);
  position: relative;
  transform: rotate(-4deg);
  transition: transform 0.6s var(--ease);
}
.phone:hover { transform: rotate(0deg); }
.phone-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
  display: block;
}

.site-footer {
  background: var(--warm-white);
  border-top: 1px solid var(--border);
  padding: clamp(3rem, 6vw, 5rem) 0 1.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 3rem 2rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  color: var(--text-muted);
  margin: 1rem 0 0;
  max-width: 30ch;
  line-height: 1.7;
}
.brand-footer { margin-bottom: 0.5rem; }
.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-dark);
  margin-bottom: 1.1rem;
  font-weight: 600;
}
.footer-col a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.95rem;
  color: var(--text);
  transition: color 0.25s var(--ease);
}
.footer-col a:hover { color: var(--gold-dark); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
  font-size: 0.88rem;
  color: var(--text-muted);
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--text-muted); }
.footer-legal a:hover { color: var(--gold-dark); }

@media (max-width: 1024px) {
  .cat-feature { grid-column: span 12; min-height: 400px; }
  .cat-card { grid-column: span 6; }
  .app-cta-inner { grid-template-columns: 1fr; gap: 3rem; }
  .phone-mock { order: -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .primary-nav, .header-actions .btn-ghost { display: none; }
  .header-actions .lang-toggle { display: none; }
  .mobile-menu .lang-toggle { display: inline-flex; align-self: flex-start; min-height: 44px; padding: 0.5rem 0.85rem; }
  .menu-btn { display: flex; }
  .mobile-menu { display: none; }
  .mobile-menu.open { display: flex; }
  .hero { padding-top: 3rem; }
  .hero-stats { padding: 1rem; gap: 1rem; flex-wrap: wrap; justify-content: center; }
  .stat-divider { display: none; }
  .cat-grid { gap: 1rem; }
  .cat-card { grid-column: span 12; min-height: 220px; padding: 1.6rem; }
  .cat-feature { min-height: 320px; }
  .steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps::before { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-scroll { display: none; }
}

/* ========== Guides Section (homepage) ========== */
.guides-section {
  padding: 6rem 0;
  background: var(--ivory);
}

.guides-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}

.guide-card {
  display: block;
  padding: 2rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: var(--ink);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.guide-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--gold-tint) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.guide-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(200, 169, 106, 0.15);
  transform: translateY(-3px);
}

.guide-card-feature {
  background: linear-gradient(135deg, var(--cream) 0%, var(--gold-tint) 100%);
  padding: 2.5rem;
}

.guide-card-tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: var(--gold);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  position: relative;
}

.guide-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 0.75rem;
  color: var(--ink);
  position: relative;
}

.guide-card-feature h3 {
  font-size: 1.85rem;
}

.guide-card p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 1.5rem;
  position: relative;
}

.guide-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  position: relative;
}

.guide-card-time {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.guide-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  color: var(--gold-dark);
  font-weight: 600;
  position: relative;
}

.guide-card:hover .guide-card-cta { gap: 0.6rem; }

@media (max-width: 968px) {
  .guides-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .guide-card-feature h3 { font-size: 1.5rem; }
}

@media (max-width: 768px) {
  .guides-section { padding: 3.5rem 0; }
  .guide-card { padding: 1.5rem; }
  .guide-card-feature { padding: 1.75rem; }
  .guide-card h3 { font-size: 1.25rem; }
  .guide-card-feature h3 { font-size: 1.5rem; }
}

/* ========== City Tiles (category hub pages) ========== */
.city-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
}

.city-tile {
  display: block;
  padding: 1.75rem;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.city-tile::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, var(--gold-tint) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

.city-tile:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 24px rgba(200, 169, 106, 0.12);
  transform: translateY(-2px);
}

.city-tile h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  color: var(--ink);
  position: relative;
}

.city-tile-meta {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  position: relative;
}

.city-tile-price {
  font-size: 0.95rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin: 0 0 1rem;
  position: relative;
}

.city-tile-cta {
  font-size: 0.92rem;
  color: var(--gold-dark);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
}

.city-tile:hover .city-tile-cta { gap: 0.6rem; }

/* ========== Vendor Cards (programmatic city-category pages) ========== */
.vendor-card-result {
  margin: 1rem 0;
  padding: 1.5rem 1.75rem;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.vendor-card-result:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(200, 169, 106, 0.1);
}

.vendor-card-header { margin-bottom: 0.5rem; }

.vendor-card-header h3 {
  font-family: 'Cairo', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.25rem;
}

.vendor-card-en {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  font-family: 'Inter', sans-serif;
}

.vendor-card-district {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0.5rem 0 0.75rem;
}

.vendor-card-description {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 1rem;
}

.vendor-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  background: var(--cream);
  border-radius: 8px;
  font-size: 0.92rem;
}

.vendor-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text);
}

.vendor-meta-item.vendor-price {
  color: var(--gold-dark);
  font-weight: 600;
}

.vendor-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  border-radius: 8px;
}

.vendor-empty-state { margin: 2rem 0; }

.vendor-curation-card {
  margin: 2rem 0;
  padding: 3rem 2.5rem;
  background: linear-gradient(135deg, var(--cream) 0%, var(--gold-tint) 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.vendor-curation-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(200, 169, 106, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.vendor-curation-card .curation-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--ivory);
  color: var(--gold-dark);
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  position: relative;
  box-shadow: 0 2px 8px rgba(200, 169, 106, 0.15);
}

.vendor-curation-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 1rem;
  position: relative;
}

.vendor-curation-card p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
  max-width: 580px;
  margin: 0 auto 1.75rem;
  position: relative;
}

.vendor-curation-card .curation-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

@media (max-width: 768px) {
  .vendor-curation-card { padding: 2rem 1.5rem; }
  .vendor-curation-card h3 { font-size: 1.5rem; }
  .vendor-curation-card p { font-size: 0.98rem; }
  .vendor-curation-card .curation-actions { flex-direction: column; }
  .vendor-curation-card .curation-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 768px) {
  .vendor-card-result { padding: 1.15rem 1.25rem; }
  .vendor-card-meta { flex-direction: column; gap: 0.5rem; }
  .vendor-card-actions { gap: 0.4rem; }
  .btn-sm { flex: 1; text-align: center; }
}

/* ========== Guide Pages (articles) ========== */
.breadcrumb {
  padding: 1.5rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.breadcrumb li { display: flex; align-items: center; gap: 0.5rem; }
.breadcrumb li:not(:last-child)::after {
  content: "›";
  color: var(--gold-dark);
  margin-right: 0.25rem;
  margin-left: 0.25rem;
}

.breadcrumb a { color: var(--text-muted); transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 500; }

.guide-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
}

.guide-hero .eyebrow { margin-bottom: 1rem; }

.guide-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 1.5rem;
}

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

.guide-meta-item { display: flex; align-items: center; gap: 0.5rem; }
.guide-meta-item svg { color: var(--gold-dark); }

.last-updated-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  background: var(--gold-tint);
  color: var(--gold-dark);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.tldr-box {
  margin: 2.5rem 0;
  padding: 1.75rem 2rem;
  background: var(--cream);
  border-right: 4px solid var(--gold);
  border-radius: 12px;
}

.tldr-box h3 {
  font-family: 'Cairo', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tldr-box p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink);
}

.methodology-box {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  background: var(--ivory);
  border: 1px solid var(--gold);
  border-radius: 12px;
  position: relative;
}

.methodology-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
  color: var(--gold-dark);
}

.methodology-header strong {
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: 'Cairo', sans-serif;
}

.methodology-box p {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}

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

.methodology-box .methodology-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  padding-top: 0.85rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.methodology-box .methodology-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

@media (max-width: 768px) {
  .methodology-box { padding: 1.25rem; }
  .methodology-box .methodology-meta { flex-direction: column; gap: 0.5rem; }
}

.toc {
  margin: 3rem 0;
  padding: 1.5rem 1.75rem;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.toc h3 {
  font-family: 'Cairo', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted);
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.toc ol {
  margin: 0;
  padding: 0 1rem 0 0;
  list-style: decimal;
  color: var(--text);
}

.toc li {
  padding: 0.35rem 0;
  font-size: 0.98rem;
}

.toc a { color: var(--ink); transition: color 0.2s ease; }
.toc a:hover { color: var(--gold-dark); }

.guide-article {
  padding: 2rem 0 4rem;
  max-width: 820px;
  margin: 0 auto;
}

.guide-article h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.25;
  color: var(--ink);
  margin: 3rem 0 1rem;
  font-weight: 500;
}

.guide-article h3 {
  font-family: 'Cairo', sans-serif;
  font-size: 1.25rem;
  color: var(--ink);
  margin: 2rem 0 0.75rem;
  font-weight: 700;
}

.guide-article p {
  font-size: 1.05rem;
  line-height: 1.85;
  margin: 0 0 1.25rem;
  color: var(--text);
}

.guide-article p strong { color: var(--ink); font-weight: 700; }

.guide-article ul, .guide-article ol {
  font-size: 1.05rem;
  line-height: 1.85;
  margin: 0 0 1.5rem;
  padding-right: 1.5rem;
  color: var(--text);
}

.guide-article li { padding: 0.25rem 0; }

/* Wrapper that scrolls horizontally on narrow viewports */
.table-scroll {
  margin: 1.5rem 0 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
}

.cost-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--ivory);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  font-size: 0.98rem;
}

/* Ensure parent article never lets table-scroll bust the page width */
.guide-article { overflow-x: hidden; }

.cost-table th {
  background: var(--gold-tint);
  color: var(--gold-dark);
  font-weight: 700;
  padding: 1rem 1.25rem;
  text-align: right;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
}

.cost-table td {
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}

.cost-table tr:last-child td { border-bottom: 0; }
.cost-table tr:hover td { background: var(--cream); }
.cost-table td strong { color: var(--ink); display: block; margin-bottom: 0.25rem; }
.cost-table .price-cell { font-weight: 700; color: var(--gold-dark); white-space: nowrap; }

.callout {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  background: var(--cream);
  border-radius: 12px;
  border-right: 3px solid var(--gold);
}

.callout strong { display: block; margin-bottom: 0.5rem; color: var(--ink); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; }
.callout p:last-child { margin-bottom: 0; }

.guide-cta {
  margin: 4rem 0 0;
  padding: 3rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--cream), var(--gold-tint));
  border-radius: 16px;
}

.guide-cta h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-weight: 500;
}

.guide-cta p { margin: 0 0 1.5rem; color: var(--text); }

.related-guides {
  margin: 4rem 0 0;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.related-guides h3 {
  font-family: 'Cairo', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.related-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.related-list a {
  display: block;
  padding: 1rem 1.25rem;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--ink);
  font-weight: 500;
  transition: all 0.2s ease;
}

.related-list a:hover {
  border-color: var(--gold);
  background: var(--cream);
  color: var(--gold-dark);
}

@media (max-width: 768px) {
  .guide-hero { padding: 2rem 0 1rem; }
  .guide-meta { gap: 0.75rem; flex-direction: column; align-items: flex-start; }
  .tldr-box, .callout { padding: 1.25rem; }
  .toc { padding: 1.25rem; }
  .cost-table { font-size: 0.92rem; min-width: 560px; }
  .cost-table th, .cost-table td { padding: 0.75rem 0.85rem; }
  .cost-table td { word-break: normal; }
  /* Visual hint that the table can be scrolled */
  .table-scroll {
    background: linear-gradient(to right, transparent, transparent), linear-gradient(to right, transparent, transparent);
    background-position: 0 0, 100% 0;
    background-repeat: no-repeat;
    background-size: 30px 100%, 30px 100%;
    background-attachment: local, local;
  }
  .guide-cta { padding: 2rem 1.25rem; }
  .guide-cta h3 { font-size: 1.5rem; }
}

/* ========== FAQ Section ========== */
.faq {
  padding: 6rem 0;
  background: var(--ivory);
}

.faq-list {
  max-width: 820px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item[open] {
  border-color: var(--gold);
  box-shadow: 0 4px 18px rgba(200, 169, 106, 0.12);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-family: 'Cairo', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold-dark);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover { color: var(--gold-dark); }

.faq-item p {
  padding: 0 1.5rem 1.5rem;
  margin: 0;
  color: var(--text);
  line-height: 1.85;
  font-size: 0.98rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

@media (max-width: 768px) {
  .faq { padding: 3.5rem 0; }
  .faq-item summary { padding: 1rem 1.15rem; font-size: 0.98rem; }
  .faq-item p { padding: 1rem 1.15rem 1.15rem; font-size: 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
