/* ========================================
   SAUD AL-MOUSA LAW FIRM
   Premium Design System
   ======================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400;1,700&family=Tajawal:wght@300;400;500;700;800;900&display=swap');

/* --- CSS Variables --- */
:root {
  --color-bg-primary: #070b14;
  --color-bg-secondary: #0d1321;
  --color-bg-tertiary: #131a2b;
  --color-bg-card: rgba(255, 255, 255, 0.03);
  --color-bg-card-hover: rgba(255, 255, 255, 0.06);
  --color-gold: #c8a855;
  --color-gold-light: #d4b96d;
  --color-gold-dark: #a88b3a;
  --color-gold-glow: rgba(200, 168, 85, 0.15);
  --color-gold-border: rgba(200, 168, 85, 0.2);
  --color-text-primary: #ffffff;
  --color-text-secondary: #b0b8c8;
  --color-text-muted: #6b7a90;
  --color-border: rgba(255, 255, 255, 0.06);
  --color-overlay: rgba(7, 11, 20, 0.85);
  --font-heading: 'Amiri', serif;
  --font-body: 'Tajawal', sans-serif;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-gold: 0 4px 20px rgba(200, 168, 85, 0.2);
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --container-width: 1200px;
  --nav-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-primary);
  color: var(--color-text-secondary);
  line-height: 1.8;
  overflow-x: hidden;
  direction: rtl;
}

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

ul { list-style: none; }

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Preloader --- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--color-bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-gold);
  animation: pulse-glow 1.5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; text-shadow: 0 0 20px rgba(200, 168, 85, 0.3); }
  50% { opacity: 1; text-shadow: 0 0 40px rgba(200, 168, 85, 0.6); }
}

/* --- Section Shared --- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 16px;
  position: relative;
  padding: 0 20px;
}

.section-label::before,
.section-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: var(--color-gold);
}

.section-label::before { right: 100%; }
.section-label::after { left: 100%; }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.3;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Gold decorative line */
.gold-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  margin: 0 auto 20px;
  border-radius: 2px;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-base);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(7, 11, 20, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.nav-logo-icon {
  width: 44px;
  height: 44px;
  color: var(--color-gold);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-text .firm-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.2;
}

.nav-logo-text .firm-desc {
  font-size: 0.7rem;
  color: var(--color-gold);
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width 0.3s ease;
}

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

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

.nav-cta {
  padding: 10px 28px;
  background: transparent;
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-base);
}

.nav-cta:hover {
  background: var(--color-gold);
  color: var(--color-bg-primary);
  box-shadow: var(--shadow-gold);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 11, 20, 0.7) 0%,
    rgba(7, 11, 20, 0.5) 40%,
    rgba(7, 11, 20, 0.8) 100%
  );
  z-index: 1;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(200, 168, 85, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(200, 168, 85, 0.03) 0%, transparent 50%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  background: rgba(200, 168, 85, 0.1);
  border: 1px solid var(--color-gold-border);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--color-gold);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}

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

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

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero-title .gold-text {
  color: var(--color-gold);
  display: block;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--color-gold-light);
  font-style: italic;
  margin-bottom: 24px;
  opacity: 0.9;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 650px;
  margin: 0 auto 40px;
  line-height: 1.9;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-base);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-bg-primary);
  box-shadow: 0 4px 20px rgba(200, 168, 85, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 168, 85, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-text-primary);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(200, 168, 85, 0.05);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.hero-stat .stat-number span {
  font-size: 1.5rem;
}

.hero-stat .stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce-down 2s ease-in-out infinite;
}

.scroll-indicator .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator .mouse::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 2px;
  animation: scroll-wheel 2s ease-in-out infinite;
}

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

@keyframes bounce-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
  background: var(--color-bg-secondary);
}

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

.about-content .about-text {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 2;
  margin-bottom: 32px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  transition: var(--transition-base);
}

.highlight-item:hover {
  border-color: var(--color-gold-border);
  background: var(--color-bg-card-hover);
}

.highlight-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 168, 85, 0.1);
  border-radius: 8px;
  color: var(--color-gold);
  flex-shrink: 0;
}

.highlight-text {
  font-size: 0.9rem;
  color: var(--color-text-primary);
  font-weight: 500;
}

/* About Visual Side */
.about-visual {
  position: relative;
}

.about-image-container {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--color-bg-tertiary), var(--color-bg-primary));
  border: 1px solid var(--color-border);
}

.about-image-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(200, 168, 85, 0.08) 0%,
    transparent 50%,
    rgba(200, 168, 85, 0.04) 100%
  );
  z-index: 1;
}

.about-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-decorative {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 2px solid var(--color-gold-border);
  border-radius: var(--border-radius-lg);
  z-index: -1;
}

.about-badge {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background: rgba(7, 11, 20, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--border-radius-md);
  padding: 20px 28px;
  text-align: center;
  z-index: 2;
}

.about-badge .badge-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}

.about-badge .badge-text {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  margin-top: 4px;
}

/* ========================================
   PRACTICE AREAS / SERVICES
   ======================================== */
.services {
  background: var(--color-bg-primary);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold-border), transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  padding: 36px 28px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  cursor: default;
}

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

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

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

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(200, 168, 85, 0.15), rgba(200, 168, 85, 0.05));
  border: 1px solid var(--color-gold-border);
  border-radius: var(--border-radius-sm);
  margin-bottom: 20px;
  color: var(--color-gold);
  transition: var(--transition-base);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-bg-primary);
  box-shadow: var(--shadow-gold);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ========================================
   TEAM SECTION
   ======================================== */
.team {
  background: var(--color-bg-secondary);
}

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

.team-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: var(--transition-base);
  position: relative;
}

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

.team-card-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-bg-tertiary), var(--color-bg-primary));
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.team-card:hover .team-card-image img {
  transform: scale(1.05);
}

.team-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(transparent, rgba(7, 11, 20, 0.8));
}

.team-card-body {
  padding: 24px;
  text-align: center;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.85rem;
  color: var(--color-gold);
  margin-bottom: 12px;
  font-weight: 500;
}

.team-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
  background: var(--color-bg-primary);
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold-border), transparent);
}

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

.testimonial-card {
  padding: 36px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  position: relative;
  transition: var(--transition-base);
}

.testimonial-card:hover {
  border-color: var(--color-gold-border);
  background: var(--color-bg-card-hover);
}

.testimonial-quote-icon {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-gold);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: -20px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.9;
  margin-bottom: 24px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bg-primary);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.testimonial-author-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.testimonial-author-role {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Star Rating */
.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.stars svg {
  width: 16px;
  height: 16px;
  fill: var(--color-gold);
}

/* ========================================
   BRANCHES / NETWORK
   ======================================== */
.branches {
  background: var(--color-bg-secondary);
}

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

.branch-card {
  text-align: center;
  padding: 40px 20px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.branch-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

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

.branch-card.strategic {
  border-color: var(--color-gold-border);
  background: rgba(200, 168, 85, 0.05);
}

.branch-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--color-gold);
}

.branch-city {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.branch-country {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.branch-type {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 14px;
  font-size: 0.7rem;
  border: 1px solid var(--color-gold-border);
  border-radius: 50px;
  color: var(--color-gold);
  font-weight: 500;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, var(--color-bg-tertiary), var(--color-bg-primary));
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(200, 168, 85, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(200, 168, 85, 0.05) 0%, transparent 50%);
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold-border), transparent);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-bg-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-base);
  border: none;
  box-shadow: 0 4px 20px rgba(200, 168, 85, 0.3);
}

.btn-cta-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(200, 168, 85, 0.45);
}

.btn-cta-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: rgba(37, 211, 102, 0.1);
  border: 1.5px solid rgba(37, 211, 102, 0.3);
  color: #25d366;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-base);
}

.btn-cta-whatsapp:hover {
  background: #25d366;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
}

.footer-main {
  padding: 80px 0 40px;
}

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

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-brand .footer-logo-icon {
  width: 36px;
  height: 36px;
  color: var(--color-gold);
}

.footer-brand .footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.footer-brand .footer-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text-muted);
  transition: var(--transition-base);
}

.footer-social a:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-bg-primary);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: var(--transition-base);
}

.footer-col ul li a:hover {
  color: var(--color-gold);
  padding-right: 8px;
}

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

.footer-contact-icon {
  width: 20px;
  height: 20px;
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-bottom-links a:hover {
  color: var(--color-gold);
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }

/* ========================================
   FLOATING ELEMENTS
   ======================================== */
.floating-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-gold);
  border-radius: 50%;
  opacity: 0;
  animation: float-particle 8s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 30%; top: 60%; animation-delay: 1.5s; }
.particle:nth-child(3) { left: 60%; top: 30%; animation-delay: 3s; }
.particle:nth-child(4) { left: 80%; top: 70%; animation-delay: 4.5s; }
.particle:nth-child(5) { left: 50%; top: 80%; animation-delay: 6s; }

@keyframes float-particle {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0); }
  25% { opacity: 0.3; transform: translateY(-20px) scale(1); }
  50% { opacity: 0.1; transform: translateY(-40px) scale(0.5); }
  75% { opacity: 0.2; transform: translateY(-60px) scale(0.8); }
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  border: none;
  border-radius: 50%;
  color: var(--color-bg-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-base);
  box-shadow: 0 4px 20px rgba(200, 168, 85, 0.3);
}

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

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(200, 168, 85, 0.5);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
  .navbar { padding: 0 24px; }
  .nav-menu { gap: 24px; }
  .about-grid { gap: 40px; }
  .branches-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 70px; }

  .navbar { height: auto; min-height: var(--nav-height); padding-top: 12px; padding-bottom: 12px; padding-left: 16px; padding-right: 16px; }
  .nav-logo img { height: 44px !important; }
  /* On mobile: show only the logo image, hide the text to prevent overlap */
  .nav-logo-text { display: none; }

  .hero { padding-top: 80px; }
  .hero-badge { margin-bottom: 16px; padding: 6px 16px; font-size: 0.8rem; }
  .hero-title { margin-bottom: 12px; }

  .menu-toggle { display: flex; margin-inline-start: 15px; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    flex-direction: column;
    background: rgba(13, 19, 33, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 100px 40px 40px;
    gap: 24px;
    align-items: flex-start;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--color-border);
  }

  .nav-menu.open { right: 0; }

  .mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }

  .mobile-overlay.active { display: block; }

  .section { padding: 70px 0; }

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

  .about-visual { order: -1; }
  
  .about-badge {
    left: auto;
    right: 20px;
    bottom: 20px;
  }

  .about-decorative { display: none; }

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

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

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

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

  /* 2×2 grid for stats on mobile — much cleaner than stacking */
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 32px;
    padding-top: 28px;
  }

  .hero-stats .hero-stat {
    text-align: center;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.6rem; }
  .hero-tagline { font-size: 1rem; margin-bottom: 16px; }
  .hero-desc { font-size: 0.95rem; margin-bottom: 24px; }
  .hero-buttons { flex-direction: column; gap: 12px; }
  .btn { width: 100%; justify-content: center; }
  .cta-buttons { flex-direction: column; }
  .branches-grid { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr; }
}

/* ========================================
   VISION SECTION
   ======================================== */
.vision {
  background: var(--color-bg-primary);
  position: relative;
}

.vision::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold-border), transparent);
}

.vision-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.vision-text {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  line-height: 2;
  margin-bottom: 48px;
  font-family: var(--font-heading);
}

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

.vision-value {
  padding: 32px 24px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  transition: var(--transition-base);
}

.vision-value:hover {
  border-color: var(--color-gold-border);
  background: var(--color-bg-card-hover);
}

.vision-value-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 168, 85, 0.1);
  border-radius: 50%;
  color: var(--color-gold);
}

.vision-value-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.vision-value-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .vision-values {
    grid-template-columns: 1fr;
  }
}

/* --- Language Switcher & LTR Support --- */
.lang-switcher { margin-inline-start: auto; display: flex; align-items: center; }
.lang-btn { background: rgba(200, 168, 85, 0.1); border: 1px solid var(--color-gold); color: var(--color-gold); border-radius: 6px; padding: 8px 16px; display: flex; align-items: center; gap: 8px; cursor: pointer; font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; transition: var(--transition-base); }
.lang-btn:hover { background: var(--color-gold); color: var(--color-bg-primary); }

html[dir="ltr"] body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
html[dir="ltr"] .nav-menu { padding-left: 0; }
html[dir="ltr"] .section-label::before { right: auto; left: 100%; }
html[dir="ltr"] .section-label::after { left: auto; right: 100%; }
html[dir="ltr"] .section-header.align-start { text-align: left !important; }
html[dir="ltr"] .gold-line.line-start { margin-left: 0; margin-right: auto; }
html[dir="ltr"] .about-badge.badge-dir { left: auto; right: -30px; }

@media (max-width: 768px) {
  html[dir="ltr"] .nav-menu { right: auto; left: -100%; border-left: none; border-right: 1px solid var(--color-border); align-items: flex-start; }
  html[dir="ltr"] .nav-menu.open { left: 0; }
  html[dir="ltr"] .about-badge.badge-dir { left: auto; right: 20px; }
}

/* ========================================
   APPOINTMENT / CONTACT FORM SECTION
   ======================================== */
.appointment-section {
  background: var(--color-bg-secondary);
  position: relative;
  overflow: hidden;
}

.appointment-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold-border), transparent);
}

.appointment-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold-border), transparent);
}

.appointment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.appointment-desc {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 2;
  margin-bottom: 32px;
}

.appointment-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.appt-highlight-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  transition: var(--transition-base);
}

.appt-highlight-item:hover {
  border-color: var(--color-gold-border);
  background: var(--color-bg-card-hover);
}

.appt-highlight-item span {
  font-size: 0.92rem;
  color: var(--color-text-primary);
  font-weight: 500;
}

/* --- Form Card --- */
.appointment-form-wrapper {
  position: sticky;
  top: 100px;
}

.appointment-form-card {
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--border-radius-lg);
  padding: 40px 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(200,168,85,0.05);
  position: relative;
  overflow: hidden;
}

.appointment-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-light));
}

.form-card-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 4px;
}

.form-card-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 32px;
}

/* --- Form Inputs (floating label style) --- */
.appt-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.4s ease;
}

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

.form-group {
  position: relative;
}

.form-input {
  width: 100%;
  padding: 18px 16px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--border-radius-sm);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-base);
  direction: rtl;
}

.form-input:focus {
  border-color: var(--color-gold);
  background: rgba(200,168,85,0.04);
  box-shadow: 0 0 0 3px rgba(200,168,85,0.08);
}

.form-label {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  pointer-events: none;
  transition: var(--transition-base);
  font-family: var(--font-body);
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: 5px;
  font-size: 0.72rem;
  color: var(--color-gold);
}

html[dir="ltr"] .form-input { direction: ltr; }
html[dir="ltr"] .form-label { right: auto; left: 16px; }

.form-textarea {
  resize: vertical;
  min-height: 130px;
  padding-top: 20px;
  line-height: 1.7;
}

/* --- Submit Button --- */
.btn-form-submit {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-bg-primary);
  border: none;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-base);
  box-shadow: 0 4px 20px rgba(200,168,85,0.3);
  margin-top: 6px;
}

.btn-form-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200,168,85,0.45);
}

.btn-form-submit:active {
  transform: translateY(0);
}

/* --- Success Message --- */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 20px;
  text-align: center;
  color: var(--color-gold);
  animation: fadeInUp 0.6s ease forwards;
}

.form-success svg {
  color: var(--color-gold);
  animation: pop-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.form-success p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.9;
}

@keyframes pop-in {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* --- Responsive for appointment section --- */
@media (max-width: 1024px) {
  .appointment-grid { gap: 40px; }
}

@media (max-width: 768px) {
  .appointment-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .appointment-form-wrapper { position: static; }
  .appointment-form-card { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
}

/* --- Nav logo centering fix --- */
.nav-logo {
  align-items: center;
}
.nav-logo-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
