/* ============================================================
   Dr. Sarra Bahja — Cabinet Website
   "Quiet Luxury Meets Healing" — Awwwards-Quality Design System
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Noto+Sans+Arabic:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Palette — Warm + Logo Blue Balance */
  --clr-cream:        #FAF6F0;
  --clr-cream-dark:   #F0E8DC;
  --clr-sand:         #E0D8CE;
  --clr-sand-light:   #F2ECE4;
  --clr-sage:         #8BA293;
  --clr-sage-light:   #A8BBA6;
  --clr-sage-muted:   #C0CEBA;
  --clr-teal:         #1E3250;
  --clr-teal-light:   #2B4468;
  --clr-slate:        #3D5470;
  --clr-blue:         #2B5C9E;
  --clr-blue-light:   #3E72B5;
  --clr-blue-muted:   #5A8AC4;
  --clr-silver:       #B8BEC6;
  --clr-silver-light: #D0D4DA;
  --clr-terracotta:   #C4866B;
  --clr-terracotta-light: #D4A08A;
  --clr-gold:         #C4A265;
  --clr-gold-light:   #D4B87F;
  --clr-blush:        #D4A08A;
  --clr-white:        #FFFFFF;
  --clr-text:         #1E3250;
  --clr-text-light:   #5A6E82;
  --clr-text-muted:   #8494A4;
  --clr-text-on-dark: #C0CEDA;
  --clr-alert:        #C05746;
  --clr-whatsapp:     #25D366;

  /* Semantic aliases */
  --clr-primary:      var(--clr-teal);
  --clr-primary-dark: #152540;
  --clr-primary-light: var(--clr-teal-light);
  --clr-secondary:    var(--clr-blue);
  --clr-accent:       var(--clr-terracotta);
  --clr-bg:           var(--clr-cream);
  --clr-bg-alt:       var(--clr-sand-light);
  --clr-dark:         #121E2E;
  --clr-dark-card:    #1A2C42;

  /* Gradients — soft, organic */
  --grad-hero:    linear-gradient(160deg, #121E2E 0%, #1E3250 40%, #2B4468 100%);
  --grad-warm:    linear-gradient(135deg, #FAF6F0 0%, #F0E8DC 100%);
  --grad-sage:    linear-gradient(135deg, rgba(43,92,158,0.08) 0%, rgba(139,162,147,0.06) 100%);
  --grad-glow:    radial-gradient(ellipse at 50% 50%, rgba(43,92,158,0.06) 0%, transparent 70%);
  --grad-mesh:    radial-gradient(ellipse at 20% 20%, rgba(43,92,158,0.08) 0%, transparent 50%),
                  radial-gradient(ellipse at 80% 80%, rgba(196,134,107,0.06) 0%, transparent 50%);

  /* Typography */
  --ff-heading:   'Cormorant Garamond', 'Georgia', serif;
  --ff-body:      'DM Sans', 'Helvetica Neue', sans-serif;
  --ff-arabic:    'Noto Sans Arabic', sans-serif;

  --fs-xs:    0.75rem;
  --fs-sm:    0.875rem;
  --fs-base:  1rem;
  --fs-md:    1.125rem;
  --fs-lg:    1.25rem;
  --fs-xl:    1.5rem;
  --fs-2xl:   2rem;
  --fs-3xl:   2.75rem;
  --fs-4xl:   3.5rem;
  --fs-5xl:   4.5rem;
  --fs-6xl:   5.5rem;

  /* Spacing */
  --sp-xs:  0.25rem;
  --sp-sm:  0.5rem;
  --sp-md:  1rem;
  --sp-lg:  1.5rem;
  --sp-xl:  2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 4.5rem;
  --sp-4xl: 6rem;
  --sp-5xl: 9rem;
  --sp-6xl: 12rem;

  /* Borders & Radius */
  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-xl:    32px;
  --radius-2xl:   48px;
  --radius-full:  9999px;

  /* Shadows — warm-tinted */
  --shadow-sm:   0 1px 4px rgba(45,59,58,0.06);
  --shadow-md:   0 4px 20px rgba(45,59,58,0.08);
  --shadow-lg:   0 12px 48px rgba(45,59,58,0.1);
  --shadow-xl:   0 24px 64px rgba(45,59,58,0.14);
  --shadow-warm: 0 8px 32px rgba(196,134,107,0.12);
  --shadow-glow: 0 0 40px rgba(156,175,148,0.2);

  /* Transitions — slow, cinematic */
  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth:  cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:     250ms;
  --dur-med:      450ms;
  --dur-slow:     700ms;
  --dur-slower:   1000ms;
  --dur-cinematic: 1200ms;

  /* Layout */
  --max-w:        1280px;
  --max-w-narrow: 900px;
  --header-h:     90px;

  /* Grain texture */
  --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ff-body);
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.75;
  overflow-x: hidden;
  position: relative;
}

/* Subtle grain overlay on body */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: var(--grain);
  background-repeat: repeat;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--dur-fast) var(--ease-out);
}

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: var(--fs-base);
}

/* ---------- RTL / Arabic ---------- */
html[dir="rtl"] body {
  font-family: var(--ff-arabic), var(--ff-body);
}

html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3,
html[dir="rtl"] h4, html[dir="rtl"] h5, html[dir="rtl"] h6 {
  font-family: var(--ff-arabic);
  letter-spacing: 0;
}

html[dir="rtl"] .hero-subtitle,
html[dir="rtl"] .section-subtitle,
html[dir="rtl"] p, html[dir="rtl"] li {
  font-family: var(--ff-arabic), var(--ff-body);
}

::selection {
  background: rgba(156,175,148,0.3);
  color: var(--clr-teal);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--clr-teal);
}

h1 { font-size: var(--fs-5xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); font-weight: 600; }

p {
  font-size: var(--fs-base);
  color: var(--clr-text-light);
  line-height: 1.8;
}

/* ---------- Utility Classes ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-xl);
}

.container--narrow {
  max-width: var(--max-w-narrow);
}

.section {
  padding: var(--sp-5xl) 0;
  position: relative;
}

.section--dark {
  background: var(--grad-hero);
  color: var(--clr-white);
}

.section--alt {
  background: var(--clr-sand-light);
}

.section--warm {
  background: var(--grad-warm);
}

.text-center { text-align: center; }
.text-accent { color: var(--clr-accent); }
.text-secondary { color: var(--clr-secondary); }
.text-gold { color: var(--clr-gold); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

/* Section labels */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--clr-sage);
  margin-bottom: var(--sp-lg);
}

.section-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--clr-sage);
}

.section--dark .section-label {
  color: var(--clr-sage-light);
}

.section--dark .section-label::before {
  background: var(--clr-sage-light);
}

.section-title {
  font-size: var(--fs-3xl);
  margin-bottom: var(--sp-md);
  color: var(--clr-teal);
}

.section--dark .section-title {
  color: var(--clr-cream);
}

.section-subtitle {
  max-width: 560px;
  margin: 0 auto;
  color: var(--clr-text-light);
  font-size: var(--fs-md);
}

.section--dark .section-subtitle {
  color: var(--clr-text-on-dark);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: var(--fs-sm);
  letter-spacing: 0.03em;
  border-radius: var(--radius-full);
  padding: 14px 32px;
  transition: all var(--dur-med) var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--dur-med);
}

.btn--primary {
  background: var(--clr-terracotta);
  color: var(--clr-white);
  border: none;
}

.btn--primary::before {
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 100%);
}

.btn--primary:hover {
  background: var(--clr-terracotta-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,134,107,0.35);
}

.btn--primary:hover::before { opacity: 1; }

.btn--secondary {
  background: transparent;
  color: var(--clr-teal);
  border: 1.5px solid var(--clr-sand);
}

.btn--secondary:hover {
  background: var(--clr-teal);
  color: var(--clr-cream);
  border-color: var(--clr-teal);
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: var(--clr-whatsapp);
  color: var(--clr-white);
}

.btn--whatsapp:hover {
  background: #1DBF5A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}

.btn--outline {
  background: transparent;
  border: 1.5px solid var(--clr-sand);
  color: var(--clr-text);
}

.btn--outline:hover {
  background: var(--clr-cream);
  border-color: var(--clr-sage);
}

.btn--sm { padding: 10px 22px; font-size: var(--fs-xs); }
.btn--lg { padding: 18px 40px; font-size: var(--fs-base); }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: all var(--dur-slow) var(--ease-out);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(250,246,240,0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(45,59,58,0.06);
  height: 72px;
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-xl);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  z-index: 10;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--clr-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-cream);
  transition: all var(--dur-med) var(--ease-out);
  overflow: hidden;
}

.nav-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.nav-logo:hover .nav-logo-icon {
  background: var(--clr-terracotta);
  transform: rotate(-8deg) scale(1.05);
}

.nav-logo-text {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--clr-teal);
  line-height: 1.1;
}

.nav-logo-text span {
  display: block;
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--clr-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Nav in hero — white text */
.hero ~ .site-header .nav-logo-text,
body:not(.header-scrolled) .site-header:not(.scrolled) .nav-logo-text {
  color: var(--clr-teal);
}

.nav-links {
  display: flex;
  gap: var(--sp-xl);
  align-items: center;
}

.nav-links a {
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--clr-text-light);
  position: relative;
  padding: 6px 0;
  letter-spacing: 0.02em;
  transition: color var(--dur-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--clr-terracotta);
  transition: width var(--dur-med) var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--clr-teal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
}

.lang-toggle {
  display: flex;
  background: rgba(45,59,58,0.06);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.lang-toggle button {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--clr-text-muted);
  transition: all var(--dur-fast);
}

.lang-toggle button.active {
  background: var(--clr-white);
  color: var(--clr-teal);
  box-shadow: var(--shadow-sm);
}

.nav-cta {
  font-size: var(--fs-xs) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  z-index: 10;
}

.hamburger span {
  height: 1.5px;
  background: var(--clr-teal);
  border-radius: 2px;
  transition: all var(--dur-med) var(--ease-out);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(250,246,240,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xl);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: all var(--dur-slow) var(--ease-out);
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.mobile-nav a {
  font-family: var(--ff-heading);
  font-size: var(--fs-2xl);
  font-weight: 500;
  color: var(--clr-teal);
  padding: var(--sp-sm) 0;
  position: relative;
  transition: color var(--dur-fast);
}

.mobile-nav a:hover {
  color: var(--clr-terracotta);
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--clr-primary-dark);
}

/* ---- Video Background ---- */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(26,36,32,0.55) 0%,
      rgba(45,59,58,0.45) 40%,
      rgba(26,36,32,0.65) 100%
    );
  z-index: 1;
}

/* Remove old static bg styles */
.hero-bg { display: none; }

/* Particles on top of video */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(250,246,240,0.2);
  animation: particleFloat 12s ease-in-out infinite;
}

.hero-particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 14s; }
.hero-particles span:nth-child(2) { left: 30%; top: 60%; animation-delay: 2s; animation-duration: 16s; width: 6px; height: 6px; background: rgba(196,134,107,0.2); }
.hero-particles span:nth-child(3) { left: 70%; top: 30%; animation-delay: 4s; animation-duration: 18s; }
.hero-particles span:nth-child(4) { left: 85%; top: 70%; animation-delay: 1s; animation-duration: 13s; width: 5px; height: 5px; }
.hero-particles span:nth-child(5) { left: 50%; top: 80%; animation-delay: 3s; animation-duration: 15s; background: rgba(196,166,101,0.15); }
.hero-particles span:nth-child(6) { left: 20%; top: 85%; animation-delay: 5s; animation-duration: 17s; width: 3px; height: 3px; }

@keyframes particleFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.25; }
  25% { transform: translate(20px, -30px) scale(1.3); opacity: 0.5; }
  50% { transform: translate(-10px, -50px) scale(1); opacity: 0.35; }
  75% { transform: translate(15px, -20px) scale(1.2); opacity: 0.45; }
}

@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 20px) scale(1.05); }
}

/* Centered hero content for video mode */
.hero-content--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 3;
  padding-top: var(--header-h);
  padding-bottom: var(--sp-4xl);
  text-align: center;
}

/* Legacy grid hero fallback */
.hero-content:not(.hero-content--centered) {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-4xl);
  align-items: center;
  position: relative;
  z-index: 3;
  padding-top: var(--header-h);
}

.hero-text--centered {
  max-width: 720px;
  margin: 0 auto;
}

.hero-text:not(.hero-text--centered) {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 8px 20px;
  background: rgba(250,246,240,0.08);
  border: 1px solid rgba(250,246,240,0.15);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: rgba(250,246,240,0.75);
  letter-spacing: 0.05em;
  margin-bottom: var(--sp-2xl);
  backdrop-filter: blur(8px);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-sage-light);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-6xl);
  font-weight: 500;
  line-height: 1.05;
  color: var(--clr-cream);
  margin-bottom: var(--sp-xl);
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  color: var(--clr-terracotta-light);
  font-style: italic;
}

.hero-subtitle {
  font-size: var(--fs-md);
  color: rgba(200,213,208,0.8);
  max-width: 520px;
  margin: 0 auto var(--sp-2xl);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
  justify-content: center;
}

/* Light button variant for dark hero */
.hero-btn-light {
  border-color: rgba(250,246,240,0.25) !important;
  color: var(--clr-cream) !important;
}

.hero-btn-light:hover {
  background: var(--clr-cream) !important;
  color: var(--clr-teal) !important;
  border-color: var(--clr-cream) !important;
}

/* Scroll hint indicator */
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-scroll-hint span {
  width: 24px;
  height: 40px;
  border: 1.5px solid rgba(250,246,240,0.3);
  border-radius: 12px;
  position: relative;
}

.hero-scroll-hint span::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 8px;
  background: rgba(250,246,240,0.5);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

/* Header contrast on video hero */
.hero--video ~ .site-header:not(.scrolled) .nav-logo-icon {
  background: rgba(250,246,240,0.15);
  color: var(--clr-cream);
}

.hero--video ~ .site-header:not(.scrolled) .nav-logo-text {
  color: var(--clr-cream);
}

.hero--video ~ .site-header:not(.scrolled) .nav-logo-text span {
  color: rgba(200,213,208,0.6);
}

.hero--video ~ .site-header:not(.scrolled) .nav-links a {
  color: rgba(200,213,208,0.7);
}

.hero--video ~ .site-header:not(.scrolled) .nav-links a:hover,
.hero--video ~ .site-header:not(.scrolled) .nav-links a.active {
  color: var(--clr-cream);
}

.hero--video ~ .site-header:not(.scrolled) .nav-links a::after {
  background: var(--clr-terracotta-light);
}

.hero--video ~ .site-header:not(.scrolled) .lang-toggle {
  background: rgba(250,246,240,0.08);
}

.hero--video ~ .site-header:not(.scrolled) .lang-toggle button {
  color: rgba(200,213,208,0.6);
}

.hero--video ~ .site-header:not(.scrolled) .lang-toggle button.active {
  background: rgba(250,246,240,0.15);
  color: var(--clr-cream);
}

.hero--video ~ .site-header:not(.scrolled) .hamburger span {
  background: var(--clr-cream);
}

/* Hero image — hidden when video mode */
.hero--video .hero-image {
  display: none;
}

/* Legacy hero-image styles (for non-video pages if needed) */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image > img {
  width: 85%;
  max-width: 420px;
  border-radius: var(--radius-2xl);
  object-fit: cover;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-xl);
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- TRUST BAR ---------- */
.trust-bar {
  position: relative;
  z-index: 10;
  margin-top: -60px;
  margin-left: var(--sp-xl);
  margin-right: var(--sp-xl);
}

.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  padding: var(--sp-2xl) var(--sp-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(232,221,209,0.5);
  max-width: 1000px;
  margin: 0 auto;
}

.trust-item {
  text-align: center;
  position: relative;
  padding: 0 var(--sp-lg);
}

.trust-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--clr-sand);
}

html[dir="rtl"] .trust-item:not(:last-child)::after {
  right: auto;
  left: 0;
}

.trust-icon {
  margin-bottom: var(--sp-sm);
  color: var(--clr-sage);
  display: flex;
  justify-content: center;
}

.trust-number {
  font-family: var(--ff-heading);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--clr-teal);
  line-height: 1.2;
  margin-bottom: 2px;
}

.trust-label {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  letter-spacing: 0.03em;
}

/* ---------- SERVICES GRID ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
  margin-top: var(--sp-3xl);
}

.service-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  border: 1px solid rgba(232,221,209,0.4);
  transition: all var(--dur-slow) var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-sage), var(--clr-terracotta));
  opacity: 0;
  transition: opacity var(--dur-med);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(156,175,148,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-lg);
  color: var(--clr-sage);
  transition: all var(--dur-med);
}

.service-card:hover .service-icon {
  background: var(--clr-sage);
  color: var(--clr-white);
  transform: scale(1.05);
}

.service-card h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-sm);
  color: var(--clr-teal);
}

.service-card p {
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
  margin-bottom: var(--sp-lg);
}

.service-link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--clr-terracotta);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  transition: gap var(--dur-fast);
}

.service-card:hover .service-link {
  gap: var(--sp-sm);
}

/* ---------- USP SECTION ---------- */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
  margin-top: var(--sp-3xl);
}

.usp-card {
  text-align: center;
  padding: var(--sp-3xl) var(--sp-xl);
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(232,221,209,0.4);
  transition: all var(--dur-med) var(--ease-out);
}

.usp-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.usp-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--sp-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(156,175,148,0.08);
  border-radius: 50%;
  color: var(--clr-sage);
  transition: all var(--dur-med);
}

.usp-card:hover .usp-icon {
  background: rgba(196,134,107,0.1);
  color: var(--clr-terracotta);
  transform: scale(1.1);
}

.usp-card h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-sm);
}

.usp-card p {
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
  max-width: 280px;
  margin: 0 auto;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-section {
  position: relative;
  overflow: hidden;
}

.testimonials-wrapper {
  overflow: hidden;
  margin-top: var(--sp-3xl);
}

.testimonials-track {
  display: flex;
  gap: var(--sp-xl);
  transition: transform var(--dur-slow) var(--ease-out);
}

.testimonial-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  min-width: calc(33.333% - var(--sp-xl));
  border: 1px solid rgba(232,221,209,0.4);
  position: relative;
  transition: all var(--dur-med);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

/* Decorative quote mark */
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: var(--ff-heading);
  font-size: 4rem;
  color: rgba(156,175,148,0.15);
  line-height: 1;
}

.testimonial-stars {
  color: var(--clr-gold);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-md);
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
  line-height: 1.8;
  margin-bottom: var(--sp-lg);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  background: var(--clr-sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-white);
  font-weight: 600;
  font-size: var(--fs-sm);
}

.testimonial-author-info h4 {
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-teal);
}

.testimonial-author-info span {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
}

.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-md);
  margin-top: var(--sp-2xl);
}

.testimonials-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--clr-sand);
  color: var(--clr-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--dur-fast);
}

.testimonials-nav button:hover {
  background: var(--clr-teal);
  color: var(--clr-cream);
  border-color: var(--clr-teal);
}

.testimonials-dots {
  display: flex;
  gap: 6px;
}

.testimonials-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-sand);
  transition: all var(--dur-fast);
  cursor: pointer;
}

.testimonials-dots span.active {
  background: var(--clr-terracotta);
  width: 20px;
  border-radius: 3px;
}

/* Google Reviews Enhancements */
.google-reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-md);
  margin-top: calc(-1 * var(--sp-sm));
  margin-bottom: var(--sp-2xl);
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  background: var(--clr-white);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(224,216,206,0.9);
  text-decoration: none;
  transition: all var(--dur-med);
}

.google-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #4285F4;
}

.google-badge-score {
  font-weight: 700;
  color: var(--clr-teal);
  font-size: var(--fs-base);
}

.google-badge-stars {
  color: #FBBC05;
  letter-spacing: 1.5px;
  font-size: var(--fs-sm);
}

.google-badge-text {
  font-size: var(--fs-xs);
  color: var(--clr-text-light);
  font-weight: 500;
}

.google-badge-arrow {
  color: var(--clr-secondary);
  font-weight: 600;
}

/* Dedicated Google Rating Card Showcase */
.rating-card-showcase {
  max-width: 520px;
  margin: var(--sp-xl) auto 0;
}

.rating-card-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xs);
  background: var(--clr-white);
  padding: var(--sp-2xl) var(--sp-xl);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(224, 216, 206, 0.85);
  text-decoration: none;
  transition: all var(--dur-med);
  position: relative;
  overflow: hidden;
}

.rating-card-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4285F4 0%, #34A853 33%, #FBBC05 66%, #EA4335 100%);
}

.rating-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
  border-color: #4285F4;
}

.rating-card-icon {
  margin-bottom: var(--sp-xs);
  transition: transform var(--dur-fast);
}

.rating-card-link:hover .rating-card-icon {
  transform: scale(1.08);
}

.rating-card-score {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--clr-teal);
  line-height: 1;
  font-family: var(--font-heading);
}

.rating-card-score span {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--clr-text-light);
}

.rating-card-stars {
  color: #FBBC05;
  font-size: 1.85rem;
  letter-spacing: 4px;
  line-height: 1;
  margin: var(--sp-xs) 0;
}

.rating-card-desc {
  font-size: var(--fs-base);
  color: var(--clr-text-muted);
  font-weight: 500;
  margin: 0;
}

.rating-card-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: #1a73e8;
  margin-top: var(--sp-sm);
  background: #f1f6fd;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  transition: all var(--dur-fast);
  border: 1px solid rgba(66, 133, 244, 0.15);
}

.rating-card-link:hover .rating-card-action {
  background: #e3effd;
  border-color: #4285F4;
}

.testimonial-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-md);
}

.testimonial-card .testimonial-stars {
  margin-bottom: 0;
}

.google-review-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #1a73e8;
  background: #f1f6fd;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--dur-fast);
  border: 1px solid rgba(66,133,244,0.15);
}

.google-review-pill:hover {
  background: #e3effd;
  border-color: #4285F4;
}

.testimonials-google-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-md);
  margin-top: var(--sp-2xl);
  flex-wrap: wrap;
}

.btn--google {
  background: #ffffff;
  color: #3c4043;
  border: 1.5px solid #dadce0;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(60,64,67,0.08);
}

.btn--google:hover {
  background: #f8fafd;
  border-color: #4285F4;
  color: #1a73e8;
  box-shadow: 0 4px 12px rgba(66,133,244,0.18);
  transform: translateY(-2px);
}

.trust-item--link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--dur-fast);
}

.trust-item--link:hover {
  transform: translateY(-4px);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 750px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--clr-sand);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--sp-xl) 0;
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: 500;
  text-align: left;
  color: var(--clr-teal);
  transition: color var(--dur-fast);
}

html[dir="rtl"] .faq-question { text-align: right; }

.faq-question:hover {
  color: var(--clr-terracotta);
}

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(156,175,148,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-med) var(--ease-out);
  flex-shrink: 0;
  font-size: 0.9rem;
  color: var(--clr-sage);
}

.faq-item.active .faq-toggle {
  background: var(--clr-teal);
  color: var(--clr-cream);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-med) var(--ease-out), padding var(--dur-med);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: var(--sp-xl);
}

.faq-answer p {
  color: var(--clr-text-light);
  font-size: var(--fs-sm);
  line-height: 1.8;
}

/* ---------- MAP & SCHEDULE ---------- */
.map-schedule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3xl);
  align-items: start;
}

.map-embed {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 400px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.schedule-info h3 {
  margin-bottom: var(--sp-lg);
  color: var(--clr-teal);
  font-family: var(--ff-heading);
}

.schedule-table {
  width: 100%;
  margin-bottom: var(--sp-xl);
}

.schedule-table tr {
  border-bottom: 1px solid var(--clr-sand-light);
}

.schedule-table td {
  padding: var(--sp-md) 0;
  font-size: var(--fs-sm);
}

.schedule-table td:first-child {
  font-weight: 500;
  color: var(--clr-teal);
}

.schedule-table td:last-child {
  color: var(--clr-text-muted);
  text-align: right;
}

html[dir="rtl"] .schedule-table td:last-child { text-align: left; }
html[dir="rtl"] .schedule-table td:first-child { text-align: right; }

.address-block {
  padding: var(--sp-lg);
  background: rgba(156,175,148,0.06);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  line-height: 1.8;
  color: var(--clr-text-light);
  border: 1px solid rgba(156,175,148,0.12);
}

.address-block strong {
  color: var(--clr-teal);
  display: block;
  margin-bottom: var(--sp-xs);
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  background: var(--clr-teal);
  padding: var(--sp-5xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Organic shape bg */
.cta-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(156,175,148,0.12) 0%, transparent 70%);
  border-radius: 50%;
  top: -150px;
  right: -100px;
  animation: floatSlow 12s ease-in-out infinite;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196,134,107,0.08) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -100px;
  left: -80px;
  animation: floatSlow 15s ease-in-out infinite 3s;
}

.cta-section h2 {
  color: var(--clr-cream);
  margin-bottom: var(--sp-md);
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: var(--clr-text-on-dark);
  max-width: 550px;
  margin: 0 auto var(--sp-2xl);
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--sp-md);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-section .btn--primary {
  background: var(--clr-terracotta);
}

.cta-section .btn--secondary {
  border-color: rgba(250,246,240,0.3);
  color: var(--clr-cream);
}

.cta-section .btn--secondary:hover {
  background: var(--clr-cream);
  color: var(--clr-teal);
  border-color: var(--clr-cream);
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--clr-dark);
  color: var(--clr-text-on-dark);
  padding: var(--sp-4xl) 0 var(--sp-xl);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-3xl);
  margin-bottom: var(--sp-3xl);
}

.footer-brand p {
  font-size: var(--fs-sm);
  margin-top: var(--sp-md);
  color: rgba(200,213,208,0.6);
  line-height: 1.8;
}

.footer-brand .nav-logo-icon {
  background: rgba(156,175,148,0.2);
  color: var(--clr-sage-light);
}

.footer-brand .nav-logo-text {
  color: var(--clr-cream);
}

.footer-brand .nav-logo-text span {
  color: rgba(200,213,208,0.5);
}

.footer-socials {
  display: flex;
  gap: var(--sp-sm);
  margin-top: var(--sp-lg);
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(200,213,208,0.6);
  transition: all var(--dur-med) var(--ease-out);
}

.footer-socials a:hover {
  background: var(--clr-terracotta);
  color: var(--clr-white);
  border-color: var(--clr-terracotta);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--clr-cream);
  margin-bottom: var(--sp-lg);
}

.footer-col a {
  display: block;
  font-size: var(--fs-sm);
  color: rgba(200,213,208,0.6);
  padding: var(--sp-xs) 0;
  transition: all var(--dur-fast);
}

.footer-col a:hover {
  color: var(--clr-terracotta);
  transform: translateX(4px);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: var(--sp-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
  color: rgba(200,213,208,0.35);
}

.footer-bottom a {
  color: rgba(200,213,208,0.35);
}

.footer-bottom a:hover {
  color: var(--clr-terracotta);
}

/* ---------- WHATSAPP FAB ---------- */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: var(--clr-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  z-index: 999;
  transition: all var(--dur-med) var(--ease-out);
  animation: fabBreath 4s ease-in-out infinite;
  color: var(--clr-white);
}

html[dir="rtl"] .whatsapp-fab {
  right: auto;
  left: 28px;
}

.whatsapp-fab:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.45);
}

@keyframes fabBreath {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.35); }
  50% { box-shadow: 0 4px 20px rgba(37,211,102,0.35), 0 0 0 10px rgba(37,211,102,0.08); }
}

/* ---------- MOBILE CALL BAR ---------- */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--clr-teal);
  color: var(--clr-cream);
  z-index: 998;
  padding: 14px var(--sp-xl);
}

.mobile-call-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  color: var(--clr-cream);
  font-weight: 500;
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
}

/* ---------- PAGE HERO (Sub-pages) ---------- */
.page-hero {
  background: var(--clr-teal);
  padding: calc(var(--header-h) + var(--sp-4xl)) 0 var(--sp-4xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(156,175,148,0.1) 0%, transparent 70%);
  border-radius: 50%;
  top: -200px;
  right: -100px;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  background-repeat: repeat;
  pointer-events: none;
  opacity: 0.3;
}

.page-hero h1 {
  color: var(--clr-cream);
  margin-bottom: var(--sp-md);
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  font-size: var(--fs-sm);
  color: rgba(200,213,208,0.5);
  margin-bottom: var(--sp-xl);
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb a {
  color: rgba(200,213,208,0.5);
  transition: color var(--dur-fast);
}

.page-hero .breadcrumb a:hover {
  color: var(--clr-sage-light);
}

.page-hero p {
  color: var(--clr-text-on-dark);
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ---------- ABOUT / CABINET PAGE ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--sp-4xl);
  align-items: center;
}

.about-image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slower) var(--ease-out);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(156,175,148,0.2);
  pointer-events: none;
}

.about-text p {
  margin-bottom: var(--sp-md);
  color: var(--clr-text-light);
  line-height: 1.85;
}

.about-text blockquote {
  font-family: var(--ff-heading);
  font-style: italic;
  font-size: var(--fs-xl);
  color: var(--clr-teal);
  border-left: 3px solid var(--clr-terracotta);
  padding-left: var(--sp-xl);
  margin: var(--sp-2xl) 0;
  line-height: 1.5;
}

html[dir="rtl"] .about-text blockquote {
  font-family: var(--ff-arabic);
  font-style: normal;
  border-left: 0;
  border-right: 3px solid var(--clr-terracotta);
  padding-left: 0;
  padding-right: var(--sp-xl);
}

/* Philosophy cards */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}

.philosophy-card {
  background: rgba(250,246,240,0.05);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all var(--dur-med) var(--ease-out);
  backdrop-filter: blur(8px);
}

.philosophy-card:hover {
  transform: translateY(-6px);
  border-color: rgba(156,175,148,0.2);
  background: rgba(250,246,240,0.08);
}

.philosophy-card .p-icon {
  font-size: 2rem;
  margin-bottom: var(--sp-lg);
  color: var(--clr-sage-light);
}

.philosophy-card h3 {
  color: var(--clr-cream);
  font-family: var(--ff-heading);
  margin-bottom: var(--sp-sm);
}

.philosophy-card p {
  color: rgba(200,213,208,0.7);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(45,59,58,0);
  transition: background var(--dur-med);
}

.gallery-item:hover::after {
  background: rgba(45,59,58,0.15);
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--clr-sage), var(--clr-terracotta));
  opacity: 0.4;
}

html[dir="rtl"] .timeline::before {
  left: auto;
  right: 20px;
}

.timeline-item {
  padding-left: 56px;
  margin-bottom: var(--sp-2xl);
  position: relative;
}

html[dir="rtl"] .timeline-item {
  padding-left: 0;
  padding-right: 56px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 6px;
  width: 13px;
  height: 13px;
  background: var(--clr-sage);
  border-radius: 50%;
  border: 3px solid var(--clr-bg);
}

html[dir="rtl"] .timeline-item::before {
  left: auto;
  right: 14px;
}

.timeline-item .year {
  font-family: var(--ff-body);
  font-weight: 600;
  color: var(--clr-terracotta);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--sp-xs);
}

.timeline-item h4 {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-xs);
  color: var(--clr-teal);
}

.timeline-item p {
  color: var(--clr-text-light);
  font-size: var(--fs-sm);
}

/* ---------- SERVICE DETAIL PAGE ---------- */
.service-detail {
  padding: var(--sp-3xl) 0;
  border-bottom: 1px solid var(--clr-sand-light);
}

.service-detail:last-of-type {
  border-bottom: none;
}

.service-detail-header {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-xl);
}

.service-detail-header .sd-icon {
  width: 64px;
  height: 64px;
  background: var(--clr-teal);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-cream);
  flex-shrink: 0;
  transition: all var(--dur-med);
}

.service-detail-header:hover .sd-icon {
  border-radius: 50%;
  background: var(--clr-terracotta);
}

.service-detail-header h2 {
  font-size: var(--fs-2xl);
}

.service-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3xl);
}

.sd-pathologies h3,
.sd-section h3 {
  color: var(--clr-teal);
  margin-bottom: var(--sp-md);
  font-size: var(--fs-lg);
  font-family: var(--ff-heading);
}

.sd-list {
  list-style: none;
}

.sd-list li {
  padding: var(--sp-sm) 0;
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
  border-bottom: 1px solid rgba(232,221,209,0.4);
}

.sd-list li::before {
  content: '✓';
  color: var(--clr-sage);
  font-weight: 600;
  flex-shrink: 0;
}

/* ---------- RESEARCH PAGE ---------- */
.research-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  border: 1px solid rgba(232,221,209,0.4);
  margin-bottom: var(--sp-xl);
  transition: all var(--dur-med) var(--ease-out);
}

.research-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.research-card .rc-type {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(156,175,148,0.1);
  color: var(--clr-sage);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  margin-bottom: var(--sp-md);
  letter-spacing: 0.04em;
}

.research-card h3 {
  margin-bottom: var(--sp-sm);
  color: var(--clr-teal);
  font-family: var(--ff-heading);
}

.research-card .rc-meta {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-sm);
}

.research-card p {
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
  line-height: 1.7;
}

.research-areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}

.research-area {
  background: rgba(250,246,240,0.05);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all var(--dur-med);
}

.research-area:hover {
  border-color: rgba(156,175,148,0.2);
  transform: translateY(-4px);
}

.research-area .ra-icon {
  font-size: 2rem;
  margin-bottom: var(--sp-md);
  color: var(--clr-sage-light);
}

.research-area h3 {
  color: var(--clr-cream);
  margin-bottom: var(--sp-sm);
  font-size: var(--fs-md);
  font-family: var(--ff-heading);
}

.research-area p {
  color: rgba(200,213,208,0.7);
  font-size: var(--fs-sm);
}

/* ---------- BOOKING PAGE ---------- */
.booking-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-3xl);
  align-items: start;
}

.booking-form {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  padding: var(--sp-3xl);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(232,221,209,0.3);
}

.form-group {
  margin-bottom: var(--sp-lg);
}

.form-group label {
  display: block;
  font-family: var(--ff-heading);
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--clr-teal);
  margin-bottom: var(--sp-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1.5px solid var(--clr-sand);
  border-radius: var(--radius-md);
  background: var(--clr-cream);
  color: var(--clr-text);
  transition: all var(--dur-fast);
  outline: none;
  font-size: var(--fs-sm);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--clr-sage);
  box-shadow: 0 0 0 4px rgba(156,175,148,0.1);
  background: var(--clr-white);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.form-note {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  margin-top: var(--sp-md);
  padding: var(--sp-md);
  background: rgba(156,175,148,0.06);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--clr-sage);
}

html[dir="rtl"] .form-note {
  border-left: 0;
  border-right: 3px solid var(--clr-sage);
}

.booking-sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--sp-xl));
}

.contact-card {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  padding: var(--sp-2xl);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--sp-xl);
  border: 1px solid rgba(232,221,209,0.3);
}

.contact-card h3 {
  margin-bottom: var(--sp-lg);
  color: var(--clr-teal);
  font-family: var(--ff-heading);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: var(--sp-md) 0;
  border-bottom: 1px solid var(--clr-sand-light);
}

.contact-item:last-of-type {
  border-bottom: none;
}

.contact-item .ci-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--dur-fast);
}

.contact-item:hover .ci-icon {
  transform: scale(1.05);
}

.ci-icon--phone {
  background: rgba(45,59,58,0.06);
  color: var(--clr-teal);
}

.ci-icon--whatsapp {
  background: rgba(37,211,102,0.08);
  color: var(--clr-whatsapp);
}

.ci-icon--email {
  background: rgba(196,134,107,0.08);
  color: var(--clr-terracotta);
}

.ci-icon--hours {
  background: rgba(156,175,148,0.12);
  color: var(--clr-sage);
}

.contact-item h4 {
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.contact-item p, .contact-item a {
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
}

.contact-item a:hover {
  color: var(--clr-terracotta);
}

/* ---------- ANIMATIONS (Scroll Reveal) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all var(--dur-cinematic) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 120ms; }
.reveal-delay-2 { transition-delay: 240ms; }
.reveal-delay-3 { transition-delay: 360ms; }
.reveal-delay-4 { transition-delay: 480ms; }
.reveal-delay-5 { transition-delay: 600ms; }

/* Hero entrance orchestration */
.hero-badge, .hero-title, .hero-subtitle, .hero-actions,
.hero-image, .hero-float-card {
  opacity: 0;
  transform: translateY(30px);
}

body.loaded .hero-badge {
  animation: heroEntrance 0.9s var(--ease-out) 0.2s forwards;
}

body.loaded .hero-title {
  animation: heroEntrance 1s var(--ease-out) 0.4s forwards;
}

body.loaded .hero-subtitle {
  animation: heroEntrance 0.9s var(--ease-out) 0.65s forwards;
}

body.loaded .hero-actions {
  animation: heroEntrance 0.9s var(--ease-out) 0.85s forwards;
}

body.loaded .hero-image {
  animation: heroEntrance 1.1s var(--ease-out) 0.5s forwards;
}

body.loaded .hero-float-card--1 {
  animation: heroEntrance 0.8s var(--ease-out) 1.1s forwards;
}

body.loaded .hero-float-card--2 {
  animation: heroEntrance 0.8s var(--ease-out) 1.3s forwards;
}

@keyframes heroEntrance {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stat number style */
.stat-number {
  font-family: var(--ff-heading);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  :root {
    --fs-5xl: 3.5rem;
    --fs-4xl: 2.75rem;
    --fs-3xl: 2.25rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image {
    display: none;
  }

  .hero-float-card {
    display: none;
  }

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

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

  .map-schedule {
    grid-template-columns: 1fr;
  }

  .about-intro {
    grid-template-columns: 1fr;
  }

  .service-detail-content {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-2xl);
  }

  .booking-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  :root {
    --fs-5xl: 2.75rem;
    --fs-4xl: 2.25rem;
    --fs-3xl: 1.85rem;
    --fs-2xl: 1.65rem;
    --header-h: 70px;
  }

  .section {
    padding: var(--sp-4xl) 0;
  }

  .container {
    padding: 0 var(--sp-lg);
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none !important;
  }

  .hamburger {
    display: flex;
  }

  .trust-bar {
    margin-left: var(--sp-md);
    margin-right: var(--sp-md);
    margin-top: -30px;
  }

  .trust-bar .container {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-lg);
    padding: var(--sp-xl) var(--sp-lg);
  }

  .trust-item:nth-child(2)::after {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .usp-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
  }

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

  .testimonial-card {
    min-width: calc(100% - var(--sp-md));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--sp-sm);
    text-align: center;
  }

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

  .whatsapp-fab {
    bottom: 72px;
  }

  .research-areas {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 100vh;
    padding: 0;
  }

  .hero--video .hero-video {
    object-position: center center;
  }

  .hero-badge {
    margin-bottom: var(--sp-lg);
  }

  .hero-title {
    font-size: var(--fs-4xl) !important;
  }

  .hero-scroll-hint {
    bottom: 80px;
  }

  /* Sound toggle mobile position */
  .hero-sound-toggle {
    bottom: 80px !important;
    right: 16px !important;
    left: auto !important;
    width: 44px !important;
    height: 44px !important;
  }

  /* Sound-on: stack vertically on mobile */
  .hero.sound-on .hero-content--centered {
    align-items: center !important;
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  :root {
    --fs-5xl: 2.25rem;
    --fs-4xl: 1.85rem;
    --fs-3xl: 1.5rem;
    --fs-6xl: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: var(--sp-sm);
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .trust-number {
    font-size: var(--fs-xl);
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 320px;
  }
}

/* ---------- CUSTOM SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--clr-cream);
}

::-webkit-scrollbar-thumb {
  background: var(--clr-sand);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--clr-sage-muted);
}

/* ---------- SMOOTH PAGE TRANSITION ---------- */
body {
  opacity: 0;
  transition: opacity 0.6s ease;
}

body.loaded {
  opacity: 1;
}

/* ============================================================
   HERO SOUND TOGGLE & IMMERSIVE MODE
   ============================================================ */

/* Sound toggle button */
.hero-sound-toggle {
  position: absolute;
  bottom: 40px;
  left: 40px;
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.7);
  transition: all var(--dur-med) var(--ease-out);
}

.hero-sound-toggle:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
  transform: scale(1.08);
}

.hero-sound-toggle svg {
  width: 22px;
  height: 22px;
  transition: opacity 0.2s;
}

.hero-sound-toggle .icon-muted { display: block; }
.hero-sound-toggle .icon-playing { display: none; }

.hero.sound-on .hero-sound-toggle .icon-muted { display: none; }
.hero.sound-on .hero-sound-toggle .icon-playing { display: block; }

.hero.sound-on .hero-sound-toggle {
  background: rgba(43,92,158,0.35);
  border-color: rgba(43,92,158,0.5);
  color: #fff;
}

/* --- Sound ON state: remove overlay, push text to bottom-right, scale down --- */
.hero.sound-on .hero-video-overlay {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}

.hero .hero-video-overlay {
  transition: opacity 0.8s var(--ease-out);
}

.hero .hero-content--centered {
  transition: all 0.8s var(--ease-out);
}

.hero.sound-on .hero-content--centered {
  align-items: flex-end;
  justify-content: flex-end;
  text-align: right;
  padding-bottom: 100px;
  transition: all 0.8s var(--ease-out);
}

.hero .hero-text--centered {
  transition: all 0.8s var(--ease-out);
}

.hero.sound-on .hero-text--centered {
  max-width: 420px;
  margin: 0 0 0 auto;
  transition: all 0.8s var(--ease-out);
}

/* Scale down elements when sound is on */
.hero.sound-on .hero-badge {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.5s var(--ease-out);
}

.hero.sound-on .hero-title {
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-sm);
  transition: all 0.8s var(--ease-out);
}

.hero .hero-title {
  transition: all 0.8s var(--ease-out);
}

.hero.sound-on .hero-subtitle {
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-md);
  max-width: 360px;
  margin-left: auto;
  transition: all 0.8s var(--ease-out);
}

.hero .hero-subtitle {
  transition: all 0.8s var(--ease-out);
}

.hero.sound-on .hero-actions {
  justify-content: flex-end;
  gap: var(--sp-sm);
  transition: all 0.8s var(--ease-out);
}

.hero.sound-on .hero-actions .btn {
  padding: 10px 20px;
  font-size: var(--fs-xs);
  transition: all 0.8s var(--ease-out);
}

.hero.sound-on .hero-scroll-hint {
  opacity: 0;
  transition: opacity 0.4s;
}

/* RTL mirror */
html[dir="rtl"] .hero.sound-on .hero-content--centered {
  align-items: flex-start;
  text-align: left;
}

html[dir="rtl"] .hero.sound-on .hero-text--centered {
  margin: 0 auto 0 0;
}

html[dir="rtl"] .hero.sound-on .hero-actions {
  justify-content: flex-start;
}

html[dir="rtl"] .hero.sound-on .hero-subtitle {
  margin-left: 0;
  margin-right: auto;
}

/* Nav logo as image */
.nav-logo-icon {
  background: transparent !important;
  padding: 0 !important;
  overflow: hidden;
}

.nav-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
