/* ==========================================================================
   FOFO BEAUTY GLOW — Luxury Beauty & Spa · Makkah
   Premium stylesheet · Light/Dark · RTL/LTR · Animated
   ========================================================================== */

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

/* ---------- Theme tokens ---------- */
:root {
  --cream:      #FBF6F2;
  --cream-2:    #F3E7DE;
  --surface:    #FFFFFF;
  --surface-2:  #FCF4EF;
  --ink:        #2A1E22;
  --ink-soft:   #4B3A3F;
  --muted:      #867076;
  --line:       #EADFD7;
  --rose:       #C06B78;
  --rose-deep:  #A9505E;
  --rose-soft:  #F4E2E2;
  --gold:       #C6A15B;
  --gold-soft:  #EAD9B0;
  --plum:       #6E3B4E;
  --royal:      #1E3A8A;  /* brand logo blue */
  --royal-2:    #16337F;
  --royal-soft: #DBE3F5;

  --bg:         var(--cream);
  --bg-soft:    var(--cream-2);
  --card:       var(--surface);
  --card-2:     var(--surface-2);
  --text:       var(--ink);
  --text-soft:  var(--ink-soft);
  --border:     var(--line);
  --brand:      var(--rose);
  --brand-deep: var(--rose-deep);
  --brand-soft: var(--rose-soft);
  --accent:     var(--gold);
  --shadow:     0 24px 60px -28px rgba(90, 40, 55, .35);
  --shadow-sm:  0 10px 30px -18px rgba(90, 40, 55, .4);

  --f-serif: 'Cormorant Garamond', 'El Messiri', serif;
  --f-sans:  'Jost', 'Tajawal', sans-serif;
  --radius:  22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --header-h: 74px;
}

[data-theme="dark"] {
  --bg:         #150F13;
  --bg-soft:    #1D151A;
  --card:       #241A20;
  --card-2:     #2B2027;
  --text:       #F6ECE7;
  --text-soft:  #D9C6CC;
  --muted:      #A98D96;
  --border:     #3A2C33;
  --brand:      #E4A6AE;
  --brand-deep: #D98894;
  --brand-soft: #35232A;
  --accent:     #DcB878;
  --shadow:     0 30px 70px -30px rgba(0,0,0,.7);
  --shadow-sm:  0 12px 34px -18px rgba(0,0,0,.6);
}

/* Arabic typography */
html[lang="ar"] { --f-serif: 'El Messiri', serif; --f-sans: 'Tajawal', sans-serif; }

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: clip; /* clip (not hidden) so position:sticky header keeps working */
  transition: background .5s var(--ease), color .5s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--brand); color: #fff; }

h1,h2,h3,h4 { font-family: var(--f-serif); font-weight: 600; line-height: 1.12; color: var(--text); letter-spacing: .2px; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { letter-spacing: 0; line-height: 1.35; }

/* ---------- Layout helpers ---------- */
.container { width: min(1200px, 92%); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.center { text-align: center; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-sans); font-size: .74rem; font-weight: 600;
  letter-spacing: .32em; text-transform: uppercase; color: var(--brand-deep);
  margin-bottom: 18px;
}
html[lang="ar"] .kicker { letter-spacing: .08em; font-weight: 700; }
.kicker::before, .kicker::after { content: ""; width: 26px; height: 1px; background: var(--accent); opacity: .7; }
.center .kicker { justify-content: center; }

.title { font-size: clamp(2.1rem, 4.4vw, 3.5rem); margin-bottom: 18px; }
.lead { font-size: clamp(1rem, 1.4vw, 1.14rem); color: var(--text-soft); max-width: 60ch; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --pad: 15px 30px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad); border-radius: 100px; font-size: .9rem; font-weight: 500;
  letter-spacing: .04em; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
  white-space: nowrap;
}
html[lang="ar"] .btn { font-weight: 700; }
.btn-primary { background: linear-gradient(120deg, var(--brand), var(--brand-deep)); color: #fff; box-shadow: 0 14px 30px -12px rgba(169,80,94,.6); }
.btn-primary::after {
  content:""; position:absolute; top:0; left:-120%; width:60%; height:100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(169,80,94,.7); }
.btn-primary:hover::after { left: 130%; }
.btn-ghost { background: var(--card); color: var(--text); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--brand); color: var(--brand-deep); }
.btn-outline { background: transparent; border: 1px solid var(--brand); color: var(--brand-deep); }
.btn-outline:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.btn-gold { background: linear-gradient(120deg, var(--gold), #b98f45); color: #2A1E22; }
.btn-lg { --pad: 18px 40px; font-size: 1rem; }

/* ==========================================================================
   ANNOUNCEMENT BAR
   ========================================================================== */
.announce {
  position: relative; background: linear-gradient(100deg, var(--royal-2), var(--plum) 42%, var(--brand-deep) 70%, var(--gold));
  color: #fff; font-size: .8rem; letter-spacing: .04em; overflow: hidden;
  height: 40px; display: flex; align-items: center;
}
.announce-track {
  display: inline-flex; align-items: center; gap: 14px; white-space: nowrap;
  animation: annScroll 32s linear infinite; will-change: transform;
}
.announce:hover .announce-track { animation-play-state: paused; }
@keyframes annScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
html[dir="rtl"] .announce-track { animation-name: annScrollRtl; }
@keyframes annScrollRtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
.announce .dot { opacity: .55; }
.announce-close {
  position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%);
  color: #fff; font-size: 1.3rem; line-height: 1; opacity: .8; z-index: 3;
  width: 24px; height: 24px; border-radius: 50%; transition: .3s;
}
.announce-close:hover { opacity: 1; background: rgba(255,255,255,.15); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
/* wrapper must not create a containing block, else sticky only sticks inside it */
#header-root { display: contents; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s, box-shadow .4s;
}
.site-header.scrolled { border-color: var(--border); box-shadow: 0 10px 30px -22px rgba(80,40,55,.5); }
.nav-inner { width: min(1280px, 94%); margin-inline: auto; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid; place-items: center; width: 50px; height: 42px; flex: none;
}
.brand-mark svg { width: 50px; height: 38px; display: block; filter: drop-shadow(0 3px 6px rgba(110,59,78,.22)); transition: transform .5s var(--ease); }
.brand:hover .brand-mark svg { transform: scale(1.07); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--f-serif); font-size: 1.32rem; font-weight: 600; color: var(--text); }
.brand-tag { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .brand-tag { letter-spacing: .02em; text-transform: none; font-size: .68rem; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative; padding: 10px 16px; font-size: .92rem; font-weight: 500; color: var(--text-soft);
  border-radius: 100px; transition: color .3s;
}
html[lang="ar"] .nav-link { font-weight: 500; }
.nav-link::after {
  content:""; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; border-radius: 2px; background: var(--brand); transition: width .35s var(--ease);
}
.nav-link:hover { color: var(--brand-deep); }
.nav-link:hover::after, .nav-link.active::after { width: 22px; }
.nav-link.active { color: var(--brand-deep); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.toggle-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--text); background: var(--card);
  transition: transform .35s var(--ease), border-color .3s, color .3s;
}
.toggle-btn:hover { transform: translateY(-2px) rotate(6deg); border-color: var(--brand); color: var(--brand-deep); }
/* Language button shows the language you can SWITCH TO */
.lang-btn { width: auto; min-width: 42px; padding: 0 14px; border-radius: 100px; font-weight: 700; font-size: .82rem; }
#langToggle .lang-en, #langToggle .lang-ar { display: none; }
html[lang="en"] #langToggle .lang-ar { display: inline; font-family: 'Tajawal', sans-serif; } /* English active → offer عربي */
html[lang="ar"] #langToggle .lang-en { display: inline; } /* Arabic active → offer EN */
.ico-moon { display: none; }
[data-theme="dark"] .ico-sun { display: none; }
[data-theme="dark"] .ico-moon { display: block; }

.btn-book {
  padding: 11px 22px; background: linear-gradient(120deg, var(--brand), var(--brand-deep));
  color: #fff; border-radius: 100px; font-size: .86rem; font-weight: 500;
  box-shadow: 0 12px 26px -12px rgba(169,80,94,.6); transition: transform .35s var(--ease);
}
.btn-book:hover { transform: translateY(-2px); }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; border-radius: 12px; align-items: center; justify-content: center; border: 1px solid var(--border); background: var(--card); }
.hamburger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: .35s var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile fullscreen menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 300; height: 100dvh;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; visibility: hidden; transform: scale(1.04);
  transition: opacity .4s var(--ease), transform .5s var(--ease), visibility .4s;
  padding: 30px;
}
.mobile-menu::before { content:""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, var(--brand-soft), transparent 55%); opacity: .7; }
.mobile-menu.open { opacity: 1; visibility: visible; transform: scale(1); }
.mm-close {
  position: absolute; top: 22px; inset-inline-end: 24px; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--card); color: var(--text); font-size: 1.7rem; line-height: 1;
  display: grid; place-items: center; z-index: 2; transition: .3s;
}
.mm-close:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: rotate(90deg); }
.mm-brand { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 18px; position: relative; z-index: 2; }
.mm-brand .brand-mark { width: 82px; height: 60px; }
.mm-brand .brand-mark svg { width: 82px; height: 60px; }
.mm-brand .brand-name { font-family: var(--f-serif); font-size: 1.5rem; color: var(--text); }
.mobile-menu .mobile-nav { display: flex; flex-direction: column; align-items: center; gap: 4px; position: relative; z-index: 2; }
.mobile-menu .mobile-nav a {
  font-family: var(--f-serif); font-size: 1.9rem; color: var(--text); padding: 8px 20px; position: relative;
  opacity: 0; transform: translateY(14px); transition: color .3s;
}
.mobile-menu.open .mobile-nav a { animation: mmIn .5s var(--ease) forwards; animation-delay: calc(.12s + var(--i) * .07s); }
@keyframes mmIn { to { opacity: 1; transform: translateY(0); } }
.mobile-menu .mobile-nav a.active, .mobile-menu .mobile-nav a:hover { color: var(--brand-deep); }
.mobile-menu .mobile-nav a.active::after { content:""; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); width: 24px; height: 2px; background: var(--gold); border-radius: 2px; }
.mm-book { margin-top: 24px; position: relative; z-index: 2; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.6s var(--ease); transform: scale(1.08);
}
.hero-slide.active { opacity: 1; animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.hero::after {
  content:""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(30,16,22,.86) 0%, rgba(40,20,30,.6) 42%, rgba(40,20,30,.15) 100%);
}
html[dir="rtl"] .hero::after { background: linear-gradient(255deg, rgba(30,16,22,.86) 0%, rgba(40,20,30,.6) 42%, rgba(40,20,30,.15) 100%); }
.hero-inner { position: relative; z-index: 3; width: min(1200px, 92%); margin-inline: auto; padding: 60px 0; color: #fff; }
.hero-kicker { color: var(--gold-soft); }
.hero-kicker::before, .hero-kicker::after { background: var(--gold-soft); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6.4vw, 5.2rem); font-weight: 600; max-width: 15ch; margin-bottom: 22px; text-shadow: 0 4px 30px rgba(0,0,0,.3); }
.hero-sub { color: rgba(255,255,255,.9); font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 52ch; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #fff; backdrop-filter: blur(6px); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff; }

.hero-stats { display: flex; gap: 40px; margin-top: 54px; flex-wrap: wrap; }
.hero-stat .num { font-family: var(--f-serif); font-size: 2.4rem; font-weight: 600; color: #fff; display: flex; align-items: baseline; gap: 4px; }
.hero-stat .num .star { color: var(--gold); font-size: 1.4rem; }
.hero-stat .lbl { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.72); }
html[lang="ar"] .hero-stat .lbl { letter-spacing: 0; text-transform: none; }

.hero-dots { position: absolute; bottom: 28px; inset-inline-start: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: 10px; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.4); transition: .3s; }
.hero-dots button.active { background: var(--gold); width: 26px; border-radius: 6px; }
.scroll-hint { position: absolute; bottom: 26px; inset-inline-end: 34px; z-index: 4; color: rgba(255,255,255,.7); font-size: .72rem; letter-spacing: .2em; writing-mode: vertical-lr; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.scroll-hint::after { content:""; width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); animation: scrollLine 1.8s ease-in-out infinite; }
html[dir="rtl"] .scroll-hint { writing-mode: horizontal-tb; }
@keyframes scrollLine { 0%,100%{ transform: scaleY(.4); opacity:.4;} 50%{transform: scaleY(1); opacity:1;} }

/* ==========================================================================
   MARQUEE BAND
   ========================================================================== */
.marquee-band { background: linear-gradient(100deg, var(--royal-2), var(--royal)); color: var(--gold-soft); padding: 20px 0; overflow: hidden; border-block: 1px solid rgba(255,255,255,.08); }
[data-theme="dark"] .marquee-band { background: linear-gradient(100deg, #0d2258, #16337f); }
.marquee-band .track { display: inline-flex; white-space: nowrap; animation: annScroll 48s linear infinite; will-change: transform; }
html[dir="rtl"] .marquee-band .track { animation-name: annScrollRtl; }
.marquee-band .track span { font-family: var(--f-serif); font-size: 1.7rem; font-style: italic; padding-inline: 8px; opacity: .9; }
.marquee-band .track b { color: var(--gold); padding-inline: 20px; font-style: normal; }

/* ==========================================================================
   SERVICE CARDS
   ========================================================================== */
.svc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 50px; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.svc-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  position: relative; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }
.svc-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-card:hover .svc-media img { transform: scale(1.09); }
.svc-media::after { content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(30,16,22,.5), transparent 55%); opacity: 0; transition: .5s; }
.svc-card:hover .svc-media::after { opacity: 1; }
.svc-price-tag {
  position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2;
  background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(6px);
  border: 1px solid var(--border); color: var(--brand-deep); font-weight: 600;
  padding: 7px 14px; border-radius: 100px; font-size: .82rem; box-shadow: var(--shadow-sm);
}
.svc-price-tag small { color: var(--muted); font-weight: 400; font-size: .68rem; }
.svc-body { padding: 26px 24px 28px; }
.svc-body h3 { font-size: 1.5rem; margin-bottom: 10px; }
.svc-body p { color: var(--text-soft); font-size: .94rem; margin-bottom: 18px; }
.svc-foot { display: flex; align-items: center; justify-content: space-between; }
.svc-link { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-deep); font-weight: 600; font-size: .88rem; }
.svc-link .arrow { transition: transform .35s var(--ease); }
html[dir="rtl"] .svc-link .arrow { transform: scaleX(-1); }
.svc-card:hover .svc-link .arrow { transform: translateX(5px); }
html[dir="rtl"] .svc-card:hover .svc-link .arrow { transform: scaleX(-1) translateX(5px); }
.svc-dur { font-size: .8rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }

/* ==========================================================================
   ABOUT SPLIT
   ========================================================================== */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 6vw, 96px); align-items: center; }

/* ---- Premium media composition ---- */
.about-media { position: relative; padding: 22px; }
.about-media .img-main { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; z-index: 2; }
.about-media .img-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-media:hover .img-main img { transform: scale(1.05); }
/* gold offset frame */
.about-media::before { content:""; position: absolute; top: 0; inset-inline-start: 0; width: 62%; height: 62%; border: 1.5px solid var(--gold); border-radius: var(--radius); z-index: 1; opacity: .55; }
/* dotted accent */
.about-media::after { content:""; position: absolute; bottom: 6px; inset-inline-end: 6px; width: 96px; height: 96px; z-index: 1;
  background-image: radial-gradient(var(--gold) 1.4px, transparent 1.6px); background-size: 14px 14px; opacity: .4; }
/* small overlapping secondary image */
.about-media .am-sub { position: absolute; bottom: -6px; inset-inline-end: -6px; width: 44%; aspect-ratio: 1; border-radius: 18px; overflow: hidden; border: 5px solid var(--card); box-shadow: var(--shadow); z-index: 3; }
.about-media .am-sub img { width: 100%; height: 100%; object-fit: cover; }
/* floating badge */
.about-media .badge {
  position: absolute; inset-inline-start: -10px; top: 30px; background: var(--card);
  border: 1px solid var(--border); border-radius: 18px; padding: 16px 22px; box-shadow: var(--shadow);
  text-align: center; z-index: 4; animation: float 5s ease-in-out infinite;
}
@keyframes float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-12px);} }
.about-media .badge .big { font-family: var(--f-serif); font-size: 2rem; color: var(--brand-deep); line-height: 1; }
.about-media .badge .sml { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
html[lang="ar"] .about-media .badge .sml { letter-spacing: 0; text-transform: none; font-size: .74rem; }

.about-text .kicker { margin-bottom: 14px; }
.about-text p { color: var(--text-soft); margin-bottom: 18px; }
.about-text p:first-of-type { font-size: 1.08rem; color: var(--text); }
.about-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0 32px; }
.about-feat { display: flex; align-items: center; gap: 12px; font-size: .94rem; }
.about-feat .tick { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-deep); display: grid; place-items: center; font-size: .85rem; }

/* ==========================================================================
   WHY / FEATURE GRID
   ========================================================================== */
.why { background: var(--bg-soft); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 50px; }
.why-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 28px; transition: transform .5s var(--ease), box-shadow .5s; position: relative; overflow: hidden; }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.why-card::before { content:""; position: absolute; top: 0; inset-inline-start: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--brand), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
html[dir="rtl"] .why-card::before { transform-origin: right; }
.why-card:hover::before { transform: scaleX(1); }
.why-ico { width: 58px; height: 58px; border-radius: 18px; background: linear-gradient(135deg, var(--brand-soft), transparent); display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 20px; }
.why-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.why-card p { color: var(--text-soft); font-size: .92rem; }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; margin-top: 50px; }
.gal-item { position: relative; overflow: hidden; border-radius: var(--radius-sm); cursor: pointer; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gal-item:hover img { transform: scale(1.1); }
.gal-item::after { content:"✦"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.4rem; background: rgba(110,59,78,.4); opacity: 0; transition: .4s; }
.gal-item:hover::after { opacity: 1; }
.gal-item.tall { grid-row: span 2; }
.gal-item.wide { grid-column: span 2; }

.gal-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gal-page-grid .gal-item { aspect-ratio: 1; }
.gal-page-grid .gal-item.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(15,8,12,.92); backdrop-filter: blur(8px); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .4s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 88vw; max-height: 82vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.6); transform: scale(.9); transition: transform .4s var(--ease); }
.lightbox.open img { transform: scale(1); }
.lb-close, .lb-nav { position: absolute; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; transition: .3s; }
.lb-close { top: 26px; inset-inline-end: 26px; }
.lb-close:hover, .lb-nav:hover { background: var(--brand); }
.lb-prev { inset-inline-start: 26px; top: 50%; transform: translateY(-50%); }
.lb-next { inset-inline-end: 26px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.test { background: var(--bg-soft); overflow: hidden; }
.test-viewport { overflow: hidden; margin-top: 50px; }
.test-track { display: flex; gap: 26px; transition: transform .6s var(--ease); }
.test-card { flex: 0 0 calc(33.333% - 18px); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.test-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 16px; }
.test-quote { font-family: var(--f-serif); font-size: 1.55rem; color: var(--gold); line-height: 0; height: 18px; }
.test-text { color: var(--text-soft); font-size: .96rem; margin-bottom: 22px; flex: 1; }
.test-person { display: flex; align-items: center; gap: 14px; }
.test-avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--gold)); color: #fff; display: grid; place-items: center; font-family: var(--f-serif); font-size: 1.2rem; font-weight: 600; }
.test-name { font-weight: 600; color: var(--text); }
.test-meta { font-size: .76rem; color: var(--muted); }
.test-nav { display: flex; justify-content: center; gap: 12px; margin-top: 36px; }
.test-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: var(--card); color: var(--text); transition: .3s; display: grid; place-items: center; }
.test-nav button:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
html[dir="rtl"] .test-nav .ar-flip { transform: scaleX(-1); }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; }
.cta-inner { position: relative; z-index: 2; text-align: center; color: #fff; padding: clamp(60px, 9vw, 110px) 0; }
.cta-band::before { content:""; position: absolute; inset: 0; background: url('../assets/images/cta-bg.jpg') center/cover fixed; }
.cta-band::after { content:""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(110,59,78,.92), rgba(40,20,30,.85)); }
.cta-inner h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 16px; }
.cta-inner .kicker { color: var(--gold-soft); }
.cta-inner .kicker::before, .cta-inner .kicker::after { background: var(--gold-soft); }
.cta-inner p { color: rgba(255,255,255,.9); max-width: 46ch; margin: 0 auto 32px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   PAGE HERO (inner pages)
   ========================================================================== */
.page-hero { position: relative; padding: clamp(90px, 13vw, 160px) 0 clamp(50px, 7vw, 90px); text-align: center; overflow: hidden; background: var(--bg-soft); }
.page-hero::before { content:""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% -20%, var(--brand-soft), transparent 60%); opacity: .8; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 16px; }
.breadcrumbs { font-size: .8rem; color: var(--muted); margin-top: 20px; }
.breadcrumbs a { color: var(--brand-deep); }
.floaty { position: absolute; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--gold-soft), transparent); opacity: .4; animation: float 7s ease-in-out infinite; z-index: 1; }
.floaty.f1 { width: 130px; height: 130px; top: 20%; inset-inline-start: 8%; }
.floaty.f2 { width: 90px; height: 90px; bottom: 15%; inset-inline-end: 12%; animation-delay: 1.5s; background: radial-gradient(circle at 30% 30%, var(--royal-soft), transparent); }

/* ==========================================================================
   SERVICES PAGE — price menu
   ========================================================================== */
.menu-cat { margin-bottom: 58px; }
.menu-cat-head { display: flex; align-items: center; justify-content: center; gap: 22px; margin-bottom: 40px; }
.menu-cat-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); white-space: nowrap; color: var(--text); }
.menu-cat-head .rule { flex: 1; max-width: 150px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); position: relative; }
.menu-cat-head .rule::after { content:""; position: absolute; top: 50%; inset-inline-end: 0; transform: translateY(-50%); width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.menu-cat-head .rule:first-child::after { inset-inline-end: auto; inset-inline-start: 0; }

.menu-list { display: grid; gap: 16px; }
.menu-row {
  display: grid; grid-template-columns: 108px 1fr auto; gap: 26px; align-items: center;
  padding: 16px; border-radius: 20px; background: var(--card); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden; cursor: pointer;
  transition: transform .45s var(--ease), box-shadow .45s, border-color .4s;
}
.menu-row::before { content:""; position: absolute; top: 0; inset-inline-start: 0; width: 4px; height: 100%; background: linear-gradient(var(--brand), var(--gold)); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease); }
.menu-row:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 35%, var(--border)); }
.menu-row:hover::before { transform: scaleY(1); }
.menu-thumb { width: 108px; height: 108px; border-radius: 15px; object-fit: cover; }
.menu-row:hover .menu-thumb { transform: none; }
.menu-info h3 { font-size: 1.42rem; margin-bottom: 5px; }
.menu-info p { color: var(--text-soft); font-size: .92rem; max-width: 48ch; }
.menu-info .dur { font-size: .76rem; color: var(--muted); margin-top: 10px; display: inline-flex; gap: 6px; align-items: center; background: var(--bg-soft); padding: 5px 13px; border-radius: 100px; }
.menu-price { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; text-align: center; padding-inline-start: 26px; border-inline-start: 1px solid var(--border); align-self: stretch; }
.menu-price .amt { font-family: var(--f-serif); font-size: 2rem; font-weight: 600; color: var(--brand-deep); line-height: 1; }
.menu-price .cur { font-size: .78rem; color: var(--muted); font-weight: 500; }
.menu-price .btn { --pad: 10px 24px; font-size: .82rem; }
.menu-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 36px; padding: 22px; border: 1px dashed var(--border); border-radius: var(--radius-sm); background: var(--bg-soft); }

/* ==========================================================================
   ABOUT PAGE values
   ========================================================================== */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.value-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px 32px; text-align: center; transition: transform .5s var(--ease), box-shadow .5s; }
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.value-num { font-family: var(--f-serif); font-size: 3rem; color: var(--gold); opacity: .4; line-height: 1; }
.value-card h3 { font-size: 1.5rem; margin: 12px 0 12px; }
.value-card p { color: var(--text-soft); font-size: .94rem; }

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.form-title { font-size: 1.7rem; margin-bottom: 22px; }
.contact-cards { display: grid; gap: 18px; }
.contact-card { display: flex; gap: 18px; align-items: flex-start; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: transform .4s var(--ease), box-shadow .4s; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.contact-ico { flex: none; width: 52px; height: 52px; border-radius: 15px; background: linear-gradient(135deg, var(--brand-soft), transparent); display: grid; place-items: center; font-size: 1.4rem; }
.contact-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.contact-card p, .contact-card a { color: var(--text-soft); font-size: .94rem; }
.contact-card a:hover { color: var(--brand-deep); }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); min-height: 420px; height: 100%; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(.2); }

/* ==========================================================================
   BOOKING FORM
   ========================================================================== */
.booking-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.book-form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font-family: inherit; font-size: .94rem; transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field textarea { resize: vertical; min-height: 90px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.book-form .btn { width: 100%; margin-top: 6px; }
.book-aside { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; }
.book-aside h3 { font-size: 1.6rem; margin-bottom: 18px; }
.book-aside .deposit-note { background: var(--brand-soft); border-radius: 14px; padding: 18px; font-size: .9rem; color: var(--text-soft); margin: 22px 0; }
.book-info-line { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: .92rem; }
.book-info-line:last-child { border: none; }

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { position: relative; background: var(--bg-soft); border-top: 1px solid var(--border); padding: 74px 0 0; overflow: hidden; }
.foot-glow { position: absolute; top: -140px; inset-inline-start: 50%; transform: translateX(-50%); width: 460px; height: 300px; background: radial-gradient(circle, var(--brand-soft), transparent 70%); opacity: .7; }
.foot-inner { width: min(1200px, 92%); margin-inline: auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 44px; position: relative; z-index: 2; }
.foot-brand .brand { margin-bottom: 18px; }
.foot-tag { color: var(--text-soft); font-size: .94rem; max-width: 32ch; margin-bottom: 22px; }
.foot-social { display: flex; gap: 12px; margin-top: 6px; }
/* higher specificity so the generic ".foot-col a" (block + padding) never hits these */
.foot-brand .foot-social a { width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; color: var(--brand-deep); background: var(--card); box-shadow: var(--shadow-sm); transition: .35s var(--ease); }
.foot-brand .foot-social a:hover { transform: translateY(-4px); padding: 0; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #fff; border-color: transparent; }
.foot-brand .foot-social a svg { width: 19px; height: 19px; display: block; }
.foot-col h4 { font-family: var(--f-sans); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; font-weight: 600; }
html[lang="ar"] .foot-col h4 { letter-spacing: 0; text-transform: none; font-size: .95rem; font-family: var(--f-serif); }
.foot-col a:not(.btn) { display: block; color: var(--text-soft); font-size: .92rem; padding: 6px 0; transition: .3s; }
.foot-col a:not(.btn):hover { color: var(--brand-deep); padding-inline-start: 6px; }
.foot-contact .foot-line { color: var(--text-soft); font-size: .92rem; margin-bottom: 12px; display: flex; gap: 8px; align-items: flex-start; }
.foot-contact .phone:hover { color: var(--brand-deep); }
.foot-map { margin-top: 8px; --pad: 11px 22px; font-size: .82rem; }
.foot-bottom { width: min(1200px, 92%); margin: 54px auto 0; padding: 24px 0; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); position: relative; z-index: 2; }
.foot-made { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-deep); }

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.wa-float {
  position: fixed; bottom: 26px; inset-inline-end: 26px; z-index: 120;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 14px 34px -8px rgba(37,211,102,.6);
  transition: transform .4s var(--ease);
}
.wa-float::before { content:""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: waPulse 2.2s ease-out infinite; }
@keyframes waPulse { 0%{ transform: scale(1); opacity:.7;} 100%{ transform: scale(1.7); opacity:0;} }
.wa-float:hover { transform: scale(1.1) rotate(6deg); }

/* Floating theme toggle — opposite corner to WhatsApp */
.theme-float {
  position: fixed; bottom: 26px; inset-inline-start: 26px; z-index: 120;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--card); color: var(--text); border: 1px solid var(--border);
  display: grid; place-items: center; box-shadow: var(--shadow);
  transition: transform .4s var(--ease), color .3s, border-color .3s;
}
.theme-float:hover { transform: translateY(-3px) rotate(12deg); color: var(--brand-deep); border-color: var(--brand); }
.theme-float .ico-moon { display: none; }
[data-theme="dark"] .theme-float .ico-sun { display: none; }
[data-theme="dark"] .theme-float .ico-moon { display: block; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .foot-inner { grid-template-columns: 1fr 1fr; gap: 34px; }
  .booking-grid { grid-template-columns: 1fr; }
  .test-card { flex-basis: calc(50% - 13px); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .btn-book { display: none; }
  .about-split, .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 460px; margin-inline: auto; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gal-item.wide { grid-column: span 2; }
  .test-card { flex-basis: 100%; }
  .menu-row { grid-template-columns: 88px 1fr; gap: 16px; padding: 14px; }
  .menu-thumb { width: 88px; height: 88px; }
  .menu-price { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center;
    padding-inline-start: 0; border-inline-start: none; border-top: 1px solid var(--border); padding-top: 14px; margin-top: 2px; text-align: start; }
  .menu-price .btn { --pad: 9px 20px; }
  .gal-page-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 26px; }
}
/* ---- Footer on tablet/mobile ---- */
@media (max-width: 720px) {
  .site-footer { padding-top: 46px; }
  /* wider side padding + start-aligned (not centered) so nothing touches the edge */
  .foot-inner { width: 86%; grid-template-columns: 1fr 1fr; gap: 30px 22px; text-align: start; }
  .foot-brand { grid-column: 1 / -1; text-align: start; }
  .foot-brand .brand { justify-content: flex-start; }
  .foot-tag { margin-inline: 0; max-width: 40ch; }
  .foot-social { justify-content: flex-start; }
  .foot-contact { grid-column: 1 / -1; }
  .foot-map { display: inline-flex; }
  .foot-bottom { width: 86%; flex-direction: column; text-align: center; gap: 10px; padding: 22px 0; margin-top: 30px; }
  .foot-col h4 { margin-bottom: 14px; }
}

@media (max-width: 520px) {
  .brand-tag { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: 1fr 1fr; }
  .book-form, .book-aside { padding: 26px; }
  .hero-stat .num { font-size: 1.9rem; }
  .menu-thumb { width: 70px; height: 70px; }
  /* footer logo tidy */
  .foot-brand .brand-mark { width: 40px; height: 40px; font-size: 1.3rem; }
  .foot-brand .brand-name { font-size: 1.25rem; }
  .foot-tag { font-size: .9rem; max-width: 30ch; }
  .foot-brand .foot-social a { width: 44px; height: 44px; }
  .about-media .badge { padding: 12px 16px; }
  .about-media .badge .big { font-size: 1.6rem; }
  /* keep floats from crowding */
  .wa-float { width: 54px; height: 54px; bottom: 18px; inset-inline-end: 18px; }
  .theme-float { width: 48px; height: 48px; bottom: 18px; inset-inline-start: 18px; }
}
