/* ==========================================================================
   MAZUZ BUILDINGS | מזוז בילדינג - הנדסה ובנייה | וילות וממ״דים
   Design System & Modern Stylesheet
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #090d16;
  --bg-card: #0f172a;
  --bg-card-hover: #17233f;
  --bg-glass: rgba(15, 23, 42, 0.75);
  --bg-glass-light: rgba(255, 255, 255, 0.05);
  --bg-surface: #1e293b;
  
  --gold-primary: #d4af37;
  --gold-light: #f3e7c4;
  --gold-dark: #aa771c;
  --gold-gradient: linear-gradient(135deg, #f3e7c4 0%, #d4af37 40%, #aa771c 100%);
  --gold-glow: rgba(212, 175, 55, 0.25);
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dark: #0f172a;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.35);
  --border-gold-bright: rgba(212, 175, 55, 0.7);

  --accent-green: #10b981;
  --accent-blue: #38bdf8;

  /* Typography */
  --font-main: 'Assistant', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacings & Layout */
  --container-max: 1280px;
  --header-height: 84px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 10px 30px -5px rgba(212, 175, 55, 0.3);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #151e33 0%, #090d16 60%);
  background-attachment: fixed;
}

/* Off-screen Content Rendering Optimization for Instant First Paint */
.gallery-section,
.mamad-focus-section,
.calc-section,
.seo-knowledge-section,
.reviews-section,
.contact-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

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

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

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

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

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

.text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  color: var(--gold-light);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-tag svg {
  color: var(--gold-primary);
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #090d16;
  box-shadow: var(--shadow-gold);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px -5px rgba(212, 175, 55, 0.45);
  color: #000000;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  transition: all var(--transition-smooth);
  background: rgba(9, 13, 22, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header.scrolled {
  height: 72px;
  background: rgba(9, 13, 22, 0.92);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.logo-symbol {
  width: 44px;
  height: 44px;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #ffffff;
  line-height: 1.15;
}

.brand-title span {
  color: var(--gold-primary);
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding-block: 0.5rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-gradient);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: #ffffff;
}

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

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

.header-phone-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  transition: all var(--transition-fast);
}

.header-phone-link:hover {
  background: rgba(212, 175, 55, 0.18);
  color: #ffffff;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  color: var(--text-primary);
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 4rem;
  overflow: hidden;
}

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

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.42) saturate(1.1);
  transform: scale(1.02);
  transition: transform 10s ease-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(9, 13, 22, 0.75) 0%, 
    rgba(9, 13, 22, 0.6) 50%, 
    rgba(9, 13, 22, 0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--gold-light);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 720px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.hero-keypoints {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
}

.keypoint-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.keypoint-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  color: var(--gold-light);
}

.keypoint-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

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

/* ==========================================================================
   Stats Bar
   ========================================================================== */
.stats-section {
  position: relative;
  z-index: 3;
  margin-top: -3rem;
  margin-bottom: 5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.stat-card {
  text-align: center;
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  left: -0.75rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-subtle);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.stat-sub {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* ==========================================================================
   About / Why Choose Us
   ========================================================================== */
.about-section {
  padding-block: 6rem;
  position: relative;
}

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

.about-image-wrapper {
  position: relative;
}

.about-main-img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-floating-card {
  position: absolute;
  bottom: -2rem;
  right: -1.5rem;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  max-width: 280px;
}

.about-floating-card .gold-star {
  color: var(--gold-primary);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.about-floating-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.about-floating-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.about-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.about-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

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

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

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

.pillar-icon {
  color: var(--gold-primary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.pillar-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.pillar-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
  padding-block: 6rem;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.6) 50%, transparent 100%);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

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

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  margin-bottom: 1.75rem;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
}

.service-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.925rem;
  color: var(--text-muted);
}

.service-features-list li svg {
  color: var(--gold-primary);
  flex-shrink: 0;
}

.service-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--gold-light);
  font-size: 0.95rem;
  transition: gap var(--transition-fast);
}

.service-cta-link:hover {
  gap: 0.8rem;
  color: #ffffff;
}

/* ==========================================================================
   Mamad & Permitting Fast-Track Section
   ========================================================================== */
.mamad-section {
  padding-block: 6rem;
  position: relative;
}

.mamad-banner-box {
  background: linear-gradient(135deg, #111c33 0%, #0f172a 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
  margin-bottom: 4rem;
}

.mamad-banner-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.mamad-banner-content h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.mamad-banner-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.mamad-features-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.mamad-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.mamad-banner-media {
  position: relative;
}

.mamad-banner-img {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* Step-by-Step Roadmap */
.roadmap-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.roadmap-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  position: relative;
  transition: all var(--transition-fast);
}

.roadmap-step-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--gold-gradient);
  color: #090d16;
  font-weight: 900;
  font-size: 1.1rem;
  border-radius: 50%;
  margin-bottom: 1.25rem;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

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

/* ==========================================================================
   Project Wizard / Property Questionnaire
   ========================================================================== */
.questionnaire-section {
  padding-block: 6rem;
  background: radial-gradient(circle at 50% 50%, rgba(30, 41, 59, 0.75) 0%, rgba(9, 13, 22, 0.95) 100%);
}

.wizard-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

/* Stepper Header */
.wizard-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  position: relative;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  opacity: 0.55;
}

.step-item.active {
  opacity: 1;
}

.step-item.completed {
  opacity: 0.9;
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.step-item.active .step-num {
  background: var(--gold-gradient);
  border-color: transparent;
  color: #090d16;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.4);
}

.step-item.completed .step-num {
  background: rgba(46, 204, 113, 0.2);
  border-color: #2ecc71;
  color: #2ecc71;
}

.step-info {
  display: flex;
  flex-direction: column;
}

.step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.step-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.step-divider {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  margin-inline: 1rem;
  transition: background var(--transition-fast);
}

.step-item.completed + .step-divider {
  background: rgba(212, 175, 55, 0.4);
}

/* Wizard Panes */
.wizard-step-pane {
  display: none;
  animation: paneFadeIn 0.35s ease forwards;
}

.wizard-step-pane.active {
  display: block;
}

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

.wizard-pane-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.wizard-pane-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Step 1: Type Selection Cards */
.wizard-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.wizard-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
}

.wizard-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-3px);
}

.wizard-card.active {
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.12) 0%, rgba(26, 36, 56, 0.6) 100%);
  border-color: var(--gold-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 12px rgba(212, 175, 55, 0.15);
}

.wizard-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
}

.wizard-card-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.wizard-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.wizard-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.wizard-card-select-hint {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-light);
  display: inline-block;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.wizard-card.active .wizard-card-select-hint {
  opacity: 1;
}

/* Step 2 & 3: Form Grids & Inputs */
.wizard-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

.form-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast);
  font-family: inherit;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--gold-primary);
  background: rgba(255, 255, 255, 0.08);
}

.wizard-simple-step2 {
  max-width: 750px;
  margin-inline: auto;
  margin-bottom: 2rem;
}

/* File Upload Drop Zone */
.file-drop-zone {
  border: 2px dashed rgba(212, 175, 55, 0.4);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.file-drop-zone:hover, .file-drop-zone.dragover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.file-input-hidden {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.drop-zone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  pointer-events: none;
}

.upload-icon {
  margin-bottom: 0.25rem;
}

.upload-primary-text {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.upload-primary-text strong {
  color: var(--gold-light);
  text-decoration: underline;
}

.upload-sub-text {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* File Preview Badge */
.file-selected-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.25rem;
}

.file-preview-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.file-preview-icon {
  font-size: 1.5rem;
}

.file-preview-details {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.file-preview-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.file-preview-size {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.btn-remove-file {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ff6b6b;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: bold;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 2;
}

.btn-remove-file:hover {
  background: #ff6b6b;
  color: #ffffff;
  border-color: #ff6b6b;
}

/* Step 3: Question Groups & Choice Chips */
.wiz-question-block {
  margin-bottom: 1.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.wiz-question-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wiz-question-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.wiz-chips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.wiz-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wiz-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.wiz-chip.active {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  font-weight: 700;
}

.wiz-chip-check {
  font-size: 0.85rem;
  opacity: 0;
  color: var(--gold-light);
  font-weight: bold;
}

.wiz-chip.active .wiz-chip-check {
  opacity: 1;
}

/* Step 4: Summary & Contact */
.wizard-summary-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.wizard-summary-card {
  background: linear-gradient(145deg, rgba(26, 36, 56, 0.8) 0%, rgba(13, 20, 36, 0.9) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.summary-badge {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
}

.summary-details-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.9rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

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

.summary-value {
  color: #ffffff;
  font-weight: 600;
  text-align: left;
}

.wizard-contact-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.wizard-contact-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.wizard-feedback-msg {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.4;
  margin-top: 0.5rem;
}

/* Wizard Navigation Actions */
.wizard-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

html[dir="ltr"] #wizPrevBtn svg,
html[dir="ltr"] #wizNextBtn svg {
  transform: scaleX(-1);
}

/* Success Card */
.wizard-success-card {
  text-align: center;
  padding: 3rem 1.5rem;
  animation: paneFadeIn 0.4s ease forwards;
}

.wizard-success-card .success-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.15);
  border: 2px solid #2ecc71;
  color: #2ecc71;
  font-size: 2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.wizard-success-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.wizard-success-card p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .wizard-box {
    padding: 2rem 1.25rem;
  }
  .wizard-stepper {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .step-divider {
    display: none;
  }
  .wizard-form-grid, .wizard-summary-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Portfolio / Gallery Section
   ========================================================================== */
.gallery-section {
  padding-block: 6rem;
}

.gallery-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.filter-btn.active {
  background: var(--gold-gradient);
  color: #090d16;
  font-weight: 700;
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

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

.project-img-box {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.project-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-img-box img {
  transform: scale(1.06);
}

.project-category-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.85rem;
  background: rgba(9, 13, 22, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-light);
}

.project-body {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--gold-light);
  margin-bottom: 0.85rem;
}

.project-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.project-meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   SEO Knowledge Base / Blog Section
   ========================================================================== */
.blog-section {
  padding-block: 6rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, transparent 100%);
}

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

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

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

.article-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.article-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.article-card:hover .article-img-wrap img {
  transform: scale(1.05);
}

.article-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}

.article-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 0.85rem;
}

.article-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.article-read-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: none;
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0;
  transition: gap var(--transition-fast);
}

.article-read-btn:hover {
  gap: 0.7rem;
  color: #ffffff;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section {
  padding-block: 6rem;
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-stars {
  color: var(--gold-primary);
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.testimonial-quote {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--gold-light);
}

.author-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.author-info p {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Contact / Quote Request Section
   ========================================================================== */
.contact-section {
  padding-block: 6rem;
  position: relative;
}

.contact-wrapper {
  background: linear-gradient(135deg, #111a2e 0%, #0c1322 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 4rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info-side h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
}

.contact-info-side p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.contact-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
}

.contact-detail-text h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-detail-text a, .contact-detail-text p {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

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

.form-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #ffffff;
  outline: none;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.form-group select option {
  background: var(--bg-card);
  color: #ffffff;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #060911;
  border-top: 1px solid var(--border-subtle);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 340px;
}

.footer-col h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  right: 0;
  width: 30px;
  height: 2px;
  background: var(--gold-primary);
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Native Modal Dialogs (<dialog closedby="any">)
   ========================================================================== */
dialog {
  margin: auto;
  padding: 0;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  color: var(--text-primary);
  max-width: 860px;
  width: calc(100% - 2rem);
  max-height: 90vh;
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  text-align: right;
  direction: rtl;
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), overlay 0.3s allow-discrete, display 0.3s allow-discrete;
}

dialog[open] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@starting-style {
  dialog[open] {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
}

dialog::backdrop {
  background-color: rgba(6, 9, 17, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), overlay 0.3s allow-discrete, display 0.3s allow-discrete;
}

dialog[open]::backdrop {
  opacity: 1;
}

@starting-style {
  dialog[open]::backdrop {
    opacity: 0;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.95);
  position: sticky;
  top: 0;
  z-index: 10;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.modal-body {
  padding: 2rem;
  text-align: right;
  direction: rtl;
}

/* Modal Article Content Styling */
.article-full-content {
  line-height: 1.85;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.article-full-content h2, .article-full-content h3 {
  font-family: var(--font-heading);
  color: #ffffff;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-full-content h2 {
  font-size: 1.6rem;
  border-right: 4px solid var(--gold-primary);
  padding-right: 0.8rem;
}

.article-full-content h3 {
  font-size: 1.25rem;
}

.article-full-content p {
  margin-bottom: 1.25rem;
}

.article-full-content ul, .article-full-content ol {
  margin-bottom: 1.5rem;
  padding-right: 1.5rem;
}

.article-full-content li {
  margin-bottom: 0.5rem;
}

.article-box-callout {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-block: 1.75rem;
}

.article-box-callout h4 {
  color: var(--gold-light);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   Floating Quick Action Contact Buttons
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-whatsapp {
  background: #25d366;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.floating-phone {
  background: var(--gold-gradient);
  color: #090d16;
  box-shadow: var(--shadow-gold);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-card:nth-child(2)::after {
    display: none;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-image-wrapper {
    max-width: 560px;
    margin: 0 auto;
  }
  .calc-box {
    grid-template-columns: 1fr;
    padding: 2.5rem;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
    padding: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(9, 13, 22, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-gold);
    flex-direction: column;
    padding: 2rem;
    gap: 1.25rem;
  }

  .nav-menu.open {
    display: flex;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .header-actions .header-phone-link {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .stat-card::after {
    display: none !important;
  }

  .mamad-banner-grid {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .floating-actions {
    bottom: 1.25rem;
    left: 1.25rem;
  }
}

/* ==========================================================================
   Article & Project Modal Rich Content Styling
   ========================================================================== */
.modal-article-content {
  text-align: right;
  direction: rtl;
  color: var(--text-primary);
}

.modal-article-badge-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.85rem;
}

.modal-article-tag {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.modal-article-time,
.modal-article-author {
  color: var(--text-muted);
}

.modal-article-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #e2e8f0;
}

.modal-article-text h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-top: 1.5rem;
  margin-bottom: 0.85rem;
}

.modal-article-text h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}

.modal-article-text p {
  margin-bottom: 1.1rem;
  color: #cbd5e1;
}

.modal-article-text ol,
.modal-article-text ul {
  padding-right: 1.5rem;
  margin-bottom: 1.5rem;
}

.modal-article-text li {
  margin-bottom: 0.65rem;
  color: #e2e8f0;
}

.modal-article-text strong {
  color: #ffffff;
}

.article-highlight-box {
  background: rgba(212, 175, 55, 0.08);
  border-right: 4px solid var(--gold-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem;
  margin: 1.5rem 0;
}

.article-highlight-box strong {
  color: var(--gold-light);
  display: block;
  margin-bottom: 0.5rem;
}

.article-highlight-box p {
  margin-bottom: 0;
}

.article-author-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 2rem;
}

.article-author-card .author-avatar {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
  color: #0f172a;
  font-weight: 900;
  font-size: 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.article-author-card .author-text h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.article-author-card .author-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

/* ==========================================================================
   Multilingual Language Switcher (Desktop & Mobile)
   ========================================================================== */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 105;
}

.lang-btn-current {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.45rem 0.85rem;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
}

.lang-btn-current:hover,
.lang-btn-current.active {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--border-gold);
  color: var(--gold-light);
}

.lang-btn-current .lang-flag {
  font-size: 1.1rem;
  line-height: 1;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 160px;
  background: rgba(13, 20, 35, 0.98);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  padding: 0.4rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 110;
  animation: fadeInDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[dir="rtl"] .lang-dropdown {
  left: auto;
  right: 0;
}

.lang-dropdown.show {
  display: flex;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.85rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  text-align: start;
  transition: all var(--transition-fast);
}

.lang-option:hover {
  background: rgba(212, 175, 55, 0.12);
  color: #ffffff;
}

.lang-option.active {
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-light);
  font-weight: 700;
}

.lang-option .lang-badge {
  margin-inline-start: auto;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  color: var(--text-muted);
}

.lang-option.active .lang-badge {
  background: var(--gold-primary);
  color: #000000;
  font-weight: 800;
}

.mobile-only-lang {
  display: none;
}

@media (max-width: 991px) {
  .mobile-only-lang {
    display: block;
    width: 100%;
  }
}

/* Mobile Language Bar (Inside Mobile Overlay) */
.mobile-lang-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-top: 1rem;
  width: 100%;
}

.mobile-lang-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.5rem 0.3rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-lang-btn.active {
  background: var(--gold-primary);
  color: #000000;
  font-weight: 800;
  border-color: var(--gold-light);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* ==========================================================================
   LTR (Left-to-Right) International Layout Overrides
   ========================================================================== */
[dir="ltr"] body {
  direction: ltr;
  text-align: left;
}

[dir="ltr"] .modal-body,
[dir="ltr"] .modal-article-content {
  direction: ltr;
  text-align: left;
}

[dir="ltr"] .nav-link::after {
  right: auto;
  left: 0;
}

[dir="ltr"] .about-floating-card {
  right: auto;
  left: -20px;
}

[dir="ltr"] .modal-article-text ol,
[dir="ltr"] .modal-article-text ul {
  padding-right: 0;
  padding-left: 1.5rem;
}

[dir="ltr"] .article-highlight-box {
  border-right: none;
  border-left: 4px solid var(--gold-primary);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

[dir="ltr"] .floating-actions {
  left: auto;
  right: 2rem;
}

[dir="ltr"] .calc-disclaimer-box,
[dir="ltr"] .contact-info-side,
[dir="ltr"] .contact-detail-item {
  text-align: left;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


