body{background:#0d0d0d;color:#f8f4ef;font-family:'Amiri',serif;margin:0;}
.logo,h1,h2{font-family:'Great Vibes',cursive;color:#c4a574;}
header{position:fixed;top:0;width:100%;background:rgba(13,13,13,.9);padding:1rem 5%;z-index:100;}
.hero h1{font-size:6.5rem;margin:0;}
.arabic{font-size:2.3rem;margin:1rem 0 2rem;}
.btn{background:#c4a574;color:#0d0d0d;padding:.9rem 2.4rem;text-decoration:none;border-radius:4px;font-weight:bold;}
section{padding:5rem 8%;}
h2{font-size:3rem;text-align:center;}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem;}
img{width:100%;border-radius:10px;}
.whatsapp{position:fixed;bottom:20px;left:20px;background:#25D366;color:#fff;width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.8rem;text-decoration:none;z-index:999;}
/* ===== Gardenia Before & After (added; existing styles unchanged) ===== */
/* ========================================================================
   Gardenia — Before & After
   Soft matte black + antique gold. All selectors are prefixed with .ba-
   so this file can be dropped into an existing site safely.
   ======================================================================== */

.ba-section {
  --ba-bg: #141414;
  --ba-bg-soft: #1a1a1a;
  --ba-gold: #c9a96e;
  --ba-gold-deep: #b8975a;
  --ba-gold-light: #e0c989;
  --ba-gold-dim: rgba(201, 169, 110, 0.32);
  --ba-gold-line: rgba(201, 169, 110, 0.28);
  --ba-cream: #f3ede3;
  --ba-muted: #b8ad9a;
  --ba-handle: 52px;
  --pos: 50%;

  direction: rtl;
  box-sizing: border-box;
  background: var(--ba-bg);
  color: var(--ba-cream);
  padding: 88px 24px 96px;
  font-family: "Noto Sans Arabic", Outfit, "Segoe UI", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.ba-section *,
.ba-section *::before,
.ba-section *::after {
  box-sizing: border-box;
}

.ba-inner {
  max-width: 1080px;
  margin: 0 auto;
}

/* ----- Header ----- */

.ba-header {
  /* Reset in case the host site styles all <header> or .header elements */
  position: static;
  top: auto;
  width: auto;
  background: transparent;
  padding: 0;
  z-index: auto;
  text-align: center;
  margin: 0 auto 56px;
  max-width: 36rem;
}

.ba-kicker {
  margin: 0 0 16px;
  font-family: Outfit, "Noto Sans Arabic", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ba-gold);
}

.ba-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.6rem, 6.4vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--ba-cream);
}

.ba-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--ba-gold);
  padding: 0 0.08em;
}

.ba-title-ar {
  margin: 8px 0 0;
  font-family: "El Messiri", Amiri, "Noto Naskh Arabic", serif;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 500;
  color: var(--ba-gold);
}

.ba-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 22px auto 20px;
  color: var(--ba-gold);
}

.ba-ornament::before,
.ba-ornament::after {
  content: "";
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ba-gold-deep), transparent);
  opacity: 0.85;
}

.ba-ornament-diamond {
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: var(--ba-gold);
  box-shadow: 0 0 8px rgba(201, 169, 110, 0.45);
}

.ba-subtitle {
  margin: 0;
  font-family: "Noto Sans Arabic", Outfit, sans-serif;
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ba-muted);
}

.ba-subtitle strong {
  font-weight: 500;
  color: var(--ba-cream);
}

/* ----- Gallery ----- */

.ba-gallery {
  display: grid;
  grid-template-columns: auto minmax(0, 640px) auto;
  justify-content: center;
  align-items: center;
  column-gap: 14px;
  row-gap: 22px;
}

.ba-viewport {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ba-gold-line);
  border-radius: 10px;
  background: #0c0c0c;
  box-shadow:
    0 0 0 1px rgba(201, 169, 110, 0.06),
    0 24px 60px rgba(0, 0, 0, 0.45);
}

.ba-track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  direction: ltr;
}

.ba-track::-webkit-scrollbar {
  display: none;
}

.ba-slide {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  direction: ltr;
}

.ba-caption {
  margin: 0;
  padding: 12px 16px 14px;
  text-align: center;
  font-family: "Noto Sans Arabic", Outfit, sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--ba-muted);
  background: var(--ba-bg-soft);
  border-top: 1px solid var(--ba-gold-line);
}

/* ----- Comparison slider ----- */

.ba-compare {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0c0c0c;
  user-select: none;
  -webkit-user-select: none;
  direction: ltr;
  touch-action: pan-y pan-x;
  container-type: inline-size;
}

.ba-compare.is-dragging {
  touch-action: none;
  cursor: ew-resize;
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.ba-img-after {
  z-index: 0;
}

.ba-img-before {
  z-index: 1;
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: var(--ba-handle);
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ba-gold);
  cursor: ew-resize;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

.ba-handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    rgba(201, 169, 110, 0.25),
    var(--ba-gold) 18%,
    var(--ba-gold-light) 50%,
    var(--ba-gold) 82%,
    rgba(201, 169, 110, 0.25)
  );
  box-shadow: 0 0 8px rgba(201, 169, 110, 0.35);
  pointer-events: none;
}

.ba-grip {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--ba-gold);
  background: #141414;
  box-shadow:
    0 2px 14px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(201, 169, 110, 0.2),
    0 0 16px rgba(201, 169, 110, 0.18);
  display: grid;
  place-items: center;
  color: var(--ba-gold-light);
  pointer-events: none;
}

.ba-grip svg {
  width: 22px;
  height: 22px;
  display: block;
}

.ba-handle:focus {
  outline: none;
}

.ba-handle:focus-visible .ba-grip {
  box-shadow:
    0 0 0 3px var(--ba-bg),
    0 0 0 5px var(--ba-gold),
    0 2px 14px rgba(0, 0, 0, 0.55);
}

.ba-handle:hover .ba-grip,
.ba-compare.is-dragging .ba-grip {
  border-color: var(--ba-gold-light);
  background: #1c1810;
}

/* ----- Corner labels (easy to restyle) ----- */

.ba-label {
  position: absolute;
  top: 14px;
  z-index: 4;
  padding: 5px 10px 6px;
  font-family: Outfit, "Noto Sans Arabic", sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ba-gold-light);
  background: rgba(20, 20, 20, 0.62);
  border: 1px solid rgba(201, 169, 110, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  white-space: nowrap;
  line-height: 1.4;
}

.ba-label-before {
  left: 14px;
}

.ba-label-after {
  right: 14px;
}

/* ----- Arrows + dots ----- */

.ba-nav {
  grid-row: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--ba-gold-line);
  background: rgba(20, 20, 20, 0.8);
  color: var(--ba-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.ba-prev {
  grid-column: 1;
}

.ba-next {
  grid-column: 3;
}

.ba-nav svg {
  width: 18px;
  height: 18px;
  display: block;
}

.ba-nav:hover:not(:disabled) {
  border-color: var(--ba-gold);
  background: #1c1810;
}

.ba-nav:focus {
  outline: none;
}

.ba-nav:focus-visible {
  box-shadow: 0 0 0 3px var(--ba-bg), 0 0 0 5px var(--ba-gold);
}

.ba-nav:disabled {
  opacity: 0.28;
  cursor: default;
}

.ba-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.ba-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(201, 169, 110, 0.32);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.ba-dot[aria-current="true"] {
  width: 22px;
  background: var(--ba-gold);
}

.ba-dot:focus {
  outline: none;
}

.ba-dot:focus-visible {
  box-shadow: 0 0 0 3px var(--ba-bg), 0 0 0 5px var(--ba-gold);
}

.ba-hint {
  margin: 28px auto 0;
  max-width: 36rem;
  text-align: center;
  font-family: "Noto Sans Arabic", Outfit, sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ba-muted);
}

.ba-footer-note {
  margin: 48px auto 0;
  text-align: center;
  font-family: "Noto Sans Arabic", Outfit, sans-serif;
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(184, 173, 154, 0.75);
}

/* ----- Responsive ----- */

@media (max-width: 720px) {
  .ba-section {
    padding: 64px 16px 72px;
  }

  .ba-header {
    margin-bottom: 36px;
  }

  .ba-gallery {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 18px;
  }

  .ba-viewport {
    grid-column: 1;
  }

  .ba-nav {
    display: none;
  }

  .ba-dots {
    grid-column: 1;
  }

  .ba-label {
    top: 10px;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    padding: 4px 8px 5px;
  }

  .ba-label-before {
    left: 10px;
  }

  .ba-label-after {
    right: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ba-track {
    scroll-behavior: auto;
  }

  .ba-dot,
  .ba-nav,
  .ba-grip {
    transition: none;
  }
}


/* ----- No-JS / iOS Quick Look fallback -----
   Until .ba-ready is set (by a small inline script + this file's JS),
   both sliders stack vertically so every photo is visible without
   JavaScript or horizontal swipe. The 50% clip is pure CSS. */
#gardenia-before-after:not(.ba-ready) .ba-gallery {
  grid-template-columns: minmax(0, 640px);
  justify-content: center;
}

#gardenia-before-after:not(.ba-ready) .ba-viewport {
  grid-column: 1;
  overflow: visible;
  border: none;
  box-shadow: none;
  background: transparent;
  border-radius: 0;
}

#gardenia-before-after:not(.ba-ready) .ba-track {
  display: flex;
  flex-direction: column;
  overflow: visible;
  scroll-snap-type: none;
  gap: 1.5rem;
}

#gardenia-before-after:not(.ba-ready) .ba-slide {
  flex: 0 0 auto;
  width: 100%;
}

#gardenia-before-after:not(.ba-ready) .ba-compare {
  border: 1px solid var(--ba-gold-line);
  border-radius: 10px;
  box-shadow:
    0 0 0 1px rgba(201, 169, 110, 0.06),
    0 24px 60px rgba(0, 0, 0, 0.45);
}

#gardenia-before-after:not(.ba-ready) .ba-caption {
  border-radius: 0 0 10px 10px;
}

#gardenia-before-after:not(.ba-ready) .ba-nav,
#gardenia-before-after:not(.ba-ready) .ba-dots {
  display: none;
}

/* Images must paint immediately: never hide them until JS runs. */
.ba-section .ba-img {
  opacity: 1;
  visibility: visible;
}

/* Gardenia site theme match — fonts/colors/spacing from the existing page */
#gardenia-before-after.ba-section {
  --ba-bg: #0d0d0d;
  --ba-bg-soft: #14110e;
  --ba-gold: #c4a574;
  --ba-gold-deep: #b8956a;
  --ba-gold-light: #d4b896;
  --ba-gold-dim: rgba(196, 165, 116, 0.32);
  --ba-gold-line: rgba(196, 165, 116, 0.28);
  --ba-cream: #f8f4ef;
  --ba-muted: #d4c8b8;
  background: #0d0d0d;
  color: #f8f4ef;
  padding: 5rem 8%;
  font-family: 'Amiri', serif;
  scroll-margin-top: 6rem;
}
#gardenia-before-after .ba-header {
  position: static;
  top: auto;
  width: auto;
  background: transparent;
  padding: 0;
  z-index: auto;
  margin-bottom: 2.5rem;
}
#gardenia-before-after .ba-title {
  font-family: 'Great Vibes', cursive;
  font-size: 3rem;
  font-weight: normal;
  color: #c4a574;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
}
#gardenia-before-after .ba-title em {
  font-style: normal;
  color: #c4a574;
}
#gardenia-before-after .ba-title-ar,
#gardenia-before-after .ba-subtitle,
#gardenia-before-after .ba-hint,
#gardenia-before-after .ba-footer-note,
#gardenia-before-after .ba-caption,
#gardenia-before-after .ba-label {
  font-family: 'Amiri', serif;
}
#gardenia-before-after .ba-title-ar {
  color: #c4a574;
  font-size: 1.5rem;
  margin-top: 0.35rem;
}
#gardenia-before-after .ba-subtitle {
  font-size: 1.05rem;
  color: #f8f4ef;
  margin-top: 1rem;
}
#gardenia-before-after .ba-label {
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
}
#gardenia-before-after .ba-hint {
  color: #d4c8b8;
}
#gardenia-before-after img.ba-img {
  border-radius: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 1;
  visibility: visible;
}

/* ===== SEO/AEO rebuild additions ===== */
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto;}}
p{line-height:1.8;font-size:1.15rem;}
a{color:#c4a574;}
figure{margin:0;}
main > section, footer{scroll-margin-top:6rem;}

.skip-link{position:absolute;top:-100px;right:1rem;background:#c4a574;color:#0d0d0d;padding:.6rem 1rem;border-radius:4px;z-index:1000;text-decoration:none;font-weight:bold;}
.skip-link:focus{top:1rem;}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

/* Header + nav */
.site-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;}
.logo{font-size:2.4rem;line-height:1;}
.logo a{color:inherit;text-decoration:none;}
.site-nav ul{list-style:none;display:flex;gap:1.6rem;margin:0;padding:0;}
.site-nav a{color:#f8f4ef;text-decoration:none;font-size:1.1rem;}
.site-nav a:hover,.site-nav a:focus-visible{color:#c4a574;}
@media (max-width:820px){.site-nav{display:none;}}

/* Hero: real <img> instead of CSS background (faster LCP, indexable image) */
.hero{position:relative;isolation:isolate;overflow:hidden;min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:6rem 1rem 3rem;}
.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:0;z-index:-2;}
.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.65));z-index:-1;}
.hero h1{margin:0;font-weight:normal;}
.hero h1 .brand{display:block;font-size:6.5rem;line-height:1.1;}
.hero h1 .arabic{display:block;font-family:'Amiri',serif;color:#f8f4ef;font-size:2.3rem;margin:1rem 0 .75rem;}
.hero-lead{max-width:38rem;margin:0 auto 2rem;color:#d4c8b8;font-size:1.25rem;}
@media (max-width:600px){.hero h1 .brand{font-size:4.4rem;}.hero h1 .arabic{font-size:1.8rem;}}

.section-lead{text-align:center;max-width:42rem;margin:0 auto 2.5rem;color:#d4c8b8;}

/* Services */
.services{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.25rem;}
.service{background:#14110e;border:1px solid rgba(196,165,116,.28);border-radius:10px;padding:1.5rem;}
.service h3{font-family:'Amiri',serif;color:#c4a574;font-size:1.45rem;margin:0 0 .5rem;}
.service p{margin:0;color:#d4c8b8;font-size:1.05rem;}

/* Before/after pairs (protein) */
.pair figcaption,.gallery figcaption{font-size:.95rem;color:#d4c8b8;text-align:center;padding:.4rem 0 0;}

/* FAQ */
.faq{max-width:820px;margin:0 auto;}
.faq details{border-bottom:1px solid rgba(196,165,116,.28);padding:1rem 0;}
.faq summary{cursor:pointer;font-size:1.3rem;color:#c4a574;list-style-position:inside;}
.faq details p{margin:.75rem 0 0;}

/* Contact + footer */
.contact{text-align:center;}
.contact address{font-style:normal;}
.contact a.tel{color:#f8f4ef;text-decoration:none;}
.site-footer{text-align:center;padding:2rem 8% 6rem;border-top:1px solid rgba(196,165,116,.2);color:#d4c8b8;font-size:1rem;}
.site-footer p{font-size:1rem;margin:.3rem 0;}
.grid.pair{grid-template-columns:repeat(4,minmax(0,1fr));}
@media (max-width:900px){.grid.pair{grid-template-columns:repeat(2,minmax(0,1fr));}}
