/* ==========================================================================
   مركز ترست للجلدية والتجميل والليزر — Trust Derma & Laser Clinic
   Concept: Haute Medical Aesthetic (الأناقة الطبية الرفيعة)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Typography & @font-face Declarations
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/plex-arabic-400.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/plex-arabic-500.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/plex-arabic-600.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/plex-arabic-700.woff2') format('woff2');
}

@font-face {
  font-family: 'El Messiri';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/elmessiri-700-arabic.woff2') format('woff2');
}

/* --------------------------------------------------------------------------
   2. Design Tokens & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  /* Brand Deep Navy Palette */
  --navy-950: #070F22;
  --navy-900: #0B1938;
  --navy-850: #0E1D43;
  --navy-800: #0F2254; /* Official Brand Navy */
  --navy-700: #183173;
  --navy-600: #244498;
  --sapphire-accent: #2960DC; /* Subtle accent only */

  /* Champagne Gold Palette */
  --gold-300: #E5C392;
  --gold-400: #D4A364;
  --gold-500: #C18B46; /* Official Champagne Gold */
  --gold-600: #A87332;
  --gold-700: #885A22;
  --gold-gradient: linear-gradient(135deg, #C18B46 0%, #D8A562 50%, #B27B38 100%);
  --gold-metallic: linear-gradient(135deg, #BF8944 0%, #E2BE88 40%, #C18B46 70%, #9E6B2A 100%);
  --gold-glow: rgba(193, 139, 70, 0.22);
  --gold-subtle: rgba(193, 139, 70, 0.08);
  --gold-border: rgba(193, 139, 70, 0.24);
  --gold-border-strong: rgba(193, 139, 70, 0.55);

  /* Ivory & Warm Alabaster Neutrals */
  --ivory-50: #FCFAF7;
  --ivory-100: #F7F4EE;
  --ivory-200: #EFE9DF;
  --ivory-300: #E4DCCF;
  --ivory-card: #FFFFFF;

  /* Text & Readability */
  --text-dark: #0A173B;
  --text-body: #2D3748;
  --text-muted: #5A6A85;
  --text-light: #F7F4EE;
  --text-light-muted: #B8C4DC;

  /* Borders & Shadows */
  --border-light: rgba(15, 34, 84, 0.08);
  --border-glass: rgba(255, 255, 255, 0.14);
  --shadow-sm: 0 2px 8px rgba(11, 25, 56, 0.04);
  --shadow-md: 0 8px 24px rgba(11, 25, 56, 0.07);
  --shadow-lg: 0 16px 40px rgba(11, 25, 56, 0.1);
  --shadow-gold: 0 8px 25px rgba(193, 139, 70, 0.28);
  --shadow-navy: 0 10px 30px rgba(7, 15, 34, 0.4);

  /* Geometry & Typography */
  --font-serif: 'El Messiri', 'Times New Roman', serif;
  --font-sans: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Layout Container */
  --container-max: 1240px;
  --header-height: 80px;
}

/* --------------------------------------------------------------------------
   3. CSS Reset & Global Standards
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--ivory-50);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Skip link for Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  inset-inline-start: 1.5rem;
  background: var(--navy-900);
  color: var(--gold-400);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-500);
  z-index: 9999;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1.5rem;
  outline: 2px solid var(--gold-500);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 2rem;
  }
}

/* Section Common Structure */
.section-py {
  padding-block: 4.5rem;
}

@media (min-width: 1024px) {
  .section-py {
    padding-block: 6.5rem;
  }
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-block-end: 3.5rem;
}

.section-header--start {
  text-align: right;
  margin-inline-start: 0;
}

.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-600);
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-block-end: 1rem;
  text-transform: uppercase;
}

.eyebrow-tag--dark {
  color: var(--gold-400);
  background: rgba(193, 139, 70, 0.12);
  border-color: rgba(193, 139, 70, 0.3);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.35;
  margin-block-end: 1rem;
}

.section-title--light {
  color: #FFFFFF;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.section-subtitle--light {
  color: var(--text-light-muted);
}

/* Gold Accent Underline */
.title-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-block: 0.75rem 1.25rem;
}
.section-header--start .title-ornament {
  justify-content: flex-start;
}
.title-ornament::before,
.title-ornament::after {
  content: '';
  height: 1px;
  width: 48px;
  background: linear-gradient(90deg, transparent, var(--gold-500));
}
.title-ornament::after {
  background: linear-gradient(90deg, var(--gold-500), transparent);
}
.title-ornament-diamond {
  width: 6px;
  height: 6px;
  background: var(--gold-500);
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   4. Buttons & Interactive Links (No flat blue, no neon green)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  user-select: none;
  white-space: nowrap;
}

/* Gold Metallic Primary Button */
.btn-primary {
  background: var(--gold-gradient);
  color: var(--navy-950);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 16px var(--gold-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(193, 139, 70, 0.38);
  filter: brightness(1.04);
}
.btn-primary:active {
  transform: translateY(0);
}

/* Deep Navy Premium Button */
.btn-navy {
  background: var(--navy-800);
  color: var(--ivory-50);
  border: 1px solid var(--gold-border);
  box-shadow: 0 4px 14px rgba(15, 34, 84, 0.16);
}
.btn-navy:hover {
  background: var(--navy-700);
  border-color: var(--gold-500);
  color: var(--gold-300);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 34, 84, 0.25);
}

/* Gold Outline Secondary Button */
.btn-outline-gold {
  background: transparent;
  color: var(--gold-500);
  border: 1.5px solid var(--gold-500);
}
.btn-outline-gold:hover {
  background: var(--gold-500);
  color: var(--navy-950);
  box-shadow: 0 6px 18px var(--gold-glow);
  transform: translateY(-2px);
}

/* Luxury WhatsApp Action Button (Dark Navy & Champagne Gold - NOT Neon Green) */
.btn-whatsapp {
  background: var(--navy-900);
  color: var(--gold-400);
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-sm);
}
.btn-whatsapp:hover {
  background: var(--navy-800);
  border-color: var(--gold-400);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11, 25, 56, 0.22);
}
.btn-whatsapp svg {
  fill: currentColor;
}

/* Call Button */
.btn-call {
  background: var(--ivory-100);
  color: var(--navy-800);
  border: 1px solid var(--border-light);
}
.btn-call:hover {
  background: var(--ivory-200);
  border-color: var(--gold-border);
  color: var(--gold-600);
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   5. Site Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(252, 250, 247, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-block-end: 1px solid rgba(193, 139, 70, 0.18);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(252, 250, 247, 0.98);
  box-shadow: 0 4px 20px rgba(15, 34, 84, 0.06);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.5rem;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-svg {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .brand-logo-svg {
    height: 58px;
    max-width: 240px;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

@media (min-width: 1040px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy-800);
  position: relative;
  padding-block: 0.5rem;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-500);
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: var(--gold-600);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header-cta-btn {
  padding: 0.65rem 1.4rem;
  font-size: 0.92rem;
  min-height: 42px;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-border);
  background: var(--ivory-100);
  cursor: pointer;
  padding: 0;
  gap: 5px;
}

@media (min-width: 1040px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  background: var(--ivory-50);
  border-block-end: 1px solid var(--gold-border);
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(11, 25, 56, 0.1);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-900);
  border-block-end: 1px solid var(--border-light);
}

.mobile-nav-link:hover {
  color: var(--gold-600);
  padding-inline-start: 0.5rem;
}

/* --------------------------------------------------------------------------
   6. Hero Section (Architectural Luxury Split)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: radial-gradient(120% 120% at 85% 10%, #FFFFFF 0%, var(--ivory-100) 60%, #EAE4D8 100%);
  padding-block: 3.5rem 4.5rem;
  overflow: hidden;
  border-block-end: 1px solid var(--gold-border);
}

@media (min-width: 1024px) {
  .hero {
    padding-block: 5.5rem 6.5rem;
  }
}

/* Subtle background architectural line ornament */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(193, 139, 70, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #FFFFFF;
  border: 1px solid var(--gold-border);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px rgba(193, 139, 70, 0.08);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-800);
  width: fit-content;
}

.badge-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(193, 139, 70, 0.25);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.15rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--navy-950);
  line-height: 1.25;
}

.hero-title .gold-gradient-text {
  background: linear-gradient(135deg, #0F2254 20%, #A87332 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-block-start: 0.5rem;
}

/* Hero Key Verified Metrics */
.hero-badges-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-block-start: 1rem;
  padding-block-start: 1.5rem;
  border-block-start: 1px solid var(--border-light);
}

.hero-metric-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.hero-metric-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-500);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.hero-metric-text {
  display: flex;
  flex-direction: column;
}

.hero-metric-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy-900);
}

.hero-metric-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Hero Visual Composition & Photo Slot */
.hero-visual-card {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-xl);
  padding: 0.75rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(244, 239, 230, 0.6));
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(193, 139, 70, 0.1);
}

/* Refined Photo Slot System */
.photo-slot {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #0B1938 0%, #0F2254 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--ivory-100);
  border: 1px solid rgba(193, 139, 70, 0.35);
}

.photo-slot--hero {
  aspect-ratio: 4 / 4.8;
}

.photo-slot--doctor {
  aspect-ratio: 4 / 4.6;
}

.photo-slot--service {
  aspect-ratio: 16 / 10;
}

.photo-slot-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: radial-gradient(var(--gold-400) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

.photo-slot-watermark {
  width: 110px;
  height: auto;
  opacity: 0.22;
  margin-block-end: 1.25rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.photo-slot:hover .photo-slot-watermark {
  opacity: 0.32;
  transform: scale(1.04);
}

.photo-slot-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-300);
  background: rgba(193, 139, 70, 0.18);
  border: 1px solid rgba(193, 139, 70, 0.35);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  margin-block-end: 0.65rem;
}

.photo-slot-label {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-block-end: 0.4rem;
}

.photo-slot-hint {
  font-size: 0.82rem;
  color: var(--text-light-muted);
  max-width: 280px;
}

/* Floating Badges on Hero Frame */
.floating-pill {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--gold-border);
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(11, 25, 56, 0.12);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.floating-pill--bottom {
  bottom: -20px;
  inset-inline-start: -15px;
}

.floating-pill--top {
  top: 25px;
  inset-inline-end: -20px;
}

.floating-pill-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--navy-900);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-pill-text {
  display: flex;
  flex-direction: column;
}

.floating-pill-text strong {
  font-size: 0.88rem;
  color: var(--navy-950);
}

.floating-pill-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   7. Why Trust Section (4 Verified Strengths)
   -------------------------------------------------------------------------- */
.why-trust-section {
  background: var(--ivory-50);
  position: relative;
}

.strengths-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .strengths-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .strengths-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
  }
}

.strength-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.strength-card::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.strength-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-border);
  box-shadow: var(--shadow-md);
}

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

.strength-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-end: 1.5rem;
}

.strength-numeral {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-500);
  background: var(--gold-subtle);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-border);
}

.strength-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--navy-900);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
}

.strength-card-title {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--navy-950);
  line-height: 1.45;
  margin-block-end: 0.75rem;
}

.strength-card-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   8. Laser Devices per Branch (Dual Technology Showcase)
   -------------------------------------------------------------------------- */
.devices-section {
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.devices-section::before {
  content: '';
  position: absolute;
  top: -100px;
  inset-inline-start: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(193, 139, 70, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.devices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-block-end: 3rem;
}

@media (min-width: 992px) {
  .devices-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.device-card {
  background: rgba(15, 34, 84, 0.45);
  border: 1px solid rgba(193, 139, 70, 0.3);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.device-card:hover {
  border-color: var(--gold-400);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 24px rgba(193, 139, 70, 0.18);
  transform: translateY(-4px);
}

.device-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-block-end: 1.5rem;
  gap: 1rem;
}

.device-branch-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(193, 139, 70, 0.2);
  color: var(--gold-300);
  border: 1px solid rgba(193, 139, 70, 0.4);
}

.device-origin-tag {
  font-size: 0.82rem;
  color: var(--text-light-muted);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
}

.device-name {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-block-end: 0.5rem;
}

.device-subtitle {
  font-size: 0.95rem;
  color: var(--gold-300);
  font-weight: 500;
  margin-block-end: 1.5rem;
}

.device-specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-block-end: 2rem;
}

.device-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: #E2E8F0;
  line-height: 1.6;
}

.device-spec-bullet {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(193, 139, 70, 0.2);
  border: 1px solid var(--gold-500);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-block-start: 3px;
}

.device-card-footer {
  margin-block-start: auto;
  padding-block-start: 1.5rem;
  border-block-start: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.device-action-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold-400);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}
.device-action-link:hover {
  color: #FFFFFF;
}

/* Device Doctor settings note banner */
.device-truth-banner {
  background: rgba(11, 25, 56, 0.7);
  border: 1px solid rgba(193, 139, 70, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

@media (max-width: 640px) {
  .device-truth-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
}

.device-truth-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.device-truth-text h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--gold-300);
  margin-block-end: 0.35rem;
}

.device-truth-text p {
  font-size: 0.95rem;
  color: #CBD5E1;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   9. Medical Director Section (د. سماء عادل)
   -------------------------------------------------------------------------- */
.doctor-section {
  background: var(--ivory-100);
  position: relative;
}

.doctor-editorial-card {
  background: #FFFFFF;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 992px) {
  .doctor-editorial-card {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.doctor-photo-col {
  background: var(--navy-900);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doctor-details-col {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .doctor-details-col {
    padding: 3.5rem 3rem;
  }
}

.doctor-title-block {
  margin-block-end: 1.75rem;
  border-block-end: 1px solid var(--border-light);
  padding-block-end: 1.5rem;
}

.doctor-name {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--navy-950);
  margin-block-end: 0.5rem;
}

.doctor-role {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-600);
}

.doctor-bio-text {
  font-size: 1.02rem;
  color: var(--text-body);
  line-height: 1.85;
  margin-block-end: 2rem;
}

.doctor-specialties-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-block-end: 1rem;
}

.specialties-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-block-end: 2.25rem;
}

.specialty-tag {
  background: var(--ivory-50);
  border: 1px solid var(--border-light);
  color: var(--navy-800);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.specialty-tag:hover {
  background: var(--gold-subtle);
  border-color: var(--gold-border);
  color: var(--gold-700);
}

.doctor-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   10. Specialized Services Section (4 Groups & Interactive Chips)
   -------------------------------------------------------------------------- */
.services-section {
  background: var(--ivory-50);
  position: relative;
}

.services-filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-block-end: 3rem;
}

.service-tab-btn {
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-800);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s ease;
  min-height: 44px;
}

.service-tab-btn:hover {
  border-color: var(--gold-border);
  color: var(--gold-600);
  background: var(--gold-subtle);
}

.service-tab-btn.active {
  background: var(--navy-900);
  color: #FFFFFF;
  border-color: var(--navy-900);
  box-shadow: 0 4px 14px rgba(11, 25, 56, 0.18);
}

.services-bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-border);
  box-shadow: var(--shadow-md);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-end: 1.25rem;
}

.service-group-num {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-600);
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--navy-900);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-block-end: 0.75rem;
}

.service-card-intro {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-block-end: 1.5rem;
}

.service-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-block-end: 2rem;
}

.service-chip {
  background: var(--ivory-100);
  border: 1px solid var(--border-light);
  color: var(--navy-900);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.service-chip:hover {
  background: var(--gold-subtle);
  border-color: var(--gold-border);
  color: var(--gold-700);
}

.service-card-bottom {
  margin-block-start: auto;
  padding-block-start: 1.25rem;
  border-block-start: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-book-action {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-800);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: color 0.2s ease;
}

.service-book-action:hover {
  color: var(--gold-600);
}

/* --------------------------------------------------------------------------
   11. Mit Ghamr Offers Gallery (Strictly Follows CONTENT.md)
   -------------------------------------------------------------------------- */
.offers-section {
  background: var(--ivory-100);
  position: relative;
  border-block: 1px solid var(--gold-border);
}

.offers-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-block-end: 2rem;
}

@media (min-width: 900px) {
  .offers-gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.offer-poster-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}

.offer-poster-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-border);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(193, 139, 70, 0.15);
}

.offer-poster-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--navy-900);
  overflow: hidden;
}

.offer-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.offer-poster-card:hover .offer-poster-img {
  transform: scale(1.03);
}

.poster-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 25, 56, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.offer-poster-card:hover .poster-zoom-overlay {
  opacity: 1;
}

.poster-zoom-badge {
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy-900);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.offer-poster-info {
  padding: 1.25rem;
  text-align: center;
  background: #FFFFFF;
}

.offer-poster-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-block-end: 0.25rem;
}

.offer-poster-badge {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--gold-600);
  font-weight: 600;
}

/* Mandatory Caption under the Gallery */
.offers-mandatory-caption {
  max-width: 820px;
  margin-inline: auto;
  background: #FFFFFF;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.caption-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-subtle);
  color: var(--gold-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.caption-text {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   12. Laser Session Guide & Skin Awareness Accordion/Tabs
   -------------------------------------------------------------------------- */
.guide-section {
  background: var(--ivory-50);
  position: relative;
}

.guide-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-block-end: 2.5rem;
}

.guide-nav-btn {
  padding: 0.75rem 1.6rem;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  color: var(--navy-900);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 48px;
}

.guide-nav-btn:hover {
  background: var(--gold-subtle);
  border-color: var(--gold-border);
  color: var(--gold-700);
}

.guide-nav-btn.active {
  background: var(--gold-gradient);
  color: var(--navy-950);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 14px var(--gold-glow);
}

.guide-panels-wrap {
  max-width: 960px;
  margin-inline: auto;
}

.guide-panel {
  display: none;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  animation: fadeInPanel 0.3s ease-out;
}

.guide-panel.active {
  display: block;
}

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

.guide-panel-header {
  margin-block-end: 1.75rem;
  border-block-end: 1px solid var(--border-light);
  padding-block-end: 1.25rem;
}

.guide-panel-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy-950);
}

.guide-steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.guide-step-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.guide-step-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  color: var(--gold-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-block-start: 2px;
}

.guide-step-content strong {
  display: block;
  font-size: 1.02rem;
  color: var(--navy-900);
  margin-block-end: 0.2rem;
}

.guide-step-content p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   13. Branches Section (الزقازيق وميت غمر)
   -------------------------------------------------------------------------- */
.branches-section {
  background: var(--ivory-100);
  position: relative;
}

.branches-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 900px) {
  .branches-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.branch-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.branch-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-border);
  box-shadow: var(--shadow-md);
}

.branch-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-block-end: 1.5rem;
  border-block-end: 1px solid var(--border-light);
  padding-block-end: 1.25rem;
}

.branch-city {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy-950);
}

.branch-device-pill {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-600);
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
}

.branch-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-block-end: 2rem;
}

.branch-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.7;
}

.branch-detail-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--navy-900);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-block-start: 2px;
}

.branch-phones-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.phone-chip {
  font-weight: 600;
  color: var(--navy-800);
  background: var(--ivory-50);
  border: 1px solid var(--border-light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  direction: ltr;
  display: inline-block;
  transition: all 0.2s ease;
}

.phone-chip:hover {
  background: var(--gold-subtle);
  border-color: var(--gold-border);
  color: var(--gold-700);
}

.branch-card-actions {
  margin-block-start: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 480px) {
  .branch-card-actions {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   14. Booking Request Form Section (Visual Only, No Network)
   -------------------------------------------------------------------------- */
.booking-section {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 60%, #13275B 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.booking-section::before {
  content: '';
  position: absolute;
  bottom: -150px;
  inset-inline-end: -50px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(193, 139, 70, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.booking-form-wrapper {
  max-width: 780px;
  margin-inline: auto;
  background: rgba(11, 25, 56, 0.75);
  border: 1px solid rgba(193, 139, 70, 0.35);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-navy), 0 0 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

@media (min-width: 768px) {
  .booking-form-wrapper {
    padding: 3.5rem 3rem;
  }
}

.booking-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .booking-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-group--full {
    grid-column: span 2;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold-300);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.form-control {
  width: 100%;
  min-height: 50px;
  background: rgba(7, 15, 34, 0.65);
  border: 1.5px solid rgba(193, 139, 70, 0.3);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.15rem;
  color: #FFFFFF;
  font-size: 0.98rem;
  transition: all 0.25s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-400);
  background: rgba(7, 15, 34, 0.85);
  box-shadow: 0 0 0 3px rgba(193, 139, 70, 0.25);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C18B46' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 1.15rem center;
  padding-inline-end: 2.5rem;
}

select.form-control option {
  background: var(--navy-950);
  color: #FFFFFF;
}

/* Consent Checkbox */
.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-light-muted);
  cursor: pointer;
  line-height: 1.6;
}

.form-checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--gold-500);
  margin-block-start: 2px;
  cursor: pointer;
}

/* Submit Confirmation Banner (Hidden by default, shown via JS) */
.booking-success-message {
  display: none;
  background: rgba(193, 139, 70, 0.15);
  border: 1.5px solid var(--gold-400);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  text-align: center;
  animation: fadeInPanel 0.4s ease;
}

.booking-success-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-block-end: 1.25rem;
}

.booking-success-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold-300);
  margin-block-end: 0.65rem;
}

.booking-success-body {
  font-size: 1.08rem;
  color: #FFFFFF;
  line-height: 1.8;
  margin-block-end: 1.5rem;
}

/* Under-form reassurance */
.booking-footer-note {
  font-size: 0.88rem;
  color: var(--text-light-muted);
  text-align: center;
  margin-block-start: 1.25rem;
}

/* --------------------------------------------------------------------------
   15. Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-950);
  color: var(--ivory-100);
  border-block-start: 1px solid rgba(193, 139, 70, 0.25);
  padding-block: 4.5rem 2rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-block-end: 3.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.footer-tagline {
  font-size: 0.96rem;
  color: var(--gold-300);
  font-weight: 500;
  line-height: 1.7;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-light-muted);
  line-height: 1.8;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-block-end: 1.25rem;
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  inset-inline-start: 0;
  width: 24px;
  height: 2px;
  background: var(--gold-500);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.92rem;
  color: var(--text-light-muted);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-link:hover {
  color: var(--gold-400);
  transform: translateX(-3px);
}

.footer-branches-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-branch-item h5 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-300);
  margin-block-end: 0.25rem;
}

.footer-branch-item p {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  line-height: 1.6;
}

.footer-branch-phones {
  font-size: 0.85rem;
  color: #FFFFFF;
  direction: ltr;
  text-align: right;
  margin-block-start: 0.25rem;
}

/* Footer Bottom Bar */
.footer-bottom {
  border-block-start: 1px solid rgba(255, 255, 255, 0.08);
  padding-block-start: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

.footer-medical-notice {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  max-width: 600px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   16. Interactive Lightbox Modal for Offer Posters
   -------------------------------------------------------------------------- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(7, 15, 34, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content-box {
  position: relative;
  max-width: 520px;
  width: 100%;
  background: var(--navy-900);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-navy), 0 0 40px rgba(193, 139, 70, 0.25);
  animation: zoomModal 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoomModal {
  from { transform: scale(0.92); }
  to { transform: scale(1); }
}

.lightbox-img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-close-btn {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(11, 25, 56, 0.85);
  color: #FFFFFF;
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
  background: var(--gold-500);
  color: var(--navy-950);
}

.lightbox-footer-caption {
  padding: 0.85rem 1.25rem;
  background: var(--navy-950);
  color: var(--gold-300);
  font-size: 0.9rem;
  text-align: center;
  font-weight: 600;
  border-block-start: 1px solid rgba(255, 255, 255, 0.08);
}

/* --------------------------------------------------------------------------
   17. Sticky Bottom Action Bar (Mobile Only <= 768px)
   -------------------------------------------------------------------------- */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 990;
  background: rgba(7, 15, 34, 0.96);
  border-block-start: 1px solid var(--gold-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 0.75rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

@media (min-width: 769px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.mobile-sticky-btn {
  flex: 1;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
}

.mobile-sticky-btn--book {
  background: var(--gold-gradient);
  color: var(--navy-950);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.mobile-sticky-btn--contact {
  background: var(--navy-800);
  color: var(--gold-300);
  border: 1px solid var(--gold-border);
}

/* --------------------------------------------------------------------------
   18. Reduced Motion & Accessibility Overrides
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus styles for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}

/* ===== production additions (booking states) ===== */
.booking-error { margin-top: 1rem; padding: .9rem 1rem; border-inline-start: 3px solid #E07A6F; background: rgba(224, 122, 111, .12); color: #FFE9E6; font-size: .95rem; line-height: 1.7; border-radius: 8px; }
.booking-error[hidden] { display: none; }
.booking-success-ref { margin-top: .6rem; font-size: .9rem; opacity: .9; }
.booking-success-ref span { font-family: "Segoe UI", system-ui, sans-serif; font-weight: 700; letter-spacing: .05em; color: var(--gold-300); }
.booking-direct { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }
.booking-direct .btn { min-height: 44px; padding: .6rem 1.25rem; }
.hp-field { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
#booking-form { position: relative; }
select.form-control:disabled { opacity: .6; cursor: not-allowed; }
/* keep the chat bubble above the mobile sticky bar */
@media (max-width: 768px) { .woot-widget-bubble { bottom: 84px !important; } }

/* ===== English (LTR) page overrides — scoped to /en/ (html[lang="en"][dir="ltr"]) ===== */
html[dir="ltr"]:lang(en) {
  --font-serif: Georgia, 'Times New Roman', Times, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
html[dir="ltr"] body { direction: ltr; text-align: left; }
html[dir="ltr"] .section-header--start { text-align: left; }
html[dir="ltr"] select.form-control { background-position: right 1.15rem center; }
html[dir="ltr"] .footer-link:hover { transform: translateX(3px); }
html[dir="ltr"] .footer-branch-phones { text-align: left; }
html[dir="ltr"] [lang="ar"] { font-family: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif; }
html[dir="ltr"] .nav-link { white-space: nowrap; }
@media (min-width: 1040px) { html[dir="ltr"] .nav-desktop { gap: 1.1rem; } html[dir="ltr"] .nav-link { font-size: 0.9rem; } }
/* English nav labels are longer: keep the menu button until the full nav fits */
@media (min-width: 1040px) and (max-width: 1199.98px) { html[dir="ltr"] .nav-desktop { display: none; } html[dir="ltr"] .menu-toggle { display: flex; } }
