/* =============================================
   Al Hamd Legal & Administrative Consultancy
   Main Stylesheet
   ============================================= */

/* ---- CSS Variables ---- */
:root {
  --gold: #efcf7f;
  --gold-dark: #d4a84b;
  --gold-light: #f7e4b0;
  --navy: #170b72;
  --navy-dark: #0d0749;
  --navy-mid: #1e1188;
  --navy-light: #241b8f;
  --white: #ffffff;
  --off-white: #f8f6f0;
  --cream: #faf7f2;
  --text-dark: #1a1a2e;
  --text-mid: #4a4a6a;
  --text-light: #8080a0;
  --border: rgba(239, 207, 127, 0.2);
  --shadow-sm: 0 2px 20px rgba(23, 11, 114, 0.08);
  --shadow-md: 0 8px 40px rgba(23, 11, 114, 0.12);
  --shadow-lg: 0 20px 60px rgba(23, 11, 114, 0.18);
  --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Cairo', 'Jost', sans-serif;
  --radius: 4px;
  --radius-lg: 12px;
}

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

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

html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  top: -120px;
  left: 1rem;
  z-index: 4000;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

html[dir="rtl"] .skip-link {
  left: auto;
  right: 1rem;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(239, 207, 127, 0.8);
  outline-offset: 2px;
}

ul {
  list-style: none;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 500; }

p {
  color: var(--text-mid);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.85;
}

/* ---- Utilities ---- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 100px 0;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--gold-dark);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  margin-bottom: 1.5rem;
  color: var(--navy);
}

.section-title span {
  color: var(--gold-dark);
}

.section-subtitle {
  max-width: 580px;
  margin-bottom: 3rem;
  color: var(--text-mid);
}

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

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.gold-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  margin-bottom: 2rem;
}

.gold-line.center {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
}

.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(239, 207, 127, 0.4);
  color: var(--navy-dark);
}

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

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

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(23,11,114,0.3);
}

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.8rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(23, 11, 114, 0.97);
  backdrop-filter: blur(20px);
  padding: 1rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
}

.navbar.light-nav {
  background: transparent;
}

.navbar.light-nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.navbar.light-nav.scrolled .nav-link,
.navbar.light-nav.scrolled .logo-text,
.navbar.light-nav.scrolled .logo-sub {
  color: var(--navy);
}

.navbar.light-nav.scrolled .lang-btn {
  color: var(--navy);
  border-color: var(--navy);
}

.navbar.light-nav.scrolled .hamburger span {
  background: var(--navy);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  background: white;
  border-radius: 15px;
  width: min-content;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy-dark);
  flex-shrink: 0;
}

.logo-image {
  width: 142px;
  height: 102px;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}

.logo-sub {
  font-size: 0.6rem;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--gold-light);
  opacity: 0.85;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(255,255,255,0.85);
  padding: 0.25rem 0;
  position: relative;
}

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

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

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

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

.lang-btn {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  letter-spacing: 0.05em;
  cursor: pointer;
  background: transparent;
  transition: var(--transition);
}

.lang-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.lang-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  border-color: rgba(255,255,255,0.2);
}

.navbar.light-nav.scrolled .lang-btn:disabled {
  border-color: rgba(23,11,114,0.25);
  color: var(--navy);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

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

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  background: var(--navy-dark);
  position: relative;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

.hero .container {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.hero-layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 2.5rem;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 80% at 70% 50%, rgba(239,207,127,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 20% 80%, rgba(23,11,114,0.8) 0%, transparent 70%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(239,207,127,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239,207,127,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 10rem 0 6rem;
  width: min(100%, 760px);
  margin-inline-end: auto;
  text-align: right;
}

.hero-visual {
  position: relative;
  z-index: 2;
  height: clamp(360px, 48vw, 520px);
  border-radius: calc(var(--radius-lg) + 6px);
  overflow: hidden;
  border: 1px solid rgba(239, 207, 127, 0.22);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, rgba(23, 11, 114, 0.45), rgba(13, 7, 73, 0.8));
}

.hero-visual .cover-image {
  position: absolute;
  inset: 0;
  opacity: 0.85;
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 7, 73, 0.86), rgba(13, 7, 73, 0.2) 55%, transparent);
}

.hero-visual-badge {
  position: absolute;
  right: 1.1rem;
  top: 1.1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(23, 11, 114, 0.92);
  color: var(--gold-light);
  border: 1px solid rgba(239, 207, 127, 0.4);
  border-radius: 100px;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.hero-visual-meta {
  position: absolute;
  bottom: 1.2rem;
  right: 1.2rem;
  left: 1.2rem;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-visual-meta span {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  padding: 0.35rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 500;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(239,207,127,0.12);
  border: 1px solid rgba(239,207,127,0.25);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  animation: fadeUp 0.8s ease both;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.hero-headline {
  color: var(--white);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s 0.15s ease both;
}

.hero-headline .headline-line {
  display: block;
  overflow: hidden;
}

.hero-headline .accent {
  color: var(--gold);
  font-style: italic;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 620px;
  margin-bottom: 3rem;
  animation: fadeUp 0.8s 0.3s ease both;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 5rem;
  justify-content: flex-start;
  animation: fadeUp 0.8s 0.45s ease both;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: flex-start;
  animation: fadeUp 0.8s 0.6s ease both;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.15);
  align-self: stretch;
}

.stat-number {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1.3;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.01em;
  text-transform: none;
  font-weight: 400;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
  animation: fadeUp 1s 1s ease both;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s infinite;
}

/* ---- About Preview ---- */
.about-preview {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.about-preview::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,207,127,0.08) 0%, transparent 70%);
  pointer-events: none;
}

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

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

.about-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-img-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(239,207,127,0.15), transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(239,207,127,0.08), transparent 50%);
  z-index: 1;
}

.about-img-main .img-icon {
  font-size: 5rem;
  opacity: 0.3;
  position: relative;
  z-index: 1;
}

.about-img-main .cover-image {
  position: absolute;
  inset: 0;
}

.about-badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about-badge-float .badge-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.about-badge-float .badge-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.highlight-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.highlight-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(239,207,127,0.15), rgba(239,207,127,0.05));
  border: 1px solid rgba(239,207,127,0.25);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: var(--transition);
}

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

.highlight-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.highlight-desc {
  font-size: 0.875rem;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.6;
}

/* ---- Services ---- */
.services {
  background: var(--white);
}

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

.services-home-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-feature-media {
  height: clamp(220px, 36vw, 300px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(23, 11, 114, 0.1);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.services-feature-media .cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(23,11,114,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card-media {
  padding: 0;
}

.service-media {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--off-white);
}

.service-media .cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card-media:hover .service-media .cover-image {
  transform: scale(1.04);
}

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

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(239,207,127,0.2);
}

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

.service-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: rgba(23,11,114,0.08);
  line-height: 1;
  margin-bottom: 1rem;
}

.service-card-media .service-num,
.service-card-media .service-title,
.service-card-media .service-desc,
.service-card-media .service-link {
  margin-inline: 1.5rem;
}

.service-card-media .service-num {
  margin-top: 1.25rem;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

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

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.5rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.service-link:hover {
  color: var(--gold-dark);
}

/* ---- Attorney ---- */
.attorney {
  background: var(--navy-dark);
  overflow: hidden;
  position: relative;
}

.attorney::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(239,207,127,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.attorney-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.attorney-image-wrap {
  position: relative;
}

.attorney-img {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--navy-light) 0%, var(--navy) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(239,207,127,0.15);
  position: relative;
  overflow: hidden;
}

.attorney-img .cover-image {
  position: absolute;
  inset: 0;
}

.attorney-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(23,11,114,0.6), transparent);
}

.attorney-img .img-placeholder {
  font-size: 6rem;
  opacity: 0.25;
  color: var(--gold);
}

.attorney-frame {
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(239,207,127,0.15);
  border-radius: calc(var(--radius-lg) + 12px);
  pointer-events: none;
}

.attorney-tag {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(239,207,127,0.95);
  color: var(--navy-dark);
  padding: 0.5rem 1.5rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 1;
}

.attorney-name {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.attorney-role {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

.attorney-bio {
  color: rgba(255,255,255,0.65);
  margin-bottom: 2rem;
  max-width: 480px;
  font-weight: 300;
  line-height: 1.9;
}

.attorney-stats {
  display: flex;
  gap: 2.5rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}

.att-stat-num {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold);
  display: block;
  line-height: 1.3;
}

.att-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.01em;
  text-transform: none;
}

/* ---- Process ---- */
.process {
  background: var(--cream);
  position: relative;
}

.process-visual,
.trust-visual {
  height: clamp(220px, 35vw, 300px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(23, 11, 114, 0.1);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.process-visual .cover-image,
.trust-visual .cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 56px;
  left: calc(16.666% + 1rem);
  right: calc(16.666% + 1rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}

.process-card {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(23,11,114,0.06);
  transition: var(--transition);
  position: relative;
}

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

.process-num {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  position: relative;
  z-index: 1;
}

.process-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.process-desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.8;
}

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

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

.testimonial-card {
  background: var(--cream);
  border: 1px solid rgba(23,11,114,0.06);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold-light);
  line-height: 1;
  opacity: 0.5;
}

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

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
  color: var(--gold-dark);
  font-size: 0.9rem;
}

.test-text {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(23,11,114,0.08);
}

.test-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  flex-shrink: 0;
}

.test-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.test-role {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(239,207,127,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239,207,127,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

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

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--white);
  font-weight: 600;
}

.cta-title span {
  color: var(--gold);
  display: block;
}

/* ---- Footer ---- */
.footer {
  background: var(--text-dark);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .logo-text,
.footer-brand .logo-sub {
  color: var(--white);
}

.footer-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.78);
  margin: 1.5rem 0 2rem;
  line-height: 1.8;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  position: relative;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.82);
  transition: var(--transition);
}

.social-link[aria-label="واتساب"] {
  font-size: 0;
}

.social-link[aria-label="إنستغرام"] {
  font-size: 0;
}

.social-link[aria-label="إنستغرام"]::before {
  content: '';
  width: 16px;
  height: 16px;
  display: block;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7.75 2h8.5A5.76 5.76 0 0 1 22 7.75v8.5A5.76 5.76 0 0 1 16.25 22h-8.5A5.76 5.76 0 0 1 2 16.25v-8.5A5.76 5.76 0 0 1 7.75 2Zm0 1.8A3.95 3.95 0 0 0 3.8 7.75v8.5A3.95 3.95 0 0 0 7.75 20.2h8.5a3.95 3.95 0 0 0 3.95-3.95v-8.5a3.95 3.95 0 0 0-3.95-3.95h-8.5Zm9.2 1.4a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5ZM12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10Zm0 1.8A3.2 3.2 0 1 0 12 15.2 3.2 3.2 0 0 0 12 8.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7.75 2h8.5A5.76 5.76 0 0 1 22 7.75v8.5A5.76 5.76 0 0 1 16.25 22h-8.5A5.76 5.76 0 0 1 2 16.25v-8.5A5.76 5.76 0 0 1 7.75 2Zm0 1.8A3.95 3.95 0 0 0 3.8 7.75v8.5A3.95 3.95 0 0 0 7.75 20.2h8.5a3.95 3.95 0 0 0 3.95-3.95v-8.5a3.95 3.95 0 0 0-3.95-3.95h-8.5Zm9.2 1.4a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5ZM12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10Zm0 1.8A3.2 3.2 0 1 0 12 15.2 3.2 3.2 0 0 0 12 8.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.social-link[aria-label="واتساب"]::before {
  content: '';
  width: 16px;
  height: 16px;
  display: block;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M13.601 2.326A7.85 7.85 0 0 0 8.018 0C3.66 0 .125 3.534.125 7.88c0 1.39.363 2.747 1.053 3.965L0 16l4.279-1.122a7.9 7.9 0 0 0 3.74.95h.003c4.357 0 7.892-3.534 7.892-7.88a7.86 7.86 0 0 0-2.313-5.622zM8.02 14.54a6.6 6.6 0 0 1-3.36-.92l-.24-.144-2.54.666.678-2.476-.156-.254a6.56 6.56 0 0 1-1.01-3.505c0-3.634 2.957-6.591 6.596-6.591a6.56 6.56 0 0 1 4.668 1.933 6.56 6.56 0 0 1 1.93 4.67c-.001 3.633-2.958 6.59-6.588 6.59zm3.615-4.954c-.197-.099-1.17-.578-1.352-.643-.182-.066-.314-.099-.446.1-.132.197-.512.643-.627.775-.116.132-.231.148-.428.05-.197-.1-.83-.306-1.58-.975-.584-.521-.978-1.164-1.093-1.362-.116-.197-.012-.304.087-.402.09-.089.197-.231.296-.347.099-.116.132-.198.198-.33.066-.132.033-.248-.017-.347-.05-.099-.446-1.074-.611-1.47-.161-.386-.325-.333-.446-.339l-.38-.007a.727.727 0 0 0-.529.248c-.182.198-.694.677-.694 1.651 0 .975.71 1.916.809 2.048.099.132 1.398 2.133 3.39 2.99.474.205.844.327 1.132.418.476.151.909.13 1.251.079.382-.057 1.17-.479 1.336-.941.165-.462.165-.859.116-.94-.05-.083-.182-.132-.38-.231z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M13.601 2.326A7.85 7.85 0 0 0 8.018 0C3.66 0 .125 3.534.125 7.88c0 1.39.363 2.747 1.053 3.965L0 16l4.279-1.122a7.9 7.9 0 0 0 3.74.95h.003c4.357 0 7.892-3.534 7.892-7.88a7.86 7.86 0 0 0-2.313-5.622zM8.02 14.54a6.6 6.6 0 0 1-3.36-.92l-.24-.144-2.54.666.678-2.476-.156-.254a6.56 6.56 0 0 1-1.01-3.505c0-3.634 2.957-6.591 6.596-6.591a6.56 6.56 0 0 1 4.668 1.933 6.56 6.56 0 0 1 1.93 4.67c-.001 3.633-2.958 6.59-6.588 6.59zm3.615-4.954c-.197-.099-1.17-.578-1.352-.643-.182-.066-.314-.099-.446.1-.132.197-.512.643-.627.775-.116.132-.231.148-.428.05-.197-.1-.83-.306-1.58-.975-.584-.521-.978-1.164-1.093-1.362-.116-.197-.012-.304.087-.402.09-.089.197-.231.296-.347.099-.116.132-.198.198-.33.066-.132.033-.248-.017-.347-.05-.099-.446-1.074-.611-1.47-.161-.386-.325-.333-.446-.339l-.38-.007a.727.727 0 0 0-.529.248c-.182.198-.694.677-.694 1.651 0 .975.71 1.916.809 2.048.099.132 1.398 2.133 3.39 2.99.474.205.844.327 1.132.418.476.151.909.13 1.251.079.382-.057 1.17-.479 1.336-.941.165-.462.165-.859.116-.94-.05-.083-.182-.132-.38-.231z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-2px);
}

.footer-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.84);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

html[dir="rtl"] .footer-links a:hover {
  padding-left: 0;
  padding-right: 4px;
}

.footer-contact li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.86);
}

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

.footer-contact a {
  direction: ltr;
  unicode-bidi: plaintext;
  text-align: left;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--white);
  outline: none;
  transition: var(--transition);
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.72);
}

.newsletter-form input:focus {
  border-color: var(--gold);
  background: rgba(239,207,127,0.05);
}

.newsletter-form button {
  background: var(--gold);
  border: none;
  border-radius: var(--radius);
  padding: 0.7rem 1.1rem;
  color: var(--navy-dark);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--gold-dark);
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.72);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.72);
  transition: var(--transition);
}

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

/* ---- Page Heroes ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 10rem 0 5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(239,207,127,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239,207,127,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero-title {
  color: var(--white);
  position: relative;
  z-index: 1;
}

.page-hero-title span {
  color: var(--gold);
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-top: 1rem;
  position: relative;
  z-index: 1;
  letter-spacing: 0.08em;
}

.breadcrumb a {
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb span {
  color: var(--gold);
}

/* ---- About Page ---- */
.history-section {
  background: var(--white);
}

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

.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2rem 0;
  position: relative;
  padding-left: 2rem;
}

html[dir="rtl"] .timeline {
  padding-left: 0;
  padding-right: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

html[dir="rtl"] .timeline::before {
  left: auto;
  right: 0;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.45rem;
  top: 0.45rem;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
}

html[dir="rtl"] .timeline-item::before {
  left: auto;
  right: -2.45rem;
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-dark);
}

.timeline-text {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.7;
}

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

.vm-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid rgba(23,11,114,0.06);
  transition: var(--transition);
}

.vm-card:hover {
  box-shadow: var(--shadow-md);
}

.vm-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.vm-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.vm-text {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.8;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(23,11,114,0.08);
  transition: var(--transition);
  text-align: center;
}

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

.why-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(239,207,127,0.15), rgba(239,207,127,0.05));
  border: 1px solid rgba(239,207,127,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: var(--gold);
  border-color: var(--gold);
}

.why-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.why-text {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.7;
}

/* ---- Services Page ---- */
.services-intro {
  background: var(--white);
}

.services-intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}

.services-intro-image {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(23, 11, 114, 0.1);
  box-shadow: var(--shadow-sm);
}

.services-intro-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.services-intro-point {
  background: var(--cream);
  border: 1px solid rgba(23, 11, 114, 0.08);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
}

.services-detail {
  background: var(--cream);
}

.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card-detail {
  min-height: 100%;
}

.service-card-detail .service-desc {
  margin-bottom: 0.75rem;
}

.service-meta {
  font-size: 0.78rem;
  color: var(--text-light);
  margin: 0 1.5rem 1.5rem;
}

.services-page-cta {
  margin-top: 2rem;
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.service-sub-overview-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.service-sub-image {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(23, 11, 114, 0.1);
  box-shadow: var(--shadow-sm);
}

.service-sub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.service-sub-tag {
  background: rgba(23, 11, 114, 0.07);
  border: 1px solid rgba(23, 11, 114, 0.12);
  color: var(--navy);
  border-radius: 100px;
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 500;
}

.service-sub-scope {
  background: var(--cream);
}

.service-sub-scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.service-sub-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.service-sub-list li {
  background: var(--white);
  border: 1px solid rgba(23, 11, 114, 0.08);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.service-sub-docs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-sub-doc {
  background: var(--white);
  border: 1px solid rgba(23, 11, 114, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  min-height: 100%;
  transition: var(--transition);
}

.service-sub-doc:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.service-sub-doc-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(239, 207, 127, 0.25);
  border: 1px solid rgba(239, 207, 127, 0.45);
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.service-sub-doc p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.75;
}

.service-faq {
  background: var(--white);
}

.service-faq-list {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.service-faq-item {
  background: var(--cream);
  border: 1px solid rgba(23, 11, 114, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.service-faq-item[open] {
  box-shadow: var(--shadow-sm);
}

.service-faq-item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 1rem 2.9rem 1rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.65;
}

.service-faq-item summary::-webkit-details-marker {
  display: none;
}

.service-faq-item summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 1rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(23, 11, 114, 0.2);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.7);
}

.service-faq-item[open] summary::after {
  content: '−';
}

.service-faq-content {
  padding: 0 1rem 1rem;
}

.service-faq-content p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-mid);
}

/* ---- Contact Page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2.5rem 0;
}

.contact-info-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(23,11,114,0.06);
  transition: var(--transition);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--gold);
}

.contact-info-title {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
  letter-spacing: 0.01em;
  text-transform: none;
}

.contact-info-value {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.6;
}

.contact-form-wrap {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid rgba(23,11,114,0.06);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-sub {
  font-size: 0.875rem;
  color: var(--text-mid);
  margin-bottom: 2rem;
}

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

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(23,11,114,0.1);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(23,11,114,0.06);
}

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

#email,
#phone {
  direction: ltr;
  text-align: left;
}

.map-wrap {
  margin-top: 4rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid rgba(23,11,114,0.12);
  position: relative;
}

.map-wrap .cover-image {
  position: absolute;
  inset: 0;
  opacity: 0.25;
}

.map-wrap > * {
  position: relative;
  z-index: 1;
}

.map-placeholder-icon {
  font-size: 3rem;
  opacity: 0.4;
}

.map-placeholder-text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
}

/* ---- Animations ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-enabled .reveal.visible {
  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; }

/* ---- Mobile Nav ---- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100%;
  background: var(--navy-dark);
  z-index: 2000;
  padding: 5rem 2rem 2rem;
  transition: right 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.mobile-menu-cta-wrap {
  margin-top: auto;
  padding-top: 2rem;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-close:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

.mobile-nav-link {
  padding: 0.85rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}

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

html[dir="rtl"] .mobile-nav-link:hover {
  padding-left: 0;
  padding-right: 0.5rem;
}

.social-link-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.social-link-disabled::after {
  content: 'قريبًا';
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.55rem;
  color: currentColor;
  opacity: 0.7;
  letter-spacing: 0.02em;
  text-transform: none;
  white-space: nowrap;
}

.social-links {
  padding-bottom: 1.1rem;
}

.section-head-lg {
  margin-bottom: 3.5rem;
}

.section-head-md {
  margin-bottom: 3rem;
}

.section-head-sm {
  margin-bottom: 2.5rem;
}

.section-label-center {
  color: var(--gold);
  justify-content: center;
  display: flex;
}

.text-muted-footer {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 1.5rem;
}

.attorney-label-gold {
  color: var(--gold);
}

.attorney-name-light {
  color: var(--white);
}

.attorney-bio-tight {
  margin-top: -0.5rem;
}

.about-badge-inline {
  position: relative;
  bottom: auto;
  right: auto;
  display: inline-flex;
  gap: 1rem;
  margin-top: 1.5rem;
  width: 100%;
  justify-content: center;
}

.badge-stack {
  text-align: center;
}

.badge-divider {
  width: 1px;
  background: rgba(23,11,114,0.15);
  align-self: stretch;
}

.badge-num-sm {
  font-size: 1.8rem;
}

.service-grid-cta {
  margin-top: 2.5rem;
  text-align: center;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.85rem;
  line-height: 1.6;
  border-radius: var(--radius);
  padding: 0.7rem 0.8rem;
  display: none;
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-mid);
  margin-top: 1rem;
  text-align: center;
  line-height: 1.7;
}

.honeypot-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: rgba(40, 167, 69, 0.12);
  color: #1f6b35;
}

.form-status.is-error {
  background: rgba(220, 53, 69, 0.12);
  color: #8b2030;
}

.form-status.is-info {
  background: rgba(23, 11, 114, 0.08);
  color: var(--navy);
}

.contact-link {
  color: var(--text-mid);
  display: block;
  direction: ltr;
  unicode-bidi: plaintext;
  text-align: left;
}

.contact-email-link {
  color: var(--text-mid);
  direction: ltr;
  unicode-bidi: plaintext;
  text-align: left;
}

.contact-social-link {
  border-color: rgba(23,11,114,0.15);
  color: var(--navy);
}

.contact-social-title {
  color: var(--navy);
}

.map-title {
  color: rgba(255,255,255,0.7);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
}

.map-open-btn {
  margin-top: 0.5rem;
}

.vm-section {
  background: var(--cream);
}

.plain-white-section {
  background: var(--white);
}

.main-section-white {
  background: var(--white);
}

.map-section {
  background: var(--cream);
  padding-top: 0;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-visual {
    max-width: 640px;
    width: 100%;
    margin-inline-end: auto;
  }

  .about-grid,
  .history-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .service-sub-overview-grid,
  .service-sub-scope-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .services-detail-grid,
  .services-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-sub-docs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-image-wrap {
    max-width: 500px;
  }

  .attorney-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .attorney-image-wrap {
    max-width: 380px;
    margin: 0 auto;
  }

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

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .container { padding: 0 1.25rem; }

  .hero {
    min-height: auto;
  }

  .hero-content {
    width: 100%;
    padding: 8.5rem 0 3rem;
  }

  .hero-visual {
    height: 280px;
  }

  .nav-links { display: none; }
  .nav-actions {
    display: flex;
    margin-inline-start: auto;
  }

  .nav-actions .lang-btn,
  .nav-actions .btn {
    display: none;
  }

  .hamburger { display: flex; }

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

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

  .service-sub-docs-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .process-grid::before { display: none; }

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

  .vm-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .process-visual,
  .trust-visual,
  .services-feature-media {
    height: 220px;
  }

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

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .js-enabled .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

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

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

  .service-sub-docs-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
