/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1a3a6b;
  --primary-light: #2856a3;
  --primary-dark: #0f2244;
  --gold: #c9a227;
  --gold-light: #f0c040;
  --teal: #0f7a6a;
  --purple: #6b3fa0;
  --red: #c0392b;
  --green: #1a7a4a;
  --text: #1a1a2e;
  --text-muted: #5a6480;
  --bg: #f8f9fc;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(26,58,107,.10);
  --shadow-lg: 0 8px 48px rgba(26,58,107,.18);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', sans-serif;
  color: var(--text);
  background: var(--white);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.7;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Cairo', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(26,58,107,.30);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-lg { padding: 15px 36px; font-size: 16px; }
.btn-full { width: 100%; }

/* ===== SECTION ===== */
.section { padding: 96px 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  background: rgba(26,58,107,.08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
  letter-spacing: .03em;
}

.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--text);
}

.section-desc {
  color: var(--text-muted);
  font-size: 16px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 10px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  padding: 6px 0;
}

.navbar.scrolled .nav-links a { color: var(--text); }
.navbar.scrolled .nav-links a:hover { color: var(--primary); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon {
  font-size: 32px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.2));
}

.logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.4));
  transition: var(--transition);
}

.navbar.scrolled .logo-img {
  height: 64px;
  filter: none;
}

.footer-logo-img {
  height: 120px;
}


.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-main {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
}

.logo-sub {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,.8);
}

.navbar.scrolled .logo-main { color: var(--primary); }
.navbar.scrolled .logo-sub { color: var(--text-muted); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
}

.nav-links a {
  color: rgba(255,255,255,.9);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,.15);
}

.nav-cta { flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-right: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .hamburger span { background: var(--text); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1e4d8a 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(201,162,39,.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(255,255,255,.05) 0%, transparent 50%);
}

.hero::after {
  content: '⚖';
  position: absolute;
  left: -60px;
  bottom: -40px;
  font-size: 400px;
  opacity: .03;
  pointer-events: none;
  line-height: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* خلفية اللوجو الضخمة */
.hero-logo-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero-logo-bg img {
  width: 900px;
  height: 900px;
  object-fit: contain;
  opacity: 0.06;
  filter: blur(2px) saturate(0);
  animation: bgLogoRotate 30s linear infinite;
}

@keyframes bgLogoRotate {
  from { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.08); }
  to   { transform: rotate(360deg) scale(1); }
}

/* Layout الهيرو */
.hero-layout {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 140px 24px 80px;
  min-height: 100vh;
}

/* اللوجو المجسم */
.hero-logo-3d-wrap {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 800px;
}

.hero-logo-glow {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,.35) 0%, rgba(201,162,39,.1) 50%, transparent 70%);
  animation: glowPulse 3s ease-in-out infinite;
  z-index: 0;
}

@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.15); opacity: .6; }
}

.hero-logo-3d {
  position: relative;
  z-index: 1;
  width: 340px;
  height: 340px;
  object-fit: contain;
  animation: float3d 4s ease-in-out infinite;
  filter:
    drop-shadow(0 0 30px rgba(201,162,39,.6))
    drop-shadow(0 20px 60px rgba(0,0,0,.5))
    drop-shadow(0 -4px 20px rgba(201,162,39,.2));
  transform-origin: center center;
}

@keyframes float3d {
  0%   { transform: translateY(0px) rotateY(0deg) rotateX(0deg); }
  25%  { transform: translateY(-18px) rotateY(6deg) rotateX(3deg); }
  50%  { transform: translateY(-10px) rotateY(0deg) rotateX(-2deg); }
  75%  { transform: translateY(-20px) rotateY(-6deg) rotateX(3deg); }
  100% { transform: translateY(0px) rotateY(0deg) rotateX(0deg); }
}

.hero-logo-shadow {
  width: 240px;
  height: 24px;
  background: radial-gradient(ellipse, rgba(201,162,39,.4) 0%, transparent 70%);
  border-radius: 50%;
  margin-top: -20px;
  animation: shadowPulse 4s ease-in-out infinite;
  filter: blur(6px);
}

@keyframes shadowPulse {
  0%, 100% { transform: scaleX(1); opacity: .8; }
  25%       { transform: scaleX(.7); opacity: .4; }
  50%       { transform: scaleX(.85); opacity: .6; }
  75%       { transform: scaleX(.65); opacity: .35; }
}

/* محتوى الهيرو */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: right;
  max-width: 560px;
}

.hero-badge {
  display: inline-block;
  background: rgba(201,162,39,.2);
  border: 1px solid rgba(201,162,39,.4);
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
  letter-spacing: .03em;
}

.hero-title {
  font-size: clamp(32px, 6vw, 60px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 24px;
}

.accent {
  color: var(--gold-light);
  position: relative;
}

.hero-desc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.hero-desc-tags span {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(201,162,39,.35);
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  white-space: nowrap;
  transition: var(--transition);
}

.hero-desc-tags span:hover {
  background: rgba(201,162,39,.2);
  border-color: var(--gold-light);
}

.hero-desc {
  font-size: clamp(14px, 1.8vw, 16px);
  color: rgba(255,255,255,.75);
  margin-bottom: 32px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 20px 32px;
  margin-top: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.2);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 12px;
  position: relative;
}

.hero-scroll span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,.6);
  border-radius: 2px;
  animation: scrollBounce 1.8s ease-in-out infinite;
}

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

/* ===== SPECIALIZATIONS ===== */
.specializations { background: var(--white); }

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

.spec-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.spec-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transform: scaleX(0);
  transform-origin: right;
  transition: var(--transition);
}

.spec-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  background: var(--white);
}

.spec-card:hover::after { transform: scaleX(1); }

.spec-card--featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, #fffdf4, #fff);
  grid-column: span 2;
}

.spec-card--featured::after { transform: scaleX(1); }

.spec-icon-wrap {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.spec-icon-wrap svg { width: 64px; height: 64px; }

.spec-badge-label {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.spec-content h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.spec-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.spec-list li {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.spec-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .spec-card--featured { grid-column: span 2; }
}

@media (max-width: 600px) {
  .spec-grid { grid-template-columns: 1fr; }
  .spec-card--featured { grid-column: span 1; }
}

/* ===== SERVICES ===== */
.services { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: right;
  transition: var(--transition);
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow);
}

.service-card.featured::before {
  transform: scaleX(1);
}

.featured-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon-wrap svg { width: 40px; height: 40px; }

.service-icon-wrap.gold { color: var(--gold); }
.service-icon-wrap.primary { color: var(--primary); }
.service-icon-wrap.teal { color: var(--teal); }
.service-icon-wrap.purple { color: var(--purple); }
.service-icon-wrap.red { color: var(--red); }
.service-icon-wrap.green { color: var(--green); }

.service-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
}

.service-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.8;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.service-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.service-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link:hover { color: var(--primary-light); letter-spacing: .02em; }

/* ===== ABOUT ===== */
.about { background: var(--white); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual { position: relative; }

.about-img-wrap {
  position: relative;
  padding: 24px;
}

.about-logo-blob-wrap {
  width: 420px;
  height: 420px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  overflow: hidden;
  animation: morphBlob 8s ease-in-out infinite, floatAbout 4s ease-in-out infinite;
  box-shadow:
    0 30px 80px rgba(26,58,107,.5),
    0 0 70px rgba(201,162,39,.3),
    inset 0 0 60px rgba(201,162,39,.12);
  position: relative;
  background: linear-gradient(145deg, #0a1830 0%, #1a3a6b 50%, #1e4d8a 100%);
}

.about-logo-blob {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@keyframes morphBlob {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25%  { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
  50%  { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
  75%  { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

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

.about-emblem {
  font-size: 80px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.3));
}

.about-emblem-text {
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  text-align: center;
}

.about-badge-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.about-badge-1 { top: 0; left: -20px; }
.about-badge-2 { bottom: 20px; right: -20px; }

.badge-num {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.badge-txt {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.about-content .section-tag { margin-bottom: 16px; }
.about-content .section-title { text-align: right; }

.about-intro {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: rgba(26,58,107,.04);
  border-right: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.about-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.about-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: var(--transition);
}

.about-spec-item:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(201,162,39,.12);
  transform: translateY(-2px);
}

.about-spec-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-spec-item strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 3px;
}

.about-spec-item p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.about-taglines {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.tagline-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(26,58,107,.05), rgba(201,162,39,.06));
  border: 1px solid rgba(201,162,39,.2);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  transition: var(--transition);
}

.tagline-item:hover {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(26,58,107,.08), rgba(201,162,39,.1));
  transform: translateX(-4px);
}

.tagline-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.tagline-item strong {
  color: var(--primary);
}

.about-text {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 16px;
  line-height: 1.9;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 28px 0 36px;
}

.highlight {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.highlight-icon {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.highlight strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--text);
}

.highlight p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* ===== WHY US ===== */
.why-us { background: var(--bg); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.feature-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.feature-icon {
  font-size: 44px;
  margin-bottom: 16px;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.1));
}

.feature-item h4 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 15px;
  color: var(--text);
}

.testimonial-author span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '⚖';
  position: absolute;
  right: -40px;
  top: -40px;
  font-size: 250px;
  opacity: .05;
  pointer-events: none;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-text h2 {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.cta-text p {
  color: rgba(255,255,255,.8);
  font-size: 16px;
}

/* ===== CONTACT ===== */
.contact { background: var(--bg); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr auto 1.4fr;
  gap: 40px;
  align-items: start;
}

.contact-info .section-title { text-align: right; font-size: 28px; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 22px;
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow);
}

.contact-item strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--text);
}

.contact-item p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* ===== QR CODE ===== */
.qr-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.qr-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 300px;
}

.qr-header {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.qr-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.qr-header h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 3px;
}

.qr-header p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.qr-canvas-wrap {
  background: var(--white);
  border: 3px solid var(--primary);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 4px 20px rgba(26,58,107,.15);
}

.qr-canvas-wrap canvas {
  display: block;
  border-radius: 8px;
}

.qr-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.qr-info span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.qr-download-btn {
  font-size: 13px;
  padding: 10px 20px;
}

/* ===== FORM ===== */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 28px;
  color: var(--text);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
  outline: none;
  direction: rtl;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,58,107,.08);
}

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

.form-success {
  display: none;
  background: rgba(26,122,74,.1);
  color: var(--green);
  border: 1px solid rgba(26,122,74,.3);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.form-success.show { display: block; }

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 72px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer .logo-main { color: var(--white); }
.footer .logo-sub { color: rgba(255,255,255,.6); }
.footer .logo-icon { font-size: 28px; }

.footer-desc {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255,255,255,.6);
  line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--white);
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 36px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  transition: var(--transition);
}

.footer-links a:hover { color: var(--gold-light); padding-right: 6px; }

.footer-contact p {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 40px 0 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: rgba(0,0,0,.15);
}

.footer-bottom::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('logo.png') center/cover no-repeat;
  opacity: 0.06;
  pointer-events: none;
}

.footer-bottom-logo {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.footer-bottom-logo img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 4px 20px rgba(201,162,39,.4));
  animation: floatAbout 4s ease-in-out infinite;
}

.footer-bottom p {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

/* ===== TEAM ===== */
.team { background: var(--white); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26,58,107,.2);
}

.team-card-top {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #1e4d8a 100%);
  padding: 40px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.team-card-top::before {
  content: '⚖';
  position: absolute;
  right: -20px;
  top: -10px;
  font-size: 120px;
  opacity: .05;
  pointer-events: none;
}

.team-avatar {
  position: relative;
  width: 100px;
  height: 100px;
}

.team-avatar span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--primary-dark);
  font-size: 42px;
  font-weight: 900;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}

.team-avatar.female span {
  background: linear-gradient(135deg, #c9a227 0%, #f8d87a 100%);
}

.team-avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(201,162,39,.5);
  animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.1); opacity: .4; }
}

.team-badge-wrap { display: flex; justify-content: center; }

.team-badge {
  display: inline-block;
  background: rgba(201,162,39,.18);
  border: 1px solid rgba(201,162,39,.5);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: .02em;
  text-align: center;
}

.team-card-body {
  padding: 28px 28px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.team-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
  text-align: center;
}

.team-title {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
  text-align: center;
}

.team-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 18px 0;
}

.team-bio {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 18px;
  flex: 1;
}

.team-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team-specs span {
  background: rgba(26,58,107,.06);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid rgba(26,58,107,.1);
  white-space: nowrap;
}

.team-card-footer {
  padding: 20px 28px 28px;
  display: flex;
  gap: 12px;
}

.team-contact-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}

.team-contact-btn.wa {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 12px rgba(37,211,102,.3);
  border: none;
}

.team-contact-btn.wa:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,.4);
}

.team-contact-btn.call {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--border);
}

.team-contact-btn.call:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

@media (max-width: 720px) {
  .team-grid { grid-template-columns: 1fr; max-width: 480px; }
}

/* ===== ANIMATIONS ===== */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

.service-card:nth-child(2)[data-aos] { transition-delay: .1s; }
.service-card:nth-child(3)[data-aos] { transition-delay: .2s; }
.service-card:nth-child(4)[data-aos] { transition-delay: .1s; }
.service-card:nth-child(5)[data-aos] { transition-delay: .2s; }
.service-card:nth-child(6)[data-aos] { transition-delay: .3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-visual { max-width: 420px; margin: 0 auto; }
  .about-logo-blob-wrap { width: 100%; height: 340px; }
  .contact-inner { grid-template-columns: 1fr; }
  .qr-wrap { justify-content: flex-start; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; right: 0; left: 0;
    background: var(--white);
    padding: 20px 24px 28px;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    gap: 4px;
  }

  .nav-links.open a { color: var(--text); padding: 12px 16px; }

  .hero-layout { flex-direction: column; padding: 120px 24px 60px; text-align: center; }
  .hero-content { text-align: center; max-width: 100%; }
  .hero-logo-3d { width: 220px; height: 220px; }
  .hero-logo-shadow { width: 160px; }
  .hero-actions { justify-content: center; }
  .hero-stats { flex-direction: column; gap: 16px; padding: 20px 28px; }
  .stat-divider { width: 60px; height: 1px; }

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

  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 24px; }

  .cta-inner { flex-direction: column; text-align: center; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }

  .about-badge-1 { left: 0; }
  .about-badge-2 { right: 0; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-lg { padding: 13px 28px; font-size: 15px; }
}

/* ===== EXIT INTENT MODAL ===== */
.exit-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
}

.exit-modal.show {
  opacity: 1;
  visibility: visible;
}

.exit-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(5px);
}

.exit-modal-box {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 24px;
  padding: 44px 36px 36px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
  border-top: 4px solid var(--gold);
  animation: modalSlideIn .45s cubic-bezier(.34,1.56,.64,1) forwards;
}

@keyframes modalSlideIn {
  from { transform: translateY(-28px) scale(.94); opacity: 0; }
  to   { transform: translateY(0) scale(1);       opacity: 1; }
}

.exit-modal-close {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--bg);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 15px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.exit-modal-close:hover { background: var(--border); color: var(--text); transform: rotate(90deg); }

.exit-modal-logo img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin: 0 auto 16px;
  filter: drop-shadow(0 4px 16px rgba(201,162,39,.35));
}

.exit-modal-badge {
  display: inline-block;
  background: rgba(201,162,39,.1);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 50px;
  border: 1px solid rgba(201,162,39,.35);
  margin-bottom: 18px;
  letter-spacing: .02em;
}

.exit-modal-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.35;
}

.exit-modal-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 24px;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.exit-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.exit-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  font-family: 'Cairo', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
}

.exit-wa-btn:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,.45);
}

.exit-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 50px;
  border: 2px solid var(--border);
  transition: var(--transition);
}

.exit-call-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.exit-modal-hours {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--primary-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.preloader-logo {
  width: 130px;
  height: 130px;
  object-fit: contain;
  animation: preloaderPulse 1.6s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(201,162,39,.5));
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.1); opacity: .8; }
}

.preloader-tagline {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  letter-spacing: .04em;
  text-align: center;
  max-width: 220px;
  line-height: 1.6;
}

.preloader-bar-wrap {
  width: 160px;
  height: 3px;
  background: rgba(255,255,255,.12);
  border-radius: 3px;
  overflow: hidden;
}

.preloader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 3px;
  animation: preloaderSlide 1.1s ease-in-out infinite;
}

@keyframes preloaderSlide {
  0%   { transform: translateX(-100%); width: 50%; }
  100% { transform: translateX(300%);  width: 50%; }
}

/* ===== PROGRESS BAR ===== */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--gold), var(--gold-light));
  z-index: 101;
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}

/* ===== NAV OVERLAY ===== */
#navOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 98;
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .3s ease;
}

#navOverlay.show {
  display: block;
  opacity: 1;
}

/* ===== WAVE DIVIDERS ===== */
.wave-divider {
  display: block;
  line-height: 0;
  overflow: hidden;
  margin: -2px 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 70px;
}

/* ===== TYPING ANIMATION ===== */
.hero-typed-wrap {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.typed-label { font-weight: 600; }

.typed-text {
  color: var(--gold-light);
  font-weight: 800;
  min-width: 10px;
}

.typed-cursor {
  color: var(--gold-light);
  font-weight: 300;
  font-size: 20px;
  line-height: 1;
  animation: cursorBlink .8s step-end infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ===== FAQ ===== */
.faq-section { background: var(--bg); }

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}

.faq-item.open {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(26,58,107,.1);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Cairo', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  text-align: right;
  gap: 16px;
  transition: color .3s;
}

.faq-question:hover { color: var(--primary); }
.faq-item.open .faq-question { color: var(--primary); }

.faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(26,58,107,.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 300;
  flex-shrink: 0;
  transition: var(--transition);
  line-height: 1;
}

.faq-item.open .faq-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.9;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
  margin: 0;
}

.faq-item.open .faq-answer { max-height: 200px; }

/* ===== WHATSAPP CHAT BUBBLE ===== */
.wa-chat-bubble {
  position: fixed;
  bottom: 100px;
  left: 28px;
  width: 300px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 16px 56px rgba(0,0,0,.2);
  z-index: 97;
  overflow: hidden;
  transform: translateY(20px) scale(.95);
  opacity: 0;
  visibility: hidden;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .3s, visibility .3s;
}

.wa-chat-bubble.show {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}

.wa-chat-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(201,162,39,.4);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-chat-avatar img { width: 38px; height: 38px; object-fit: contain; }

.wa-chat-info { flex: 1; }

.wa-chat-info strong {
  display: block;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 3px;
}

.wa-chat-online {
  color: rgba(255,255,255,.75);
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.wa-online-dot {
  width: 7px;
  height: 7px;
  background: #25d366;
  border-radius: 50%;
  animation: onlinePulse 2s ease-in-out infinite;
  display: inline-block;
}

@keyframes onlinePulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .5; }
}

.wa-chat-close {
  background: rgba(255,255,255,.15);
  border: none;
  color: rgba(255,255,255,.8);
  cursor: pointer;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: var(--transition);
  flex-shrink: 0;
}

.wa-chat-close:hover { background: rgba(255,255,255,.3); color: var(--white); }

.wa-chat-body {
  padding: 14px 14px 10px;
  background: #e5ddd5;
  min-height: 90px;
}

.wa-chat-msg {
  background: var(--white);
  border-radius: 2px 12px 12px 12px;
  padding: 10px 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
  max-width: 88%;
  position: relative;
}

.wa-chat-msg p {
  font-size: 14px;
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

.wa-chat-msg p + p { margin-top: 4px; }

.wa-chat-time {
  font-size: 11px;
  color: #aaa;
  text-align: left;
  margin-top: 6px;
}

.wa-chat-reply-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 20px;
  transition: background .3s;
  border: none;
  width: 100%;
  cursor: pointer;
  text-decoration: none;
}

.wa-chat-reply-btn:hover { background: #1da851; }

/* ===== CONTACT PHONE LINKS ===== */
.contact-phone-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.contact-phone-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.contact-phone-link:hover { color: var(--primary-light); text-decoration: underline; }

.contact-wa-link {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #25d366;
  padding: 4px 12px;
  border-radius: 50px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.contact-wa-link:hover { background: #1da851; transform: translateY(-1px); }

.footer-tel {
  color: rgba(255,255,255,.75);
  transition: var(--transition);
}

.footer-tel:hover { color: var(--gold-light); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  z-index: 99;
  transition: transform .3s, box-shadow .3s;
  animation: waPulse 2.5s ease-in-out infinite;
}

.whatsapp-float svg { width: 30px; height: 30px; }

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,.7);
  animation: none;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.5); }
  50%       { box-shadow: 0 4px 32px rgba(37,211,102,.8), 0 0 0 8px rgba(37,211,102,.15); }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(26,58,107,.35);
  z-index: 99;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover { background: var(--primary-light); transform: translateY(-3px); }
.back-to-top svg { width: 20px; height: 20px; }
