/* Offset for Global Fixed Header (.site-header) */
/* main {
  padding-top: 94px;
}
@media (max-width: 768px) {
  main {
    padding-top: 80px;
  }
} */
/* =========================================
         1. CSS VARIABLES & LUXURY DARK PALETTE
         ========================================= */
:root {
  --bg-deep: #1f1a21;
  --bg-surface: #342c2f;
  --bg-glass: rgba(52, 44, 47, 0.65);
  --bg-glass-heavy: rgba(31, 26, 33, 0.9);

  /* Brand Palette */
  --primary-dark: #342825;
  --primary-mid: #b1835e4c;
  --primary-light: #a48574;
  --primary-glow: #a48574;
  --accent: #b1835e;
  --accent-hover: #a87856;
  --accent-glow: rgba(152, 107, 76, 0.35);

  /* Typography Colors */
  --white: #faf7f5;
  --text-main: #faf7f5;
  --text-secondary: #d8ceca;
  --text-muted: #cb916b;

  /* Borders & Effects */
  --border-glass: rgba(164, 133, 116, 0.22);
  --border-gold: rgba(152, 107, 76, 0.45);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-full: 9999px;
  --transition-smooth: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset for ZERO Shadows */
*,
*::before,
*::after {
}
body {
  background-color: var(--bg-base);
  color: var(--text-primary);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: "Alexandria", "Noto Sans Arabic", sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.8;
  overflow-x: hidden;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* =========================================
         2. INTERACTIVE AMBIENT BACKGROUND & MESH
         ========================================= */
.ambient-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(52, 40, 37, 0.35) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(164, 133, 116, 0.22) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 85%,
      rgba(152, 107, 76, 0.1) 0%,
      transparent 50%
    ),
    var(--bg-deep);
}

/* Architectural Subtle Grid Overlay */
.ambient-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(164, 133, 116, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(164, 133, 116, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(
    circle at center,
    black 30%,
    transparent 90%
  );
  pointer-events: none;
  z-index: 0;
}

/* Floating Animated Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.55;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.orb-teal {
  width: 500px;
  height: 500px;
  background: var(--primary-light);
  top: -120px;
  right: -100px;
}

.orb-gold {
  width: 380px;
  height: 380px;
  background: rgba(152, 107, 76, 0.35);
  top: 40%;
  left: -140px;
  animation-delay: -6s;
}

/* Mouse Cursor Spotlight */
.cursor-spotlight {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(164, 133, 116, 0.14) 0%,
    transparent 65%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  transition:
    width 0.3s,
    height 0.3s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-60px, 50px) scale(1.12);
  }
  100% {
    transform: translate(40px, -40px) scale(0.95);
  }
}

/* Breadcrumb Pill */
.breadcrumb-wrap {
  padding-top: 28px;
}

.breadcrumb-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(164, 133, 116, 0.25);
  border: 1px solid var(--border-glass);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.breadcrumb-pill a:hover {
  color: var(--accent);
}

/* =========================================
        تطوير شكل الـ Highlight Chips (تصميم فخم وغير تقليدي)
        ========================================= */
.tech-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.highlight-chip {
  position: relative;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.02) 0%,
    rgba(255, 255, 255, 0.005) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-right: 3px solid rgba(255, 255, 255, 0.08);
  padding: 16px 20px;
  border-radius: 14px;
  font-size: clamp(0.88rem, 1.5vw, 0.95rem);
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
  z-index: 1;
  cursor: default;
}

/* تأثير ضوئي بيمر على الكارت من الداخل (Glass Reflection) */
.highlight-chip::before {
  content: "";
  position: absolute;
  top: 0;
  right: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.06),
    transparent
  );
  transform: skewX(-20deg);
  transition: right 0.65s ease;
  z-index: -1;
}

/* حركة الكارت عند مرور الماوس */
.highlight-chip:hover {
  background: linear-gradient(
    120deg,
    rgba(164, 133, 116, 0.08) 0%,
    rgba(31, 26, 33, 0.4) 100%
  );
  border-color: rgba(164, 133, 116, 0.25);
  border-right-color: var(--primary-glow);
  color: var(--white);
  transform: translateX(-6px);
  box-shadow:
    0 12px 25px rgba(0, 0, 0, 0.4),
    inset 0 0 20px rgba(164, 133, 116, 0.05);
}

/* تحريك اللمعة الضوئية */
.highlight-chip:hover::before {
  right: 150%;
}

/* تصميم جديد ومبهر للأيقونة (دائرة بداخلها الرمز) */
.highlight-chip span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(31, 26, 33, 0.8);
  border: 1px solid rgba(152, 107, 76, 0.25);
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 400;
  flex-shrink: 0;
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* حركة الأيقونة (دوران مع تغيير اللون للذهبي) */
.highlight-chip:hover span {
  background: var(--accent);
  color: #1f1a21;
  border-color: var(--accent);
  transform: rotate(360deg) scale(1.1);
}

/* =========================================
         4. SECTION 1: SCULPTURAL HERO (CONCISE & VISUAL)
         ========================================= */
.hero-experience {
  padding: 40px 0 80px;
  position: relative;
  background-image: 
    url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='340'%20height='300'%20viewBox='0%200%20340%20300'%20fill='none'%3E%3C%21--%20Abstract%20Geometric%20Polygonal%20Wireframe%20-%20Top%20Right%20Corner%20--%3E%3Cg%20stroke='%23FFDEC0'%20stroke-width='0.85'%20opacity='0.22'%3E%3Cpath%20d='M340,0%20L200,0%20L270,90%20L340,50%20Z'%20/%3E%3Cpath%20d='M200,0%20L110,0%20L170,80%20L270,90%20Z'%20/%3E%3Cpath%20d='M110,0%20L30,0%20L90,65%20L170,80%20Z'%20/%3E%3Cpath%20d='M270,90%20L340,140%20L280,195%20L190,145%20Z'%20/%3E%3Cpath%20d='M170,80%20L270,90%20L190,145%20L120,125%20Z'%20/%3E%3Cpath%20d='M90,65%20L170,80%20L120,125%20L45,105%20Z'%20/%3E%3Cpath%20d='M190,145%20L280,195%20L225,255%20L140,210%20Z'%20/%3E%3Cpath%20d='M120,125%20L190,145%20L140,210%20L75,180%20Z'%20/%3E%3Cpath%20d='M280,195%20L340,215%20L295,290%20L225,255%20Z'%20/%3E%3Cpath%20d='M140,210%20L225,255%20L170,300%20L95,260%20Z'%20/%3E%3C%21--%20Delicate%20dashed%20technical%20chords%20--%3E%3Cline%20x1='340'%20y1='0'%20x2='140'%20y2='210'%20stroke-dasharray='4%205'%20stroke-width='0.6'%20opacity='0.65'%20/%3E%3Cline%20x1='200'%20y1='0'%20x2='225'%20y2='255'%20stroke-dasharray='3%204'%20stroke-width='0.6'%20opacity='0.65'%20/%3E%3Cline%20x1='45'%20y1='105'%20x2='295'%20y2='290'%20stroke-dasharray='2%205'%20stroke-width='0.5'%20opacity='0.5'%20/%3E%3C%21--%20Top-Right%20Corner%20framing%20tick%20--%3E%3Cpath%20d='M315,10%20L330,10%20L330,25'%20stroke-width='1.2'%20opacity='0.75'%20/%3E%3C/g%3E%3C%21--%20Vertex%20Nodes%20--%3E%3Cg%20fill='%23FFDEC0'%20opacity='0.35'%3E%3Ccircle%20cx='270'%20cy='90'%20r='1.8'%20/%3E%3Ccircle%20cx='170'%20cy='80'%20r='1.8'%20/%3E%3Ccircle%20cx='190'%20cy='145'%20r='1.8'%20/%3E%3Ccircle%20cx='280'%20cy='195'%20r='1.8'%20/%3E%3Ccircle%20cx='120'%20cy='125'%20r='1.5'%20/%3E%3Ccircle%20cx='140'%20cy='210'%20r='1.5'%20/%3E%3Ccircle%20cx='225'%20cy='255'%20r='1.5'%20/%3E%3Ccircle%20cx='90'%20cy='65'%20r='1.5'%20/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='340'%20height='300'%20viewBox='0%200%20340%20300'%20fill='none'%3E%3C%21--%20Abstract%20Geometric%20Polygonal%20Wireframe%20-%20Bottom%20Left%20Corner%20--%3E%3Cg%20stroke='%23FFDEC0'%20stroke-width='0.85'%20opacity='0.22'%3E%3Cpath%20d='M0,300%20L140,300%20L70,210%20L0,250%20Z'%20/%3E%3Cpath%20d='M140,300%20L230,300%20L170,220%20L70,210%20Z'%20/%3E%3Cpath%20d='M230,300%20L310,300%20L250,235%20L170,220%20Z'%20/%3E%3Cpath%20d='M70,210%20L0,160%20L60,105%20L150,155%20Z'%20/%3E%3Cpath%20d='M170,220%20L70,210%20L150,155%20L220,175%20Z'%20/%3E%3Cpath%20d='M250,235%20L170,220%20L220,175%20L295,195%20Z'%20/%3E%3Cpath%20d='M150,155%20L60,105%20L115,45%20L200,90%20Z'%20/%3E%3Cpath%20d='M220,175%20L150,155%20L200,90%20L265,120%20Z'%20/%3E%3Cpath%20d='M60,105%20L0,85%20L45,10%20L115,45%20Z'%20/%3E%3Cpath%20d='M200,90%20L115,45%20L170,0%20L245,40%20Z'%20/%3E%3C%21--%20Delicate%20dashed%20technical%20chords%20--%3E%3Cline%20x1='0'%20y1='300'%20x2='200'%20y2='90'%20stroke-dasharray='4%205'%20stroke-width='0.6'%20opacity='0.65'%20/%3E%3Cline%20x1='140'%20y1='300'%20x2='115'%20y2='45'%20stroke-dasharray='3%204'%20stroke-width='0.6'%20opacity='0.65'%20/%3E%3Cline%20x1='295'%20y1='195'%20x2='45'%20y2='10'%20stroke-dasharray='2%205'%20stroke-width='0.5'%20opacity='0.5'%20/%3E%3C%21--%20Bottom-Left%20Corner%20framing%20tick%20--%3E%3Cpath%20d='M25,290%20L10,290%20L10,275'%20stroke-width='1.2'%20opacity='0.75'%20/%3E%3C/g%3E%3C%21--%20Vertex%20Nodes%20--%3E%3Cg%20fill='%23FFDEC0'%20opacity='0.35'%3E%3Ccircle%20cx='70'%20cy='210'%20r='1.8'%20/%3E%3Ccircle%20cx='170'%20cy='220'%20r='1.8'%20/%3E%3Ccircle%20cx='150'%20cy='155'%20r='1.8'%20/%3E%3Ccircle%20cx='60'%20cy='105'%20r='1.8'%20/%3E%3Ccircle%20cx='220'%20cy='175'%20r='1.5'%20/%3E%3Ccircle%20cx='200'%20cy='90'%20r='1.5'%20/%3E%3Ccircle%20cx='115'%20cy='45'%20r='1.5'%20/%3E%3Ccircle%20cx='250'%20cy='235'%20r='1.5'%20/%3E%3C/g%3E%3C/svg%3E");
  background-position: 
    top right,
    bottom left;
  background-repeat: 
    no-repeat,
    no-repeat;
  background-size: 
    340px 300px,
    340px 300px;
}

.hero-bento {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.hero-bento > *:first-child {
    order: 2; /* العنصر الأول يروح الآخر */
}

.hero-bento > *:last-child {
    order: 1; /* العنصر التاني ييجي الأول */
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.hero-tag::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.hero-main-title {
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-main-title .gold-gradient {
  /* -webkit-background-clip: text; */
  /* -webkit-text-fill-color: transparent; */
  color: var(--accent);
}

.hero-concise-lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 580px;
  line-height: 1.85;
}

/* Interactive Stat Pills Instead of Wall of Text */
.quick-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.metric-pill {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  padding: 16px;
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.metric-pill:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.metric-pill strong {
  display: block;
  font-size: 1.35rem;
  color: var(--accent);
  font-weight: 800;
}

.metric-pill span {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-glass:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

/* Hero Right Visual Portal */
.hero-visual-stage {
  position: relative;
  display: flex;
  justify-content: center;
}

.visual-arch-frame {
  width: 100%;
  max-width: 440px;
  height: 490px;
  border-radius: 220px 220px 30px 30px;
  padding: 12px;
  background: linear-gradient(
    180deg,
    rgba(152, 107, 76, 0.5) 0%,
    rgba(164, 133, 116, 0.2) 100%
  );
  position: relative;
}

.visual-arch-inner {
  width: 100%;
  height: 100%;
  border-radius: 210px 210px 22px 22px;
  overflow: hidden;
  position: relative;
  background: var(--primary-dark);
}

.visual-arch-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.8s ease;
}

.visual-arch-frame:hover .visual-arch-inner img {
  transform: scale(1.05);
}

/* Floating Orbit Badges Around Arch */
.orbit-badge {
  position: absolute;
  background: rgba(31, 26, 33, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  padding: 12px 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatBadge 4s ease-in-out infinite;
}

.orbit-badge.top-right {
  top: 40px;
  right: -20px;
}

.orbit-badge.bottom-left {
  bottom: 35px;
  left: -25px;
  animation-delay: -2s;
}

.orbit-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(152, 107, 76, 0.18);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* =========================================
         5. SECTION 2: INTERACTIVE TECHNIQUE SWITCHER
         ========================================= */
.interactive-tech-section {
  padding: clamp(55px, 8vw, 90px) 0;
  position: relative;
  z-index: 2;
}

.interactive-tech-section::before {
  content: "";
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -20%);
  width: min(850px, 92vw);
  height: 380px;
  background: radial-gradient(
    circle,
    rgba(164, 133, 116, 0.16) 0%,
    rgba(152, 107, 76, 0.04) 50%,
    transparent 75%
  );
  filter: blur(65px);
  pointer-events: none;
  z-index: 0;
}

.section-head-compact {
  text-align: center;
  margin-bottom: clamp(28px, 5vw, 42px);
  position: relative;
  z-index: 1;
}

.section-head-compact .section-tag {
  color: var(--accent);
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  background: rgba(152, 107, 76, 0.08);
  border: 1px solid rgba(152, 107, 76, 0.28);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  box-shadow: none;
}

.section-head-compact h2 {
  font-size: clamp(1.6rem, 4vw, 2.45rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
}

/* Interactive Switcher Navigation Pills */
.tech-tabs-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(26px, 4.5vw, 40px);
  position: relative;
  z-index: 1;
  padding: 4px;
}

.tech-tab-btn {
  background: rgba(52, 44, 47, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 13px 26px;
  min-height: 48px;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: clamp(0.88rem, 2.2vw, 0.98rem);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  box-shadow: none;
}

.tech-tab-btn:hover {
  color: var(--white);
  border-color: rgba(164, 133, 116, 0.65);
  background: rgba(164, 133, 116, 0.2);
  transform: translateY(-2px);
  box-shadow: none;
}

.tech-tab-btn:active {
  transform: scale(0.97) translateY(0);
}

.tech-tab-btn.active {
  background: var(--bg-deep);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: none;
}

/* Pulsing Tab Dot Beacon */
.tech-tab-btn .tab-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--text-muted);
  position: relative;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.tech-tab-btn.active .tab-dot {
  background: var(--accent);
  box-shadow: none;
}

.tech-tab-btn.active .tab-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  animation: tabDotRipple 1.8s ease-out infinite;
}

@keyframes tabDotRipple {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* Dynamic Display Stage */
.tech-display-stage {
  background: var(--bg-deep);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: none;
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4.5vw, 46px);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: border-color 0.4s ease;
  box-shadow: none;
}

.tech-display-stage:hover {
  border-color: rgba(164, 133, 116, 0.55);
  box-shadow: none;
}

.tech-display-stage::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 280px;
  background: radial-gradient(
    circle at top right,
    rgba(152, 107, 76, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Panel Grid & Dynamic Reveal */
.tech-panel {
  display: none;
  grid-template-columns: 1.18fr 0.82fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

.tech-panel.active {
  display: grid;
  animation: panelFadeIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes panelFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.tech-panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(152, 107, 76, 0.12);
  color: var(--accent);
  border: 1px solid var(--border-gold);
  padding: 5px 15px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 14px;
  box-shadow: none;
}

.tech-panel h3 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.tech-panel p {
  color: var(--text-secondary);
  font-size: clamp(0.92rem, 1.8vw, 1.02rem);
  margin-bottom: 24px;
  line-height: 1.8;
}

/* Feature Highlights Grid */
.tech-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

/* Panel Action CTA */
.interactive-tech-section .btn-cta {
  background: var(--accent);
  color: #1f1a21;
  font-weight: 800;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-size: clamp(0.88rem, 2vw, 0.95rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: none;
  transition: var(--transition-smooth);
  min-height: 48px;
  -webkit-tap-highlight-color: transparent;
}

.interactive-tech-section .btn-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.75s ease;
}

.interactive-tech-section .btn-cta:hover::before {
  left: 180%;
}

.interactive-tech-section .btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.interactive-tech-section .btn-cta:active {
  transform: scale(0.97);
}

.interactive-tech-section .cta-arrow {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.interactive-tech-section .btn-cta:hover .cta-arrow {
  transform: translateX(-4px);
}

/* =========================================
         BIOMETRIC METERS WITH PULSING/FILLING/DRAINING ANIMATION
         ========================================= */
.tech-visual-meters {
  background: rgba(31, 26, 33, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(164, 133, 116, 0.28);
  border-radius: var(--radius-md);
  padding: clamp(20px, 3.5vw, 32px);
  box-shadow: none;
  position: relative;
}

.meters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(164, 133, 116, 0.15);
}

.meters-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meters-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: none;
  animation: livePulseBeacon 1.8s ease-in-out infinite;
}

@keyframes livePulseBeacon {
  0% {
    transform: scale(0.85);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.25);
    opacity: 1;
    box-shadow: none;
  }
  100% {
    transform: scale(0.85);
    opacity: 0.7;
  }
}

.meters-title {
  font-size: clamp(0.82rem, 1.8vw, 0.9rem);
  font-weight: 700;
  color: var(--text-main);
}

.meters-status-tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(152, 107, 76, 0.1);
  border: 1px solid rgba(152, 107, 76, 0.25);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.2px;
}

.meter-item {
  margin-bottom: 18px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  cursor: default;
}

.meter-item:last-child {
  margin-bottom: 0;
}

.meter-item:hover {
  background: rgba(164, 133, 116, 0.1);
  box-shadow: none;
}

.meter-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: clamp(0.82rem, 1.8vw, 0.88rem);
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.meter-item:hover .meter-label {
  color: var(--white);
}

.meter-label strong.meter-value {
  color: var(--accent);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  transition: all 0.3s ease;
}

.meter-item:hover .meter-label strong.meter-value {
  color: var(--accent-hover);
  /* text-shadow: 0 0 12px var(--accent-glow); */
  transform: scale(1.08);
}

.meter-bar {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(164, 133, 116, 0.2);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: none;
  transition:
    height 0.3s ease,
    border-color 0.3s ease;
}

.meter-item:hover .meter-bar {
  border-color: rgba(164, 133, 116, 0.55);
  height: 11px;
}

/* The Animated Continuous Meter Fill */
.meter-fill {
  height: 100%;
  border-radius: 10px;
  position: relative;
  background: linear-gradient(
    90deg,
    #a48574 0%,
    #a48574 25%,
    #a48574 48%,
    #b1835e4c 70%,
    #b1835e4c 88%,
    #a48574 100%
  );
  background-size: 240% 100%;
  animation: meterShimmer 3.2s linear infinite;
  transition: width 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: width, background-position, filter;
  box-shadow: none;
}

/* Glowing energy tip bead at leading edge (left side in RTL) */
.meter-fill::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: none;
  opacity: 0.95;
  transition: transform 0.3s ease;
}

.meter-item:hover .meter-fill::after {
  transform: translateY(-50%) scale(1.3);
  box-shadow: none;
}

/* Continuous Breathing/Pulsing & Filling and Draining Cycle */
.meter-fill.is-pulsing {
  animation:
    meterShimmer 3.2s linear infinite,
    meterPulseAndDrain 3.8s ease-in-out infinite;
}

.meter-item:nth-child(1) .meter-fill.is-pulsing {
  animation-delay: 0s, 0.2s;
}

.meter-item:nth-child(2) .meter-fill.is-pulsing {
  animation-delay: 0.5s, 1.2s;
}

.meter-item:nth-child(3) .meter-fill.is-pulsing {
  animation-delay: 1s, 2.2s;
}

@keyframes meterShimmer {
  0% {
    background-position: 240% 0;
  }
  100% {
    background-position: -240% 0;
  }
}

/* Organic Pulse: breathing width oscillation (draining then energetic refilling) */
@keyframes meterPulseAndDrain {
  0% {
    width: var(--meter-w);
    filter: brightness(1);
  }
  35% {
    /* Draining phase: recedes smoothly by 4-5% */
    width: calc(var(--meter-w) - 4.5%);
    filter: brightness(0.92);
  }
  65% {
    /* Refilling phase: fills back up to base level */
    width: var(--meter-w);
    filter: brightness(1.08) drop-shadow(0 0 4px rgba(152, 107, 76, 0.3));
  }
  82% {
    /* Energetic pulse surge */
    width: min(100%, calc(var(--meter-w) + 1.8%));
    filter: brightness(1.15) drop-shadow(0 0 8px rgba(164, 133, 116, 0.45));
  }
  100% {
    width: var(--meter-w);
    filter: brightness(1);
  }
}

/* =========================================
         6. SECTION 3: 3D COVERFLOW PHOTO GALLERY (IMAGES ONLY)
         ========================================= */
.gallery-3d-section {
  padding: 90px 0;
  overflow: hidden;
  position: relative;
}

.carousel-3d-stage {
  position: relative;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
  margin: 20px 0 40px;
  user-select: none;
  touch-action: pan-y;
}

.carousel-3d-card {
  position: absolute;
  width: 360px;
  height: 430px;
  border-radius: 26px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 2px solid rgba(255, 255, 255, 0.15);
  transition: all 0.65s cubic-bezier(0.2, 0.85, 0.25, 1);
  cursor: pointer;
}

.carousel-3d-card img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

/* Zoom Icon on Active Slide Only (No Text) */
.zoom-hint-btn {
  position: absolute;
  bottom: 18px;
  left: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(31, 26, 33, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition-smooth);
}

/* 3D Coverflow States */
.carousel-3d-card.is-center {
  transform: translate3d(0, 0, 120px) rotateY(0deg);
  z-index: 10;
  border-color: var(--accent);
}

.carousel-3d-card.is-center .zoom-hint-btn {
  opacity: 1;
  transform: scale(1);
}

.carousel-3d-card.is-right-1 {
  transform: translate3d(290px, 0, -40px) rotateY(-28deg) scale(0.88);
  z-index: 8;
  filter: brightness(0.65);
}

.carousel-3d-card.is-left-1 {
  transform: translate3d(-290px, 0, -40px) rotateY(28deg) scale(0.88);
  z-index: 8;
  filter: brightness(0.65);
}

.carousel-3d-card.is-right-2 {
  transform: translate3d(520px, 0, -160px) rotateY(-40deg) scale(0.74);
  z-index: 5;
  filter: brightness(0.35);
}

.carousel-3d-card.is-left-2 {
  transform: translate3d(-520px, 0, -160px) rotateY(40deg) scale(0.74);
  z-index: 5;
  filter: brightness(0.35);
}

.carousel-3d-card.is-hidden {
  transform: translate3d(0, 0, -300px) scale(0.5);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

/* 3D Controls Bar */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.carousel-nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.carousel-nav-btn:hover {
  background: var(--accent);
  color: #1f1a21;
  border-color: var(--accent);
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.carousel-dot.active {
  width: 30px;
  border-radius: 10px;
  background: var(--accent);
}

/* Lightbox Fullscreen Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(31, 26, 33, 0.94);
  backdrop-filter: blur(18px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.lightbox-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-modal img {
  max-width: 90vw;
  max-height: 86vh;
  border-radius: 20px;
  border: 2px solid var(--accent);
  transform: scale(0.92);
  transition: transform 0.4s ease;
}

.lightbox-modal.is-open img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: #1f1a21;
  border: none;
  font-size: 1.5rem;
  font-weight: 900;
  cursor: pointer;
}

/* =========================================
         7. SECTION 4: INTERACTIVE CINEMA VIDEO STAGE (FIXED)
         ========================================= */
.cinema-video-section {
  padding: 80px 0;
}

.cinema-theater-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.95fr;
  gap: 28px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px;
}

/* Main Video Screen */
.cinema-main-screen {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #1f1a21;
  border: 1px solid var(--border-gold);
}

.cinema-main-screen iframe,
.cinema-main-screen .main-video-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.main-video-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.main-video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
  transition: transform 0.6s ease;
}

.main-video-cover:hover img {
  transform: scale(1.04);
}

.pulse-play-btn {
  position: absolute;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--accent);
  color: #1f1a21;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: var(--transition-smooth);
}

.main-video-cover:hover .pulse-play-btn {
  transform: scale(1.12);
  background: var(--white);
}

/* Video Playlist Sidebar */
.cinema-playlist {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.playlist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(31, 26, 33, 0.65);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: right;
}

.playlist-item:hover,
.playlist-item.active {
  background: linear-gradient(
    90deg,
    rgba(164, 133, 116, 0.28),
    rgba(52, 40, 37, 0.4)
  );
  border-color: var(--accent);
  transform: translateX(-5px);
}

.playlist-thumb {
  width: 110px;
  height: 68px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.playlist-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.playlist-thumb .mini-play {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
}

.playlist-info h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.45;
  margin-bottom: 4px;
}

.playlist-info span {
  font-size: 0.76rem;
  color: var(--accent);
  font-weight: 600;
}

/* =========================================
         8. SECTION 5: FAQ ACCORDION
         ========================================= */
.faq-section {
  padding: 70px 0 90px;
}

.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item.is-active {
  border-color: var(--accent);
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--white);
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: right;
}

.faq-icon-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(164, 133, 116, 0.2);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease;
  flex-shrink: 0;
}

.faq-item.is-active .faq-icon-arrow {
  transform: rotate(180deg);
  background: var(--accent);
  color: #1f1a21;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-body-inner {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
}

/* =========================================
      تطوير السكشن الأول: أنيميشن الكلمة بكلمة
      ========================================= */
.story-glass-stage {
  position: relative;
  background: #1e171e;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(164, 133, 116, 0.35);
  border-right: 4px solid var(--accent);
  border-radius: 22px;
  padding: 24px 26px;
  margin-bottom: 26px;
  box-shadow: none;
  overflow: hidden;
}

/* لمعة ضوئية متحركة خلف الكلام */
.story-glass-stage::before {
  content: "";
  position: absolute;
  top: 0;
  right: -150%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(152, 107, 76, 0.05),
    rgba(164, 133, 116, 0.08),
    transparent
  );
  transform: skewX(-25deg);
  animation: shimmerSweep 8s infinite;
  pointer-events: none;
}

@keyframes shimmerSweep {
  0% {
    right: -150%;
  }
  50%,
  100% {
    right: 150%;
  }
}

.story-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-glow);
}

.pulse-ring {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: none;
  animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
  0% {
    box-shadow: none;
  }
  70% {
    box-shadow: none;
  }
  100% {
    box-shadow: none;
  }
}

.replay-text-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.replay-text-btn:hover {
  background: var(--accent);
  color: #1f1a21;
  border-color: var(--accent);
}

/* تنسيق الفقرة الأولى والكلمات المتحركة */
.word-reveal-paragraph {
  font-size: 1.04rem;
  line-height: 2;
  color: var(--text-main);
  margin-bottom: 18px;
  text-align: justify;
}

/* كل كلمة بتاخد الكلاس ده بالـ JS */
.anim-word {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(12px) scale(0.94);
  transition:
    opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.3s ease;
  margin-left: 4px;
  will-change: transform, opacity, filter;
}

.anim-word.is-revealed {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

/* الكلمات المفتاحية الذهبية المميزة */
.anim-word.highlight-word.is-revealed {
  color: var(--accent);
  font-weight: 700;
  /* text-shadow: 0 0 18px rgba(152, 107, 76, 0.35); */
}

/* تفاعل لطيف لو العميلة عدت الماوس على أي كلمة */
.anim-word.is-revealed:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

/* كبسولة الفقرة الثانية (النتيجة الطبية) */
.story-golden-conclusion {
  background: linear-gradient(
    90deg,
    rgba(152, 107, 76, 0.14) 0%,
    rgba(164, 133, 116, 0.12) 100%
  );
  border: 1px solid rgba(152, 107, 76, 0.4);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.6s ease;
}

.story-golden-conclusion.box-visible {
  opacity: 1;
  transform: translateY(0);
}

.conclusion-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent);
  color: #1f1a21;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: none;
}

.word-reveal-conclusion {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 640px) {
  .tech-highlights-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
  }

  .highlight-chip {
    padding: 14px 16px;
    font-size: 0.88rem;
    border-radius: 12px;
  }

  .highlight-chip span {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
}

/* =========================================
         10. RESPONSIVE DESIGN (MOBILE & TABLET)
         ========================================= */
@media (max-width: 1024px) {
  .mobile-toggle {
    display: block;
  }
  .header-cta-desktop {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: 85px;
    right: -100%;
    width: 100%;
    max-width: 360px;
    height: calc(100vh - 85px);
    background: #1f1a21;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    overflow-y: auto;
    transition: right 0.35s ease;
    border-left: 1px solid var(--border-glass);
  }

  .main-nav.is-open {
    right: 0;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }
  .dropdown-menu,
  .dropdown-reconstructive,
  .dropdown-cosmetic {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    margin-top: 6px;
  }
  .nav-item.active-mobile .dropdown-menu {
    display: grid;
  }

  .hero-bento,
  .tech-panel.active,
  .cinema-theater-grid,
  .footer-upper-showcase,
  .footer-contact-strip {
    grid-template-columns: 1fr;
  }

  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
  }

  .carousel-3d-card.is-right-1 {
    transform: translate3d(170px, 0, -60px) rotateY(-22deg) scale(0.84);
  }
  .carousel-3d-card.is-left-1 {
    transform: translate3d(-170px, 0, -60px) rotateY(22deg) scale(0.84);
  }
  .carousel-3d-card.is-right-2,
  .carousel-3d-card.is-left-2 {
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 640px) {
  .quick-metrics,
  .tech-highlights-grid,
  .clinic-form .form-row,
  .footer-main-grid {
    grid-template-columns: 1fr;
  }

  .carousel-3d-stage {
    height: 390px;
  }
  .carousel-3d-card {
    width: 285px;
    height: 360px;
  }
  .carousel-3d-card.is-right-1 {
    transform: translate3d(95px, 0, -80px) rotateY(-18deg) scale(0.82);
  }
  .carousel-3d-card.is-left-1 {
    transform: translate3d(-95px, 0, -80px) rotateY(18deg) scale(0.82);
  }

  .tech-display-stage,
  .footer-upper-showcase {
    padding: 24px 18px;
  }

  .interactive-tech-section {
    padding: 50px 0;
  }

  .tech-tabs-nav {
    gap: 8px;
    margin-bottom: 24px;
  }

  .tech-tab-btn {
    flex: 1 1 calc(50% - 8px);
    min-width: 140px;
    padding: 11px 16px;
    font-size: 0.88rem;
    min-height: 46px;
  }

  .tech-panel {
    gap: 24px;
  }

  .interactive-tech-section .btn-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
    margin-bottom: 6px;
    font-size: 0.92rem;
  }

  .tech-visual-meters {
    padding: 20px 14px;
    margin-top: 6px;
  }

  .doctor-photos-grid {
    grid-template-columns: 1fr;
  }
  .sub-photos-col {
    flex-direction: row;
  }
  .sub-photo {
    flex: 1;
    height: 130px;
  }

  main .container {
    padding: 20px 10px 0px !important;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }
  .anim-word {
    margin-left: 0px !important;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-main-title {
    font-size: 23px;
    text-align: center;
  }

  .hero-experience {
    padding: 0px 0 0px !important;
  }
  .gallery-3d-section {
    padding: 70px 0;
  }
  .faq-section {
    padding: 0 0 20px 0 !important;
  }
  .cinema-video-section {
    padding: 0px 0 20px;
  }
}

@media (max-width: 480px) {
  .interactive-tech-section {
    padding: 38px 0;
  }

  .section-head-compact {
    margin-bottom: 20px;
  }

  .tech-tabs-nav {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .tech-tab-btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 0.88rem;
  }

  .tech-display-stage {
    padding: 20px 14px;
    border-radius: 20px;
  }

  .tech-panel h3 {
    font-size: 1.25rem;
  }

  .tech-panel p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 18px;
  }

  .meter-item {
    padding: 6px 8px;
    margin-bottom: 14px;
  }

  .meter-label {
    font-size: 0.8rem;
  }

  .meter-bar {
    height: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tech-tab-btn,
  .tech-display-stage,
  .meter-fill,
  .meter-fill::after,
  .tech-panel {
    transition: none !important;
    animation: none !important;
  }
  .meter-fill {
    width: var(--meter-w) !important;
  }
}

/* =========================================================
         FACIAL REJUVENATION & SUBMENTAL LIPOSUCTION LUXE UI STYLES
         ========================================================= */

/* Assurance Banner */
.facial-assurance-banner {
  background: linear-gradient(
    135deg,
    rgba(152, 107, 76, 0.12) 0%,
    rgba(52, 44, 47, 0.75) 100%
  );
  border: 1px solid var(--border-gold);
  border-right: 4px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  margin: 20px 0 24px;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 16px;
}
.facial-assurance-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(152, 107, 76, 0.16);
  border: 1px solid rgba(152, 107, 76, 0.35);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.facial-assurance-text {
  font-family: "Cairo", "Alexandria", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
}
.facial-assurance-text strong {
  color: var(--accent-gold);
}

/* Core 5 Facial Procedures Section & Interactive Grid */
.facial-procedures-section {
  padding: 40px 0 70px;
  position: relative;
}
.section-head-luxe {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 36px;
}
.section-badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(152, 107, 76, 0.12);
  border: 1px solid rgba(152, 107, 76, 0.3);
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.section-head-luxe h2 {
  font-family: "Cairo", "Alexandria", sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.section-head-luxe p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}
.facial-procedures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.facial-proc-card {
  background: var(--bg-glass-heavy);
  border: 1px solid rgba(152, 107, 76, 0.15);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(14px);
}
.facial-proc-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-gold),
    transparent
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}
.facial-proc-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
}
.facial-proc-card:hover::before {
  opacity: 1;
}
.facial-proc-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.facial-proc-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(152, 107, 76, 0.12);
  border: 1px solid rgba(152, 107, 76, 0.28);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}
.facial-proc-card:hover .facial-proc-icon {
  background: var(--accent-gold);
  color: #1f1a21;
  transform: scale(1.08) rotate(5deg);
}
.facial-proc-title {
  font-family: "Cairo", "Alexandria", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.45;
  margin: 0;
}
.facial-proc-desc {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0 0 20px 0;
  flex-grow: 1;
}
.facial-proc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.facial-proc-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-gold);
  background: rgba(152, 107, 76, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}
.facial-proc-arrow {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}
.facial-proc-card:hover .facial-proc-arrow {
  color: var(--accent-gold);
  transform: translateX(-4px);
}

/* SECTION 1: Submental Liposuction & Jawline Contouring */
.submental-section {
  padding: 70px 0;
  position: relative;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(52, 44, 47, 0.4),
    transparent
  );
}
.submental-narrative-box {
  background: linear-gradient(
    145deg,
    rgba(52, 44, 47, 0.75) 0%,
    rgba(31, 26, 33, 0.92) 100%
  );
  border: 1px solid var(--border-glass);
  border-right: 4px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  padding: 34px 36px;
  margin-bottom: 35px;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}
.submental-narrative-box::before {
  content: "";
  position: absolute;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(152, 107, 76, 0.05),
    transparent
  );
  transform: skewX(-20deg);
  pointer-events: none;
}
.submental-narrative-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.submental-narrative-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(152, 107, 76, 0.12);
  border: 1px solid rgba(152, 107, 76, 0.3);
  padding: 5px 14px;
  border-radius: var(--radius-full);
}
.submental-narrative-p {
  font-family: "Cairo", "Noto Sans Arabic", sans-serif;
  font-size: 1.05rem;
  line-height: 1.95;
  color: var(--text-main);
  margin: 0;
  font-weight: 500;
}

/* Rapid Scannability Stat Pills */
.submental-stat-pills-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 35px;
}
.submental-stat-pill {
  background: rgba(52, 44, 47, 0.7);
  border: 1px solid rgba(152, 107, 76, 0.2);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}
.submental-stat-pill:hover {
  transform: translateY(-3px);
  border-color: var(--accent-gold);
  background: rgba(152, 107, 76, 0.08);
}
.submental-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(152, 107, 76, 0.15);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.submental-stat-info strong {
  display: block;
  font-family: "Cairo", "Alexandria", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.35;
}
.submental-stat-info span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 3px;
}

/* Benefits 3-Card Grid */
.submental-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 40px;
}
.submental-benefit-card {
  background: var(--bg-glass-heavy);
  border: 1px solid rgba(152, 107, 76, 0.18);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
}
.submental-benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-gold),
    transparent
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}
.submental-benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
}
.submental-benefit-card:hover::before {
  opacity: 1;
}
.submental-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.submental-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(152, 107, 76, 0.14);
  border: 1px solid rgba(152, 107, 76, 0.3);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}
.submental-benefit-card:hover .submental-card-icon {
  background: var(--accent-gold);
  color: #1f1a21;
  transform: scale(1.08) rotate(6deg);
}
.submental-card-head h3 {
  font-family: "Cairo", "Alexandria", sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--white);
  margin: 0;
}
.submental-benefit-card p {
  font-size: 0.96rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin: 0 0 20px 0;
  flex-grow: 1;
}
.submental-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(152, 107, 76, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  width: fit-content;
}

/* Doctor Consultation Highlight CTA Strip */
.submental-cta-box {
  background: linear-gradient(
    135deg,
    rgba(152, 107, 76, 0.14) 0%,
    rgba(31, 26, 33, 0.95) 100%
  );
  border: 1.5px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  backdrop-filter: blur(14px);
  transition: var(--transition-smooth);
}
.submental-cta-box:hover {
  transform: translateY(-2px);
}
.submental-cta-text {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 280px;
}
.submental-cta-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(152, 107, 76, 0.16);
  border: 1.5px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.submental-cta-text h4 {
  font-family: "Cairo", "Alexandria", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 6px 0;
}
.submental-cta-text p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .facial-procedures-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .submental-stat-pills-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
  .submental-benefits-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .facial-procedures-grid {
    grid-template-columns: 1fr;
  }
  .submental-stat-pills-wrap {
    grid-template-columns: 1fr;
  }
  .submental-narrative-box {
    padding: 24px 20px;
  }
  .submental-cta-box {
    padding: 24px 20px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .submental-cta-text {
    flex-direction: column;
    text-align: center;
  }
  .submental-cta-box .btn-cta {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
         SECTION 1: EDITORIAL EXPANDING ACCORDION (No Boxes)
         ========================================================= */
.editorial-procedures-section {
  padding: 90px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-thin);
}

.editorial-head {
  margin-bottom: 50px;
  max-width: 700px;
}
.editorial-head.text-center {
  margin: 0 auto 50px;
  text-align: center;
}

.editorial-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.editorial-head h2 {
  font-family: "Cairo", "Alexandria", sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
  margin: 0;
}
.editorial-head p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-top: 14px;
  line-height: 1.8;
}

/* Horizontal Accordion Wrapper */
.luxe-accordion-wrapper {
  display: flex;
  height: 480px;
  gap: 8px; /* مسافة رفيعة جداً بين الأقسام */
  width: 100%;
}

.luxe-acc-panel {
  flex: 1;
  position: relative;
  background: var(--bg-base);
  border: 1px solid var(--border-thin);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition:
    flex 0.6s cubic-bezier(0.25, 1, 0.5, 1),
    background 0.4s ease;
  display: flex;
  align-items: center;
}

/* عند تمرير الماوس، يتمدد الكارت ويضغط الباقي */
.luxe-accordion-wrapper:hover .luxe-acc-panel {
  flex: 0.8;
  opacity: 0.6;
  filter: grayscale(80%);
}
.luxe-accordion-wrapper .luxe-acc-panel:hover,
.luxe-acc-panel.active {
  flex: 4; /* يتمدد ليأخذ معظم الشاشة */
  opacity: 1;
  filter: grayscale(0%);
    background: var(--accent-glow);
    border-color: var(--accent);
}

/* Header (Visible when collapsed) */
.acc-panel-header {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 10px;
  transition: opacity 0.3s ease;
}

.luxe-acc-panel:hover .acc-panel-header {
  opacity: 0;
  pointer-events: none;
}

.acc-num {
  font-family: Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: auto;
}
.acc-icon {
  width: 40px;
  height: 40px;
  color: var(--primary-teal-glow);
  margin-bottom: 30px;
}
.acc-icon svg {
  width: 100%;
  height: 100%;
}

/* تدوير العنوان ليكون عمودياً */
.acc-title-vertical {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: "Cairo", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: auto 0;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* Content (Revealed when expanded) */
.acc-panel-content {
  padding: 50px;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s ease 0.2s; /* تأخير بسيط حتى يتمدد الكارت أولاً */
  min-width: 400px;
  pointer-events: none;
}

.luxe-acc-panel:hover .acc-panel-content {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.content-title {
  font-size: 2rem;
  font-family: "Cairo", sans-serif;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 20px;
}
.content-title span {
  display: block;
  font-size: 1rem;
  font-family: Arial, sans-serif;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 2px;
  margin-top: 5px;
}

.content-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 35px;
  max-width: 90%;
}

.content-pill {
  display: inline-block;
  padding: 8px 18px;
  background: var(--primary-teal-soft);
  border-left: 2px solid var(--primary-teal-glow);
  color: var(--primary-teal-glow);
  font-size: 0.85rem;
  font-weight: 600;
}

/* =========================================================
         SECTION 2: SUBMENTAL BLUEPRINT HUD (Zero Boxes)
         ========================================================= */
.blueprint-section {
  padding: 90px 0;
  background: var(--bg-base);
  border-top: 1px solid var(--border-thin);
}

.blueprint-hud-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 0;
}

/* Visual SVG Area */
.blueprint-visual {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 350px;
  height: 350px;
  z-index: 1;
  opacity: 0.6;
}
.blueprint-visual svg {
  width: 100%;
  height: 100%;
}

/* أنيميشن الرسم البطيء (الروقان كله هنا) */
.svg-draw-slow {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawBlueprint 4s ease-in-out forwards infinite alternate;
}
.svg-draw-fast {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawBlueprint 2s ease-in-out forwards infinite alternate;
}

@keyframes drawBlueprint {
  to {
    stroke-dashoffset: 0;
  }
}

/* HUD Stats Nodes (Floating Data Points) */
.hud-stats-wrapper {
  position: relative;
  height: 350px;
  z-index: 2;
  pointer-events: none;
}

.hud-stat-node {
  position: absolute;
  display: flex;
  flex-direction: column;
}

/* Positioning the 4 nodes around the center */
.node-tl {
  top: 10%;
  right: 10%;
  align-items: flex-start;
  text-align: right;
}
.node-tr {
  top: 15%;
  left: 10%;
  align-items: flex-end;
  text-align: left;
}
.node-bl {
  bottom: 10%;
  right: 15%;
  align-items: flex-start;
  text-align: right;
}
.node-br {
  bottom: 20%;
  left: 5%;
  align-items: flex-end;
  text-align: left;
}

.hud-value {
  font-family: "Cairo", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}
.hud-label {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

/* HUD Connecting Lines (Thin, techy lines) */
.hud-line {
  position: absolute;
  background: var(--border-thin);
  z-index: 0;
}
.hud-line-1 {
  top: 15%;
  right: 25%;
  width: 100px;
  height: 1px;
}
.hud-line-2 {
  top: 20%;
  left: 25%;
  width: 80px;
  height: 1px;
}
.hud-line-3 {
  bottom: 15%;
  right: 30%;
  width: 60px;
  height: 1px;
}
.hud-line-4 {
  bottom: 25%;
  left: 20%;
  width: 120px;
  height: 1px;
}

/* Clinical Details Text Below */
.blueprint-details {
  position: relative;
  z-index: 3;
  margin-top: -40px; /* Overlaps slightly with visual */
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: end;
}

.clinical-desc-box {
  border-right: 2px solid var(--primary-teal-glow);
  padding-right: 24px;
}

.blueprint-subtitle {
  font-size: 1.3rem;
  font-family: "Cairo", sans-serif;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.clinical-desc-box p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 20px;
}

.blueprint-features {
  display: flex;
  gap: 20px;
}
.blueprint-features span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.blueprint-features .dot {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

/* Minimalist Blueprint CTA */
.btn-blueprint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.btn-blueprint:hover {
  background: var(--accent);
  color: var(--bg-base);
}

/* =========================================================
         RESPONSIVE RULES
         ========================================================= */
@media (max-width: 992px) {
  /* تحويل الأكورديون الأفقي لعمودي في التابلت والموبايل */
  .luxe-accordion-wrapper {
    flex-direction: column;
    height: auto;
  }
  .luxe-acc-panel {
    flex: none !important;
    flex-direction: column;
    align-items: flex-start;
    height: 80px; /* الارتفاع وهو مغلق */
  }
  /* يفتح الكارت فقط عندما يقوم العميل بلمسه */
  .luxe-accordion-wrapper .luxe-acc-panel:hover,
  .luxe-accordion-wrapper .luxe-acc-panel:active,
  .luxe-accordion-wrapper .luxe-acc-panel:focus-within {
    height: 380px !important; /* الارتفاع وهو مفتوح */
  }
  .acc-panel-header {
    flex-direction: row;
    position: relative;
    padding: 20px;
    gap: 15px;
  }
  .acc-title-vertical {
    writing-mode: horizontal-tb; /* إلغاء التدوير */
    transform: none;
    font-size: 1.2rem;
    margin: 0;
  }
  .acc-icon {
    margin: 0;
    width: 30px;
    height: 30px;
  }
  .acc-panel-content {
    padding: 0px 24px 0px;
    min-width: 100%;
    transform: none;
  }
  .content-title {
    font-size: 1.5rem;
  }
  .blueprint-section {
    padding: 0px !important;
  }

  /* Blueprint adjustments */
  .blueprint-details {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
  }
  .clinical-desc-box {
    border-right: none;
    border-top: 2px solid var(--primary-teal-glow);
    padding-right: 0;
    padding-top: 24px;
  }
  .hud-stats-wrapper {
    height: 400px;
  }
  .node-tl {
    right: 5%;
  }
  .node-tr {
    left: 5%;
  }
}
.specialty-floating-wrapper {
  position: absolute;
  bottom: 72%;
  right: -30px;
  z-index: 10;
  opacity: 0; /* تبدأ مخفية لتطبيق تأثير الظهور */

  /* دمج أنيميشن الظهور المتدرج (Fade In) مع أنيميشن الطفو المستمر */
  animation:
    fadeEntrance 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s forwards,
    /* الظهور أولاً */ floatAndFade 4s ease-in-out 1.7s infinite alternate; /* الطفو المستمر بعد الظهور */
}

.specialty-img-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(31, 26, 33, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid rgba(152, 107, 76, 0.5);
  padding: 6px;
  box-shadow:
    0 15px 30px rgba(0, 0, 0, 0.4),
    inset 0 0 15px rgba(152, 107, 76, 0.1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.specialty-img-circle img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}

.specialty-img-circle::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px dashed rgba(164, 133, 116, 0.6);
  animation: spinSlowly 15s linear infinite;
  pointer-events: none;
}

.specialty-img-circle::after {
  content: "";
  position: absolute;
  inset: -22px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='210'%20height='210'%20viewBox='0%200%20210%20210'%20fill='none'%3E%3C%21--%20Geometric%20Polygonal%20Frame%20Decoration%20Wrapping%20Closely%20Around%20.specialty-img-circle%20--%3E%3Cg%20stroke='%23FFDEC0'%20stroke-width='0.85'%20opacity='0.26'%3E%3C%21--%20Polygonal%20Faceted%20Outer%20Ring%20--%3E%3Cpath%20d='M%20195.0,105.0%20L%20182.9,150.0%20L%20150.0,182.9%20L%20105.0,195.0%20L%2060.0,182.9%20L%2027.1,150.0%20L%2015.0,105.0%20L%2027.1,60.0%20L%2060.0,27.1%20L%20105.0,15.0%20L%20150.0,27.1%20L%20182.9,60.0%20Z'%20/%3E%3C%21--%20Fine%20dashed%20geometric%20orbit%20--%3E%3Ccircle%20cx='105'%20cy='105'%20r='84'%20stroke-dasharray='3%204'%20stroke-width='0.6'%20opacity='0.7'%20/%3E%3C%21--%20Radial%20Tick%20Marks%20--%3E%3Cpath%20d='M%20188.0,105.0%20L%20192.0,105.0%20M%20176.9,146.5%20L%20180.3,148.5%20M%20146.5,176.9%20L%20148.5,180.3%20M%20105.0,188.0%20L%20105.0,192.0%20M%2063.5,176.9%20L%2061.5,180.3%20M%2033.1,146.5%20L%2029.7,148.5%20M%2022.0,105.0%20L%2018.0,105.0%20M%2033.1,63.5%20L%2029.7,61.5%20M%2063.5,33.1%20L%2061.5,29.7%20M%20105.0,22.0%20L%20105.0,18.0%20M%20146.5,33.1%20L%20148.5,29.7%20M%20176.9,63.5%20L%20180.3,61.5'%20stroke-width='0.75'%20/%3E%3C%21--%20Corner%20Framing%20Brackets%20--%3E%3Cpath%20d='M%2022,36%20L%2022,22%20L%2036,22%20M%20174,22%20L%20188,22%20L%20188,36%20M%20188,174%20L%20188,188%20L%20174,188%20M%2036,188%20L%2022,188%20L%2022,174'%20stroke-width='1.1'%20opacity='0.85'%20/%3E%3C/g%3E%3C%21--%20Geometric%20Diamond%20Accents%20--%3E%3Cg%20stroke='%23FFDEC0'%20stroke-width='0.7'%20fill='none'%20opacity='0.32'%3E%3Cpath%20d='M%20199.5,105.0%20L%20202.0,102.5%20L%20204.5,105.0%20L%20202.0,107.5%20Z'%20/%3E%3Cpath%20d='M%20171.1,173.6%20L%20173.6,171.1%20L%20176.1,173.6%20L%20173.6,176.1%20Z'%20/%3E%3Cpath%20d='M%20102.5,202.0%20L%20105.0,199.5%20L%20107.5,202.0%20L%20105.0,204.5%20Z'%20/%3E%3Cpath%20d='M%2033.9,173.6%20L%2036.4,171.1%20L%2038.9,173.6%20L%2036.4,176.1%20Z'%20/%3E%3Cpath%20d='M%205.5,105.0%20L%208.0,102.5%20L%2010.5,105.0%20L%208.0,107.5%20Z'%20/%3E%3Cpath%20d='M%2033.9,36.4%20L%2036.4,33.9%20L%2038.9,36.4%20L%2036.4,38.9%20Z'%20/%3E%3Cpath%20d='M%20102.5,8.0%20L%20105.0,5.5%20L%20107.5,8.0%20L%20105.0,10.5%20Z'%20/%3E%3Cpath%20d='M%20171.1,36.4%20L%20173.6,33.9%20L%20176.1,36.4%20L%20173.6,38.9%20Z'%20/%3E%3C/g%3E%3C%21--%20Cardinal%20Node%20Dots%20--%3E%3Cg%20fill='%23FFDEC0'%20opacity='0.38'%3E%3Ccircle%20cx='105'%20cy='15'%20r='1.6'%20/%3E%3Ccircle%20cx='195'%20cy='105'%20r='1.6'%20/%3E%3Ccircle%20cx='105'%20cy='195'%20r='1.6'%20/%3E%3Ccircle%20cx='15'%20cy='105'%20r='1.6'%20/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 2;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.specialty-img-circle:hover::after {
  transform: scale(1.05) rotate(15deg);
  opacity: 0.9;
}

/* تأثير عند مرور الماوس (Hover) */
.specialty-img-circle:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.6),
    0 0 25px rgba(152, 107, 76, 0.4);
  border-color: var(--accent);
}

.specialty-img-circle:hover img {
  transform: scale(1.08);
  filter: brightness(1.1); /* إضاءة خفيفة للصورة عند الماوس */
}

/* 1. أنيميشن الدخول (Fade In & Slide Up) */
@keyframes fadeEntrance {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0px) scale(1);
  }
}

/* 2. أنيميشن الطفو مع التلاشي الخفيف المستمر (Float & Fade Breathing) */
@keyframes floatAndFade {
  0% {
    transform: translateY(0px);
    opacity: 0.85; /* شفافة قليلاً في الأسفل */
  }
  100% {
    transform: translateY(-20px);
    opacity: 1; /* واضحة تماماً في الأعلى */
  }
}

@keyframes spinSlowly {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* --- إعدادات الموبايل --- */
@media (max-width: 768px) {
  .specialty-floating-wrapper {
    bottom: -72px;
    right: auto;
    left: 0px;
  }
  .specialty-img-circle {
    width: 150px;
    height: 150px;
  }
  .specialty-img-circle::before {
    inset: -5px;
  }
}
