/* ==========================================================================
   Centre Rahma — Modern Luxury Wellness & Naturopathy Clinic
   Design System & Responsive Stylesheet
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand Palette: Deep Botanical Emeralds */
  --forest-950: #05140e;
  --forest-900: #081f17;
  --forest-850: #0d2a20;
  --forest-800: #12372b;
  --forest-700: #184839;
  --forest-600: #1f5c49;
  --forest-500: #29775f;

  /* Fresh Herbal Leaves */
  --leaf-600: #348a39;
  --leaf-500: #46a84d;
  --leaf-400: #5fc466;
  --leaf-soft: #edf7eb;
  --leaf-tint: #f3faf1;
  --leaf-glow: rgba(70, 168, 77, 0.28);

  /* Warm Honey Gold & Amber Accents */
  --gold-600: #b58124;
  --gold-500: #d49e35;
  --gold-400: #e8b652;
  --gold-300: #f6cf7c;
  --gold-soft: #fbf5e7;
  --gold-tint: #fdfaf2;
  --gold-glow: rgba(212, 158, 53, 0.32);

  /* Surfaces & Neutrals */
  --bg-cream: #faf7f0;
  --bg-paper: #ffffff;
  --bg-alt: #f4efe4;
  --surface-card: #ffffff;
  --surface-card-tint: #fdfbf7;
  --ink-900: #0f1c16;
  --ink-800: #1b2e25;
  --ink-600: #42554c;
  --ink-400: #6f8278;
  --ink-300: #9cb0a5;
  --border-light: rgba(14, 42, 32, 0.08);
  --border-subtle: rgba(14, 42, 32, 0.12);
  --border-hover: rgba(70, 168, 77, 0.35);

  /* Glassmorphism */
  --glass-light: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-dark: rgba(8, 31, 23, 0.82);
  --glass-dark-border: rgba(255, 255, 255, 0.14);

  /* Multi-Layer Shadows */
  --shadow-xs: 0 2px 6px -1px rgba(8, 31, 23, 0.05);
  --shadow-sm: 0 4px 12px -2px rgba(8, 31, 23, 0.07);
  --shadow-md: 0 14px 30px -8px rgba(8, 31, 23, 0.11);
  --shadow-lg: 0 24px 54px -14px rgba(8, 31, 23, 0.18);
  --shadow-xl: 0 36px 80px -20px rgba(5, 20, 14, 0.32);
  --shadow-gold: 0 12px 32px -8px var(--gold-glow);
  --shadow-leaf: 0 12px 32px -8px var(--leaf-glow);

  /* Typography & Layout */
  --font-display: 'Fraunces', Georgia, serif;
  --font-ui: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-xs: 8px;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-full: 9999px;
  --max-w: 1240px;
  --transition: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Arabic Typography Optimization */
[lang="ar"] {
  --font-display: 'Cairo', 'Tajawal', system-ui, sans-serif;
  --font-ui: 'Cairo', 'Tajawal', system-ui, sans-serif;
  --font-body: 'Tajawal', 'Cairo', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink-800);
  background-color: var(--bg-paper);
  line-height: 1.75;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

button {
  font-family: inherit;
}

ul {
  list-style: none;
}

/* Container */
.wrap {
  width: min(var(--max-w), 100% - 44px);
  margin-inline: auto;
}

/* Skip link */
.skip {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  transform: translateY(-200%);
  background: var(--bg-paper);
  color: var(--forest-900);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: transform var(--transition);
}
.skip:focus {
  transform: translateY(14px);
  inset-inline-start: 14px;
}

/* ---------- Typography & Section Headers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-500);
  background: rgba(212, 158, 53, 0.12);
  border: 1px solid rgba(212, 158, 53, 0.28);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  line-height: 1.2;
}

[lang="ar"] .eyebrow {
  letter-spacing: 0;
  font-size: 0.95rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.sec-head {
  max-width: 760px;
  margin-bottom: 54px;
}

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

.sec-head.center .eyebrow {
  margin-inline: auto;
}

.sec-head h2, .h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  font-weight: 600;
  line-height: 1.22;
  color: var(--forest-900);
  margin-top: 16px;
  letter-spacing: -0.015em;
}

[lang="ar"] .sec-head h2, [lang="ar"] .h2 {
  font-weight: 800;
  line-height: 1.35;
}

.orn {
  display: block;
  height: 32px;
  width: auto;
  margin-top: 14px;
  opacity: 0.9;
}

.center .orn {
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.9rem 1.65rem;
  border-radius: var(--radius-full);
  font-family: var(--font-ui);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--transition);
  position: relative;
  isolation: isolate;
  white-space: nowrap;
}

.btn svg.arr {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.btn:hover svg.arr {
  transform: translateX(4px);
}

[dir="rtl"] .btn svg.arr {
  transform: scaleX(-1);
}

[dir="rtl"] .btn:hover svg.arr {
  transform: scaleX(-1) translateX(4px);
}

.btn-honey {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--forest-950);
  box-shadow: var(--shadow-gold);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-honey:hover {
  background: linear-gradient(135deg, #f0c266, var(--gold-400));
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -6px var(--gold-glow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: #ffffff;
  color: var(--forest-900);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-dark {
  background: linear-gradient(135deg, var(--forest-800), var(--forest-900));
  color: #ffffff;
  box-shadow: var(--shadow-sm);
  border-color: rgba(255, 255, 255, 0.1);
}

.btn-dark:hover {
  background: linear-gradient(135deg, var(--forest-700), var(--forest-800));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-leaf {
  background: linear-gradient(135deg, var(--leaf-500), var(--leaf-600));
  color: #ffffff;
  box-shadow: var(--shadow-leaf);
}

.btn-leaf:hover {
  background: linear-gradient(135deg, var(--leaf-400), var(--leaf-500));
  transform: translateY(-2px);
}

/* Pulsing Status Dot */
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  position: relative;
  display: inline-block;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #10b981;
  animation: pulseRing 1.8s cubic-bezier(0.25, 0, 0.25, 1) infinite;
}
@keyframes pulseRing {
  0% { transform: scale(0.7); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ---------- Header & Navigation ---------- */
.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 22px 0;
  transition: all var(--transition);
}

.hdr.solid {
  background: rgba(8, 31, 23, 0.88);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.35);
}

.hdr .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #ffffff;
  text-decoration: none;
}

.logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--leaf-500), var(--forest-600));
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px -4px var(--leaf-glow), inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  transition: transform var(--transition);
}

.logo:hover .logo-mark {
  transform: rotate(-6deg) scale(1.05);
}

.logo-mark svg {
  width: 26px;
  height: 26px;
  color: #ffffff;
}

.logo b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.logo small {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 600;
  margin-top: 2px;
}

[lang="ar"] .logo small {
  letter-spacing: 0;
  font-size: 0.85rem;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a.lnk {
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-ui);
  font-size: 0.96rem;
  font-weight: 500;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  position: relative;
}

.nav a.lnk:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.nav a.lnk.on {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  font-weight: 600;
}

/* Language Pill Switcher */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  margin-inline: 8px;
  backdrop-filter: blur(6px);
  transition: all var(--transition);
}

.lang:hover {
  background: #ffffff;
  color: var(--forest-900);
  border-color: #ffffff;
  transform: translateY(-1px);
}

/* Mobile burger */
.burger {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #ffffff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.burger:hover {
  background: rgba(255, 255, 255, 0.2);
}

.burger svg {
  width: 22px;
  height: 22px;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #ffffff;
  isolation: isolate;
  padding: 160px 0 180px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url(../img/header.jpg) center 28% / cover no-repeat;
  filter: brightness(0.85);
  transform: scale(1.04);
  transition: transform 10s ease-out;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(70, 168, 77, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 85%, rgba(212, 158, 53, 0.2) 0%, transparent 55%),
    linear-gradient(110deg, rgba(5, 20, 14, 0.95) 0%, rgba(8, 31, 23, 0.86) 45%, rgba(13, 42, 32, 0.45) 100%),
    linear-gradient(0deg, rgba(5, 20, 14, 0.92) 0%, transparent 35%);
}

[dir="rtl"] .hero::before {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(70, 168, 77, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 85%, rgba(212, 158, 53, 0.2) 0%, transparent 55%),
    linear-gradient(250deg, rgba(5, 20, 14, 0.95) 0%, rgba(8, 31, 23, 0.86) 45%, rgba(13, 42, 32, 0.45) 100%),
    linear-gradient(0deg, rgba(5, 20, 14, 0.92) 0%, transparent 35%);
}

/* Ambient subtle floating glow orb */
.hero::after {
  content: "";
  position: absolute;
  top: 20%;
  inset-inline-start: 10%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(70, 168, 77, 0.18) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
  animation: floatOrb 12s ease-in-out infinite alternate;
}

@keyframes floatOrb {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-40px) scale(1.15); }
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 6.2vw, 5.2rem);
  line-height: 1.08;
  margin: 1.2rem 0 1.4rem;
  letter-spacing: -0.025em;
  max-width: 16ch;
}

.hero h1 em {
  display: block;
  font-style: italic;
  color: var(--gold-400);
  background: linear-gradient(135deg, #f9df9d, var(--gold-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[lang="ar"] .hero h1 {
  line-height: 1.32;
  font-weight: 800;
  max-width: none;
  letter-spacing: 0;
}

[lang="ar"] .hero h1 em {
  font-style: normal;
  display: inline-block;
}

.hero p.lead {
  max-width: 58ch;
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2.4rem;
  font-weight: 400;
  line-height: 1.8;
}

.hero .ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* Hero Trust Stats Strip */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.h-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.h-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  color: var(--gold-400);
  backdrop-filter: blur(8px);
}

.h-badge-icon svg {
  width: 20px;
  height: 20px;
}

.h-badge b {
  display: block;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.h-badge span {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Quick Highlights Strip ---------- */
.quick {
  position: relative;
  z-index: 20;
  margin-top: -85px;
}

.quick .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.q {
  background: var(--bg-paper);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 16px;
  align-items: center;
  transition: all var(--transition);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.q::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1.5px solid transparent;
  transition: border-color var(--transition);
  pointer-events: none;
}

.q:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.q:hover::after {
  border-color: var(--leaf-400);
}

.q i {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--leaf-soft), #ffffff);
  border: 1px solid rgba(70, 168, 77, 0.2);
  color: var(--forest-700);
  display: grid;
  place-items: center;
  transition: all var(--transition);
}

.q:hover i {
  background: linear-gradient(135deg, var(--leaf-500), var(--forest-600));
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: var(--shadow-leaf);
}

.q i svg {
  width: 28px;
  height: 28px;
}

.q h4 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--forest-900);
}

.q p {
  color: var(--ink-400);
  font-size: 0.9rem;
  text-transform: capitalize;
  margin-top: 2px;
}

/* ---------- Common Section Styles ---------- */
section {
  padding: 120px 0;
  position: relative;
}

/* ---------- About Section ---------- */
.about {
  background: linear-gradient(180deg, var(--bg-paper) 0%, var(--bg-cream) 100%);
}

.about .split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.collage {
  position: relative;
  aspect-ratio: 1 / 1.05;
}

.collage img.a {
  position: absolute;
  inset: 0 18% 22% 0;
  width: 82%;
  height: 78%;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 160px var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}

.collage img.b {
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  width: 54%;
  height: 50%;
  object-fit: cover;
  border-radius: 160px var(--radius-lg) var(--radius-lg) var(--radius-lg);
  border: 8px solid var(--bg-cream);
  box-shadow: var(--shadow-xl);
}

[dir="rtl"] .collage img.a {
  inset: 0 0 22% 18%;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 160px;
}

[dir="rtl"] .collage img.b {
  border-radius: var(--radius-lg) 160px var(--radius-lg) var(--radius-lg);
}

.about p.body {
  color: var(--ink-600);
  font-size: 1.08rem;
  line-height: 1.95;
}

/* Certified Nature Banner */
.band {
  position: relative;
  isolation: isolate;
  background: linear-gradient(135deg, var(--forest-900), var(--forest-800));
  color: #ffffff;
  padding: 85px 0;
  overflow: hidden;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url(../img/leaves-free-img.png) center/cover;
  opacity: 0.14;
  mix-blend-mode: overlay;
}

.band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.band h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
  line-height: 1.25;
  max-width: 20ch;
}

[lang="ar"] .band h2 {
  font-style: normal;
  font-weight: 800;
  max-width: 24ch;
}

.band img {
  width: 124px;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 12px 12px 2px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  flex: none;
  transition: transform var(--transition);
}

.band:hover img {
  transform: rotate(-3deg) scale(1.05);
}

/* ---------- Practitioner Section (Omar Ben El Mahdi) ---------- */
.doc {
  background: var(--bg-paper);
}

.doc .split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: start;
}

.portrait {
  position: sticky;
  top: 110px;
}

.portrait .ph {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--leaf-soft), #ffffff);
  box-shadow: var(--shadow-xl);
  border: 4px solid #ffffff;
}

.portrait .ph img {
  width: 100%;
  aspect-ratio: 4/4.5;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s ease;
}

.portrait:hover .ph img {
  transform: scale(1.03);
}

.portrait .pcard {
  margin: -60px 18px 0;
  position: relative;
  background: linear-gradient(145deg, var(--forest-900), var(--forest-800));
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px 26px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.portrait .pcard h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.55rem;
  line-height: 1.2;
}

[lang="ar"] .portrait .pcard h3 {
  font-weight: 800;
}

.portrait .pcard .role {
  color: var(--gold-400);
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 4px;
  margin-bottom: 14px;
  display: inline-block;
  background: rgba(212, 158, 53, 0.15);
  padding: 3px 12px;
  border-radius: var(--radius-full);
}

.portrait .pcard a {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  direction: ltr;
  justify-content: flex-start;
  transition: all var(--transition);
}

[dir="rtl"] .portrait .pcard a {
  justify-content: flex-end;
}

.portrait .pcard a:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  transform: translateX(4px);
}

[dir="rtl"] .portrait .pcard a:hover {
  transform: translateX(-4px);
}

.portrait .pcard svg {
  width: 18px;
  height: 18px;
  color: var(--gold-400);
  flex: none;
}

/* Timeline */
.tl {
  position: relative;
  margin-top: 10px;
  padding-inline-start: 36px;
}

.tl::before {
  content: "";
  position: absolute;
  inset-block: 10px;
  inset-inline-start: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--leaf-500), var(--gold-500));
}

.tl li {
  position: relative;
  padding: 16px 24px;
  background: var(--bg-cream);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  font-weight: 500;
  transition: all var(--transition);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
}

.tl li:hover {
  background: #ffffff;
  border-color: var(--leaf-400);
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

[dir="rtl"] .tl li:hover {
  transform: translateX(-8px);
}

.tl li::before {
  content: "";
  position: absolute;
  inset-inline-start: -36px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid var(--leaf-500);
  box-shadow: 0 0 0 4px rgba(70, 168, 77, 0.2);
  transition: all var(--transition);
}

.tl li:hover::before {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 6px var(--gold-glow);
  transform: translateY(-50%) scale(1.2);
}

.tl li b {
  color: var(--forest-800);
  font-family: var(--font-ui);
  font-size: 1.15rem;
  font-weight: 800;
  margin-inline-end: 10px;
  display: inline-block;
  background: rgba(18, 55, 43, 0.08);
  padding: 2px 10px;
  border-radius: 6px;
}

/* ---------- Services Section ---------- */
.services {
  background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-paper) 100%);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-align: start;
  font: inherit;
  color: inherit;
  padding: 0;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-hover);
}

.card .im {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background: var(--bg-cream);
}

.card .im img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card:hover .im img {
  transform: scale(1.08);
}

.card .im::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 31, 23, 0.65) 0%, transparent 60%);
}

.card .num {
  position: absolute;
  z-index: 2;
  top: 16px;
  inset-inline-start: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--forest-900);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--radius-full);
  padding: 0.3rem 0.85rem;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.card .tx {
  padding: 24px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--forest-900);
}

[lang="ar"] .card h3 {
  font-weight: 800;
  font-size: 1.3rem;
}

.card .go {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--leaf-soft);
  color: var(--forest-800);
  display: grid;
  place-items: center;
  transition: all var(--transition);
  border: 1px solid rgba(70, 168, 77, 0.2);
}

.card:hover .go {
  background: var(--gold-500);
  color: var(--forest-950);
  transform: rotate(45deg);
  box-shadow: var(--shadow-gold);
}

[dir="rtl"] .card:hover .go {
  transform: rotate(-45deg);
}

.card .go svg {
  width: 20px;
  height: 20px;
}

[dir="rtl"] .card .go svg {
  transform: scaleX(-1);
}

/* Featured Service Cards (PRP & Supplements) */
.card.feat {
  grid-column: span 3;
  flex-direction: row;
  background: linear-gradient(135deg, var(--forest-900), var(--forest-800));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-xl);
}

.card.feat .im {
  flex: 1.15;
  aspect-ratio: auto;
  min-height: 320px;
}

.card.feat .im::after {
  display: none;
}

.card.feat .tx {
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 48px;
  gap: 20px;
}

.card.feat h3 {
  color: #ffffff;
  font-size: clamp(1.9rem, 2.8vw, 2.7rem);
  line-height: 1.2;
}

.card.feat .btn {
  margin-top: 6px;
}

.card.feat.light {
  background: linear-gradient(135deg, var(--leaf-soft), #ffffff);
  color: var(--forest-900);
  border-color: rgba(70, 168, 77, 0.25);
}

.card.feat.light h3 {
  color: var(--forest-900);
}

/* ---------- Modals (Dialogs) ---------- */
dialog {
  border: 0;
  border-radius: var(--radius-xl);
  padding: 0;
  width: min(880px, 94vw);
  max-height: 90vh;
  margin: auto;
  background: #ffffff;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

dialog::backdrop {
  background: rgba(5, 20, 14, 0.78);
  backdrop-filter: blur(10px);
}

dialog[open] {
  animation: dialogPop 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dialogPop {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.dlg-in {
  max-height: 90vh;
  overflow-y: auto;
}

.dlg-img {
  height: 300px;
  position: relative;
}

.dlg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dlg-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 31, 23, 0.9) 0%, transparent 70%);
}

.dlg-img h3 {
  position: absolute;
  z-index: 2;
  inset-inline: 36px;
  bottom: 26px;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
}

[lang="ar"] .dlg-img h3 {
  font-weight: 800;
}

.dlg-x {
  position: absolute;
  z-index: 3;
  top: 18px;
  inset-inline-end: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.95);
  color: var(--forest-900);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.dlg-x:hover {
  background: var(--gold-500);
  color: var(--forest-950);
  transform: rotate(90deg);
}

.dlg-x svg {
  width: 20px;
  height: 20px;
}

.dlg-body {
  padding: 38px 42px 46px;
}

.dlg-body p {
  color: var(--ink-600);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.2rem;
}

.dlg-body h4 {
  font-family: var(--font-display);
  color: var(--forest-800);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 2.2rem 0 1rem;
}

[lang="ar"] .dlg-body h4 {
  font-weight: 800;
}

.dlg-body .leadq {
  border-inline-start: 4px solid var(--gold-500);
  padding: 10px 20px;
  font-style: italic;
  color: var(--forest-900);
  margin-bottom: 1.4rem;
  background: var(--gold-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 500;
}

[dir="rtl"] .dlg-body .leadq {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-style: normal;
}

/* Checklist items */
ul.ck li {
  position: relative;
  padding: 0.75rem 0;
  padding-inline-start: 38px;
  border-bottom: 1px dashed var(--border-light);
  color: var(--ink-800);
  font-size: 1.02rem;
}

ul.ck li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.9rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--leaf-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2329775f' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat;
  border: 1px solid rgba(70, 168, 77, 0.3);
}

/* Dialog Footer CTA */
.dlg-footer-cta {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}

/* ---------- PRP Section ---------- */
.prp {
  background: var(--forest-900);
  color: #ffffff;
  overflow: hidden;
}

.prp::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(65% 55% at 90% 0%, rgba(70, 168, 77, 0.28), transparent 70%),
    radial-gradient(45% 45% at 0% 100%, rgba(212, 158, 53, 0.18), transparent 70%);
}

.prp .wrap {
  position: relative;
  z-index: 2;
}

.prp .split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 70px;
}

.prp .pic {
  position: relative;
}

.prp .pic img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  border: 4px solid rgba(255, 255, 255, 0.1);
}

.prp .pic::after {
  content: "";
  position: absolute;
  inset: -14px 14px 14px -14px;
  border: 1.5px solid var(--gold-400);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.65;
}

[dir="rtl"] .prp .pic::after {
  inset: -14px -14px 14px 14px;
}

.prp h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.2;
  margin: 1rem 0 1.2rem;
  color: #ffffff;
}

[lang="ar"] .prp h2 {
  font-weight: 800;
  line-height: 1.35;
}

.prp .intro {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  line-height: 1.85;
}

/* Uses 4-Grid */
.uses {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 70px;
}

.use {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}

.use:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold-400);
  transform: translateY(-6px);
  box-shadow: 0 14px 34px -8px rgba(0, 0, 0, 0.4);
}

.use .n {
  font-family: var(--font-ui);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}

.use b {
  display: block;
  margin-bottom: 8px;
  font-size: 1.12rem;
  color: #ffffff;
}

.use span {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  display: block;
}

.prp h3.sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.85rem;
  margin: 0 0 24px;
  color: #ffffff;
}

[lang="ar"] .prp h3.sub {
  font-weight: 800;
}

/* PRP Video & Details */
.video {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.prp .two {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 50px;
  margin-bottom: 70px;
  align-items: start;
}

.prp .what p {
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 1.1rem;
  font-size: 1.05rem;
  line-height: 1.85;
}

.prp .what ul.ck li {
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
}

.prp .what ul.ck li::before {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Accordion */
.acc details {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition);
}

.acc details[open] {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--gold-400);
}

.acc summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 24px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 1.05rem;
  color: #ffffff;
}

.acc summary::-webkit-details-marker {
  display: none;
}

.acc summary::after {
  content: "+";
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--forest-950);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 700;
  transition: transform var(--transition);
}

.acc details[open] summary::after {
  transform: rotate(45deg);
}

.acc .in {
  padding: 0 24px 22px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.85;
}

.acc .in p + p {
  margin-top: 0.9rem;
}

.prp .gal {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 18px;
  margin-bottom: 26px;
}

.prp .gal img {
  border-radius: var(--radius-md);
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- Products Section (المستحضرات) ---------- */
.products {
  background: linear-gradient(180deg, var(--bg-paper) 0%, var(--bg-cream) 100%);
}

.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.prod {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 26px 26px 30px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.prod:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-hover);
}

.prod .pi {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at 50% 40%, #ffffff, var(--leaf-soft));
  border: 1px solid rgba(70, 168, 77, 0.12);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  overflow: hidden;
  position: relative;
}

.prod .pi img {
  width: 82%;
  max-height: 82%;
  object-fit: contain;
  transition: transform 0.5s ease;
  filter: drop-shadow(0 16px 20px rgba(8, 31, 23, 0.15));
}

.prod:hover .pi img {
  transform: scale(1.08) rotate(-2deg);
}

.prod h3 {
  font-family: var(--font-ui);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--forest-900);
  line-height: 1.35;
  margin-bottom: 10px;
  direction: ltr;
  text-align: start;
}

[dir="rtl"] .prod h3 {
  text-align: right;
}

.prod p {
  color: var(--ink-600);
  font-size: 0.98rem;
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 18px;
}

.prod-action {
  margin-top: auto;
  display: flex;
  justify-content: stretch;
}

.prod-action a {
  width: 100%;
}

/* ---------- Contact Section & Live Status ---------- */
.contact {
  background: var(--bg-paper);
}

.cgrid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: stretch;
}

.info {
  background: linear-gradient(150deg, var(--forest-900), var(--forest-800));
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 44px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.info::after {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: var(--forest-600);
  inset-inline-end: -100px;
  top: -100px;
  opacity: 0.35;
  filter: blur(50px);
  pointer-events: none;
}

.info > * {
  position: relative;
  z-index: 1;
}

/* Live Open / Closed Schedule Chip */
.schedule-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.schedule-status.open {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.4);
}

.schedule-status.closed {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.4);
}

.schedule-status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.info .row {
  display: flex;
  gap: 18px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.info .row i {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  color: var(--gold-400);
}

.info .row i svg {
  width: 22px;
  height: 22px;
}

.info h4 {
  font-size: 1.15rem;
  color: var(--gold-400);
  margin-bottom: 4px;
  font-family: var(--font-ui);
  font-weight: 700;
}

.info p, .info a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  display: block;
}

.info a.ltr {
  direction: ltr;
  display: block;
  text-align: start;
}

[dir="rtl"] .info a.ltr {
  text-align: right;
}

.info a:hover {
  color: var(--gold-400);
}

.poster {
  width: 100%;
  border-radius: var(--radius-md);
  margin-top: 14px;
  cursor: zoom-in;
  box-shadow: var(--shadow-lg);
  max-height: 280px;
  object-fit: cover;
  object-position: top;
  border: 3px solid rgba(255, 255, 255, 0.12);
  transition: transform var(--transition);
}

.poster:hover {
  transform: scale(1.02);
}

.social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  transition: all var(--transition);
}

.social a:hover {
  background: var(--gold-500);
  color: var(--forest-950);
  border-color: var(--gold-500);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.social svg {
  width: 20px;
  height: 20px;
}

/* Right Column (Map & Form) */
.right {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 310px;
  flex: 1;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.map iframe {
  width: 100%;
  height: 100%;
  min-height: 310px;
  border: 0;
}

form.f {
  background: var(--bg-cream);
  border-radius: var(--radius-xl);
  padding: 38px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

form.f .full {
  grid-column: 1 / -1;
}

form.f label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--forest-800);
  margin-bottom: 6px;
}

form.f input, form.f textarea {
  width: 100%;
  border: 1.5px solid rgba(14, 42, 32, 0.12);
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.15rem;
  font: inherit;
  color: var(--ink-900);
  transition: all var(--transition);
}

form.f input:focus, form.f textarea:focus {
  outline: 0;
  border-color: var(--leaf-500);
  box-shadow: 0 0 0 4px var(--leaf-glow);
}

form.f textarea {
  min-height: 120px;
  resize: vertical;
}

/* ---------- Footer ---------- */
footer {
  background: var(--forest-950);
  color: rgba(255, 255, 255, 0.78);
  padding: 85px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer .fg {
  display: grid;
  grid-template-columns: auto 1.4fr 1fr;
  gap: 60px;
  align-items: start;
  padding-bottom: 60px;
}

footer .lg {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 16px;
  width: 200px;
  box-shadow: var(--shadow-lg);
}

footer h2 {
  font-family: var(--font-display);
  color: #ffffff;
  font-weight: 600;
  font-size: 1.7rem;
  margin-bottom: 16px;
}

[lang="ar"] footer h2 {
  font-weight: 800;
}

footer p {
  margin-bottom: 1rem;
  font-size: 0.98rem;
  line-height: 1.85;
}

footer .stores {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}

footer .stores img {
  height: 44px;
  width: auto;
  opacity: 0.95;
  border-radius: 8px;
  transition: transform var(--transition);
}

footer .stores img:hover {
  transform: translateY(-2px);
}

footer .nv {
  display: grid;
  gap: 10px;
}

footer .nv a {
  padding: 0.4rem 0;
  transition: all var(--transition);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

footer .nv a:hover {
  color: var(--gold-400);
  padding-inline-start: 8px;
}

.copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.copy a {
  color: var(--gold-400);
  font-weight: 600;
}

/* ---------- Floating WhatsApp ---------- */
.wa {
  position: fixed;
  z-index: 90;
  inset-inline-end: 24px;
  bottom: 24px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px -4px rgba(37, 211, 102, 0.6);
  transition: all var(--transition);
}

.wa:hover {
  transform: scale(1.12) rotate(6deg);
  box-shadow: 0 16px 36px -4px rgba(37, 211, 102, 0.8);
}

.wa svg {
  width: 32px;
  height: 32px;
}

/* Mobile Quick Action Bottom Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 85;
  background: rgba(8, 31, 23, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 14px;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
}

.mobile-bottom-bar .bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.mobile-bottom-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 4px;
  border-radius: var(--radius-xs);
  gap: 4px;
  transition: background var(--transition);
}

.mobile-bottom-bar a:hover, .mobile-bottom-bar a.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold-400);
}

.mobile-bottom-bar svg {
  width: 20px;
  height: 20px;
}

/* Lightbox */
.lb {
  position: fixed;
  inset: 0;
  background: rgba(5, 20, 14, 0.94);
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 24px;
  cursor: zoom-out;
  backdrop-filter: blur(12px);
}

.lb.on {
  display: grid;
}

.lb img {
  max-height: 90vh;
  max-width: 90vw;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Reveal Animations */
.rv {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.rv.in {
  opacity: 1;
  transform: none;
}

.rv.d1 { transition-delay: 0.09s; }
.rv.d2 { transition-delay: 0.18s; }
.rv.d3 { transition-delay: 0.27s; }

@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1080px) {
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 86vw);
    background: var(--forest-900);
    flex-direction: column;
    align-items: stretch;
    padding: 95px 24px 34px;
    gap: 6px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 95;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  }

  [dir="rtl"] .nav {
    inset: 0 auto 0 0;
    transform: translateX(-100%);
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.5);
  }

  .nav.open {
    transform: none;
  }

  .nav a.lnk {
    padding: 0.9rem 1.1rem;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
  }

  .lang {
    margin: 14px 0 0;
    justify-content: center;
  }

  .nav .btn {
    justify-content: center;
    margin-top: 10px;
  }

  .burger {
    display: flex;
    z-index: 100;
  }

  .quick .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about .split, .doc .split, .prp .split, .prp .two, .cgrid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .portrait {
    position: static;
    max-width: 440px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .card.feat {
    grid-column: span 2;
  }

  .uses {
    grid-template-columns: repeat(2, 1fr);
  }

  .pgrid {
    grid-template-columns: repeat(2, 1fr);
  }

  footer .fg {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .collage {
    max-width: 520px;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 64px; /* Space for mobile bottom bar */
  }

  .mobile-bottom-bar {
    display: block;
  }

  .wa {
    bottom: 78px;
    inset-inline-end: 18px;
    width: 54px;
    height: 54px;
  }

  .wa svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  section {
    padding: 85px 0;
  }

  .hero {
    padding: 130px 0 150px;
  }

  .hero-badges {
    flex-direction: column;
    gap: 14px;
  }

  .quick {
    margin-top: -65px;
  }

  .quick .grid, .cards, .uses, .pgrid {
    grid-template-columns: 1fr;
  }

  .card.feat {
    grid-column: auto;
    flex-direction: column;
  }

  .card.feat .im {
    min-height: 240px;
    flex: none;
  }

  .card.feat .tx {
    padding: 30px 24px;
  }

  .band .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  form.f {
    grid-template-columns: 1fr;
    padding: 26px 20px;
  }

  .info {
    padding: 32px 22px;
  }

  .dlg-body {
    padding: 26px 22px 34px;
  }

  .dlg-img {
    height: 220px;
  }

  .dlg-img h3 {
    inset-inline: 22px;
    bottom: 18px;
  }

  .prp .gal {
    grid-template-columns: 1fr;
  }
}
