/*
Theme Name: Super Solicitor
Theme URI: https://supersolicitor.co.uk
Author: Big In The North Limited
Author URI: https://supersolicitor.co.uk
Description: The official WordPress theme for Super Solicitor — the UK's AI-powered legal matching platform. Clean, modern legal tech design with Inter + DM Serif Display typography, blue/white palette, and full page template support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
License URI: https://supersolicitor.co.uk/terms
Text Domain: super-solicitor
Tags: legal, professional, minimal, one-page, custom-menu, featured-images, full-width-template, custom-logo
*/

/* ============================================================
   THEME DESIGN TOKENS
   ============================================================ */
:root {
  --white:       #fff;
  --off-white:   #f8f9fb;
  --light:       #eef1f8;
  --border:      #e4e7f0;
  --text:        #0f1728;
  --muted:       #6b7599;
  --blue:        #2a5cf5;
  --blue-light:  #eef2fe;
  --blue-dark:   #1a3fd4;
  --green:       #16a163;
  --green-light: #edfaf4;
  --shadow-sm:   0 1px 4px rgba(15,23,40,.06);
  --shadow-md:   0 4px 20px rgba(15,23,40,.07);
  --shadow-lg:   0 12px 40px rgba(15,23,40,.1);
  --radius:      10px;
  --radius-sm:   6px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--off-white);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  height: 64px;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--border);
}
.site-logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
}
.site-logo:hover { text-decoration: none; }
.site-logo .logo-icon {
  width: 30px; height: 30px;
  background: var(--blue);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: .8rem;
  flex-shrink: 0;
}
.site-logo .logo-text-accent { color: var(--blue); }
.main-navigation ul {
  display: flex;
  gap: 28px;
  list-style: none;
  font-size: .85rem;
  font-weight: 500;
}
.main-navigation ul a {
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}
.main-navigation ul a:hover,
.main-navigation ul .current-menu-item > a { color: var(--text); }
.header-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}
.btn-nav {
  background: var(--blue);
  color: #fff !important;
  border: none;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  text-decoration: none !important;
  display: inline-block;
  transition: background .15s;
}
.btn-nav:hover { background: var(--blue-dark); }
.nav-mobile-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-mobile-btn span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  margin: 4px 0;
  border-radius: 2px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); color: #fff; text-decoration: none; }
.btn-secondary {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.btn-white {
  background: white;
  color: var(--blue);
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
  display: block;
}
.section-heading {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
.section-heading em { font-style: italic; color: var(--blue); }
.section-sub {
  font-size: .95rem;
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 120px 56px 64px;
}
.page-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}
.page-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}
.page-hero h1 em { font-style: italic; color: var(--blue); }
.page-hero .hero-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   HOMEPAGE HERO
   ============================================================ */
.hero-wrap {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.hero {
  padding: 120px 56px 80px;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero-tag-dot {
  width: 5px; height: 5px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.hero h1 em { font-style: italic; color: var(--blue); }
.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 400px;
}
.hero-actions { display: flex; gap: 10px; margin-bottom: 32px; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-trust-item { font-size: .78rem; color: var(--muted); font-weight: 500; }
.hero-visual { display: flex; flex-direction: column; gap: 10px; }
.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
}
.hero-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.hero-card-name { font-weight: 600; font-size: .9rem; margin-bottom: 2px; }
.hero-card-spec { font-size: .75rem; color: var(--blue); font-weight: 500; }
.match-pill {
  background: var(--green-light);
  color: var(--green);
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  white-space: nowrap;
}
.hero-card-detail { font-size: .78rem; color: var(--muted); line-height: 1.5; margin-bottom: 10px; }
.hero-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: .75rem;
}
.avail-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 5px;
}
.avail-text { color: var(--muted); }
.consult-tag {
  background: var(--blue-light);
  color: var(--blue);
  font-size: .7rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 100px;
}
.ai-badge {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  color: var(--muted);
}
.ai-badge-icon {
  width: 30px; height: 30px;
  background: var(--blue);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
}
.ai-badge strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 1px;
  font-size: .82rem;
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 24px 56px;
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--text);
  line-height: 1;
  margin-bottom: 3px;
}
.stat-num span { color: var(--blue); }
.stat-label { font-size: .75rem; color: var(--muted); font-weight: 500; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section-wrap { max-width: 1100px; margin: 0 auto; padding: 72px 56px; }
.ai-section-wrap {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.browse-section-wrap {
  background: var(--off-white);
  border-top: 1px solid var(--border);
}
.how-section-wrap {
  background: var(--white);
  border-top: 1px solid var(--border);
}

/* ============================================================
   AI SEARCH BOX
   ============================================================ */
.ai-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  max-width: 740px;
  overflow: hidden;
}
.ai-box-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--off-white);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ai-box-header span { font-size: .8rem; font-weight: 600; color: var(--text); }
.ai-box-header .sub { font-size: .75rem; font-weight: 400; color: var(--muted); margin-left: auto; }
.ai-live-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
.ai-prompts { padding: 16px 20px 0; display: flex; flex-wrap: wrap; gap: 7px; }
.ai-prompt-chip {
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 6px 12px;
  font-size: .78rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border-radius: 100px;
  transition: all .15s;
}
.ai-prompt-chip:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }
.ai-textarea-wrap { padding: 14px 20px 0; }
.ai-textarea {
  width: 100%;
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  line-height: 1.65;
  padding: 14px 16px;
  resize: none;
  min-height: 100px;
  outline: none;
  border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.ai-textarea::placeholder { color: #b8bfd4; }
.ai-textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(42,92,245,.08); background: var(--white); }
.ai-footer {
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  margin-top: 14px;
  background: var(--off-white);
}
.ai-hint { font-size: .75rem; color: var(--muted); }
.ai-submit {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: 7px;
}
.ai-submit:hover { background: var(--blue-dark); }
.ai-submit:disabled { opacity: .5; cursor: not-allowed; }

/* ============================================================
   BROWSE GRID
   ============================================================ */
.browse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 36px;
}
.browse-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  color: var(--text);
  display: block;
}
.browse-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; color: var(--text); }
.browse-icon { font-size: 1.4rem; margin-bottom: 10px; display: block; }
.browse-card h3 { font-weight: 600; font-size: .88rem; margin-bottom: 4px; }
.browse-card p { font-size: .75rem; color: var(--muted); line-height: 1.5; margin-bottom: 10px; }
.browse-count { font-size: .72rem; color: var(--blue); font-weight: 600; }

/* ============================================================
   HOW IT WORKS STEPS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 36px;
}
.step {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.step-num {
  width: 36px; height: 36px;
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: 16px;
}
.step h3 { font-weight: 600; font-size: .88rem; margin-bottom: 7px; }
.step p { font-size: .78rem; color: var(--muted); line-height: 1.6; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  border-top: 1px solid var(--border);
  padding: 20px 56px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  background: var(--white);
}
.trust-item { font-size: .78rem; color: var(--muted); font-weight: 500; }

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  background: var(--blue);
  color: white;
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  margin-top: 48px;
}
.cta-strip h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 10px;
}
.cta-strip p { color: rgba(255,255,255,.8); margin-bottom: 24px; font-size: .95rem; }

/* ============================================================
   RESULTS MODAL
   ============================================================ */
.results-overlay {
  position: fixed; inset: 0;
  background: rgba(15,23,40,.45);
  z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  padding: 32px;
  backdrop-filter: blur(4px);
}
.results-overlay.active { display: flex; }
.results-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 660px;
  max-height: 84vh;
  overflow-y: auto;
  animation: slideUp .25s ease;
}
@keyframes slideUp { from{transform:translateY(20px);opacity:0} to{transform:translateY(0);opacity:1} }
.results-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  position: sticky; top: 0;
  background: var(--white);
  border-radius: var(--radius) var(--radius) 0 0;
}
.results-header h3 { font-weight: 700; font-size: .95rem; }
.results-close {
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  border-radius: var(--radius-sm);
  transition: all .15s;
}
.results-close:hover { background: var(--light); color: var(--text); }
.results-query {
  padding: 14px 24px;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  font-size: .82rem;
  color: var(--muted);
  font-style: italic;
}
.results-analysis {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
}
.results-analysis p { font-size: .85rem; line-height: 1.7; color: var(--text); }
.analysis-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 7px;
}
.tip-box {
  background: var(--blue-light);
  color: var(--blue-dark);
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  font-size: .82rem;
  margin: 8px 0;
}
.solicitor-card {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  transition: background .15s;
}
.solicitor-card:hover { background: var(--off-white); }
.solicitor-name { font-weight: 600; font-size: .9rem; margin-bottom: 2px; }
.solicitor-spec {
  font-size: .72rem;
  color: var(--blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 5px;
}
.solicitor-detail { font-size: .78rem; color: var(--muted); line-height: 1.5; }
.match-score {
  background: var(--green-light);
  color: var(--green);
  font-weight: 700;
  font-size: .78rem;
  padding: 5px 11px;
  border-radius: 100px;
  margin-left: 16px;
  white-space: nowrap;
  flex-shrink: 0;
  text-align: center;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: .75rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  margin-top: 10px;
  transition: background .15s;
}
.contact-btn:hover { background: var(--blue-dark); }
.loading-state { padding: 40px 24px; text-align: center; }
.loading-bar {
  width: 100%; height: 2px;
  background: var(--light);
  border-radius: 2px;
  margin: 16px 0;
  overflow: hidden;
}
.loading-bar-inner {
  height: 100%;
  background: var(--blue);
  border-radius: 2px;
  animation: load 2.4s ease forwards;
}
@keyframes load { 0%{width:0%} 100%{width:100%} }
.loading-status { font-size: .82rem; color: var(--muted); font-weight: 500; }

/* ============================================================
   LEAD CAPTURE MODAL
   ============================================================ */
.lead-overlay {
  position: fixed; inset: 0;
  background: rgba(15,23,40,.5);
  z-index: 300;
  display: none;
  align-items: center; justify-content: center;
  padding: 32px;
  backdrop-filter: blur(4px);
}
.lead-overlay.active { display: flex; }
.lead-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 480px;
  animation: slideUp .25s ease;
}
.lead-header { padding: 20px 24px 16px; border-bottom: 1px solid var(--border); }
.lead-header h3 { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.lead-header p { font-size: .82rem; color: var(--muted); line-height: 1.5; }
.lead-firm-badge {
  margin: 0 24px 16px;
  padding: 10px 14px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  border: 1px solid #c5d3fd;
  font-size: .82rem;
}
.lead-firm-badge strong { color: var(--blue); display: block; font-weight: 600; margin-bottom: 2px; }
.lead-firm-badge span { color: var(--muted); font-size: .78rem; }
.lead-form { padding: 0 24px 20px; display: flex; flex-direction: column; gap: 12px; }
.lead-field { display: flex; flex-direction: column; gap: 5px; }
.lead-field label { font-size: .78rem; font-weight: 600; color: var(--text); }
.lead-field input, .lead-field textarea {
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color .15s;
  width: 100%;
}
.lead-field input:focus, .lead-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(42,92,245,.08);
}
.lead-field textarea { min-height: 72px; resize: none; line-height: 1.5; }
.lead-actions { display: flex; gap: 10px; padding: 0 24px 20px; }
.lead-submit {
  flex: 1;
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background .15s;
}
.lead-submit:hover { background: var(--blue-dark); }
.lead-submit:disabled { opacity: .6; cursor: not-allowed; }
.lead-cancel {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all .15s;
}
.lead-cancel:hover { border-color: var(--text); color: var(--text); }
.lead-note { padding: 0 24px 20px; font-size: .72rem; color: var(--muted); line-height: 1.6; }
.lead-success { padding: 32px 24px; text-align: center; }
.lead-success-icon {
  width: 48px; height: 48px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
}
.lead-success h4 { font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.lead-success p { font-size: .85rem; color: var(--muted); line-height: 1.6; }

/* ============================================================
   CONTENT PAGES (About, Privacy, Terms)
   ============================================================ */
.content-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px;
}
.content-body h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  font-weight: 400;
  margin: 36px 0 12px;
}
.content-body h2:first-child { margin-top: 0; }
.content-body p { font-size: .9rem; color: var(--muted); line-height: 1.8; margin-bottom: 12px; }
.content-body ul { padding-left: 20px; margin-bottom: 12px; }
.content-body ul li { font-size: .9rem; color: var(--muted); line-height: 1.8; margin-bottom: 4px; }
.highlight-box {
  background: var(--blue-light);
  border-left: 3px solid var(--blue);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
  font-size: .88rem;
  color: var(--text);
  line-height: 1.7;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.value-icon { font-size: 1.4rem; margin-bottom: 12px; }
.value-card h3 { font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.value-card p { font-size: .82rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.contact-form-wrap h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 6px;
}
.contact-form-wrap > p { font-size: .82rem; color: var(--muted); margin-bottom: 24px; line-height: 1.6; }
.form-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.form-field label { font-size: .78rem; font-weight: 600; color: var(--text); }
.form-field input, .form-field select, .form-field textarea {
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color .15s;
  width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(42,92,245,.08);
}
.form-field textarea { min-height: 100px; resize: none; line-height: 1.5; }
.form-note { font-size: .72rem; color: var(--muted); margin-top: 10px; line-height: 1.6; }
.success-msg {
  display: none;
  background: var(--green-light);
  border: 1px solid #9fe1cb;
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: .85rem;
  color: #085041;
  margin-top: 16px;
}
.contact-info h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 16px;
}
.info-item { margin-bottom: 20px; }
.info-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  margin-bottom: 4px;
}
.info-value { font-size: .88rem; color: var(--text); }
.info-note { font-size: .8rem; color: var(--muted); margin-top: 3px; line-height: 1.5; }

/* ============================================================
   FOR SOLICITORS PAGE
   ============================================================ */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.how-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.how-num {
  width: 32px; height: 32px;
  background: var(--blue);
  color: white;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: 14px;
}
.how-card h3 { font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.how-card p { font-size: .8rem; color: var(--muted); line-height: 1.6; margin: 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.pricing-card.featured { border: 2px solid var(--blue); }
.pricing-badge {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.pricing-card h3 { font-weight: 700; font-size: 1.1rem; margin-bottom: 4px; }
.pricing-price {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--text);
  margin: 12px 0 4px;
}
.pricing-price span {
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  font-weight: 400;
  color: var(--muted);
}
.pricing-card > p { font-size: .82rem; color: var(--muted); margin-bottom: 20px; }
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.pricing-features li {
  font-size: .82rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.enquiry-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.enquiry-wrap h2 { margin-top: 0; margin-bottom: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .form-field.full { grid-column: 1 / -1; }

/* ============================================================
   BLOG PAGE
   ============================================================ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .2s;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--text);
  display: block;
}
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #c5d3fd; text-decoration: none; }
.article-card-hero {
  background: var(--blue);
  height: 120px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem;
}
.article-card-body { padding: 20px; }
.cat-pill {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.article-card-body h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.article-card-body p { font-size: .78rem; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.article-meta { font-size: .72rem; color: var(--muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 48px 56px 32px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  gap: 40px;
}
.footer-brand p {
  font-size: .78rem;
  color: var(--muted);
  max-width: 220px;
  margin-top: 10px;
  line-height: 1.6;
}
.footer-cols { display: flex; gap: 56px; }
.footer-col h4 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; font-size: .82rem; }
.footer-col ul li a { color: var(--muted); text-decoration: none; transition: color .15s; }
.footer-col ul li a:hover { color: var(--blue); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: .72rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: var(--muted); text-decoration: none; transition: color .15s; }
.footer-legal a:hover { color: var(--blue); }

/* ============================================================
   WORDPRESS CORE OVERRIDES
   ============================================================ */
.wp-block-image img { border-radius: var(--radius); }
.alignwide { margin-left: auto; margin-right: auto; max-width: 1100px; }
.alignfull { width: 100%; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .site-header { padding: 0 20px; }
  .main-navigation ul { display: none; }
  .main-navigation ul.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    gap: 16px;
    box-shadow: var(--shadow-md);
  }
  .nav-mobile-btn { display: block; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 100px 20px 56px; }
  .hero-visual { display: none; }
  .stats-strip { gap: 24px; padding: 20px; }
  .section-wrap { padding: 48px 20px; }
  .browse-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trust-bar { padding: 16px 20px; gap: 16px; }
  .site-footer { padding: 40px 20px 24px; }
  .footer-top { flex-direction: column; }
  .footer-cols { gap: 28px; flex-wrap: wrap; }
  .page-hero { padding: 100px 20px 48px; }
  .content-body { padding: 40px 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .browse-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-trust { flex-direction: column; gap: 8px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .article-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   AI SEARCH — DARK BAND (homepage)
   ============================================================ */
.ai-dark-band {
  background: #0f1728;
  padding: 64px 56px;
}
.ai-dark-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.ai-dark-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #c9a84c;
  margin-bottom: 14px;
}
.ai-dark-dot {
  width: 6px;
  height: 6px;
  background: #c9a84c;
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
.ai-dark-heading {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.ai-dark-heading em { font-style: italic; color: #c9a84c; }
.ai-dark-sub {
  font-size: .95rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.ai-dark-trust {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.ai-dark-trust-item {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  display: flex;
  align-items: center;
  gap: 5px;
}
.ai-dark-check { color: #16a163; }

/* ============================================================
   AI WHITE BOX — shared by homepage + practice area embed
   ============================================================ */
.ai-white-box {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.22);
  text-align: left;
}
.ai-white-chips {
  padding: 14px 16px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  transition: opacity .2s;
}
.ai-white-chips.hidden {
  display: none;
}
.ai-white-chip {
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  padding: 5px 12px;
  border-radius: 100px;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
  line-height: 1.4;
}
.ai-white-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}
.ai-white-ta-wrap {
  padding: 12px 16px 0;
}
.ai-white-textarea {
  width: 100%;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  line-height: 1.65;
  padding: 13px 15px;
  resize: none;
  min-height: 80px;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.ai-white-textarea::placeholder { color: #b8bfd4; font-style: italic; }
.ai-white-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(42,92,245,.1);
  background: #fff;
}
.ai-white-footer {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  margin-top: 12px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.ai-white-hint {
  font-size: .75rem;
  color: var(--muted);
  line-height: 1.4;
}
.ai-white-submit {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background .15s, transform .15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.ai-white-submit:hover { background: var(--blue-dark); transform: translateY(-1px); }
.ai-white-submit:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ============================================================
   PRACTICE AREA — EMBEDDED AI MODULE
   ============================================================ */
.pa-ai-embed {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px;
}
.pa-ai-embed-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.pa-ai-embed-eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}
.pa-ai-embed-heading {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.pa-ai-embed-sub {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.pa-ai-embed-trust {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.pa-ai-embed-trust-item {
  font-size: .78rem;
  font-weight: 600;
}
.pa-ai-embed-box-header {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================================
   RESPONSIVE — AI DARK BAND + EMBED
   ============================================================ */
@media (max-width: 900px) {
  .ai-dark-band { padding: 48px 20px; }
  .ai-dark-heading { font-size: clamp(22px, 6vw, 32px); }
  .ai-dark-trust { gap: 14px; }
  .ai-white-chips { padding: 12px 12px 0; gap: 6px; }
  .ai-white-chip { font-size: .72rem; padding: 4px 10px; }
  .ai-white-ta-wrap { padding: 10px 12px 0; }
  .ai-white-textarea { font-size: .85rem; min-height: 70px; }
  .ai-white-footer { padding: 10px 12px; flex-wrap: wrap; gap: 8px; }
  .ai-white-submit { width: 100%; text-align: center; justify-content: center; padding: 12px; }
  .pa-ai-embed { padding: 40px 20px; }
  .pa-ai-embed-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .ai-dark-band { padding: 40px 16px; }
  .ai-white-chips { gap: 5px; }
  .ai-dark-trust { flex-direction: column; gap: 8px; align-items: center; }
}
