/* ============================================================
   EDICT Law Firm — Premium Stylesheet (RTL)
   Refined palette: Deep Navy + Champagne Gold + Ivory
   ============================================================ */

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

:root {
  /* Brand — refined deep navy with subtle warmth */
  --primary:        #0F1E45;
  --primary-dark:   #081230;
  --primary-light:  #1B2D5F;
  --primary-soft:   #2a3e7a;

  /* Accent — champagne gold with depth */
  --accent:         #C9A96E;
  --accent-dark:    #a8874f;
  --accent-light:   #e6cc94;
  --accent-soft:    #f5e9d0;

  /* Neutral — ivory tones for elegance */
  --bg-light:       #FAF8F3;
  --bg-cream:       #F4EFE5;
  --bg-section:     #f0ebe0;

  /* Text */
  --text-dark:      #0d1530;
  --text-body:      #2d3251;
  --text-muted:     #6b7090;
  --text-faint:     #9095b3;

  /* Surfaces */
  --white:          #ffffff;
  --border:         #e8e2d4;
  --border-soft:    #f0ebe0;
  --border-dark:    rgba(255,255,255,0.08);

  /* Shadows — layered, refined */
  --shadow-xs:      0 1px 2px rgba(15,30,69,.06);
  --shadow-sm:      0 4px 14px rgba(15,30,69,.06), 0 1px 3px rgba(15,30,69,.04);
  --shadow-md:      0 14px 40px rgba(15,30,69,.09), 0 3px 8px rgba(15,30,69,.04);
  --shadow-lg:      0 30px 80px rgba(15,30,69,.14), 0 8px 20px rgba(15,30,69,.06);
  --shadow-xl:      0 50px 120px rgba(15,30,69,.22), 0 20px 40px rgba(15,30,69,.08);
  --shadow-gold:    0 12px 32px rgba(201,169,110,.35);
  --shadow-gold-lg: 0 20px 50px rgba(201,169,110,.45);

  /* Radius */
  --radius-xs:      4px;
  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      22px;
  --radius-xl:      32px;

  /* Motion */
  --ease:           cubic-bezier(0.4,0,0.2,1);
  --ease-out:       cubic-bezier(0.16,1,0.3,1);
  --transition:     0.35s var(--ease);

  /* Typography */
  --font-ar:        'Tajawal', 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  --font-display:   'Playfair Display', 'Tajawal', serif;
  --navbar-h:       185px;
}

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

body {
  font-family: var(--font-ar);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.75;
  font-weight: 400;
  overflow-x: hidden;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-ar); }

::selection { background: var(--accent); color: var(--white); }

/* ── Scroll Progress Bar ───────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; right: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-light));
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 1px 8px rgba(201,169,110,.6);
}

/* ── Container ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Section Base ──────────────────────────────────────────── */
.section { padding: 120px 0; position: relative; }
.section--light { background: var(--bg-light); }
.section--cream { background: var(--bg-cream); }
.section--dark  {
  background: var(--primary-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 500px at 90% 10%, rgba(201,169,110,.10), transparent 60%),
    radial-gradient(ellipse 600px 400px at 10% 90%, rgba(43,71,148,.25), transparent 60%);
  pointer-events: none;
}
.section--dark > * { position: relative; z-index: 1; }
.section--gray  { background: var(--bg-section); }

.section__header { text-align: center; margin-bottom: 72px; position: relative; }
.section__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 16px;
  font-family: 'Playfair Display', var(--font-ar);
}
.section__label::before,
.section__label::after {
  content: '';
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}
.section__label::after {
  background: linear-gradient(90deg, var(--accent), transparent);
}
.section--dark .section__label { color: var(--accent-light); }

.section__title {
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.section--dark .section__title { color: var(--white); }
.section__subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.85;
}
.section--dark .section__subtitle { color: rgba(255,255,255,0.82); }

/* Decorative divider used between/inside sections */
.divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px auto 0;
}
.divider-ornament::before,
.divider-ornament::after {
  content: '';
  height: 1px;
  width: 60px;
  background: var(--accent);
  opacity: 0.5;
}
.divider-ornament::before { background: linear-gradient(90deg, transparent, var(--accent)); }
.divider-ornament::after  { background: linear-gradient(90deg, var(--accent), transparent); }
.divider-ornament__dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(201,169,110,.18);
}

/* ── Navbar ────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), height var(--transition), border-color var(--transition);
  height: var(--navbar-h);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 6px 30px rgba(15,30,69,.07);
  border-bottom-color: rgba(15,30,69,.06);
  height: 68px;
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.navbar__logo img {
  height: 160px;
  width: auto;
  object-fit: contain;
  transition: filter var(--transition), transform var(--transition);
}
.navbar__logo:hover img { transform: scale(1.03); }
.navbar:not(.scrolled) .navbar__logo img {
  filter: brightness(0) invert(1);
}
.navbar__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.navbar__link {
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  border-radius: var(--radius-sm);
  transition: color var(--transition);
  position: relative;
}
.navbar.scrolled .navbar__link { color: var(--text-dark); }
.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 4px; right: 16px; left: 16px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: center;
  border-radius: 2px;
}
.navbar__link:hover::after,
.navbar__link.active::after { transform: scaleX(1); }
.navbar__link:hover { color: var(--accent); }
.navbar.scrolled .navbar__link:hover { color: var(--primary); }
.navbar__link.active { color: var(--accent); }
.navbar.scrolled .navbar__link.active { color: var(--primary); }

.navbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 8px;
  padding: 11px 24px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white) !important;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: all var(--transition);
  box-shadow: 0 6px 18px rgba(201,169,110,.45);
  border: 1px solid rgba(255,255,255,0.15);
}
.navbar__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201,169,110,.55);
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.navbar__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.navbar.scrolled .navbar__toggle span { background: var(--primary); }
.navbar__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle.open span:nth-child(2) { opacity: 0; }
.navbar__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.navbar__mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.navbar__mobile.open { display: flex; }
.navbar__mobile-link {
  padding: 14px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-soft);
  transition: color var(--transition);
}
.navbar__mobile-link:last-child { border-bottom: none; }
.navbar__mobile-link:hover,
.navbar__mobile-link.active { color: var(--accent-dark); }
.navbar__mobile-link.cta {
  margin-top: 14px;
  text-align: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white) !important;
  border-radius: 50px;
  border-bottom: none;
  padding: 14px;
  font-weight: 700;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
  padding: calc(var(--navbar-h) + 20px) 0 40px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('/static/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  transform: scale(1.08);
  transition: transform 12s ease, opacity 1.5s ease;
  filter: contrast(1.05) saturate(0.85);
}
.hero.loaded .hero__bg { transform: scale(1); }
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 1000px 600px at 80% 20%, rgba(201,169,110,.12), transparent 60%),
    radial-gradient(ellipse 800px 500px at 10% 80%, rgba(43,71,148,.35), transparent 65%),
    linear-gradient(135deg,
      rgba(8,18,48,0.96) 0%,
      rgba(15,30,69,0.88) 50%,
      rgba(8,18,48,0.78) 100%);
}
.hero__pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  opacity: 0.7;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding-top: 40px;
}

/* (Legacy hero-only video kept for compatibility — not used on home page now) */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  filter: saturate(0.85) contrast(1.05);
}

/* ═══════════════════════════════════════════
   PAGE-LEVEL VIDEO BACKGROUND  (home page only)
   The video sits fixed behind everything. Light sections
   have solid backgrounds — they hide the video. Dark
   sections are made translucent → they become "windows"
   that reveal the moving video underneath.
══════════════════════════════════════════ */
.page-video-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  filter: saturate(0.9) contrast(1.05);
}
.page-video-tint {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 1000px 600px at 80% 20%, rgba(201,169,110,.08), transparent 60%),
    linear-gradient(135deg, rgba(8,18,48,0.45) 0%, rgba(15,30,69,0.35) 100%);
}

/* On the home page, make body and main transparent so the
   fixed video shows wherever sections allow it. */
body.home-has-video { background: transparent; }
body.home-has-video main { position: relative; z-index: 1; background: transparent; }

/* Hero on home page: no opaque bg, the video is the bg.
   Keep the overlay + pattern + 3D for depth. */
body.home-has-video .hero {
  background: transparent;
  position: relative;
  z-index: 1;
}
body.home-has-video .hero__overlay {
  background:
    radial-gradient(ellipse 1000px 600px at 80% 20%, rgba(201,169,110,.12), transparent 60%),
    radial-gradient(ellipse 800px 500px at 10% 80%, rgba(43,71,148,.25), transparent 65%),
    linear-gradient(135deg, rgba(8,18,48,0.65) 0%, rgba(15,30,69,0.55) 50%, rgba(8,18,48,0.50) 100%);
}

/* Dark sections become translucent "windows" — the video
   shows through with just enough overlay to keep text readable. */
body.home-has-video .section--dark {
  position: relative;
  z-index: 1;
  background: linear-gradient(160deg, rgba(8,18,48,0.75) 0%, rgba(15,30,69,0.72) 100%);
  backdrop-filter: saturate(1.1);
  -webkit-backdrop-filter: saturate(1.1);
}
body.home-has-video .cta-banner {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, rgba(8,18,48,0.80) 0%, rgba(15,30,69,0.75) 100%);
}

/* Light sections keep their solid backgrounds so they
   fully cover the video (the "wall" between windows). */
body.home-has-video .section--light,
body.home-has-video .section:not(.section--dark):not(.section--gray) {
  position: relative;
  z-index: 1;
  background-color: var(--white);
}
/* Override: explicit light variant keeps cream tone */
body.home-has-video .section.section--light {
  background-color: var(--bg-section);
}

/* Footer always opaque — final wall */
body.home-has-video .footer { position: relative; z-index: 1; }

/* 3D scene canvas — sits in the empty (left) half of the hero in RTL */
.hero__3d {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 55%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.95;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.85) 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.85) 55%, transparent 100%);
}
@media (max-width: 900px) {
  .hero__3d {
    width: 100%;
    opacity: 0.45;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.9) 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.9) 0%, transparent 75%);
  }
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 22px;
  background: rgba(201,169,110,0.12);
  border: 1px solid rgba(201,169,110,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50px;
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  margin-bottom: 32px;
  text-transform: uppercase;
}
.hero__badge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(201,169,110,.25);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; box-shadow: 0 0 0 4px rgba(201,169,110,.25); }
  50% { opacity:0.6; box-shadow: 0 0 0 8px rgba(201,169,110,.10); }
}
.hero__title {
  font-size: clamp(40px, 7vw, 78px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 28px;
  letter-spacing: -0.03em;
}
.hero__title-accent {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 50%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}
.hero__title-accent::after {
  content: '';
  position: absolute;
  bottom: 0.05em;
  right: 0;
  left: 0;
  height: 6px;
  background: linear-gradient(90deg, transparent, rgba(201,169,110,.35), transparent);
  border-radius: 4px;
}
.hero__desc {
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(255,255,255,0.78);
  max-width: 620px;
  margin-bottom: 48px;
  line-height: 1.9;
  font-weight: 400;
}
.hero__actions { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  right: 50%;
  transform: translateX(50%);
  z-index: 2;
  color: rgba(255,255,255,.5);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: float-down 2.4s ease-in-out infinite;
}
.hero__scroll-indicator::after {
  content: '';
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, var(--accent), transparent);
}
@keyframes float-down {
  0%,100% { transform: translateX(50%) translateY(0); }
  50% { transform: translateX(50%) translateY(8px); }
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-ar);
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: 0.2px;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.7s var(--ease-out);
}
.btn:hover::before { transform: translateX(100%); }
.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow-gold);
  border-color: rgba(255,255,255,0.1);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold-lg);
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
}
.btn--outline {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--accent-light);
  color: var(--accent-light);
}
.btn--dark {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn--dark:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ── Services Grid ─────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 42px 32px 36px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-light));
  transform: scaleX(0);
  transition: transform 0.5s var(--ease-out);
  transform-origin: right;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle 320px at var(--mx, 50%) var(--my, 50%),
    rgba(201,169,110,0.12) 0%,
    transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
  z-index: 0;
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,169,110,0.3);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }

.service-card__icon {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-light);
  font-size: 30px;
  transition: transform 0.5s var(--ease-out);
  position: relative;
  box-shadow: 0 10px 24px rgba(15,30,69,.22);
}
.service-card__icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(201,169,110,0.25), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover .service-card__icon {
  transform: scale(1.08) rotate(-4deg);
}
.service-card:hover .service-card__icon::after { opacity: 1; }

.service-card__title {
  font-size: 21px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.service-card__desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 22px;
}
.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
}
.service-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-body);
  font-weight: 500;
}
.service-card__list li::before {
  content: '';
  width: 16px;
  height: 16px;
  background-color: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41Z'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41Z'/%3E%3C/svg%3E") no-repeat center / contain;
  flex-shrink: 0;
  margin-top: 3px;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  transition: gap var(--transition), color var(--transition);
  position: relative;
}
.service-card__link::after {
  content: '';
  position: absolute;
  bottom: -4px; right: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width var(--transition);
}
.service-card__link:hover {
  gap: 12px;
  color: var(--accent-dark);
}
.service-card__link:hover::after { width: 100%; }

/* ── Why EDICT — Feature Cards ─────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition);
  text-align: right;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(201,169,110,0.18), transparent 70%);
  transform: translate(20px, -20px);
  transition: transform var(--transition);
}
.feature-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(201,169,110,0.35);
  transform: translateY(-6px);
}
.feature-card:hover::before {
  transform: translate(10px, -10px) scale(1.3);
}
.feature-card__icon {
  font-size: 34px;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(201,169,110,.18), rgba(201,169,110,.06));
  border: 1px solid rgba(201,169,110,.25);
  border-radius: 16px;
  position: relative;
  z-index: 1;
}
.feature-card__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-light);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.feature-card__desc {
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
}

/* ── Feature cards on light/white backgrounds (packages "Why Subscribe") ── */
.section--light .feature-card,
.section:not(.section--dark) .feature-card {
  background: var(--white);
  border-color: var(--border-soft);
}
.section--light .feature-card:hover,
.section:not(.section--dark) .feature-card:hover {
  background: var(--white);
  border-color: rgba(201,169,110,0.45);
  box-shadow: 0 8px 24px rgba(15,30,69,0.10);
}
.section--light .feature-card__title,
.section:not(.section--dark) .feature-card__title {
  color: var(--primary);
}
.section--light .feature-card__desc,
.section:not(.section--dark) .feature-card__desc {
  color: var(--text-body);
}
.section--light .feature-card__icon,
.section:not(.section--dark) .feature-card__icon {
  background: linear-gradient(135deg, rgba(201,169,110,.14), rgba(201,169,110,.05));
  border-color: rgba(201,169,110,.30);
}

/* ── Process Steps ─────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 48px; right: 8%; left: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg,
    var(--accent) 0 8px,
    transparent 8px 16px);
  opacity: 0.45;
  z-index: 0;
}
.process-step {
  text-align: center;
  padding: 0 18px;
  position: relative;
  z-index: 1;
}
.process-step__num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--accent-light);
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 8px var(--bg-light), 0 12px 24px rgba(15,30,69,.18);
  transition: all 0.5s var(--ease-out);
  position: relative;
  font-family: 'Playfair Display', var(--font-ar);
}
.process-step__num::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0;
  transform: scale(1);
  transition: opacity var(--transition), transform var(--transition);
}
.process-step:hover .process-step__num {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  transform: scale(1.08);
}
.process-step:hover .process-step__num::before {
  opacity: 1;
  transform: scale(1.18);
}
.process-step__title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.process-step__desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Stats Banner ──────────────────────────────────────────── */
.stats-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-xl);
}
.stats-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 400px 200px at 90% 0%, rgba(201,169,110,.15), transparent 70%),
    radial-gradient(ellipse 400px 200px at 10% 100%, rgba(201,169,110,.10), transparent 70%);
  pointer-events: none;
}
.stat-item {
  padding: 56px 24px;
  text-align: center;
  border-left: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition);
  position: relative;
  z-index: 1;
}
.stat-item:last-child { border-left: none; }
.stat-item:hover { background: rgba(255,255,255,0.04); }
.stat-item__num {
  font-size: 56px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  display: block;
  font-family: 'Playfair Display', var(--font-ar);
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-item__label {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  margin-top: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ── Clients Grid ──────────────────────────────────────────── */
.clients-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 22px;
}
.client-type-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 32px 22px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.client-type-card::before {
  content: '';
  position: absolute;
  top: 0; right: 50%; transform: translateX(50%);
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-light));
  border-radius: 0 0 4px 4px;
  opacity: 0;
  transition: opacity var(--transition);
}
.client-type-card:hover {
  border-color: rgba(201,169,110,0.4);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.client-type-card:hover::before { opacity: 1; }
.client-type-card__icon { font-size: 40px; margin-bottom: 16px; display: block; }
.client-type-card__title {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.01em;
}

/* ── Partners Logos ────────────────────────────────────────── */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  align-items: center;
}
.partner-logo {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  transition: all var(--transition);
}
.partner-logo:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: scale(1.04);
}
.partner-logo__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
}

/* ── Contact Form ──────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: start;
}
.contact-info__title {
  font-size: 30px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.contact-info__list { display: flex; flex-direction: column; gap: 22px; margin-top: 8px; }
.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.contact-info__item-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(15,30,69,.18);
  position: relative;
}
.contact-info__item-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(201,169,110,.2), transparent 70%);
}
.contact-info__item-icon svg { width: 22px; height: 22px; position: relative; z-index: 1; }
.contact-info__item-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}
.contact-info__item-value {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}
.contact-info__item-value a:hover { color: var(--accent-dark); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.contact-form::before {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-light));
}
.contact-form__title {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.form-group {
  margin-bottom: 22px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.form-group label .required { color: #d44545; margin-right: 3px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-ar);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: all var(--transition);
  outline: none;
  direction: rtl;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-faint); font-weight: 400; }
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover { border-color: var(--accent); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15,30,69,0.08);
  background: var(--white);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #d44545;
  box-shadow: 0 0 0 4px rgba(212,69,69,0.10);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-error { font-size: 12.5px; color: #c83333; margin-top: 6px; font-weight: 500; }
.form-success {
  padding: 22px;
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  border: 1px solid #86efac;
  border-radius: var(--radius-md);
  color: #14532d;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Page Hero (interior pages) ────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 70%, var(--primary-light) 100%);
  padding: 180px 0 100px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,0.10), transparent 65%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -50%; left: -10%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,71,148,0.30), transparent 65%);
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero__title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}
.page-hero__title span {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}
.page-hero__breadcrumb a {
  color: var(--accent-light);
  transition: color var(--transition);
}
.page-hero__breadcrumb a:hover { color: var(--white); }

/* ── Vision & Mission ──────────────────────────────────────── */
.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.vm-card {
  padding: 48px;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.vm-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.vm-card--vision {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
}
.vm-card--vision::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,0.18), transparent 60%);
  pointer-events: none;
}
.vm-card--mission {
  background: var(--white);
  border: 1px solid var(--border);
}
.vm-card--mission::before {
  content: '';
  position: absolute;
  top: -40%; left: -20%;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,0.12), transparent 60%);
  pointer-events: none;
}
.vm-card > * { position: relative; z-index: 1; }
.vm-card__icon {
  font-size: 38px;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 16px;
  background: rgba(201,169,110,0.15);
  border: 1px solid rgba(201,169,110,0.3);
}
.vm-card--mission .vm-card__icon {
  background: rgba(201,169,110,0.10);
}
.vm-card__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  font-family: 'Playfair Display', var(--font-ar);
}
.vm-card--vision .vm-card__label { color: var(--accent-light); }
.vm-card--mission .vm-card__label { color: var(--accent-dark); }
.vm-card__title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.vm-card--vision .vm-card__title { color: var(--white); }
.vm-card--mission .vm-card__title { color: var(--primary); }
.vm-card__text {
  font-size: 15.5px;
  line-height: 1.9;
}
.vm-card--vision .vm-card__text { color: rgba(255,255,255,0.88); }
.vm-card--mission .vm-card__text { color: var(--text-body); }

/* ── CTA Banner ────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding: 110px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/static/images/hero-bg.jpg') center/cover;
  opacity: 0.06;
  mix-blend-mode: luminosity;
}
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 400px at 80% 30%, rgba(201,169,110,.18), transparent 60%),
    radial-gradient(ellipse 700px 400px at 20% 70%, rgba(43,71,148,.30), transparent 60%);
}
.cta-banner__content { position: relative; z-index: 1; }
.cta-banner__title {
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.cta-banner__title span {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-banner__text {
  font-size: 17.5px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}
.cta-banner__actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ── WhatsApp Button ───────────────────────────────────────── */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366, #1da851);
  color: var(--white);
  padding: 13px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(37,211,102,.42);
  transition: all var(--transition);
  z-index: 900;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.18);
}
.whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 36px rgba(37,211,102,.55);
  gap: 14px;
}
.whatsapp-btn__label { font-size: 13.5px; }

/* ── Scroll to Top ─────────────────────────────────────────── */
#scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 900;
  pointer-events: none;
  border: 1px solid rgba(201,169,110,0.25);
}
#scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#scroll-top:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: linear-gradient(180deg, var(--primary-dark) 0%, #060d24 100%);
  color: var(--white);
  padding-top: 88px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 56px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer__brand img {
  margin-bottom: 20px;
  height: 150px;
  width: auto;
  max-width: 100%;
}
.footer__tagline {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.footer__desc {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.85;
}
.footer__heading {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-light);
  margin-bottom: 22px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 12px;
}
.footer__heading::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 32px; height: 2px;
  background: var(--accent);
}
.footer__list { display: flex; flex-direction: column; gap: 12px; }
.footer__list li a {
  font-size: 14px;
  color: rgba(255,255,255,0.62);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer__list li a::before {
  content: '';
  width: 6px; height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}
.footer__list li a:hover {
  color: var(--accent-light);
  padding-right: 6px;
}
.footer__list li a:hover::before { width: 14px; }
.footer__contact-list { display: flex; flex-direction: column; gap: 16px; }
.footer__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}
.footer__contact-list svg {
  width: 18px; height: 18px;
  stroke: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}
.footer__contact-list a:hover { color: var(--accent-light); }
.footer__bottom {
  padding: 24px 0;
  background: rgba(0,0,0,0.25);
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

/* ── Animations ────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  will-change: opacity, transform;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: 0.08s; }
.fade-up.delay-2 { transition-delay: 0.16s; }
.fade-up.delay-3 { transition-delay: 0.24s; }
.fade-up.delay-4 { transition-delay: 0.32s; }
.fade-up.delay-5 { transition-delay: 0.40s; }

/* ── Lawyer Filter Chips ───────────────────────────────────── */
.lawyer-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 56px;
}
.lawyer-filter__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 50px;
  background: var(--white);
  border: 1.5px solid var(--border);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-body);
  transition: all var(--transition);
}
.lawyer-filter__chip:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}
.lawyer-filter__chip.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(15,30,69,.18);
}

/* ── Lawyer Cards Grid ─────────────────────────────────────── */
.lawyer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.lawyer-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.lawyer-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease-out);
  z-index: 2;
}
.lawyer-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.lawyer-card:hover::before { transform: scaleX(1); }

.lawyer-card__photo {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  overflow: hidden;
  position: relative;
}
.lawyer-card__photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.lawyer-card:hover .lawyer-card__photo img { transform: scale(1.05); }
.lawyer-card__avatar {
  width: 100%; height: 100%;
  display: grid;
  place-items: center;
  font-size: 64px;
  font-weight: 800;
  color: var(--accent-light);
  font-family: 'Playfair Display', var(--font-ar);
}

.lawyer-card__body { padding: 28px 24px 24px; }
.lawyer-card__name {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.02em;
  margin-bottom: 4px;
}
.lawyer-card__title {
  font-size: 13px;
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.lawyer-card__meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.lawyer-card__bio {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
.lawyer-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}
.lawyer-spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--bg-cream);
  border-radius: 50px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary);
}
.lawyer-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.lawyer-card__actions .btn { flex: 1; padding: 11px 18px; font-size: 13.5px; min-width: 0; justify-content: center; }

/* Empty state for lawyer page */
.lawyer-empty {
  text-align: center;
  padding: 60px 24px;
  background: var(--bg-light);
  border: 1px dashed var(--border);
  border-radius: var(--radius-xl);
}
.lawyer-empty__icon { font-size: 64px; margin-bottom: 16px; opacity: .8; }
.lawyer-empty__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}
.lawyer-empty__text {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.lawyer-empty__text a { color: var(--accent-dark); font-weight: 700; }

/* ── Lawyer Detail Page ────────────────────────────────────── */
.lawyer-detail {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}
.lawyer-detail__side {
  position: sticky;
  top: 100px;
}
.lawyer-detail__photo {
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  box-shadow: var(--shadow-lg);
  margin-bottom: 22px;
}
.lawyer-detail__photo img { width: 100%; height: 100%; object-fit: cover; }
.lawyer-detail__avatar {
  width: 100%; height: 100%;
  display: grid;
  place-items: center;
  font-size: 96px;
  font-weight: 800;
  color: var(--accent-light);
  font-family: 'Playfair Display', var(--font-ar);
}
.lawyer-detail__side .btn { width: 100%; justify-content: center; padding: 16px; font-size: 15px; }

.lawyer-detail__quick-info {
  margin-top: 22px;
  background: var(--bg-light);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.quick-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.quick-info-item__icon {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--accent-light);
  border-radius: 12px;
  font-size: 18px;
  flex-shrink: 0;
}
.quick-info-item__value {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark);
}
.quick-info-item__label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.lawyer-detail__role {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(201,169,110,.12);
  border: 1px solid rgba(201,169,110,.3);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.lawyer-detail__name {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.03em;
  margin-bottom: 24px;
  line-height: 1.2;
}
.lawyer-detail__bio {
  font-size: 16px;
  line-height: 1.95;
  color: var(--text-body);
}
.lawyer-detail__bio p { margin-bottom: 14px; }

.lawyer-detail__section {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.lawyer-detail__section h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 18px;
  letter-spacing: -.01em;
}
.lawyer-detail__specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.lawyer-detail__spec {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-light);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  transition: all var(--transition);
}
.lawyer-detail__spec:hover {
  border-color: var(--accent);
  transform: translateX(-3px);
  background: var(--white);
}
.lawyer-detail__spec-icon { font-size: 22px; }

/* Booking placeholder card (Phase 1, before Phase 2 implementation) */
.booking-placeholder {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 60px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  max-width: 640px;
  margin: 0 auto;
}
.booking-placeholder__icon {
  font-size: 56px;
  margin-bottom: 16px;
  opacity: .8;
}
.booking-placeholder h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: -.02em;
}
.booking-placeholder p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.booking-placeholder__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 880px) {
  .lawyer-detail { grid-template-columns: 1fr; gap: 36px; }
  .lawyer-detail__side { position: static; max-width: 360px; margin: 0 auto; }
  .lawyer-detail__photo { aspect-ratio: 4/3; }
}

/* ── 404 Page ──────────────────────────────────────────────── */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  text-align: center;
  color: var(--white);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.error-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 80% 20%, rgba(201,169,110,.15), transparent 60%),
    radial-gradient(ellipse 600px 400px at 20% 80%, rgba(43,71,148,.30), transparent 60%);
}
.error-page > * { position: relative; z-index: 1; }
.error-page__num {
  font-size: clamp(120px, 18vw, 200px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-light), var(--accent-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  font-family: 'Playfair Display', var(--font-ar);
}
.error-page__title { font-size: 32px; font-weight: 800; margin-bottom: 14px; letter-spacing: -0.02em; }
.error-page__text { color: rgba(255,255,255,0.72); margin-bottom: 36px; font-size: 16px; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .section { padding: 88px 0; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; }
  .stats-banner { grid-template-columns: repeat(2,1fr); }
  .contact-form { padding: 36px; }
}

@media (max-width: 768px) {
  :root { --navbar-h: 72px; }
  .navbar__logo img { height: 52px; }
  .section { padding: 64px 0; }
  .section__header { margin-bottom: 48px; }
  .navbar__links { display: none; }
  .navbar__toggle { display: flex; }
  .hero { padding: 80px 0 60px; min-height: auto; }
  .hero__content { padding-top: 20px; }
  .vision-mission-grid { grid-template-columns: 1fr; gap: 22px; }
  .vm-card { padding: 32px; }
  .process-steps { grid-template-columns: 1fr; gap: 40px; }
  .process-steps::before { display: none; }
  .hero__scroll-indicator { display: none; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .stats-banner { grid-template-columns: repeat(2,1fr); border-radius: var(--radius-lg); }
  .stat-item { padding: 36px 16px; }
  .stat-item__num { font-size: 42px; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
  .whatsapp-btn__label { display: none; }
  .whatsapp-btn { padding: 14px; border-radius: 50%; }
  .cta-banner { padding: 72px 0; }
  .page-hero { padding: 140px 0 72px; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-banner { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 24px 12px; }
  .stat-item__num { font-size: 36px; }
  .contact-form { padding: 24px; border-radius: var(--radius-lg); }
  .service-card { padding: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* ═══════════════════════════════════════════════════════════════
   PHASE 2 — BOOKING WIZARD + AUX STYLES
═══════════════════════════════════════════════════════════════ */

/* Smaller hero variant for non-landing pages */
.page-hero--sm { padding: 80px 0 32px; }

/* Generic alert */
.alert {
  display:flex; align-items:center; gap:10px;
  padding:14px 18px; border-radius:12px;
  font-weight:600; margin: 18px 0 0;
}
.alert--error   { background: #fff1f1; color:#9a1c1c; border:1px solid #f6c9c9; }
.alert--success { background:#ecfdf5;  color:#065f46; border:1px solid #b7e7d2; }

/* ── Quick CTA strip on lawyer detail ───────────────────────── */
.quick-cta {
  display:flex; gap:24px; align-items:center; justify-content:space-between;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color:#fff; padding:32px 36px; border-radius:20px; flex-wrap:wrap;
  box-shadow: 0 18px 40px -20px rgba(15,23,42,0.55);
}
.quick-cta__text h3 { font-size:1.4rem; margin:0 0 6px; color:#fff; }
.quick-cta__text p  { margin:0; color:#cbd5e1; font-size:0.98rem; }
.quick-cta__actions { display:flex; gap:12px; flex-wrap:wrap; }
.quick-cta .btn--outline { color:#fff; border-color:rgba(255,255,255,0.4); }
.quick-cta .btn--outline:hover { background:rgba(255,255,255,0.1); border-color:#fff; }

/* ── Lawyer mini card on booking page ────────────────────────── */
.booking-lawyer-card {
  display:flex; gap:18px; align-items:center;
  background:#fff; border:1px solid #e8e1d4;
  border-radius:18px; padding:18px 22px; margin: 0 0 28px;
  box-shadow: 0 8px 24px -16px rgba(15,23,42,0.18);
}
.booking-lawyer-card__photo {
  width:72px; height:72px; flex-shrink:0;
  border-radius:50%; overflow:hidden;
  background: linear-gradient(135deg, #c9a96e, #b08d50);
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-weight:800; font-size:1.6rem;
}
.booking-lawyer-card__photo img { width:100%; height:100%; object-fit:cover; }
.booking-lawyer-card__name  { font-weight:800; font-size:1.15rem; color:#0f172a; }
.booking-lawyer-card__title { font-size:0.92rem; color:#64748b; margin-top:2px; }
.booking-lawyer-card__meta {
  display:flex; gap:16px; flex-wrap:wrap; margin-top:8px;
  font-size:0.85rem; color:#475569;
}

/* ── Wizard steps ────────────────────────────────────────────── */
.booking-wizard { max-width:920px; margin: 0 auto; }
.booking-step {
  background:#fff; border:1px solid #e8e1d4; border-radius:20px;
  padding:28px 30px; margin-bottom:20px;
  box-shadow: 0 6px 18px -14px rgba(15,23,42,0.18);
  transition: opacity .25s, filter .25s;
}
.booking-step--locked { opacity:.55; pointer-events:none; filter:grayscale(.4); }
.booking-step__head { display:flex; align-items:center; gap:14px; margin-bottom:18px; }
.booking-step__head h2 { font-size:1.25rem; margin:0; color:#0f172a; }
.booking-step__num {
  width:38px; height:38px; border-radius:50%;
  background:#0f172a; color:#c9a96e; display:flex;
  align-items:center; justify-content:center; font-weight:800;
  font-family:'Playfair Display',serif; font-size:1.1rem;
}

/* ── Calendar ────────────────────────────────────────────────── */
.booking-cal__head {
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:14px; padding: 0 4px;
}
.booking-cal__title { font-weight:800; font-size:1.05rem; color:#0f172a; }
.booking-cal__nav {
  width:36px; height:36px; border-radius:10px;
  background:#f5f1e8; color:#0f172a; border:none;
  font-size:1.4rem; cursor:pointer; line-height:1;
  transition: background .15s;
}
.booking-cal__nav:hover:not(:disabled) { background:#ebe5d4; }
.booking-cal__nav:disabled { opacity:.35; cursor:not-allowed; }

.booking-cal__weekdays {
  display:grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  text-align:center; font-size:0.78rem; color:#64748b;
  font-weight:600; padding-bottom:8px;
  border-bottom:1px solid #ece7da;
}
.booking-cal__weekdays > span {
  padding:6px 2px; min-width:0; overflow:hidden;
  text-overflow:ellipsis; white-space:nowrap;
}
/* Show full weekday names on wide screens, short on narrow */
.booking-cal__weekdays .wd-short { display:none; }
@media (max-width: 520px) {
  .booking-cal__weekdays .wd-full  { display:none; }
  .booking-cal__weekdays .wd-short { display:inline; }
}
.booking-cal__weekend { color:#cbd5e1; }

.booking-cal__grid {
  display:grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  gap:6px; padding-top:10px;
}
.booking-cal__day {
  aspect-ratio: 1 / 1; min-height:44px;
  display:flex; align-items:center; justify-content:center;
  border-radius:10px; border:1px solid transparent;
  background:transparent; cursor:pointer; font-weight:600;
  font-size:0.95rem; color:#0f172a; padding:0;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
  font-family: inherit;
}
.booking-cal__day--empty { visibility: hidden; }
.booking-cal__day--ok:hover { background:#f5f1e8; border-color:#c9a96e; }
.booking-cal__day--ok:active { transform: scale(.96); }
.booking-cal__day--today { box-shadow: inset 0 0 0 2px #c9a96e; }
.booking-cal__day--off,
.booking-cal__day--past { color:#cbd5e1; cursor:not-allowed; }
.booking-cal__day--off  { background: repeating-linear-gradient(45deg, #fafafa, #fafafa 4px, #f3f3f3 4px, #f3f3f3 8px); }
.booking-cal__day--past { background:#fafafa; }
.booking-cal__day--selected,
.booking-cal__day--selected:hover {
  background:#0f172a; color:#c9a96e; border-color:#0f172a;
  transform: scale(1.02);
}

.booking-cal__legend {
  display:flex; gap:16px; flex-wrap:wrap;
  font-size:0.82rem; color:#64748b;
  margin-top:14px; padding-top:12px;
  border-top:1px solid #ece7da; align-items:center;
}
.legend-dot {
  display:inline-block; width:12px; height:12px; border-radius:4px;
  margin-left:4px; vertical-align:middle;
}
.legend-dot--ok       { background:#f5f1e8; border:1px solid #c9a96e; }
.legend-dot--off      { background: repeating-linear-gradient(45deg, #fafafa, #fafafa 3px, #f3f3f3 3px, #f3f3f3 6px); border:1px solid #e5e7eb; }
.legend-dot--past     { background:#fafafa; border:1px solid #e5e7eb; }
.legend-dot--selected { background:#0f172a; }

/* ── Time slots grid ─────────────────────────────────────────── */
.booking-slots {
  display:grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap:10px;
}
.booking-slots__status {
  padding: 14px 16px; background:#f8f7f2;
  border-radius:12px; color:#64748b; font-size:0.95rem;
  text-align:center;
}
.booking-slot {
  padding:14px 12px; background:#fff;
  border:1.5px solid #e5e7eb; border-radius:12px;
  cursor:pointer; font-weight:600; font-size:0.95rem;
  color:#0f172a; transition: all .15s;
  font-family: inherit; display:flex; flex-direction:column;
  align-items:center; gap:4px;
}
.booking-slot:hover:not(:disabled) {
  border-color:#c9a96e; background:#fefcf5; transform: translateY(-2px);
  box-shadow: 0 6px 14px -8px rgba(201,169,110,0.4);
}
.booking-slot__time { font-family:'Inter','Tajawal',sans-serif; letter-spacing:.5px; }
.booking-slot__tag  { font-size:0.72rem; color:#9ca3af; font-weight:500; }
.booking-slot--taken {
  background:#f9f9f9; color:#9ca3af; cursor:not-allowed;
  border-style:dashed;
}
.booking-slot--selected,
.booking-slot--selected:hover {
  background:#0f172a; color:#c9a96e; border-color:#0f172a;
}

/* ── Booking summary bar ─────────────────────────────────────── */
.booking-summary {
  background:#fefcf5; border:1px solid #e8d9b8;
  border-radius:12px; padding:14px 18px; margin-bottom:20px;
  display:flex; gap:24px; flex-wrap:wrap;
  font-size:0.95rem;
}
.booking-summary span { color:#64748b; margin-left:6px; }
.booking-summary b { color:#0f172a; font-weight:700; }

/* Block button helper for booking submit */
.btn--block { width:100%; padding: 16px 24px; font-size:1.05rem; }

/* ── Form fields (public) — mirrors admin form-row ─────────── */
.form-row {
  display:grid; gap:16px;
  grid-template-columns: 1fr;
  margin-bottom:16px;
}
.form-row--2 { grid-template-columns: 1fr 1fr; }
.form-field { display:block; margin-bottom:16px; }
.form-field label {
  display:block; font-weight:600; color:#0f172a;
  margin-bottom:8px; font-size:0.92rem;
}
.form-field input,
.form-field textarea {
  width:100%; padding:12px 14px; border:1.5px solid #e5e7eb;
  border-radius:10px; font-family:inherit; font-size:0.98rem;
  transition: border-color .15s, box-shadow .15s;
  background:#fff; color:#0f172a;
}
.form-field input:focus,
.form-field textarea:focus {
  outline:none; border-color:#c9a96e;
  box-shadow: 0 0 0 3px rgba(201,169,110,0.15);
}
.form-field textarea { resize: vertical; min-height: 96px; }
.form-field .req { color:#b91c1c; }
.form-hint { font-size:0.83rem; color:#64748b; margin-top:6px; }

/* ── Booking thanks page ─────────────────────────────────────── */
.booking-thanks {
  max-width: 680px; margin: 0 auto; text-align:center;
  background:#fff; border:1px solid #e8e1d4; border-radius:24px;
  padding: 48px 40px;
  box-shadow: 0 18px 40px -20px rgba(15,23,42,0.25);
}
.booking-thanks__check {
  width:96px; height:96px; margin: 0 auto 18px;
  border-radius:50%;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color:#059669; display:flex; align-items:center; justify-content:center;
}
.booking-thanks__title { font-size:1.85rem; margin:0 0 12px; color:#0f172a; }
.booking-thanks__lead {
  color:#475569; font-size:1.05rem; margin: 0 0 28px;
  line-height:1.7;
}
.booking-thanks__card {
  background:#f8f7f2; border-radius:16px; padding:22px 26px;
  text-align:right; margin: 0 0 24px;
}
.booking-thanks__row {
  display:flex; justify-content:space-between; align-items:center;
  padding:10px 0; border-bottom:1px dashed #e5d9c0;
  font-size:0.96rem;
}
.booking-thanks__row:last-child { border-bottom:none; }
.booking-thanks__label { color:#64748b; }
.booking-thanks__value { color:#0f172a; font-weight:700; }
.booking-thanks__notes {
  text-align:right; background:#fefcf5; border:1px solid #f1e7d0;
  border-radius:14px; padding:18px 22px; margin: 0 0 24px;
}
.booking-thanks__notes h3 { margin:0 0 10px; font-size:1.05rem; color:#0f172a; }
.booking-thanks__notes ul { padding-right:20px; margin:0; color:#475569; line-height:1.9; }
.booking-thanks__notes a { color:#c9a96e; font-weight:700; }
.booking-thanks__actions { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

/* ── Status pill (public) — mirror admin styles ────────────── */
.status-pill {
  display:inline-block; padding:4px 12px; border-radius:999px;
  font-size:0.78rem; font-weight:700;
}
.status-pill--pending   { background:#fef3c7; color:#92400e; }
.status-pill--confirmed { background:#d1fae5; color:#065f46; }
.status-pill--cancelled { background:#fee2e2; color:#991b1b; }
.status-pill--completed { background:#dbeafe; color:#1e40af; }
.t-mono { font-family:'Inter','SFMono-Regular',Consolas,monospace; }

/* ── Client portal (/my-bookings) ────────────────────────────── */
.portal-card {
  max-width:560px; margin:0 auto;
  background:#fff; border-radius:20px;
  padding:48px 40px; text-align:center;
  box-shadow:0 4px 28px rgba(15,23,42,0.06);
}
.portal-card__title { font-size:1.85rem; margin:0 0 14px; color:#0f172a; }
.portal-card__lead {
  color:#475569; font-size:1rem; margin:0 0 30px; line-height:1.8;
}
.portal-card__sub { color:#94a3b8; font-size:0.88rem; }
.portal-form { text-align:right; }
.portal-form__label {
  display:block; margin-bottom:8px; font-weight:700;
  color:#0f172a; font-size:0.92rem;
}
.portal-form__input {
  width:100%; padding:13px 16px; font-size:1rem;
  border:1.5px solid #e2d9c2; border-radius:10px;
  background:#fffdf8; transition:border-color .15s, box-shadow .15s;
}
.portal-form__input:focus {
  outline:none; border-color:#c9a96e;
  box-shadow:0 0 0 3px rgba(201,169,110,0.18);
}
.portal-form__submit { width:100%; margin-top:18px; padding:14px; font-size:1.02rem; }
.portal-form__hint {
  text-align:center; color:#94a3b8; font-size:0.85rem; margin:14px 0 0;
}
.portal-form__error {
  background:#fee2e2; color:#991b1b; border:1px solid #fecaca;
  border-radius:10px; padding:11px 14px; margin-bottom:16px;
  font-size:0.92rem;
}
.portal-card__success {
  padding:10px 0;
}
.portal-card__success svg {
  color:#059669; margin-bottom:14px;
}
.portal-card__success h2 { color:#065f46; margin:0 0 10px; font-size:1.3rem; }
.portal-card__success p { color:#475569; margin:0 0 22px; line-height:1.8; }

.portal-header {
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:14px;
  margin-bottom:24px;
}
.portal-header__title { margin:0 0 6px; font-size:1.85rem; color:#0f172a; }
.portal-header__email { margin:0; color:#94a3b8; font-size:0.92rem; }
.portal-header__new { white-space:nowrap; }

.portal-stats {
  display:grid; grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:12px; margin-bottom:34px;
}
.portal-stat {
  background:#fff; border:1px solid #ece7da; border-radius:14px;
  padding:18px 14px; text-align:center;
}
.portal-stat__value {
  display:block; font-size:1.85rem; font-weight:800;
  color:#0f172a; line-height:1; margin-bottom:6px;
}
.portal-stat__label { color:#64748b; font-size:0.82rem; font-weight:600; }
.portal-stat--confirmed { background:#ecfdf5; border-color:#b7e7d2; }
.portal-stat--confirmed .portal-stat__value { color:#065f46; }
.portal-stat--pending { background:#fffbeb; border-color:#fde68a; }
.portal-stat--pending .portal-stat__value { color:#92400e; }
.portal-stat--completed { background:#eff6ff; border-color:#bfdbfe; }
.portal-stat--completed .portal-stat__value { color:#1e40af; }
.portal-stat--cancelled { background:#fef2f2; border-color:#fecaca; }
.portal-stat--cancelled .portal-stat__value { color:#991b1b; }

.portal-section { margin-bottom:36px; }
.portal-section__title {
  font-size:1.2rem; color:#0f172a; margin:0 0 16px;
  padding-bottom:10px; border-bottom:2px solid #ece7da;
}
.portal-section__count { color:#94a3b8; font-size:0.92rem; font-weight:500; }

.portal-bookings {
  display:grid; grid-template-columns:repeat(auto-fill, minmax(320px, 1fr));
  gap:16px;
}
.portal-booking {
  background:#fff; border:1px solid #ece7da; border-radius:14px;
  padding:20px 22px;
  transition: box-shadow .15s, transform .15s;
}
.portal-booking:hover { box-shadow:0 4px 16px rgba(15,23,42,0.06); transform:translateY(-1px); }
.portal-booking--confirmed { border-right:4px solid #10b981; }
.portal-booking--pending   { border-right:4px solid #f59e0b; }
.portal-booking--completed { border-right:4px solid #3b82f6; }
.portal-booking--cancelled { border-right:4px solid #ef4444; opacity:0.78; }
.portal-booking--past { background:#fafaf7; }

.portal-booking__head {
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:10px;
}
.portal-booking__id { color:#94a3b8; font-size:0.85rem; }
.portal-booking__subject { font-size:1.05rem; margin:0 0 14px; color:#0f172a; }
.portal-booking__details { margin:0; }
.portal-booking__details > div {
  display:flex; gap:10px; padding:6px 0;
  border-bottom:1px dashed #f0e9d6; font-size:0.91rem;
}
.portal-booking__details > div:last-child { border-bottom:none; }
.portal-booking__details dt { color:#64748b; min-width:80px; margin:0; }
.portal-booking__details dd { color:#0f172a; font-weight:600; margin:0; flex:1; }
.portal-booking__actions { margin-top:14px; }

.portal-empty {
  text-align:center; padding:42px 26px;
  background:#fff; border:1px dashed #d4c9a8; border-radius:14px;
  margin-bottom:36px;
}
.portal-empty p { color:#64748b; margin:0 0 16px; font-size:1rem; }
.btn--sm { padding:8px 16px; font-size:0.88rem; }

/* ═══════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE FIXES (Phase 2)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .quick-cta { padding:24px; gap:18px; text-align:center; }
  .quick-cta__text h3 { font-size:1.2rem; }
  .quick-cta__actions { width:100%; justify-content:center; }
  .quick-cta__actions .btn { flex:1; min-width:140px; }

  .booking-step { padding:20px 18px; border-radius:16px; }
  .booking-step__head h2 { font-size:1.1rem; }
  .booking-step__num { width:32px; height:32px; font-size:1rem; }

  .booking-cal__day { min-height:38px; font-size:0.85rem; border-radius:8px; }
  .booking-cal__weekdays { font-size:0.68rem; }
  .booking-cal__weekdays span { padding:4px 0; }

  .booking-slots { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap:8px; }
  .booking-slot { padding:12px 8px; font-size:0.88rem; }

  .booking-lawyer-card { padding:14px 16px; gap:14px; }
  .booking-lawyer-card__photo { width:56px; height:56px; font-size:1.2rem; }
  .booking-lawyer-card__name { font-size:1.05rem; }
  .booking-lawyer-card__meta { gap:10px; font-size:0.8rem; }

  .booking-thanks { padding:32px 22px; border-radius:18px; }
  .booking-thanks__title { font-size:1.45rem; }
  .booking-thanks__lead { font-size:0.95rem; }
  .booking-thanks__check { width:72px; height:72px; }
  .booking-thanks__check svg { width:48px; height:48px; }
  .booking-thanks__card { padding:16px 18px; }
  .booking-thanks__row { flex-direction:column; align-items:flex-start; gap:4px; padding:8px 0; }
  .booking-thanks__actions { flex-direction:column; }
  .booking-thanks__actions .btn { width:100%; }

  .portal-card { padding:34px 22px; border-radius:16px; }
  .portal-card__title { font-size:1.45rem; }
  .portal-stats { grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .portal-stat__value { font-size:1.5rem; }
  .portal-bookings { grid-template-columns:1fr; }
  .portal-header { flex-direction:column; align-items:flex-start; }
  .portal-header__new { width:100%; text-align:center; }

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

  .stats-banner { gap:18px; }
}

@media (max-width: 480px) {
  .booking-cal__day { min-height:34px; font-size:0.8rem; }
  .booking-cal__weekdays span:nth-child(n+5) { font-size:0.6rem; }
  .booking-slots { grid-template-columns: repeat(2, 1fr); }
  .booking-summary { flex-direction:column; gap:8px; padding:12px 14px; }
  .quick-cta__actions .btn { width:100%; flex:none; }
}

/* ═══════════════════════════════════════════
   LOCATION / MAP CARD (home page)
══════════════════════════════════════════ */
.location-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px -22px rgba(15,30,69,0.35);
  background: var(--primary);
  margin-top: 28px;
  min-height: 380px;
}
.location-card__map {
  width: 100%;
  height: 100%;
  min-height: 380px;
  background: #e9eef5;
}
.location-card__map iframe { display:block; width:100%; height:100%; }
.location-card__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  padding: 36px 32px;
  color: var(--white);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(201,169,110,0.18), transparent 60%),
    linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%);
}
.location-card__info h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-light);
  margin: 4px 0 0;
}
.location-card__info p {
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  margin: 0 0 12px;
}
.location-card__info .btn {
  margin-top: 4px;
}

@media (max-width: 820px) {
  .location-card {
    grid-template-columns: 1fr;
  }
  .location-card__map { min-height: 260px; }
  .location-card__info { padding: 28px 22px; align-items: center; text-align: center; }
}

/* ═══════════════════════════════════════════
   SERVICES PAGE — QA PILLARS + PATHS MINI
══════════════════════════════════════════ */
.qa-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}
.qa-pillar {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,169,110,0.18);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
}
.qa-pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(201,169,110,0.5);
  background: rgba(201,169,110,0.06);
}
.qa-pillar__icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: inline-block;
  filter: drop-shadow(0 8px 16px rgba(201,169,110,0.35));
}
.qa-pillar__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-light);
  margin-bottom: 12px;
}
.qa-pillar__text {
  font-size: 14px;
  color: rgba(255,255,255,0.88);
  line-height: 1.85;
}
@media (max-width: 820px) {
  .qa-pillars { grid-template-columns: 1fr; gap: 18px; }
}

.paths-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.paths-mini-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.paths-mini-card span { font-size: 22px; }
.paths-mini-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 12px 28px -16px rgba(201,169,110,0.5);
  color: var(--primary-dark);
}
@media (max-width: 820px) {
  .paths-mini-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .paths-mini-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   PACKAGES PAGE — 5-TIER PRICING CARDS
══════════════════════════════════════════ */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.package-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.package-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -22px rgba(15,30,69,0.35);
}
.package-card--gold {
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-color: var(--accent);
}
.package-card--gold .package-card__name { color: var(--accent-light); }
.package-card--gold .package-card__features li { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.1); }
.package-card--gold .package-card__price strong { color: var(--white); }
.package-card__badge {
  position: absolute;
  top: -14px;
  inset-inline-end: 22px;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 10px 24px -8px rgba(201,169,110,0.6);
}
.package-card__name {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
}
.package-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}
.package-card__price strong {
  font-size: 34px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.package-card__price span { font-size: 13px; }
.package-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.package-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border);
}
.package-card__features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}
.package-card__features li:last-child { border-bottom: none; }
.package-card .btn { margin-top: 4px; width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════
   PAYMENT METHODS GRID
══════════════════════════════════════════ */
.payments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  margin-top: 36px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.payment-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.payment-method:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 12px 24px -16px rgba(15,30,69,0.25);
}
.payment-method__logo {
  height: 36px;
  min-width: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.5px;
  border-radius: 6px;
  padding: 4px 12px;
  background: #1a1a1a;
  color: #fff;
}
.payment-method__name {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

/* mada — white bg, "mada" in official gold */
.payment-method__logo--mada {
  background: #fff;
  border: 1px solid #ddd;
  padding: 6px 10px;
  min-height: 44px;
}
.payment-method__logo--mada img { display: block; width: auto; max-width: 100%; }

/* Visa — navy bg, white italic VISA (real logo styling) */
.payment-method__logo--visa {
  background: #1A1F71;
  color: #fff;
  font-style: italic;
  letter-spacing: 0.5px;
  font-size: 20px;
  font-weight: 900;
}

/* Mastercard */
.payment-method__logo--mastercard {
  background: #fff;
  border: 1px solid #eee;
  gap: 0;
  padding: 4px;
}
.payment-method__logo--mastercard .mc-dot {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}
.payment-method__logo--mastercard .mc-dot--red { background: #EB001B; margin-right: -8px; }
.payment-method__logo--mastercard .mc-dot--yellow { background: #F79E1B; opacity: 0.92; }

/* Apple Pay — black bg, Apple logo SVG + "Pay" word */
.payment-method__logo--apple {
  background: #000;
  color: #fff;
  gap: 4px;
  padding: 6px 14px;
  min-height: 36px;
  font-size: 16px;
}
.payment-method__logo--apple svg { color: #fff; flex-shrink: 0; }
.payment-method__logo--apple strong { font-weight: 600; font-size: 16px; letter-spacing: -0.2px; }

/* Samsung Pay — Samsung blue, "SAMSUNG" stacked over "Pay" (matches official Samsung Pay logo) */
.payment-method__logo--samsung {
  background: #1428A0;
  color: #fff;
  flex-direction: column;
  gap: 0;
  padding: 5px 14px;
  min-height: 36px;
}
.payment-method__logo--samsung strong { font-size: 11px; letter-spacing: 1px; line-height: 1; font-weight: 900; }
.payment-method__logo--samsung em { font-size: 14px; font-style: normal; font-weight: 600; line-height: 1; margin-top: 2px; letter-spacing: -0.3px; }

/* Google Pay */
.payment-method__logo--google {
  background: #fff;
  color: #5F6368;
  border: 1px solid #ddd;
  gap: 6px;
  font-size: 14px;
}
.payment-method__logo--google .g-pay { display: inline-flex; gap: 0; font-weight: 900; }
.payment-method__logo--google em { font-style: normal; color: #5F6368; font-weight: 700; }

/* STC Pay */
.payment-method__logo--stcpay {
  background: #4F2683;
  color: #fff;
  flex-direction: column;
  gap: 0;
  padding: 3px 14px;
}
.payment-method__logo--stcpay strong { font-size: 18px; line-height: 1; letter-spacing: -1px; }
.payment-method__logo--stcpay em { font-size: 10px; font-style: normal; font-weight: 700; letter-spacing: 2px; }

/* Tabby — SVG has its own mint-green rounded-rect background */
.payment-method__logo--tabby {
  background: transparent;
  border: none;
  padding: 4px 8px;
  min-height: 44px;
}
.payment-method__logo--tabby img { display: block; width: auto; max-width: 100%; }

/* Tamara — SVG has its own lavender rounded-rect background */
.payment-method__logo--tamara {
  background: transparent;
  border: none;
  padding: 4px 8px;
  min-height: 44px;
}
.payment-method__logo--tamara img { display: block; width: auto; max-width: 100%; }

/* Bank transfer */
.payment-method__logo--bank {
  background: var(--primary);
  color: var(--accent-light);
}
.payment-method__logo--bank svg { color: var(--accent-light); }

/* Why-us hero trust grid → stack on mobile */
@media (max-width: 820px) {
  .why-trust-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
}

/* ═══════════════════════════════════════════
   TEAM AT WORK — photo grid for trust signal
══════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 14px;
  margin-top: 32px;
}
.team-photo {
  position: relative;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 18px 40px -22px rgba(15,30,69,0.35);
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s ease;
}
.team-photo:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 28px 60px -22px rgba(15,30,69,0.5);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s ease;
}
.team-photo:hover img { transform: scale(1.05); }
.team-photo figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 18px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(180deg, transparent 0%, rgba(8,18,48,0.85) 70%);
  letter-spacing: 0.3px;
}
.team-photo--tall { grid-row: span 2; }
.team-photo--wide { grid-column: span 2; }

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 200px);
  }
  .team-photo--tall { grid-row: auto; }
  .team-photo--wide { grid-column: span 2; }
}
@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 180px);
  }
  .team-photo--tall, .team-photo--wide { grid-row: auto; grid-column: auto; }
}

/* ═══════════════════════════════════════════
   FAQ — accordion list
══════════════════════════════════════════ */
.faq-list {
  max-width: 880px;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.faq-item[open] {
  border-color: var(--accent);
  box-shadow: 0 14px 36px -22px rgba(15,30,69,0.25);
}
.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: background .25s ease;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
  content: "+";
  font-size: 24px;
  font-weight: 300;
  color: var(--accent);
  transition: transform .3s ease;
  flex-shrink: 0;
}
.faq-item[open] .faq-item__q::after { transform: rotate(45deg); }
.faq-item__q:hover { background: rgba(201,169,110,0.04); }
.faq-item__a {
  padding: 0 24px 22px;
  color: var(--text-body);
  line-height: 1.9;
  font-size: 15px;
  animation: faq-expand .35s ease;
}
.faq-item__a a { color: var(--accent-dark); font-weight: 700; text-decoration: underline; }
@keyframes faq-expand {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 600px) {
  .faq-item__q { font-size: 15px; padding: 16px 18px; }
  .faq-item__a { padding: 0 18px 18px; font-size: 14px; }
}

/* Compact payment strip in footer — properly branded mini logos */
.footer__payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 24px;
}
.footer__payments-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-inline-end: 6px;
  font-weight: 600;
}
.footer__payments .payment-mini {
  height: 28px;
  min-width: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0;
  border-radius: 5px;
  padding: 2px 8px;
  line-height: 1;
  font-style: normal;
}

/* mada — white bg, "mada" in official gold */
.footer__payments .pm-mada {
  background: #fff;
  padding: 2px 9px;
  flex-direction: column;
  gap: 1px;
  border: 1px solid rgba(255,255,255,0.18);
}
.footer__payments .pm-mada b { color: #C8A84B; font-size: 11px; line-height: 1; font-weight: 900; letter-spacing: 1px; }

/* Visa — navy bg, white italic VISA */
.footer__payments .pm-visa {
  background: #1A1F71;
  color: #fff;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 2px 12px;
}

/* Mastercard — white bg with red + yellow overlapping circles */
.footer__payments .pm-mc {
  background: #fff;
  padding: 2px 8px;
  border: 1px solid rgba(255,255,255,0.18);
}
.footer__payments .pm-mc .mc-c {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
}
.footer__payments .pm-mc .mc-c--r { background: #EB001B; margin-inline-end: -6px; }
.footer__payments .pm-mc .mc-c--y { background: #F79E1B; opacity: 0.92; }

/* Apple Pay — black bg with Apple SVG logo + "Pay" */
.footer__payments .pm-apple {
  background: #000;
  color: #fff;
  font-size: 12px;
  padding: 2px 10px;
}

/* Samsung Pay — Samsung blue, stacked SAMSUNG + Pay */
.footer__payments .pm-samsung {
  background: #1428A0;
  color: #fff;
  padding: 2px 10px;
  flex-direction: column;
  gap: 0;
}
.footer__payments .pm-samsung b { font-size: 9px; line-height: 1; letter-spacing: 0.5px; font-weight: 900; }
.footer__payments .pm-samsung i { font-size: 9px; font-weight: 600; font-style: normal; line-height: 1; margin-top: 1px; }

/* Google Pay — white bg with colored Google + Pay */
.footer__payments .pm-googlepay {
  background: #fff;
  color: #5F6368;
  padding: 2px 10px;
  font-size: 11px;
}
.footer__payments .pm-googlepay .gp-mark { display: inline-flex; gap: 0; font-weight: 900; font-size: 11px; margin-inline-end: 3px; }
.footer__payments .pm-googlepay .gp-mark i { font-style: normal; }

/* STC Pay — purple */
.footer__payments .pm-stc {
  background: #4F2683;
  color: #fff;
  padding: 2px 10px;
  flex-direction: column;
  gap: 0;
}
.footer__payments .pm-stc b { font-size: 11px; line-height: 1; font-weight: 900; letter-spacing: -0.5px; }
.footer__payments .pm-stc i { font-size: 7px; font-weight: 700; font-style: normal; letter-spacing: 1.5px; line-height: 1; margin-top: 1px; }

/* Tabby — mint green */
.footer__payments .pm-tabby {
  background: #3BFFC1;
  color: #000;
  font-size: 12px;
  letter-spacing: -0.3px;
  padding: 2px 10px;
}

/* Tamara — current brand: dark on white */
.footer__payments .pm-tamara {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.3px;
  padding: 2px 10px;
}

@media (max-width: 480px) {
  .payments-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .payment-method { padding: 16px 8px 12px; }
}

/* ── Partner / Related-Entities Logo Grid ───────────────────── */
.partners-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.partner-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 16px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  min-height: 120px;
  text-decoration: none;
}
.partner-logo-card:hover {
  box-shadow: 0 8px 28px rgba(15,30,69,.10);
  transform: translateY(-3px);
  border-color: var(--accent);
}
.partner-logo-card__img {
  max-width: 110px;
  max-height: 68px;
  width: 100%;
  object-fit: contain;
}
.partner-logo-card__name {
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
  font-weight: 600;
}
.partner-logo-card__icon {
  font-size: 38px;
  line-height: 1;
}
/* Dark-background variant for white/light logos */
.partner-logo-card--dark {
  background: var(--primary);
  border-color: var(--primary);
}
.partner-logo-card--dark:hover { border-color: var(--accent); box-shadow: 0 8px 28px rgba(15,30,69,.25); }
.partner-logo-card--dark .partner-logo-card__name { color: rgba(255,255,255,.70); }

@media (max-width: 900px) {
  .partners-logos-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; }
  .partner-logo-card { padding: 18px 12px; min-height: 100px; }
  .partner-logo-card__img { max-width: 90px; max-height: 56px; }
  .partner-logo-card__name { font-size: 11px; }
}
@media (max-width: 480px) {
  .partners-logos-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
