/* ==========================================================================
   Aryam's Jewelry مجوهرات أريام — styles
   Luxury dark + gold theme. No build step required.
   ========================================================================== */

:root {
  --bg: #0b0a08;
  --bg-2: #0e0c09;
  --bg-3: #12100c;
  --panel: rgba(212, 175, 55, 0.055);
  --line: rgba(212, 175, 55, 0.16);
  --line-soft: rgba(244, 234, 216, 0.08);
  --gold: #d4af37;
  --gold-2: #f0d98c;
  --gold-3: #b8860b;
  --cream: #f4ead8;
  --muted: #a89f8d;
  --ink: #171207;
  --open: #8fd19a;
  --closed: #e09a8e;
  --container: 1200px;
  --radius: 14px;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "Amiri", "Playfair Display", serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Subtle film grain for a rich, tactile feel */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

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

a { color: var(--gold-2); text-decoration: none; }
a:hover { color: var(--gold); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0; }

h2 em, h1 em {
  font-style: italic;
  background: linear-gradient(115deg, var(--gold-3), var(--gold) 45%, var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[lang="ar"] { font-family: var(--font-ar); }

::selection { background: rgba(212, 175, 55, 0.35); color: #fff; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  z-index: 300; padding: 0.5rem 1rem;
  background: var(--gold); color: var(--ink);
  border-radius: 6px; font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-gold {
  background: linear-gradient(120deg, var(--gold-3), var(--gold) 50%, var(--gold-2));
  color: var(--ink);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.22);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.34);
  color: var(--ink);
}
.btn-ghost {
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--gold-2);
  background: transparent;
}
.btn-ghost:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.btn-small { padding: 0.6rem 1.3rem; font-size: 0.88rem; }

/* ---------- Gold ticker ---------- */
.gold-ticker {
  position: relative;
  z-index: 95;
  overflow: hidden;
  background: linear-gradient(90deg, #0f0c06, #17120a 50%, #0f0c06);
  border-bottom: 1px solid var(--line);
  padding-block: 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: slide-x 30s linear infinite;
}
/* Pause on hover only where real hover exists — on touch screens a tap
   "sticks" the :hover state and would freeze the ticker permanently */
@media (hover: hover) and (pointer: fine) {
  .gold-ticker:hover .ticker-track { animation-play-state: paused; }
}
.ticker-group {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  padding-right: 2.75rem;
  flex-shrink: 0;
}
.tick b { color: var(--gold-2); font-weight: 600; }
.tick .up { color: var(--open); }
.tick .down { color: var(--closed); }

@keyframes slide-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 10, 8, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
body.nav-open .site-header,
body.nav-open .site-header.scrolled {
  background: #0b0a08;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: var(--line);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
  padding-block: 0.9rem;
  position: relative;
  z-index: 220;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  gap: 0.15rem;
}
.brand-en {
  display: block;
  font-family: var(--font-display);
  font-size: 1.22rem; letter-spacing: 0.14em; color: var(--cream);
}
.brand-en em { font-style: italic; color: var(--gold); }
.brand-ar {
  display: block;
  font-size: 0.85rem;
  color: var(--gold);
  line-height: 1.3;
}

.primary-nav { display: flex; align-items: center; gap: 1.9rem; }
.primary-nav a {
  color: var(--cream); font-size: 0.92rem; font-weight: 500; letter-spacing: 0.04em;
  position: relative;
}
.primary-nav a:not(.nav-call):not(.nav-shop)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s ease;
}
.primary-nav a:not(.nav-call):hover { color: var(--gold-2); }
.primary-nav a:not(.nav-call):not(.nav-shop):hover::after { transform: scaleX(1); transform-origin: left; }

.nav-shop {
  display: inline-flex !important;
  align-items: center;
  padding: 0.5rem 1.15rem !important;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--gold-3), var(--gold) 55%, var(--gold-2));
  color: var(--ink) !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.28);
}
.nav-shop:hover {
  color: var(--ink) !important;
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.nav-call {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 999px;
  color: var(--gold-2) !important;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.25s, border-color 0.25s;
}
.nav-call:hover { background: rgba(212, 175, 55, 0.12); border-color: var(--gold); }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 230;
  width: 48px;
  height: 48px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(11, 10, 8, 0.9);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold-2);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
  transform-origin: center;
}
body.nav-open .nav-toggle {
  background: #0b0a08;
  border-color: var(--gold);
}
body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
body.nav-open {
  overflow: hidden;
  touch-action: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: flex; align-items: center;
  overflow: clip;
}
.hero-bg { position: absolute; inset: -12% 0; z-index: -3; will-change: transform; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 9s ease-out forwards;
}
@keyframes kenburns {
  from { transform: scale(1.14); }
  to { transform: scale(1); }
}
.hero-veil {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(11, 10, 8, 0.62) 0%, rgba(11, 10, 8, 0.25) 45%, var(--bg) 100%),
    radial-gradient(85% 70% at 28% 55%, rgba(11, 10, 8, 0.66) 0%, transparent 100%);
}
.hero-ar-mark {
  position: absolute; z-index: -1;
  right: -2%; top: 6%;
  font-family: var(--font-ar);
  font-size: clamp(11rem, 30vw, 26rem);
  line-height: 1;
  color: rgba(212, 175, 55, 0.07);
  user-select: none;
  will-change: transform;
}
.hero-inner { padding-block: 8rem 6rem; max-width: 820px; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 0.6rem;
  margin: 0 0 1.4rem;
  font-size: 0.86rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}
.stars { color: var(--gold); letter-spacing: 0.18em; font-size: 0.95em; }
.hero-title {
  font-size: clamp(2.6rem, 6.4vw, 4.9rem);
  color: var(--cream);
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; }
.hero-sub {
  margin: 1.6rem 0 2.3rem;
  max-width: 34rem;
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  font-weight: 300;
  color: rgba(244, 234, 216, 0.88);
}
.hero-sub strong { font-weight: 600; color: var(--gold-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-scroll {
  position: absolute; left: 50%; bottom: 2.2rem;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted);
}
.hero-scroll i {
  width: 1px; height: 44px;
  background: linear-gradient(var(--gold), transparent);
  animation: drip 2.2s ease-in-out infinite;
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: 1rem;
}
.marquee-track { display: flex; width: max-content; animation: slide-x 36s linear infinite; }
.marquee-group {
  display: flex; align-items: center; gap: 2.4rem;
  padding-right: 2.4rem;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.2rem);
  letter-spacing: 0.12em;
  color: rgba(244, 234, 216, 0.75);
  white-space: nowrap;
}
.marquee-group [lang="ar"] { font-size: 1.15em; color: rgba(212, 175, 55, 0.8); }
.marquee-group i { font-style: normal; color: var(--gold); opacity: 0.55; font-size: 0.8em; }

/* ---------- Sections (shared) ---------- */
section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
section[id] { scroll-margin-top: 84px; }

/* Grid children may not force the page wider than the viewport */
.gold-grid > *, .visit-grid > *, .about-grid > *, .footer-grid > *, .review-carousel > * { min-width: 0; }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow [lang="ar"] { letter-spacing: 0; font-size: 1.1em; }
.section-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); color: var(--cream); }
.section-intro {
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  font-weight: 300;
  max-width: 40rem;
}

/* ---------- Collections ---------- */
.collections { padding-bottom: clamp(3rem, 6vw, 5rem); }

.collections-viewport { overflow: hidden; }
.collections-track {
  display: flex;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  width: max-content;
  padding-inline: max(calc((100vw - var(--container)) / 2 + clamp(1.25rem, 4vw, 2rem)), 1.25rem);
  will-change: transform;
}
.collection-card {
  width: clamp(280px, 27vw, 380px);
  flex-shrink: 0;
}
.card-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.collection-card:hover .card-media img { transform: scale(1.07); }
.card-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(11, 10, 8, 0.55));
  pointer-events: none;
}
.card-body { position: relative; padding: 1.2rem 0.4rem 0; }
.card-index {
  position: absolute; right: 0.4rem; top: 0.95rem;
  font-family: var(--font-display); font-style: italic;
  font-size: 1.6rem; color: rgba(212, 175, 55, 0.4);
}
.card-body h3 { font-size: 1.38rem; color: var(--cream); }
.card-ar { margin: 0.15rem 0 0.5rem; color: var(--gold); font-size: 1.05rem; }
.card-desc { margin: 0; color: var(--muted); font-size: 0.94rem; font-weight: 300; max-width: 92%; }

.collections-note { margin-top: 2.5rem; color: var(--muted); font-size: 0.98rem; }
.collections-note a { border-bottom: 1px solid rgba(212, 175, 55, 0.4); }

/* Mobile: native swipe with snap */
@media (max-width: 1023px) {
  .collections-viewport {
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .collections-viewport::-webkit-scrollbar { display: none; }
  .collection-card { scroll-snap-align: start; width: min(78vw, 340px); }
}

/* ---------- Gold prices ---------- */
.gold {
  background:
    radial-gradient(60% 45% at 70% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 100%),
    var(--bg-2);
  border-block: 1px solid var(--line-soft);
}
.gold-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
}
.gold-table-card, .gold-chart-card {
  background: linear-gradient(165deg, var(--panel), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.5vw, 2rem);
}
.gold-spot {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 0.4rem;
}
.gold-spot-label {
  width: 100%;
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}
.gold-spot-value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  background: linear-gradient(115deg, var(--gold-3), var(--gold) 45%, var(--gold-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.gold-spot-unit { color: var(--muted); font-size: 0.9rem; }
.gold-spot-delta { font-size: 0.92rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.gold-spot-delta.up { color: var(--open); }
.gold-spot-delta.down { color: var(--closed); }

/* The spot value is gradient-clipped text, so flash it with brightness */
.gold-spot-value.flash { animation: spot-flash 0.9s ease; }
@keyframes spot-flash {
  0% { filter: brightness(1.9); }
  100% { filter: brightness(1); }
}

.gold-table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.gold-table th, .gold-table td { text-align: left; padding: 0.78rem 0.6rem; }
.gold-table thead th {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
  border-bottom: 1px solid var(--line-soft);
}
.gold-table tbody tr { border-bottom: 1px solid var(--line-soft); }
.gold-table tbody tr:last-child { border-bottom: 0; }
.gold-table tbody th { font-weight: 600; color: var(--cream); }
.gold-table tbody th [lang="ar"] { color: var(--muted); font-size: 0.92em; margin-left: 0.35rem; }
.gold-table td { color: var(--muted); }
.gold-table td.price {
  color: var(--gold-2); font-weight: 700; font-variant-numeric: tabular-nums;
  text-align: right;
}
.gold-table tr.highlight { background: rgba(212, 175, 55, 0.06); }
.gold-table tr.highlight th { color: var(--gold-2); }

td.price.flash { animation: price-flash 0.9s ease; }
@keyframes price-flash {
  0% { color: #fff; }
  100% { color: var(--gold-2); }
}

.gold-updated { margin: 1rem 0 0; font-size: 0.82rem; color: var(--muted); }
.gold-disclaimer {
  margin: 0.5rem 0 0;
  font-size: 0.82rem; color: rgba(168, 159, 141, 0.75);
}
.gold-disclaimer a { border-bottom: 1px solid rgba(212, 175, 55, 0.35); }

.gold-chart-card { display: flex; flex-direction: column; }
.tradingview-widget-container { flex: 1; min-height: 400px; display: flex; flex-direction: column; }
.tradingview-widget-container__widget { flex: 1; min-height: 360px; }
.chart-hint {
  margin: 0.8rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
}
.tradingview-widget-copyright {
  margin-top: 0.6rem;
  font-size: 0.75rem; color: var(--muted); text-align: right;
}
.tradingview-widget-copyright a { color: var(--muted); }
.tradingview-widget-copyright a:hover { color: var(--gold-2); }

.gold-copy {
  margin-top: clamp(2rem, 4vw, 3rem);
  max-width: 860px;
}
.gold-copy h3 { font-size: 1.45rem; color: var(--cream); margin-bottom: 0.7rem; }
.gold-copy p { margin: 0; color: var(--muted); font-weight: 300; }
.gold-copy strong { color: var(--gold-2); font-weight: 600; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  width: 100%;
}
.about-badge {
  position: absolute; right: -0.9rem; bottom: -1.1rem;
  display: flex; flex-direction: column; align-items: center;
  padding: 1rem 1.4rem;
  background: linear-gradient(120deg, var(--gold-3), var(--gold) 55%, var(--gold-2));
  color: var(--ink);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
}
.badge-value { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; line-height: 1; }
.badge-value small { font-size: 0.55em; vertical-align: 0.25em; }
.badge-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; }

.about-copy h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 1.3rem; }
.about-copy p { color: var(--muted); font-weight: 300; margin: 0 0 1.1rem; }
.about-copy p [lang="ar"] { color: var(--gold-2); }

.about-list {
  list-style: none;
  margin: 1.4rem 0 2rem; padding: 0;
  display: grid; gap: 0.7rem;
}
.about-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--cream); font-size: 0.98rem;
}
.about-list li::before {
  content: "✦";
  position: absolute; left: 0; top: 0.1em;
  color: var(--gold); font-size: 0.85em;
}

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line-soft);
}
.stat { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--gold-2);
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.05em; }

/* ---------- Reviews ---------- */
.reviews {
  background:
    radial-gradient(50% 40% at 30% 100%, rgba(212, 175, 55, 0.06) 0%, transparent 100%),
    var(--bg);
}
.review-carousel {
  position: relative;
  overflow: hidden;
}
.review-card {
  position: relative;
  margin: 0;
  padding: 2rem 1.8rem 1.5rem;
  background: linear-gradient(165deg, var(--panel), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.review-when-top {
  position: absolute;
  top: 1.05rem;
  right: 1.15rem;
  z-index: 2;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}
a.review-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-2px);
}
.review-card::before {
  content: "\201C";
  position: absolute; top: -1.4rem; right: 0.6rem;
  font-family: var(--font-display);
  font-size: 7rem; line-height: 1;
  color: rgba(212, 175, 55, 0.12);
  pointer-events: none;
}
.review-card .stars {
  font-size: 0.95rem;
  margin: 0 5.5rem 0.9rem 0;
  color: var(--gold);
  letter-spacing: 0.12em;
}
.review-card .review-quote {
  margin: 0;
  flex: 1;
  font-family: var(--font-display); font-style: italic;
  font-size: 1.08rem; line-height: 1.5;
  color: var(--cream);
}
.review-card .review-more {
  display: inline-block;
  margin: 0.65rem 0 1rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
.review-card .review-more[hidden] { display: none; }
.review-card .review-by,
.review-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  position: relative;
  padding-right: 7rem;
  min-height: 44px;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #1a1612;
  flex-shrink: 0;
}
.review-card .who {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  flex: 1;
}
.review-card .who strong {
  display: block;
  font-size: 0.95rem;
  color: var(--gold-2);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.review-badge {
  position: absolute;
  right: 0;
  bottom: 0.15rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
}
.review-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.28);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.review-dots button[aria-current="true"] {
  background: var(--gold);
  transform: scale(1.2);
}

.reviews-cta { margin-top: 2.6rem; text-align: center; display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* ---------- Instagram ---------- */
.instagram {
  background:
    radial-gradient(55% 50% at 85% 10%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
    var(--bg-2);
  border-block: 1px solid var(--line-soft);
}
.ig-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1.8rem, 3vw, 2.6rem);
  flex-wrap: wrap;
}
.ig-head .section-intro { max-width: 48ch; margin-bottom: 0; }
.ig-head .btn { flex-shrink: 0; }
.ig-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
  align-items: stretch;
}
.ig-embed-panel {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0e0c0a;
  min-height: 480px;
}
.ig-profile-frame {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  background: #fff;
}
.ig-showcase {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}
.ig-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  width: max-content;
}
.ig-card {
  flex: 0 0 min(72vw, 280px);
  width: min(72vw, 280px);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0e0c0a;
  text-decoration: none;
  color: inherit;
  position: relative;
  aspect-ratio: 9 / 14;
  display: flex;
  flex-direction: column;
}
.ig-card-embed {
  background: #000;
}
.ig-card-embed iframe {
  flex: 1;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
.ig-card-embed .ig-open {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0b0a08;
  background: var(--gold);
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
}
.ig-media {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.ig-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.7s ease;
}
.ig-card-cover:hover .ig-media img { transform: scale(1.08); }
.ig-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 7, 6, 0.92) 100%);
  pointer-events: none;
}
.ig-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 55, 0.92);
  color: #0b0a08;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  z-index: 1;
  animation: igPulse 2.4s ease-in-out infinite;
}
@keyframes igPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.ig-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1rem 1rem 1.1rem;
}
.ig-handle {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.ig-meta p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--cream);
  line-height: 1.35;
}
.ig-note {
  margin-top: 1.6rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}
.ig-note a { color: var(--gold-2); }

/* ---------- Visit ---------- */
.visit { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
}
.visit-info {
  display: flex; flex-direction: column;
  background: linear-gradient(165deg, var(--panel), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  gap: 1.5rem;
}
.visit-block { padding-bottom: 1.5rem; border-bottom: 1px solid var(--line-soft); }
.visit-block:last-child { padding-bottom: 0; border-bottom: 0; }
.visit-block h3 {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.8rem;
}
.visit-block address { font-style: normal; font-size: 1.15rem; line-height: 1.5; color: var(--cream); }
.visit-hint { margin: 0.4rem 0 1rem; font-size: 0.86rem; color: var(--muted); }
.visit-phone {
  font-family: var(--font-display);
  font-size: 1.7rem; color: var(--gold-2);
  font-variant-numeric: tabular-nums;
}
.visit-block p { margin: 0; }
.visit-block .visit-hint { margin-top: 0.4rem; }

.open-badge {
  margin-left: auto;
  padding: 0.24rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: none;
}
.open-badge.is-open { background: rgba(96, 170, 110, 0.16); color: var(--open); border: 1px solid rgba(96, 170, 110, 0.35); }
.open-badge.is-closed { background: rgba(190, 84, 70, 0.14); color: var(--closed); border: 1px solid rgba(190, 84, 70, 0.32); }

.hours-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.hours-table th, .hours-table td { padding: 0.42rem 0.2rem; text-align: left; font-weight: 400; }
.hours-table th { color: var(--muted); }
.hours-table td { text-align: right; color: var(--cream); font-variant-numeric: tabular-nums; }
.hours-table tr.today th, .hours-table tr.today td {
  color: var(--gold-2); font-weight: 600;
}
.hours-table tr.today { background: rgba(212, 175, 55, 0.07); }

.visit-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 420px;
}
.visit-map iframe {
  width: 100%; height: 100%; min-height: 420px;
  display: block;
  filter: grayscale(0.15) brightness(0.94) contrast(1.03);
}

/* ---------- FAQ ---------- */
.faq-inner { max-width: 860px; }
.faq-list { border-top: 1px solid var(--line-soft); }
.faq-list details { border-bottom: 1px solid var(--line-soft); }
.faq-list summary {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem 0.2rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600; font-size: 1.05rem;
  color: var(--cream);
  transition: color 0.25s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--gold-2); }
.faq-list summary i {
  margin-left: auto;
  flex-shrink: 0;
  width: 12px; height: 12px;
  position: relative;
}
.faq-list summary i::before, .faq-list summary i::after {
  content: ""; position: absolute; background: var(--gold); transition: transform 0.3s ease;
}
.faq-list summary i::before { left: 0; top: 5px; width: 12px; height: 2px; }
.faq-list summary i::after { left: 5px; top: 0; width: 2px; height: 12px; }
.faq-list details[open] summary i::after { transform: rotate(90deg) scaleY(0); }
.faq-list details p {
  margin: 0;
  padding: 0 2.4rem 1.4rem 0.2rem;
  color: var(--muted); font-weight: 300;
}
.faq-list details strong { color: var(--cream); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: #080706;
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 3rem;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-brand .brand-en {
  display: block;
  font-size: 1.35rem;
  margin: 0;
}
.footer-brand .brand-ar {
  display: block;
  font-size: 1.05rem;
  color: var(--gold);
  margin: 0.35rem 0 0.9rem;
  line-height: 1.35;
}
.footer-brand p { margin: 0; }
.footer-tag { color: var(--muted); font-size: 0.9rem; font-weight: 300; max-width: 30ch; }

.site-footer h3 {
  font-family: var(--font-body);
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a { color: var(--muted); font-size: 0.93rem; }
.footer-links a:hover { color: var(--gold-2); }
.footer-hours p, .footer-contact p { margin: 0 0 0.45rem; color: var(--muted); font-size: 0.93rem; }
.footer-open { color: var(--gold-2) !important; }
.footer-contact address { font-style: normal; color: var(--muted); font-size: 0.93rem; margin-bottom: 0.6rem; }
.footer-contact a { font-size: 0.95rem; }
.footer-map-link { font-size: 0.88rem; }

.footer-line {
  border-top: 1px solid var(--line-soft);
  padding-block: 1.4rem;
}
.footer-line p { margin: 0; font-size: 0.8rem; color: rgba(168, 159, 141, 0.7); }

/* ---------- Mobile quick actions ---------- */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 110;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-cta a {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.95rem;
  background: rgba(11, 10, 8, 0.96);
  backdrop-filter: blur(10px);
  color: var(--gold-2);
  font-weight: 700; font-size: 0.92rem; letter-spacing: 0.05em;
}
/* Calls are the #1 action — give the call button the gold treatment */
.mobile-cta a.primary {
  background: linear-gradient(120deg, var(--gold-3), var(--gold) 55%, var(--gold-2));
  color: var(--ink);
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed;
    inset: 0;
    z-index: 210;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.6rem;
    padding: 5.5rem 1.5rem 2rem;
    background: #0b0a08;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  body.nav-open .primary-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .primary-nav a {
    font-size: 1.35rem;
    min-height: 48px;
  }
  .primary-nav .nav-shop {
    font-size: 1.15rem !important;
    padding: 0.85rem 1.6rem !important;
  }
  .nav-call { font-size: 1.1rem; }

  .gold-grid, .visit-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .about-badge { right: 1rem; bottom: -1.1rem; }
  .review-card {
    min-height: 260px;
  }
  .review-carousel { max-width: 560px; margin-inline: auto; }
  .ig-layout { grid-template-columns: 1fr; }
  .ig-embed-panel { min-height: 420px; }
  .ig-profile-frame { min-height: 420px; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.2rem 1.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-tag { max-width: 44ch; }
}

@media (max-width: 767px) {
  .mobile-cta { display: grid; }
  body { padding-bottom: 52px; }
  .hero-inner { padding-block: 7rem 5.5rem; }
  .hero-scroll { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1rem; }
  .nav-wrap { gap: 1rem; }
  .brand-en { font-size: 1.05rem; }
  .visit-map { min-height: 340px; }
  .visit-map iframe { min-height: 340px; }

  .footer-grid { padding-bottom: 2.2rem; }
  .site-footer h3 { margin-bottom: 0.7rem; }
  .footer-line { text-align: center; }
  .footer-line p { font-size: 0.78rem; line-height: 1.7; }

  .hero-cta { width: 100%; gap: 0.75rem; }
  .hero-cta .btn { width: 100%; justify-content: center; min-height: 48px; }
  .primary-nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .section-head h2 { font-size: clamp(1.75rem, 7vw, 2.4rem); }
  .gold-spot-value { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .visit-phone { font-size: 1.4rem; word-break: break-word; }
  .faq-list summary { font-size: 0.98rem; padding: 1.1rem 0.1rem; min-height: 48px; }
}

@media (max-width: 480px) {
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 100%; }
  .footer-hours p, .footer-contact p, .footer-contact address, .footer-links a { font-size: 0.88rem; }
  .tradingview-widget-container { min-height: 340px; }
  .tradingview-widget-container__widget { min-height: 300px; }
  .review-card { padding: 1.4rem 1.15rem; min-height: 240px; }
  .about-badge { right: 0.5rem; padding: 0.75rem 1rem; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg img, .hero-scroll i { animation: none !important; }
  .ticker-track, .marquee-track { animation-duration: 60s !important; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
