/* ============================================================
   Central Fish Market — Jeddah  |  سوق السمك المركزي
   Design system + full page styles (EN LTR / AR RTL)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --deep:   #041e2f;
  --ocean:  #06344d;
  --sea:    #0a4a63;
  --seam:   #0d5c7a;
  --teal:   #16c2b3;
  --cyan:   #46e3d4;
  --coral:  #ff6b4a;
  --coral2: #ff8f6b;
  --gold:   #ffb703;
  --sand:   #f7f4ee;
  --sand2:  #efe9df;
  --foam:   #ffffff;
  --ink:    #0b2434;
  --muted:  #526b7d;
  --line:   rgba(11, 36, 52, .10);
  --line-l: rgba(255, 255, 255, .14);

  --font-head: 'Sora', 'Tajawal', sans-serif;
  --font-body: 'Inter', 'Tajawal', sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 45px -18px rgba(4, 30, 47, .25);
  --shadow-lg: 0 30px 70px -25px rgba(4, 30, 47, .45);
  --wrap: 1180px;
  --nav-h: 74px;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

html[lang="ar"] {
  --font-head: 'Tajawal', sans-serif;
  --font-body: 'Tajawal', sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

::selection { background: var(--teal); color: var(--foam); }

/* ---------- Utilities ---------- */
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }

.section { padding: clamp(4rem, 8vw, 6.5rem) 0; position: relative; }
.section--deep { background: linear-gradient(180deg, var(--deep) 0%, var(--ocean) 100%); color: var(--foam); }
.section--sand2 { background: var(--sand2); }

.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1rem;
}
html[lang="ar"] .kicker { letter-spacing: 0; font-size: .95rem; }
.kicker::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
}

.h2 {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 800; line-height: 1.2; letter-spacing: -.02em;
  margin-bottom: 1rem;
}
html[lang="ar"] .h2 { letter-spacing: 0; }
.h2 .accent { color: var(--teal); }
.section--deep .h2 .accent { color: var(--cyan); }

.lead { font-size: clamp(1rem, 1.6vw, 1.13rem); color: var(--muted); max-width: 68ch; }
.section--deep .lead { color: rgba(255, 255, 255, .78); }

.center { text-align: center; }
.center .lead { margin-inline: auto; }

.ar-echo {
  font-family: 'Tajawal', sans-serif; font-weight: 500;
  color: var(--muted); opacity: .85; font-size: 1.02rem;
}
.section--deep .ar-echo { color: rgba(255, 255, 255, .6); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.7rem; border-radius: 999px;
  font-weight: 700; font-size: .98rem; line-height: 1;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(.98); }

.btn--coral {
  background: linear-gradient(135deg, var(--coral), var(--coral2));
  color: var(--foam);
  box-shadow: 0 14px 30px -10px rgba(255, 107, 74, .55);
}
.btn--coral:hover { box-shadow: 0 20px 40px -12px rgba(255, 107, 74, .65); }

.btn--ghost {
  background: rgba(255, 255, 255, .08);
  color: var(--foam);
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .16); }

.btn--teal {
  background: linear-gradient(135deg, var(--teal), #0ea99b);
  color: var(--foam);
  box-shadow: 0 14px 30px -10px rgba(22, 194, 179, .5);
}

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; inset-inline-start: 0; top: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--cyan), var(--coral));
  z-index: 1001; transition: width .1s linear;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s, box-shadow .4s, height .4s;
}
.nav.is-solid {
  background: rgba(4, 30, 47, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .5);
  height: 64px;
}
.nav__inner { display: flex; align-items: center; gap: 1.2rem; width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }

.nav__logo { display: flex; align-items: center; gap: .65rem; color: var(--foam); font-family: var(--font-head); }
.nav__logo-mark { width: 40px; height: 40px; flex: none; }
.nav__logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav__logo-en { font-weight: 800; font-size: .98rem; letter-spacing: -.01em; }
.nav__logo-ar { font-family: 'Tajawal', sans-serif; font-size: .72rem; color: var(--cyan); font-weight: 500; }

.nav__links { display: flex; align-items: center; gap: 1.5rem; margin-inline-start: auto; }
.nav__links a {
  color: rgba(255, 255, 255, .82); font-size: .92rem; font-weight: 600;
  position: relative; padding: .3rem 0; transition: color .3s;
}
.nav__links a::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 0;
  width: 100%; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  transform: scaleX(0); transform-origin: center; transition: transform .35s var(--ease);
}
.nav__links a:hover { color: var(--foam); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta { display: flex; align-items: center; gap: .7rem; margin-inline-start: 1rem; }

.lang-toggle {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .95rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .3);
  color: var(--foam); font-weight: 700; font-size: .85rem;
  transition: background .3s, transform .3s;
}
.lang-toggle:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.lang-toggle svg { width: 15px; height: 15px; }

.nav__call {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem 1.1rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--coral), var(--coral2));
  color: var(--foam); font-weight: 700; font-size: .85rem;
  box-shadow: 0 10px 22px -8px rgba(255, 107, 74, .55);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.nav__call:hover { transform: translateY(-2px); }
.nav__call svg { width: 15px; height: 15px; }

.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  padding: .6rem; margin-inline-start: auto; z-index: 1002;
}
.nav__burger span {
  width: 24px; height: 2px; background: var(--foam); border-radius: 2px;
  transition: transform .35s var(--ease), opacity .3s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu panel */
.nav__panel { display: contents; }

@media (max-width: 960px) {
  .nav__burger { display: flex; }
  .nav__panel {
    display: flex; flex-direction: column; justify-content: center; gap: 2rem;
    position: fixed; inset: 0;
    background: linear-gradient(160deg, var(--deep), var(--sea));
    padding: 6rem 2.2rem 3rem;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
    z-index: 1001;
  }
  .nav__panel.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links { flex-direction: column; align-items: flex-start; gap: 1.4rem; margin: 0; }
  .nav__links a { font-size: 1.35rem; }
  .nav__cta { margin: 0; flex-wrap: wrap; }
}

/* ---------- Hero / ocean scene ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  background:
    radial-gradient(1200px 600px at 75% -10%, rgba(70, 227, 212, .16), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(13, 92, 122, .55), transparent 65%),
    linear-gradient(180deg, #031825 0%, var(--deep) 35%, var(--ocean) 75%, var(--sea) 100%);
  color: var(--foam);
  overflow: hidden;
  padding: calc(var(--nav-h) + 3rem) 0 8rem;
}

/* light rays */
.hero__rays { position: absolute; inset: 0; pointer-events: none; opacity: .5; }
.hero__rays span {
  position: absolute; top: -20%;
  width: 130px; height: 75%;
  background: linear-gradient(180deg, rgba(126, 235, 255, .16), transparent 80%);
  filter: blur(6px);
  transform: rotate(16deg);
  animation: ray-sway 9s ease-in-out infinite alternate;
}
.hero__rays span:nth-child(1) { inset-inline-start: 12%; animation-delay: 0s; }
.hero__rays span:nth-child(2) { inset-inline-start: 34%; width: 80px; animation-delay: -3s; opacity: .7; }
.hero__rays span:nth-child(3) { inset-inline-start: 58%; width: 160px; animation-delay: -6s; opacity: .5; }
.hero__rays span:nth-child(4) { inset-inline-start: 80%; width: 90px; animation-delay: -1.5s; opacity: .8; }
@keyframes ray-sway {
  from { transform: rotate(13deg) translateX(-12px); }
  to   { transform: rotate(19deg) translateX(12px); }
}

/* bubbles (JS spawns spans inside) */
.hero__bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubble {
  position: absolute; bottom: -30px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .85), rgba(255, 255, 255, .12) 55%, rgba(255, 255, 255, .03));
  animation: bubble-rise linear infinite;
}
@keyframes bubble-rise {
  0%   { transform: translateY(0) translateX(0) scale(.6); opacity: 0; }
  8%   { opacity: .8; }
  92%  { opacity: .5; }
  100% { transform: translateY(-108vh) translateX(var(--sway, 20px)) scale(1.05); opacity: 0; }
}

/* swimming fish (JS clones .swimfish) */
.hero__fishes { position: absolute; inset: 0; pointer-events: none; }
.swimfish {
  position: absolute;
  width: var(--fs, 70px);
  opacity: var(--fo, .5);
  animation: fish-swim var(--fd, 26s) linear infinite;
  animation-delay: var(--fdel, 0s);
  filter: hue-rotate(var(--fh, 0deg)) saturate(1.05);
  will-change: transform;
}
.swimfish svg { width: 100%; height: auto; }
.swimfish .fish-body { animation: fish-wiggle 1.6s ease-in-out infinite; transform-origin: 30% 50%; }
.swimfish .fish-tail { animation: tail-flap 0.9s ease-in-out infinite; transform-origin: 82% 50%; }
@keyframes fish-swim {
  0%   { transform: translateX(-14vw) translateY(var(--fy, 40vh)) scaleX(var(--fdir, 1)); }
  50%  { transform: translateX(56vw)  translateY(calc(var(--fy, 40vh) - 5vh)) scaleX(var(--fdir, 1)); }
  100% { transform: translateX(114vw) translateY(var(--fy, 40vh)) scaleX(var(--fdir, 1)); }
}
@keyframes fish-wiggle {
  0%, 100% { transform: rotate(-2deg); }
  50%      { transform: rotate(2.5deg); }
}
@keyframes tail-flap {
  0%, 100% { transform: rotate(-14deg); }
  50%      { transform: rotate(14deg); }
}

.hero__inner { position: relative; z-index: 3; width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.hero__content { max-width: 660px; }

.hero__badge {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .5rem 1.1rem; border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px);
  font-size: .84rem; font-weight: 600; color: rgba(255, 255, 255, .9);
  margin-bottom: 1.6rem;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(70, 227, 212, .6); animation: pulse 2.2s infinite; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(70, 227, 212, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(70, 227, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(70, 227, 212, 0); }
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6.4vw, 4.4rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -.03em;
  margin-bottom: .6rem;
}
html[lang="ar"] .hero__title { letter-spacing: 0; line-height: 1.22; }
.hero__title .grad {
  background: linear-gradient(92deg, var(--cyan) 0%, var(--teal) 55%, #7eebff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__ar {
  font-family: 'Tajawal', sans-serif;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  color: rgba(255, 255, 255, .65); font-weight: 500;
  margin-bottom: 1.3rem;
}
.hero__lead {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: rgba(255, 255, 255, .8);
  max-width: 56ch; margin-bottom: 1.8rem;
}

.hero__rating {
  display: inline-flex; align-items: center; gap: .7rem; flex-wrap: wrap;
  margin-bottom: 2.2rem;
  padding: .65rem 1.15rem; border-radius: 14px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
}
.hero__rating .stars { display: inline-flex; gap: 2px; }
.hero__rating .stars svg { width: 17px; height: 17px; fill: var(--gold); }
.hero__rating strong { font-size: 1.05rem; }
.hero__rating span { font-size: .85rem; color: rgba(255, 255, 255, .65); }

.hero__actions { display: flex; gap: .9rem; flex-wrap: wrap; }

.hero__scroll {
  position: absolute; bottom: 7.5rem; inset-inline-start: 50%;
  transform: translateX(-50%);
  z-index: 3; color: rgba(255, 255, 255, .55);
  font-size: .75rem; letter-spacing: .18em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
html[dir="rtl"] .hero__scroll { transform: translateX(50%); }
html[lang="ar"] .hero__scroll { letter-spacing: .04em; }
.hero__scroll::after {
  content: ""; width: 1px; height: 42px;
  background: linear-gradient(180deg, var(--cyan), transparent);
  animation: scroll-drip 1.8s ease-in-out infinite;
}
@keyframes scroll-drip {
  0%   { transform: scaleY(0); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* wave at hero bottom */
.hero__wave { position: absolute; bottom: -2px; inset-inline: 0; z-index: 2; line-height: 0; }
.hero__wave svg { width: 100%; height: clamp(60px, 9vw, 120px); display: block; }
.hero__wave .w1 { animation: wave-drift 9s ease-in-out infinite alternate; }
.hero__wave .w2 { animation: wave-drift 13s ease-in-out infinite alternate-reverse; }
@keyframes wave-drift {
  from { transform: translateX(-1.5%); }
  to   { transform: translateX(1.5%); }
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--deep);
  border-block: 1px solid var(--line-l);
  overflow: hidden; padding: .95rem 0;
  position: relative; z-index: 4;
}
.ticker__track {
  display: flex; gap: 2.8rem; width: max-content;
  animation: ticker-scroll 38s linear infinite;
}
html[dir="rtl"] .ticker__track { animation-name: ticker-scroll-rtl; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: inline-flex; align-items: center; gap: .8rem;
  color: rgba(255, 255, 255, .82); font-weight: 600; font-size: .95rem;
  white-space: nowrap;
}
.ticker__item svg { width: 20px; height: 20px; opacity: .8; }
.ticker__item em { font-style: normal; color: var(--cyan); font-family: 'Tajawal', sans-serif; font-weight: 500; }
@keyframes ticker-scroll     { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ticker-scroll-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- Story ---------- */
.story { background: var(--sand); overflow: hidden; }
.story__grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2.5rem, 5vw, 5rem); align-items: center;
}
.story__art { position: relative; }
.story__art svg { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.story__stamp {
  position: absolute; top: -22px; inset-inline-end: -14px;
  width: 108px; height: 108px; border-radius: 50%;
  background: var(--coral);
  color: var(--foam); display: grid; place-items: center; text-align: center;
  font-family: var(--font-head); font-weight: 800; line-height: 1.1;
  box-shadow: 0 16px 35px -12px rgba(255, 107, 74, .6);
  animation: stamp-spin 26s linear infinite paused;
  transform: rotate(-8deg);
}
.story__stamp b { font-size: 1.5rem; display: block; }
.story__stamp i { font-style: normal; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
html[lang="ar"] .story__stamp i { letter-spacing: 0; font-size: .72rem; }

.timeline { margin-top: 2rem; display: grid; gap: 1.1rem; }
.timeline__item {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  padding: 1.05rem 1.2rem; border-radius: var(--radius);
  background: var(--foam); border: 1px solid var(--line);
  box-shadow: 0 8px 24px -14px rgba(4, 30, 47, .18);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.timeline__item:hover { transform: translateX(6px); box-shadow: var(--shadow); }
html[dir="rtl"] .timeline__item:hover { transform: translateX(-6px); }
.timeline__year {
  font-family: var(--font-head); font-weight: 800; color: var(--teal);
  font-size: 1.05rem; padding-top: .1rem; min-width: 62px;
}
.timeline__item h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: .15rem; }
.timeline__item p { font-size: .92rem; color: var(--muted); }

/* ---------- Stats ---------- */
.stats { position: relative; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.stat {
  text-align: center; padding: 2.2rem 1.2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-l);
  backdrop-filter: blur(4px);
  transition: transform .4s var(--ease), background .4s;
}
.stat:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .09); }
.stat__icon { width: 44px; height: 44px; margin: 0 auto 1rem; color: var(--cyan); }
.stat__num {
  font-family: var(--font-head); font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800; line-height: 1;
  display: flex; align-items: baseline; justify-content: center; gap: .1em;
}
.stat__num .suffix { font-size: .6em; color: var(--cyan); }
.stat__label { margin-top: .55rem; font-size: .88rem; color: rgba(255, 255, 255, .7); font-weight: 500; }

/* ---------- Fish guide ---------- */
.fish-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem; margin-top: 2.8rem;
}
.fish-card {
  background: var(--foam); border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 1.8rem 1.6rem 1.6rem;
  position: relative; overflow: hidden;
  box-shadow: 0 10px 30px -18px rgba(4, 30, 47, .2);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  transform-style: preserve-3d;
}
.fish-card:hover { box-shadow: var(--shadow-lg); }
.fish-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px 180px at 50% -20%, var(--fc, rgba(22, 194, 179, .14)), transparent 70%);
  opacity: 0; transition: opacity .4s;
}
.fish-card:hover::before { opacity: 1; }
.fish-card__art {
  height: 96px; display: grid; place-items: center; margin-bottom: 1.1rem;
  position: relative; z-index: 1;
}
.fish-card__art svg { height: 100%; width: auto; max-width: 190px; transition: transform .45s var(--ease); }
.fish-card:hover .fish-card__art svg { transform: translateX(8px) rotate(-3deg) scale(1.06); }
html[dir="rtl"] .fish-card:hover .fish-card__art svg { transform: translateX(-8px) rotate(3deg) scale(1.06); }
.fish-card__names { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; margin-bottom: .4rem; }
.fish-card__names h3 { font-family: var(--font-head); font-size: 1.18rem; font-weight: 800; }
.fish-card__names .ar { font-family: 'Tajawal', sans-serif; color: var(--teal); font-weight: 700; font-size: 1.05rem; }
.fish-card__sci { font-size: .78rem; color: var(--muted); font-style: italic; margin-bottom: .6rem; }
.fish-card p { font-size: .92rem; color: var(--muted); position: relative; z-index: 1; }
.fish-card__tag {
  display: inline-block; margin-top: .9rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--fc-t, #0e8d81);
  background: var(--fc-bg, rgba(22, 194, 179, .12));
  padding: .32rem .75rem; border-radius: 999px;
}
html[lang="ar"] .fish-card__tag { letter-spacing: 0; font-size: .8rem; }

/* ---------- Services ---------- */
.services { background: var(--sand2); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.8rem; }
.svc {
  background: var(--foam); border-radius: var(--radius-lg);
  padding: 2rem 1.7rem; border: 1px solid var(--line);
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.svc:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.svc__icon {
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 1.2rem;
  background: linear-gradient(135deg, rgba(22, 194, 179, .14), rgba(70, 227, 212, .2));
  color: var(--seam);
  transition: transform .4s var(--ease), background .4s;
}
.svc:hover .svc__icon { transform: rotate(-6deg) scale(1.08); background: linear-gradient(135deg, var(--teal), var(--cyan)); color: var(--foam); }
.svc__icon svg { width: 28px; height: 28px; }
.svc h3 { font-family: var(--font-head); font-size: 1.12rem; font-weight: 800; margin-bottom: .5rem; }
.svc p { font-size: .93rem; color: var(--muted); }
.svc__num {
  position: absolute; top: 1rem; inset-inline-end: 1.2rem;
  font-family: var(--font-head); font-weight: 800; font-size: 2.6rem;
  color: rgba(11, 36, 52, .05); line-height: 1;
}

/* ---------- Haraj steps ---------- */
.haraj { overflow: hidden; }
.haraj__steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem; margin-top: 3rem; counter-reset: step;
}
.hstep {
  position: relative; padding: 1.9rem 1.4rem 1.6rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-l);
  transition: transform .4s var(--ease), background .4s;
}
.hstep:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .1); }
.hstep__badge {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  color: var(--deep); font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 10px 24px -8px rgba(22, 194, 179, .55);
}
.hstep h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .45rem; }
.hstep p { font-size: .89rem; color: rgba(255, 255, 255, .68); }
.haraj__note {
  margin-top: 2.2rem; padding: 1.1rem 1.4rem; border-radius: var(--radius);
  background: rgba(255, 183, 3, .1); border: 1px solid rgba(255, 183, 3, .25);
  color: rgba(255, 255, 255, .85); font-size: .93rem;
  display: flex; gap: .8rem; align-items: flex-start;
}
.haraj__note svg { width: 20px; height: 20px; flex: none; color: var(--gold); margin-top: .15rem; }

/* ---------- Visitor tips ---------- */
.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.8rem; }
.tip {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  background: var(--foam); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tip:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tip__icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 107, 74, .1); color: var(--coral);
}
.tip__icon svg { width: 22px; height: 22px; }
.tip h3 { font-size: .99rem; font-weight: 700; margin-bottom: .25rem; }
.tip p { font-size: .88rem; color: var(--muted); }

/* ---------- Inside the market ---------- */
.shops { background: var(--sand2); }
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 2.8rem; }
.shop {
  background: var(--foam); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.7rem 1.4rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.shop:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.shop__type {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--seam); background: rgba(13, 92, 122, .09);
  padding: .3rem .7rem; border-radius: 999px; margin-bottom: .9rem;
}
html[lang="ar"] .shop__type { letter-spacing: 0; font-size: .8rem; }
.shop h3 { font-size: 1rem; font-weight: 700; margin-bottom: .35rem; line-height: 1.35; }
.shop .ar { display: block; font-family: 'Tajawal', sans-serif; font-size: .88rem; color: var(--muted); font-weight: 500; margin-bottom: .7rem; }
.shop__rating { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 700; }
.shop__rating svg { width: 15px; height: 15px; fill: var(--gold); }
.shop__rating span { color: var(--muted); font-weight: 500; font-size: .8rem; }

/* ---------- Reviews ---------- */
.reviews__panel {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-l); border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.2rem);
  margin-top: 2.6rem;
}
.reviews__score { text-align: center; }
.reviews__big {
  font-family: var(--font-head); font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--gold), #ffd75e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.reviews__stars { display: flex; justify-content: center; gap: 4px; margin: .8rem 0 .5rem; }
.reviews__stars svg { width: 26px; height: 26px; fill: var(--gold); }
.reviews__stars .half { fill: url(#halfstar); }
.reviews__count { color: rgba(255, 255, 255, .65); font-size: .92rem; }
.reviews__themes { display: grid; gap: .9rem; }
.theme { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.theme svg { width: 22px; height: 22px; color: var(--cyan); margin-top: .2rem; }
.theme h3 { font-size: 1rem; font-weight: 700; }
.theme p { font-size: .89rem; color: rgba(255, 255, 255, .65); }
.reviews__cta { margin-top: 2rem; text-align: center; }

/* ---------- FAQ ---------- */
.faq__list { max-width: 820px; margin: 2.6rem auto 0; display: grid; gap: .9rem; }
.faq__item {
  background: var(--foam); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .35s;
}
.faq__item.is-open { box-shadow: var(--shadow); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 1.4rem; text-align: start;
  font-weight: 700; font-size: 1rem; font-family: var(--font-body);
}
.faq__q .chev {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: rgba(22, 194, 179, .12); color: var(--teal);
  transition: transform .4s var(--ease), background .3s;
}
.faq__q .chev svg { width: 16px; height: 16px; }
.faq__item.is-open .chev { transform: rotate(180deg); background: var(--teal); color: var(--foam); }
.faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height .5s var(--ease);
}
.faq__a p { padding: 0 1.4rem 1.3rem; color: var(--muted); font-size: .95rem; }

/* ---------- Location ---------- */
.loc__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 1.6rem; margin-top: 2.8rem; align-items: stretch; }
.loc__card {
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-l);
  border-radius: var(--radius-lg); padding: 2rem 1.9rem;
  display: flex; flex-direction: column; gap: 1.15rem;
}
.loc__row { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.loc__row > svg { width: 22px; height: 22px; color: var(--cyan); margin-top: .2rem; flex: none; }
.loc__row h3 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: .2rem; }
html[lang="ar"] .loc__row h3 { letter-spacing: 0; font-size: .85rem; }
.loc__row p, .loc__row a { font-size: .97rem; color: rgba(255, 255, 255, .9); }
.loc__row a:hover { color: var(--cyan); }
.hours-table { width: 100%; font-size: .93rem; border-collapse: collapse; }
.hours-table td { padding: .3rem 0; color: rgba(255, 255, 255, .85); }
.hours-table td:last-child { text-align: end; color: var(--cyan); font-weight: 600; }
.loc__actions { margin-top: auto; display: flex; gap: .8rem; flex-wrap: wrap; padding-top: .6rem; }

.loc__map {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-l);
  min-height: 420px; position: relative;
  box-shadow: var(--shadow-lg);
}
.loc__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.9); }

/* ---------- Footer ---------- */
.footer { background: #02141f; color: rgba(255, 255, 255, .75); padding: 4rem 0 2rem; position: relative; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.6rem; }
.footer__brand .nav__logo { margin-bottom: 1rem; }
.footer__brand p { font-size: .92rem; max-width: 40ch; color: rgba(255, 255, 255, .6); }
.footer__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 1.1rem; padding: .45rem .95rem; border-radius: 999px;
  background: rgba(255, 107, 74, .12); border: 1px solid rgba(255, 107, 74, .3);
  color: var(--coral2); font-size: .8rem; font-weight: 700;
}
.footer__badge svg { width: 14px; height: 14px; }
.footer h4 { color: var(--foam); font-family: var(--font-head); font-size: 1rem; margin-bottom: 1.1rem; }
.footer__links { display: grid; gap: .6rem; }
.footer__links a { font-size: .92rem; color: rgba(255, 255, 255, .65); transition: color .3s, padding .3s; }
.footer__links a:hover { color: var(--cyan); padding-inline-start: 5px; }
.footer__contact { display: grid; gap: .8rem; font-size: .92rem; }
.footer__contact div { display: flex; gap: .7rem; align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; color: var(--teal); flex: none; margin-top: .25rem; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 1.6rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .82rem; color: rgba(255, 255, 255, .45);
}

/* ---------- Back to top ---------- */
.totop {
  position: fixed; bottom: 1.6rem; inset-inline-end: 1.6rem; z-index: 900;
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  color: var(--deep); display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(22, 194, 179, .6);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .4s, transform .4s var(--ease), visibility .4s;
}
.totop.is-show { opacity: 1; visibility: visible; transform: none; }
.totop:hover { transform: translateY(-4px); }
.totop svg { width: 24px; height: 24px; }

/* ---------- Scroll reveal ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--rvd, 0s); }
.rv--left  { transform: translateX(-34px); }
.rv--right { transform: translateX(34px); }
.rv--scale { transform: scale(.92); }
.rv.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .fish-grid, .svc-grid, .tips-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-grid, .haraj__steps, .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .story__grid, .loc__grid { grid-template-columns: 1fr; }
  .story__art { order: -1; max-width: 620px; margin-inline: auto; }
  .reviews__panel { grid-template-columns: 1fr; text-align: center; }
  .theme { text-align: start; }
}

@media (max-width: 640px) {
  .fish-grid, .svc-grid, .tips-grid, .shop-grid, .haraj__steps { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: .9rem; }
  .stat { padding: 1.6rem .9rem; }
  .hero { padding-bottom: 9rem; }
  .hero__actions .btn { width: 100%; }
  .hero__scroll { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .loc__map { min-height: 320px; }
  .nav__call span { display: none; }
  .nav__call { padding: .55rem .7rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
  }
  .swimfish, .bubble, .hero__rays { display: none !important; }
  .rv { opacity: 1; transform: none; }
}
