/* ==========================================================================
   Moh Pro Consultancy Ltd — Master Stylesheet
   Playbook: Professional & B2B Services (Variant A: Editorial Authority)
   Locality: Birmingham, West Midlands, United Kingdom
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & Root Custom Properties (Exact Brief Palette)
   -------------------------------------------------------------------------- */
:root {
  /* Exact Design Brief Palette */
  --bg: #fcfbf9;
  --surface: #ffffff;
  --text: #111827;
  --muted: #4b5563;
  --primary: #0267a8;
  --primary-text: #ffffff;
  --accent: #7e22ce;
  --dark: #0b192c;
  --dark-text: #ffffff;

  /* Derived Palette Tones & States */
  --primary-hover: #014f82;
  --primary-subtle: rgba(2, 103, 168, 0.08);
  --primary-border: rgba(2, 103, 168, 0.22);
  --accent-hover: #671ca8;
  --accent-subtle: rgba(126, 34, 206, 0.08);
  --accent-border: rgba(126, 34, 206, 0.25);
  --dark-surface: #10233d;
  --dark-border: rgba(255, 255, 255, 0.12);
  --dark-muted: #94a3b8;
  --border: rgba(17, 24, 39, 0.12);
  --border-subtle: rgba(17, 24, 39, 0.06);
  --surface-subtle: #f5f3ef;
  --surface-warm: #f8f6f2;

  /* Typography */
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Spacing Scale (Mobile-First) */
  --space-3xs: 0.25rem;
  --space-2xs: 0.375rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: 6rem;

  /* Layout & Geometry */
  --container-max: 1240px;
  --header-height: 76px;
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Elevation & Shadows */
  --shadow-sm: 0 1px 3px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 4px 14px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 12px 28px rgba(17, 24, 39, 0.1);
  --shadow-dossier: 0 20px 40px rgba(11, 25, 44, 0.14);

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-base: 0.28s ease;
}

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

html {
  font-size: 100%;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

a {
  color: var(--primary);
  text-decoration-skip-ink: auto;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-hover);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p {
  max-width: 72ch;
  text-wrap: pretty;
}

p + p {
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   3. Accessibility & Focus States
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100px;
  inset-inline-start: 1rem;
  background: var(--dark);
  color: var(--dark-text);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   4. Layout Containers & Grid Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 2rem;
  }
}

.section {
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
  position: relative;
}

.section-tight {
  padding-block: clamp(2.5rem, 4.5vw, 4rem);
}

.section-dark {
  background-color: var(--dark);
  color: var(--dark-text);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--dark-text);
}

.section-surface {
  background-color: var(--surface);
}

.section-header {
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-dark .eyebrow {
  color: #7dd3fc;
}

.eyebrow-accent {
  color: var(--accent);
}

.section-title {
  font-size: clamp(1.85rem, 3vw + 0.5rem, 2.75rem);
  line-height: 1.2;
  margin-bottom: 0.875rem;
}

.section-subtitle {
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  color: var(--muted);
  line-height: 1.6;
}

.section-dark .section-subtitle {
  color: var(--dark-muted);
}

/* --------------------------------------------------------------------------
   5. Buttons & Interactive Controls (Min 48px Touch Targets)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 48px;
  padding: 0.75rem 1.625rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.975rem;
  line-height: 1.2;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-text);
  box-shadow: 0 2px 8px rgba(2, 103, 168, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: var(--primary-text);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(2, 103, 168, 0.35);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  background-color: var(--surface);
  border-color: var(--text);
  color: var(--text);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-dark-secondary {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--dark-text);
  border-color: var(--dark-border);
}

.btn-dark-secondary:hover {
  background-color: rgba(255, 255, 255, 0.16);
  color: var(--dark-text);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-accent {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(126, 34, 206, 0.25);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(126, 34, 206, 0.35);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   6. Sticky Header & Pinned Global Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(252, 251, 249, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

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

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  color: var(--text);
  margin-inline-end: 2rem;
}

.header-brand:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(2, 103, 168, 0.15);
}

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

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Desktop Navigation */
.header-nav {
  display: none;
}

@media (min-width: 1024px) {
  .header-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
  }

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

  .nav-link {
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    padding-block: 0.5rem;
    position: relative;
    transition: color var(--transition-fast);
  }

  .nav-link:hover {
    color: var(--primary);
  }

  .nav-link.active {
    color: var(--primary);
    font-weight: 600;
  }

  .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    inset-inline-start: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: var(--radius-full);
  }
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.875rem;
}

@media (min-width: 1024px) {
  .header-actions {
    display: flex;
  }
}

/* Mobile Menu Button */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  gap: 5px;
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: currentColor;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Offcanvas Drawer */
.mobile-drawer {
  position: fixed;
  inset-block-start: var(--header-height);
  inset-inline-start: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  height: calc(100svh - var(--header-height));
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  overflow-y: auto;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition-base), opacity var(--transition-base);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: var(--surface-subtle);
  color: var(--primary);
}

.mobile-drawer-footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.mobile-drawer-info {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   7. Hero Section (Split Layout, Variant A)
   -------------------------------------------------------------------------- */
.hero {
  padding-top: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
  position: relative;
  overflow: hidden;
}

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

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.375rem 0.875rem;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.proof-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.875rem;
  color: #b45309; /* warm amber star */
}

.proof-divider {
  color: var(--border);
}

.proof-count {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
}

.hero-title {
  font-size: clamp(2.15rem, 4vw + 0.5rem, 3.45rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.hero-title .highlight {
  color: var(--primary);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.2vw + 0.1rem, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 62ch;
}

.hero-actions {
  margin-bottom: 2.25rem;
}

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
}

.trust-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Hero Media & Frame */
.hero-media-wrapper {
  position: relative;
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-dossier);
  border: 1px solid rgba(17, 24, 39, 0.1);
  background-color: var(--dark);
  aspect-ratio: 16 / 10;
}

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

.hero-media-wrapper:hover .hero-img {
  transform: scale(1.02);
}

.hero-badge-overlay {
  position: absolute;
  bottom: 1.25rem;
  inset-inline-start: 1.25rem;
  inset-inline-end: 1.25rem;
  background: rgba(11, 25, 44, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.overlay-stat-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #7dd3fc;
  line-height: 1;
}

.overlay-stat-label {
  font-size: 0.78rem;
  color: var(--dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   8. Practice Areas & Regulated Sectors (ID: sectors-served)
   -------------------------------------------------------------------------- */
.practice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .practice-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.practice-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  position: relative;
}

.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.practice-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.practice-card:nth-child(2) .practice-icon-box {
  background: var(--accent-subtle);
  color: var(--accent);
}

.practice-card:nth-child(3) .practice-icon-box {
  background: rgba(11, 25, 44, 0.06);
  color: var(--dark);
}

.practice-title {
  font-size: 1.35rem;
  margin-bottom: 0.875rem;
  line-height: 1.3;
}

.practice-desc {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.practice-sublist {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.practice-subitem {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text);
  font-weight: 500;
}

.practice-subitem::before {
  content: "—";
  color: var(--primary);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   9. Outcome-Led Services (ID: services-outcomes)
   -------------------------------------------------------------------------- */
.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .outcomes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.outcome-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.outcome-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 4px;
  height: 100%;
  background-color: var(--primary);
}

.outcome-card.accent::before {
  background-color: var(--accent);
}

.outcome-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-xs);
  background-color: var(--surface-subtle);
  color: var(--muted);
  margin-bottom: 1rem;
}

.outcome-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.outcome-detail {
  font-size: 0.9625rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.outcome-deliverables {
  background-color: var(--surface-warm);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.deliverable-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
}

.deliverable-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.deliverable-item svg {
  color: #16a34a;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   10. Four-Stage Advisory Process (ID: how-it-works)
   -------------------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.step-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
  opacity: 0.4;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

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

/* --------------------------------------------------------------------------
   11. Signature Section: Case Study Dossier (ID: case-study-results)
   Variant A: Editorial Authority pull-quote case study with oversized metrics
   -------------------------------------------------------------------------- */
.signature-section {
  background-color: var(--dark);
  color: var(--dark-text);
  border-block: 1px solid var(--dark-border);
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--dark-border);
  margin-bottom: 3.5rem;
}

@media (min-width: 1024px) {
  .metrics-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.metric-card {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.metric-value.accent {
  color: #c084fc;
}

.metric-value.primary {
  color: #38bdf8;
}

.metric-label {
  font-size: 0.875rem;
  color: var(--dark-muted);
  line-height: 1.4;
  font-weight: 500;
}

.dossier-card {
  background-color: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  box-shadow: var(--shadow-dossier);
}

@media (min-width: 1024px) {
  .dossier-card {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
  }
}

.dossier-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--dark-border);
  margin-bottom: 1.75rem;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dark-muted);
}

.dossier-ref {
  font-family: monospace;
  color: #38bdf8;
}

.dossier-quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.45;
  color: #ffffff;
  font-style: italic;
  margin-bottom: 1.75rem;
  position: relative;
}

.dossier-client {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dossier-client-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #ffffff;
}

.dossier-client-meta {
  font-size: 0.875rem;
  color: var(--dark-muted);
}

.dossier-commentary {
  background: rgba(11, 25, 44, 0.85);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.commentary-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #38bdf8;
}

.commentary-title {
  font-size: 1.15rem;
  color: #ffffff;
  line-height: 1.3;
}

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

.commentary-signature {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: #e2e8f0;
  border-top: 1px solid var(--dark-border);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   12. Why Us: The Moh Pro Standard (ID: why-us)
   -------------------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.why-title {
  font-size: 1.25rem;
}

.why-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   13. Client Reviews (ID: client-reviews)
   Real Google Reviews verbatim as specified in design brief & business.json
   -------------------------------------------------------------------------- */
.reviews-summary-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.aggregate-rating {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.aggregate-score {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}

.aggregate-stars {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stars-row {
  display: flex;
  gap: 0.2rem;
  color: #f59e0b; /* amber 500 */
}

.aggregate-label {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

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

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.review-source {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.review-source-google {
  color: #4285f4;
}

.review-quote {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 1.5rem;
  font-style: italic;
  quotes: "“" "”";
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--surface-subtle);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.author-meta {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
}

.author-badge {
  font-size: 0.78rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   14. FAQ Section (ID: faq)
   Accessible <details> and <summary> Accordions
   -------------------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 900px;
  margin-inline: auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.75rem 1.5rem;
  font-size: 0.975rem;
  line-height: 1.65;
  color: var(--muted);
  border-top: 1px solid transparent;
}

.faq-item[open] .faq-answer {
  border-top-color: var(--border-subtle);
  padding-top: 1rem;
}

/* --------------------------------------------------------------------------
   15. Contact Chambers & Appointment Hub (ID: contact-chambers)
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
  }
}

.contact-details-col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-card-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-avenue {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.avenue-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.avenue-icon.whatsapp {
  background: rgba(37, 211, 102, 0.12);
  color: #128c7e;
}

.avenue-icon.accent {
  background: var(--accent-subtle);
  color: var(--accent);
}

.avenue-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.avenue-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.avenue-value {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.avenue-value:hover {
  color: var(--primary);
}

.avenue-note {
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Hours Table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.hours-table tr {
  border-bottom: 1px solid var(--border-subtle);
}

.hours-table tr:last-child {
  border-bottom: none;
}

.hours-table td {
  padding-block: 0.5rem;
}

.hours-day {
  font-weight: 500;
  color: var(--text);
}

.hours-time {
  text-align: end;
  color: var(--muted);
}

.chambers-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(22, 163, 74, 0.1);
  color: #15803d;
  margin-bottom: 0.75rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: currentColor;
}

/* Map Embed */
.map-frame-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  background-color: var(--surface-subtle);
}

.map-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact / Consultation Form */
.booking-form-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}

.form-header {
  margin-bottom: 1.5rem;
}

.form-title {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.form-control {
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px var(--primary-subtle);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--muted);
}

.form-status-message {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.form-status-message.success {
  display: block;
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
  border: 1px solid rgba(22, 163, 74, 0.3);
}

/* --------------------------------------------------------------------------
   16. Bottom Repeated CTA Band
   -------------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--dark) 0%, #152c4e 100%);
  color: #ffffff;
  padding-block: clamp(3rem, 5vw, 4.5rem);
  border-block: 1px solid var(--dark-border);
}

.cta-band-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  max-width: 800px;
  margin-inline: auto;
}

.cta-band-title {
  color: #ffffff;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
}

.cta-band-subtitle {
  color: var(--dark-muted);
  font-size: 1.125rem;
}

/* --------------------------------------------------------------------------
   17. Global Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--dark);
  color: var(--dark-text);
  padding-top: clamp(3.5rem, 5vw, 5rem);
  padding-bottom: 2rem;
  border-top: 1px solid var(--dark-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--dark-border);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
  }
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  color: #ffffff;
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
}

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

.footer-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #7dd3fc;
  font-weight: 500;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-link {
  color: var(--dark-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

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

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--dark-muted);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.footer-contact-item svg {
  color: #38bdf8;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-contact-item a {
  color: var(--dark-muted);
  text-decoration: none;
}

.footer-contact-item a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--dark-muted);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: start;
  }
}

.footer-credits {
  font-size: 0.78rem;
  color: #64748b;
}

/* --------------------------------------------------------------------------
   18. Back to Top Button (Class: back-to-top, >= 48px)
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-end: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background-color: var(--dark);
  color: #ffffff;
  border: 1px solid var(--dark-border);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), background-color var(--transition-fast), visibility var(--transition-fast);
}

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

.back-to-top:hover {
  background-color: var(--primary);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   19. Sub-page Specific Layouts (Services, About, Contact)
   -------------------------------------------------------------------------- */
.page-hero {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  background: var(--surface-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.breadcrumb-nav a {
  color: var(--muted);
  text-decoration: none;
}

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

.service-deep-dive {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-block: 3rem;
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 1024px) {
  .service-deep-dive {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

.service-deep-dive:last-child {
  border-bottom: none;
}

.service-deep-dive.reverse {
  direction: ltr;
}

@media (min-width: 1024px) {
  .service-deep-dive.reverse > *:first-child {
    order: 2;
  }
  .service-deep-dive.reverse > *:last-child {
    order: 1;
  }
}

.compliance-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border-inline-start: 4px solid var(--primary);
}

.compliance-box.accent {
  border-inline-start-color: var(--accent);
}

/* --------------------------------------------------------------------------
   20. Motion & Scroll Transitions (Accessibility Compliant)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}
