/* ================================================================
   عبدالله مطر السليس للمحاماة والاستشارات القانونية
   styles.css — النظام البصري الكامل
   ================================================================ */

/* ─── 1. CSS Variables ─────────────────────────────────────── */
:root {
  /* الألوان الأساسية */
  --bg-primary:    #F1ECE6;
  --bg-secondary:  #DDD5CD;
  --bg-white:      #FFFFFF;
  --bg-off:        #FAFAFA;
  --bg-light:      #F8F5F1;
  --accent:        #B6976A;
  --accent-dark:   #9A7D56;
  --accent-light:  #D4B896;
  --text-primary:  #2C1F14;
  --text-muted:    #5E4D3B;
  --text-light:    #9A8B7A;
  --bg-dark:       #1E1209;
  --border:        rgba(44,31,20,.09);
  --border-accent: rgba(182,151,106,.30);
  --shadow-sm:     0 2px 12px rgba(44,31,20,.06);
  --shadow-md:     0 8px 40px rgba(44,31,20,.10);
  --shadow-lg:     0 20px 80px rgba(44,31,20,.16);
  --shadow-accent: 0 8px 32px rgba(182,151,106,.28);

  /* الخطوط */
  --font-body:    'Tajawal', sans-serif;
  --font-heading: 'Cairo', sans-serif;
  --font-en:      'Inter', sans-serif;

  /* الأبعاد */
  --radius:       6px;
  --radius-lg:    10px;
  --container:    1320px;

  /* الحركات */
  --ease:         cubic-bezier(.25,.46,.45,.94);
  --ease-back:    cubic-bezier(.34,1.56,.64,1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  direction: rtl;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-primary);
  background: var(--bg-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ─── 3. Typography ────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

h1 { font-size: clamp(42px, 5.5vw, 72px); }
h2 { font-size: clamp(32px, 3.8vw, 48px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); }
h4 { font-size: 20px; }
h5 { font-size: 17px; }

p { color: var(--text-muted); }

.text-en {
  font-family: var(--font-en);
  direction: ltr;
  display: inline-block;
}

/* ─── 4. Utilities ─────────────────────────────────────────── */
.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: .75rem 1.5rem;
  background: var(--text-primary);
  color: #fff;
  z-index: 9999;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { top: 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 1.25rem;
}
.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.section-header {
  max-width: 680px;
  margin-bottom: 4rem;
}

.section-header.centered {
  text-align: center;
  margin-inline: auto;
}

.section-header p {
  margin-top: .9rem;
  font-size: 18px;
}

.tag {
  display: inline-block;
  padding: .25rem .85rem;
  border-radius: 99px;
  border: 1px solid var(--border-accent);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-dark);
  background: rgba(182,166,151,.08);
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}
.reveal-left  { opacity: 0; transform: translateX(40px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal-right { opacity: 0; transform: translateX(-40px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal-zoom  { opacity: 0; transform: scale(.92); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-left.in-view, .reveal-right.in-view, .reveal-zoom.in-view {
  opacity: 1;
  transform: none;
}
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }
.delay-6 { transition-delay: .6s; }

/* ─── 5. Buttons ───────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .95rem 2.25rem;
  background: var(--text-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--radius);
  border: 2px solid var(--text-primary);
  transition: background .25s, color .25s, transform .2s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  z-index: 0;
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover { color: var(--text-primary); border-color: var(--accent); box-shadow: var(--shadow-accent); transform: translateY(-2px); }
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }
.btn-primary svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .9rem 2rem;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  transition: border-color .25s, background .25s, transform .2s;
}
.btn-outline:hover { border-color: var(--accent); background: rgba(182,166,151,.06); transform: translateY(-2px); }
.btn-outline svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .95rem 2.25rem;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.25);
  transition: background .25s, transform .2s, box-shadow .25s;
}
.btn-glass:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,.2); }
.btn-glass svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ─── 6. Header ────────────────────────────────────────────── */
.top-bar {
  background: var(--bg-dark);
  color: rgba(255,255,255,.7);
  font-size: 13px;
  padding: .55rem 0;
  display: none;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.top-bar-items {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.top-bar-items span {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.top-bar a { color: var(--accent-light); transition: color .2s; }
.top-bar a:hover { color: #fff; }
@media (min-width: 900px) { .top-bar { display: block; } }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background .3s, backdrop-filter .3s, box-shadow .3s, padding .3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0;
  transition: padding .3s;
}

.site-header.is-scrolled .header-inner { padding: .9rem 0; }
.site-header.is-scrolled {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 40px rgba(46,46,46,.10);
}

/* شعار */
.brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex-shrink: 0;
}
.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: transform .3s;
}
.brand:hover .brand-logo { transform: scale(1.05); }
.brand-text strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.2;
  white-space: nowrap;
}
.brand-text small {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ناف */
.main-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.main-nav a {
  padding: .5rem .9rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  border-radius: var(--radius);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active { color: var(--accent-dark); background: rgba(182,166,151,.10); }

.header-cta {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.btn-consult {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.5rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius);
  transition: background .2s, transform .2s;
  white-space: nowrap;
}
.btn-consult:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* زر الموبايل */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  padding: .4rem;
}
.menu-toggle i {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-open .menu-toggle i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .menu-toggle i:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── 7. Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(25,25,25,.80) 0%,
    rgba(25,25,25,.55) 50%,
    rgba(25,25,25,.35) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-content {
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .45rem 1.1rem;
  background: rgba(182,166,151,.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(182,166,151,.35);
  border-radius: 99px;
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: 1.75rem;
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}

.hero-content h1 {
  color: #fff;
  margin-bottom: 1.25rem;
  font-size: clamp(36px, 4.5vw, 64px);
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
}

.hero-content p {
  font-size: 19px;
  color: rgba(255,255,255,.80);
  margin-bottom: 2.5rem;
  max-width: 580px;
  line-height: 1.85;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
}

.hero-stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.hero-stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  margin-top: .3rem;
}

/* بطاقة التواصل السريع */
.hero-contact-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-card-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-light);
  letter-spacing: .06em;
  text-transform: uppercase;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.hero-card-phone {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  display: block;
  direction: ltr;
  text-align: center;
  padding: .75rem;
  background: rgba(182,166,151,.15);
  border-radius: var(--radius);
  border: 1px solid rgba(182,166,151,.25);
  transition: background .25s;
}
.hero-card-phone:hover { background: rgba(182,166,151,.28); }

.hero-card-divider {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.4);
  position: relative;
}
.hero-card-divider::before,
.hero-card-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 20px);
  height: 1px;
  background: rgba(255,255,255,.12);
}
.hero-card-divider::before { right: 0; }
.hero-card-divider::after { left: 0; }

.hero-card-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: 1rem;
  background: #25D366;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--radius);
  transition: background .25s, transform .2s;
}
.hero-card-wa:hover { background: #1DA851; transform: translateY(-2px); }
.hero-card-wa svg { width: 22px; height: 22px; flex-shrink: 0; }

.hero-card-info {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 13px;
  color: rgba(255,255,255,.55);
}
.hero-card-info svg { width: 15px; height: 15px; stroke: var(--accent); fill: none; stroke-width: 2; flex-shrink: 0; }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.45);
  font-size: 12px;
  z-index: 2;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
}

/* ─── 8. Trust Cards ───────────────────────────────────────── */
.trust-strip {
  background: var(--bg-dark);
  padding: 0;
}

.trust-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(255,255,255,.08);
  transition: background .25s;
}
.trust-card:first-child { border-right: none; }
.trust-card:hover { background: rgba(255,255,255,.04); }

.trust-icon {
  width: 48px;
  height: 48px;
  background: rgba(182,166,151,.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.trust-icon svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 1.5; }

.trust-card h3 {
  font-size: 17px;
  color: #fff;
  margin-bottom: .4rem;
}
.trust-card p { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.6; }

/* ─── 9. Stats Bar ─────────────────────────────────────────── */
.stats-section {
  background: var(--bg-primary);
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  text-align: center;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: .4rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .25rem;
}
.stat-value sup {
  font-size: 24px;
  color: var(--accent);
}

.stat-label {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ─── 10. About Preview ────────────────────────────────────── */
.about-preview {
  padding: 7rem 0;
  background: var(--bg-white);
}

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

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

.about-img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-image-badge {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  background: var(--bg-dark);
  color: #fff;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-image-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.about-image-badge span {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.7);
  margin-top: .3rem;
}

.about-content h2 { margin-bottom: 1.25rem; }

.about-content p {
  margin-bottom: 1.5rem;
  font-size: 17px;
}

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

.about-meta-item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1.25rem;
  background: var(--bg-primary);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.about-meta-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-meta-icon svg { width: 20px; height: 20px; stroke: var(--accent-dark); fill: none; stroke-width: 1.75; }
.about-meta-item h5 { font-size: 14px; font-weight: 700; margin-bottom: .2rem; }
.about-meta-item p { font-size: 13px; color: var(--text-muted); }

/* ─── 11. Services Section ─────────────────────────────────── */
.services-section {
  padding: 7rem 0;
  background: var(--bg-primary);
}

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

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--border);
  transition: box-shadow .3s, transform .3s, border-color .3s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: var(--border-accent); }
.service-card:hover::after { transform: scaleX(1); }

.service-card-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background .25s;
}
.service-card:hover .service-card-icon { background: var(--bg-secondary); }
.service-card-icon svg { width: 28px; height: 28px; stroke: var(--accent-dark); fill: none; stroke-width: 1.5; }

.service-card h3 { font-size: 20px; margin-bottom: .65rem; }
.service-card p { font-size: 15px; color: var(--text-muted); line-height: 1.7; flex: 1; margin-bottom: 1.5rem; }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent-dark);
  transition: gap .2s, color .2s;
}
.service-link:hover { gap: .85rem; color: var(--text-primary); }
.service-link svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ─── 12. Process Timeline ─────────────────────────────────── */
.process-section {
  padding: 7rem 0;
  background: var(--bg-white);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  right: 10%;
  left: 10%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

.process-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  transition: background .3s, border-color .3s, color .3s, box-shadow .3s;
}
.process-step:hover .process-num {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  color: var(--accent);
  box-shadow: var(--shadow-md);
}

.process-step h4 { font-size: 16px; margin-bottom: .5rem; }
.process-step p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ─── 13. Attorney Section ─────────────────────────────────── */
.attorney-section {
  padding: 7rem 0;
  background: var(--bg-primary);
}

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

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

.attorney-img {
  width: 380px;
  height: 480px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.attorney-license-badge {
  position: absolute;
  top: 2rem;
  left: -1.5rem;
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.attorney-license-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-dark);
  line-height: 1;
}
.attorney-license-badge span { font-size: 12px; color: var(--text-muted); }

.attorney-content h2 { margin-bottom: .5rem; }
.attorney-title {
  font-size: 17px;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.attorney-content p { font-size: 17px; margin-bottom: 1.25rem; }

.attorney-credentials {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin: 2rem 0;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  font-size: 15px;
  color: var(--text-muted);
}
.credential-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.attorney-branches {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.branch-tag {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1.1rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
}
.branch-tag svg { width: 15px; height: 15px; stroke: var(--accent-dark); fill: none; stroke-width: 2; }

/* ─── 14. FAQ ───────────────────────────────────────────────── */
.faq-section {
  padding: 7rem 0;
  background: var(--bg-white);
}

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

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  list-style: none;
  transition: color .2s;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary:hover { color: var(--accent-dark); }

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .25s, border-color .25s, transform .3s;
  font-size: 18px;
  color: var(--accent-dark);
}
details[open] .faq-icon { background: var(--text-primary); border-color: var(--text-primary); color: #fff; transform: rotate(45deg); }

.faq-answer {
  padding: 0 0 1.4rem;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ─── 15. Articles Section ─────────────────────────────────── */
.articles-section {
  padding: 7rem 0;
  background: var(--bg-primary);
}

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

.article-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow .3s, transform .3s;
  display: flex;
  flex-direction: column;
}
.article-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }

.article-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.article-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-card-img-placeholder svg { width: 48px; height: 48px; stroke: var(--accent); fill: none; stroke-width: 1; opacity: .5; }

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

.article-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 13px;
  color: var(--text-light);
}

.article-cat {
  padding: .25rem .75rem;
  background: rgba(182,166,151,.12);
  border-radius: 99px;
  font-weight: 600;
  color: var(--accent-dark);
}

.article-card h3 {
  font-size: 18px;
  margin-bottom: .65rem;
  line-height: 1.45;
}

.article-card p { font-size: 14px; line-height: 1.7; flex: 1; margin-bottom: 1.25rem; }

.article-read-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent-dark);
  transition: gap .2s;
}
.article-read-link:hover { gap: .75rem; }
.article-read-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ─── 16. CTA Banner ───────────────────────────────────────── */
.cta-banner {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #2E1A0A 100%);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(182,166,151,.06);
  pointer-events: none;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.cta-text h2 {
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
  margin-bottom: .75rem;
}
.cta-text p { color: rgba(255,255,255,.65); font-size: 17px; }

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ─── 17. Contact Strip ────────────────────────────────────── */
.contact-strip {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.contact-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  divide-x: 1px solid var(--border);
}

.contact-strip-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 2rem;
  border-right: 1px solid var(--border);
  transition: background .2s;
}
.contact-strip-item:first-child { border-right: none; }
.contact-strip-item:hover { background: var(--bg-secondary); }

.contact-strip-icon {
  width: 52px;
  height: 52px;
  background: var(--bg-white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.contact-strip-icon svg { width: 24px; height: 24px; stroke: var(--accent-dark); fill: none; stroke-width: 1.75; }

.contact-strip-text strong { display: block; font-family: var(--font-heading); font-size: 15px; margin-bottom: .25rem; }
.contact-strip-text a, .contact-strip-text span { font-size: 14px; color: var(--text-muted); direction: ltr; display: block; }
.contact-strip-text a { transition: color .2s; }
.contact-strip-text a:hover { color: var(--accent-dark); }

/* ─── 18. Footer ───────────────────────────────────────────── */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.65);
  position: relative;
  overflow: hidden;
}

/* الخط الذهبي العلوي */
.site-footer::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-light), var(--accent), transparent);
}

/* النمط الخلفي الخفيف */
.site-footer::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(182,151,106,.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(182,151,106,.04) 0%, transparent 60%);
  pointer-events: none;
}

.footer-inner {
  padding: 4.5rem 0 0;
  position: relative;
  z-index: 1;
}

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

.footer-brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  border: 2px solid rgba(182,151,106,.3);
  padding: 2px;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: .4rem;
  line-height: 1.4;
}
.footer-brand-tagline {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: .04em;
  margin-bottom: 1.1rem;
  font-family: var(--font-en);
}
.footer-brand-desc {
  font-size: 13.5px;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,.5);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: 13.5px;
  margin-bottom: .8rem;
  color: rgba(255,255,255,.6);
}
.footer-contact-item svg { width: 15px; height: 15px; stroke: var(--accent); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: .25rem; }
.footer-contact-item a { color: rgba(255,255,255,.6); transition: color .2s; }
.footer-contact-item a:hover { color: var(--accent); }

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: .7rem;
  position: relative;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.footer-links a {
  font-size: 13.5px;
  color: rgba(255,255,255,.55);
  transition: color .2s, padding-right .2s;
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .1rem 0;
}
.footer-links a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .45;
  flex-shrink: 0;
  transition: opacity .2s, transform .2s;
}
.footer-links a:hover { color: var(--accent-light); padding-right: .35rem; }
.footer-links a:hover::before { opacity: 1; transform: scale(1.4); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: 12.5px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-bottom p { color: rgba(255,255,255,.35); }
.footer-bottom-links { display: flex; align-items: center; gap: 1.25rem; }
.footer-bottom a { color: rgba(255,255,255,.4); transition: color .2s; }
.footer-bottom a:hover { color: var(--accent); }

.footer-license-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .3rem .8rem;
  background: rgba(182,151,106,.1);
  border: 1px solid rgba(182,151,106,.2);
  border-radius: 99px;
  font-size: 11.5px;
  color: var(--accent);
  margin-top: .85rem;
}

/* ─── 19. Floating Contact Button ──────────────────────────── */
.float-contact {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 90;
}

.float-contact-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--text-primary);
  border: 3px solid var(--bg-primary);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
  position: relative;
}
.float-contact-btn:hover { transform: scale(1.08); box-shadow: var(--shadow-lg); }
.float-contact-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.float-contact-btn-fallback {
  width: 100%;
  height: 100%;
  background: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.float-contact-btn-fallback svg { width: 28px; height: 28px; stroke: var(--accent); fill: none; stroke-width: 1.5; }

.float-contact-card {
  position: absolute;
  bottom: calc(100% + 1rem);
  left: 0;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 1.5rem;
  width: 280px;
  opacity: 0;
  transform: translateY(10px) scale(.95);
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.float-contact:hover .float-contact-card,
.float-contact.is-open .float-contact-card {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.float-card-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.float-card-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid var(--accent-light);
}
.float-card-avatar-fallback {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent-light);
  flex-shrink: 0;
}
.float-card-avatar-fallback svg { width: 26px; height: 26px; stroke: var(--accent-dark); fill: none; stroke-width: 1.5; }
.float-card-name { font-family: var(--font-heading); font-weight: 700; font-size: 15px; margin-bottom: .15rem; }
.float-card-role { font-size: 12px; color: var(--text-muted); }

.float-card-phones {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin-bottom: 1.1rem;
}
.float-card-phone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .65rem .9rem;
  background: var(--bg-primary);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-heading);
  direction: ltr;
  border: 1px solid var(--border);
  transition: background .2s;
}
.float-card-phone:hover { background: var(--bg-secondary); }
.float-card-phone span { font-size: 11px; font-family: var(--font-body); color: var(--text-muted); direction: rtl; }

.float-card-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  width: 100%;
  padding: .85rem;
  background: #25D366;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background .2s;
  text-decoration: none;
}
.float-card-wa:hover { background: #1DA851; }
.float-card-wa svg { width: 20px; height: 20px; }

/* ─── 20. Page Hero (inner pages) ─────────────────────────── */
.page-hero {
  padding: 160px 0 80px;
  background: var(--text-primary);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(182,166,151,.06) 0%, transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: rgba(255,255,255,.65); transition: color .2s; }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb-sep { color: rgba(255,255,255,.3); }

.page-hero h1 { color: #fff; font-size: clamp(32px, 4vw, 52px); margin-bottom: .75rem; }
.page-hero p { color: rgba(255,255,255,.65); font-size: 18px; max-width: 600px; }

/* ─── 21. Contact Page ─────────────────────────────────────── */
.contact-section { padding: 6rem 0; background: var(--bg-primary); }

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

.contact-info-block {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
}

.contact-info-block h2 { margin-bottom: 2rem; font-size: 26px; }

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 22px; height: 22px; stroke: var(--accent-dark); fill: none; stroke-width: 1.75; }
.contact-info-text strong { display: block; font-family: var(--font-heading); font-size: 14px; margin-bottom: .3rem; }
.contact-info-text a, .contact-info-text span { font-size: 15px; color: var(--text-muted); display: block; transition: color .2s; }
.contact-info-text a { direction: ltr; }
.contact-info-text a:hover { color: var(--accent-dark); }

.map-wrap {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 220px;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* نموذج التواصل */
.contact-form-block {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
}
.contact-form-block h2 { margin-bottom: 2rem; font-size: 26px; }

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .9rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color .2s, box-shadow .2s, background .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(182,166,151,.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }

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

.form-note {
  padding: .85rem 1.1rem;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 1.25rem;
  display: none;
}
.form-note.is-success { background: #d1fae5; color: #065f46; display: block; }
.form-note.is-error { background: #fee2e2; color: #991b1b; display: block; }

/* ─── 22. Articles Page ────────────────────────────────────── */
.articles-page { padding: 5rem 0; background: var(--bg-primary); }

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

/* Article Single */
.article-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 0 7rem;
}

.article-header-block {
  margin-bottom: 3rem;
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.article-meta-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: 13px;
  color: var(--text-light);
}
.article-meta-item svg { width: 15px; height: 15px; stroke: var(--accent); fill: none; stroke-width: 2; }

.article-cover-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 3rem;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-cover-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
  border-radius: var(--radius-lg);
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-cover-placeholder svg { width: 64px; height: 64px; stroke: var(--accent); fill: none; stroke-width: 1; opacity: .4; }

.article-body h2 { font-size: 28px; margin: 2.5rem 0 1rem; }
.article-body h3 { font-size: 22px; margin: 2rem 0 .85rem; }
.article-body p { font-size: 17px; color: var(--text-muted); margin-bottom: 1.4rem; line-height: 1.9; }
.article-body ul { margin: 1rem 0 1.4rem 1.5rem; }
.article-body ul li { font-size: 17px; color: var(--text-muted); margin-bottom: .65rem; position: relative; padding-right: 1.25rem; }
.article-body ul li::before { content: ''; position: absolute; right: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.article-cta-block {
  background: var(--text-primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.article-cta-block h3 { color: #fff; font-size: 22px; margin-bottom: .5rem; }
.article-cta-block p { color: rgba(255,255,255,.65); font-size: 15px; }

/* ─── 23. Service Pages ────────────────────────────────────── */
.service-detail { padding: 5rem 0 7rem; background: var(--bg-white); }
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
}

.service-detail-body h2 { font-size: 28px; margin: 2.5rem 0 1rem; }
.service-detail-body h3 { font-size: 22px; margin: 2rem 0 .85rem; }
.service-detail-body p { font-size: 17px; color: var(--text-muted); margin-bottom: 1.4rem; line-height: 1.9; }
.service-detail-body ul { margin: 1rem 0 1.4rem 1.5rem; }
.service-detail-body ul li { font-size: 17px; color: var(--text-muted); margin-bottom: .65rem; position: relative; padding-right: 1.25rem; }
.service-detail-body ul li::before { content: ''; position: absolute; right: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.service-sidebar { position: sticky; top: 120px; }

.sidebar-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.sidebar-card h4 { font-size: 16px; margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); }

.sidebar-services-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.sidebar-services-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1rem;
  border-radius: var(--radius);
  font-size: 15px;
  transition: background .2s, color .2s;
}
.sidebar-services-list a:hover { background: var(--bg-white); color: var(--accent-dark); }
.sidebar-services-list a.active { background: var(--text-primary); color: #fff; }
.sidebar-services-list a svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ─── 24. About Page ───────────────────────────────────────── */
.about-page { padding: 5rem 0 7rem; }
.about-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; margin-bottom: 5rem; }

.about-timeline { padding: 5rem 0; background: var(--bg-primary); }
.timeline-list { max-width: 700px; margin: 0 auto; }
.timeline-item { display: grid; grid-template-columns: auto 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.timeline-dot-col { display: flex; flex-direction: column; align-items: center; gap: 0; }
.timeline-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg-primary); flex-shrink: 0; }
.timeline-line { flex: 1; width: 1px; background: var(--border); }
.timeline-content { padding-bottom: 1rem; }
.timeline-year { font-family: var(--font-en); font-size: 13px; font-weight: 600; color: var(--accent-dark); margin-bottom: .35rem; }
.timeline-content h4 { font-size: 17px; margin-bottom: .4rem; }
.timeline-content p { font-size: 15px; color: var(--text-muted); }

/* ─── 25. Progress Bar (Articles) ─────────────────────────── */
.reading-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  z-index: 200;
  background: transparent;
}
.reading-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  width: 0%;
  transition: width .1s linear;
}

/* ─── 26. Responsive ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-contact-card { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .process-timeline { grid-template-columns: repeat(3, 1fr); }
  .process-timeline::before { display: none; }
  .attorney-grid { grid-template-columns: 1fr 1.2fr; gap: 3rem; }
  .attorney-img { width: 300px; height: 400px; }
  .faq-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image-wrap { display: none; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }

  .main-nav { display: none; position: fixed; inset: 0; background: var(--bg-white); flex-direction: column; justify-content: center; align-items: center; z-index: 99; gap: .5rem; padding: 2rem; }
  .nav-open .main-nav { display: flex; }
  .main-nav a { font-size: 22px; padding: .85rem 2rem; width: 100%; text-align: center; }
  .menu-toggle { display: flex; z-index: 101; }
  .btn-consult { display: none; }

  .hero-stats { gap: 1.5rem; }
  .hero-stat-value { font-size: 28px; }

  .trust-cards { grid-template-columns: 1fr 1fr; }
  .trust-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }

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

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

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

  .process-timeline { grid-template-columns: 1fr; }

  .attorney-grid { grid-template-columns: 1fr; }
  .attorney-img { width: 100%; height: 360px; }
  .attorney-image-col { text-align: center; }

  .articles-grid { grid-template-columns: 1fr; }
  .articles-page-grid { grid-template-columns: 1fr; }

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

  .contact-strip-grid { grid-template-columns: 1fr; }
  .contact-strip-item { border-right: none; border-bottom: 1px solid var(--border); }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: .75rem; text-align: center; }

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

  .service-detail-grid { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }

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

  .float-contact { bottom: 1.25rem; left: 1.25rem; }
  .float-contact-card { left: 0; bottom: calc(100% + .75rem); }

  .hero-inner { padding-top: 100px; padding-bottom: 60px; }
}

@media (max-width: 480px) {
  .trust-cards { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn-primary, .cta-actions .btn-glass { justify-content: center; }
  .attorney-branches { flex-direction: column; }
}
