/* =============================================
   JK Edwards Law — Main Stylesheet
   Theme: Burgundy / Black / Gold Luxury
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ─── CSS VARIABLES ──────────────────────────── */
:root {
  --burgundy:       #6B1E2E;
  --burgundy-deep:  #4A1420;
  --burgundy-light: #8B2A3E;
  --gold:           #C9A44A;
  --gold-light:     #E8C878;
  --gold-pale:      #F5E9C8;
  --black:          #0A0A0A;
  --charcoal:       #1A1A1A;
  --dark-grey:      #2C2C2C;
  --mid-grey:       #555555;
  --light-grey:     #F0EDED;
  --white:          #FFFFFF;
  --cream:          #FAF7F2;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Montserrat', sans-serif;

  --nav-height: 80px;
  --section-pad: 100px;
  --border-radius: 4px;
  --transition: all 0.3s ease;
}

/* ─── RESET & BASE ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── TYPOGRAPHY ─────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.2rem; }
p  { font-size: 0.95rem; line-height: 1.8; color: var(--mid-grey); }

/* ─── UTILITY ────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: var(--section-pad) 0; }
.text-gold    { color: var(--gold); }
.text-center  { text-align: center; }
.divider-gold {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 16px 0 28px;
}
.divider-gold.center { margin: 16px auto 28px; }

/* ─── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: 2px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,164,74,0.35);
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--black);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
}

/* ─── NAVIGATION ─────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  background: transparent;
}
#navbar.scrolled {
  background: rgba(10, 8, 8, 0.97);
  box-shadow: 0 2px 30px rgba(0,0,0,0.5);
  border-bottom: 1px solid rgba(201,164,74,0.2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 52px;
  width: auto;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
}
.nav-logo-text .firm-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
  line-height: 1.1;
}
.nav-logo-text .firm-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold); }
.nav-links .btn { margin-left: 8px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 26px; height: 2px;
  background: var(--white);
  transition: var(--transition);
  display: block;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(10,8,8,0.98);
  border-top: 1px solid rgba(201,164,74,0.2);
  padding: 28px 24px 36px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .btn { margin-top: 16px; text-align: center; }

/* ─── HERO ───────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(107,30,46,0.82) 0%, rgba(10,10,10,0.9) 60%, rgba(10,10,10,0.98) 100%);
  z-index: 1;
}
.hero-img-placeholder {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(107,30,46,0.25) 0%, transparent 60%),
    linear-gradient(160deg, #1a0810 0%, #0A0A0A 40%, #120508 100%);
  z-index: 0;
}
/* Will be replaced with actual photo */
.hero-photo-side {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 45%;
  overflow: hidden;
  z-index: 0;
}
.hero-photo-side img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0.35;
}
.hero-photo-side::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--black) 0%, transparent 60%);
}
.hero-photo-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #2a0e18 0%, #1a0810 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
}
.hero-photo-placeholder svg { opacity: 0.15; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  width: 36px; height: 1px;
  background: var(--gold);
  display: block;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 8px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero-subtitle {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  margin-bottom: 32px;
  font-size: 1.3rem;
}
.hero-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.9;
  max-width: 500px;
  margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-badge {
  position: absolute;
  bottom: 48px;
  right: 48px;
  z-index: 2;
  display: flex;
  gap: 32px;
}
.hero-badge-item {
  text-align: center;
  border-left: 1px solid rgba(201,164,74,0.3);
  padding-left: 24px;
}
.hero-badge-item:first-child { border-left: none; padding-left: 0; }
.hero-badge-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.hero-badge-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* ─── SECTION HEADER ─────────────────────────── */
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

/* ─── PRACTICE AREAS STRIP ───────────────────── */
.practice-strip {
  background: var(--burgundy-deep);
  padding: 56px 0;
  border-top: 1px solid rgba(201,164,74,0.15);
  border-bottom: 1px solid rgba(201,164,74,0.15);
}
.practice-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
}
.practice-strip-item {
  text-align: center;
  padding: 24px 20px;
  border-right: 1px solid rgba(201,164,74,0.15);
  transition: var(--transition);
}
.practice-strip-item:last-child { border-right: none; }
.practice-strip-item:hover { background: rgba(201,164,74,0.06); }
.practice-strip-item svg {
  width: 32px; height: 32px;
  color: var(--gold);
  margin: 0 auto 12px;
  opacity: 0.85;
}
.practice-strip-item span {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* ─── ABOUT PREVIEW ──────────────────────────── */
.about-preview { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image-wrap::before {
  content: '';
  position: absolute;
  top: 24px; left: 24px;
  right: -16px; bottom: -16px;
  border: 1px solid var(--gold);
  opacity: 0.3;
  z-index: 0;
}
.about-image-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(15%);
}
.about-img-placeholder {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--burgundy-deep) 0%, var(--dark-grey) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img-placeholder svg { opacity: 0.2; width: 80px; height: 80px; }
.about-image-caption {
  position: absolute;
  bottom: -24px; right: -24px;
  background: var(--burgundy);
  padding: 20px 24px;
  z-index: 2;
}
.about-image-caption .caption-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}
.about-image-caption .caption-title {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}
.about-content h2 { color: var(--charcoal); margin-bottom: 4px; }
.about-content .divider-gold { margin: 16px 0 24px; }
.about-content p { margin-bottom: 20px; }
.about-stats {
  display: flex;
  gap: 32px;
  margin: 36px 0;
  padding: 28px 0;
  border-top: 1px solid rgba(107,30,46,0.12);
  border-bottom: 1px solid rgba(107,30,46,0.12);
}
.about-stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--burgundy);
}
.about-stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-top: 4px;
}

/* ─── PRACTICE AREAS PAGE ────────────────────── */
.practice-areas-section { background: var(--white); }
.pa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(107,30,46,0.08);
}
.pa-card {
  background: var(--white);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.pa-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--burgundy), var(--gold));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.pa-card:hover { background: var(--cream); }
.pa-card:hover::before { transform: scaleX(1); }
.pa-card-icon {
  width: 52px; height: 52px;
  background: rgba(107,30,46,0.06);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}
.pa-card:hover .pa-card-icon { background: var(--burgundy); }
.pa-card-icon svg {
  width: 24px; height: 24px;
  color: var(--burgundy);
  transition: color 0.3s;
}
.pa-card:hover .pa-card-icon svg { color: var(--gold); }
.pa-card h3 {
  font-size: 1.4rem;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.pa-card p { font-size: 0.88rem; }
.pa-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--burgundy);
  transition: gap 0.3s, color 0.3s;
}
.pa-card:hover .learn-more { color: var(--gold); gap: 14px; }

/* ─── TESTIMONIALS ───────────────────────────── */
.testimonials-section {
  background: var(--burgundy-deep);
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: '"';
  position: absolute;
  top: -40px; left: -20px;
  font-family: var(--font-display);
  font-size: 28rem;
  color: rgba(201,164,74,0.04);
  line-height: 1;
  pointer-events: none;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,164,74,0.1);
  padding: 36px 32px;
  position: relative;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.4;
  line-height: 0.6;
  margin-bottom: 16px;
}
.testimonial-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.8;
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(201,164,74,0.12);
  padding-top: 20px;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  flex-shrink: 0;
}
.testimonial-author-name {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--white);
  letter-spacing: 0.05em;
}
.testimonial-author-role {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}
.stars {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

/* ─── CTA BANNER ─────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-deep) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A44A' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.7); max-width: 540px; margin: 0 auto 36px; position: relative; }
.cta-banner .btn { position: relative; }

/* ─── CONTACT SECTION ────────────────────────── */
.contact-section { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 { color: var(--charcoal); }
.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-detail-icon {
  width: 44px; height: 44px;
  background: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 18px; height: 18px; color: var(--gold); }
.contact-detail-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
  font-weight: 600;
}
.contact-detail-value { font-size: 0.92rem; color: var(--charcoal); font-weight: 500; }
.contact-detail-value a { color: var(--charcoal); transition: color 0.3s; }
.contact-detail-value a:hover { color: var(--burgundy); }

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  padding: 48px 44px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.07);
}
.contact-form-wrap h3 {
  font-size: 1.8rem;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.contact-form-wrap .subtitle {
  font-size: 0.85rem;
  color: var(--mid-grey);
  margin-bottom: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--cream);
  border: 1px solid rgba(107,30,46,0.15);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--charcoal);
  border-radius: 2px;
  transition: border-color 0.3s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--burgundy);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; }
.form-note {
  font-size: 0.75rem;
  color: var(--mid-grey);
  text-align: center;
  margin-top: 14px;
}

/* ─── INNER PAGE HERO ────────────────────────── */
.inner-hero {
  padding: 140px 0 72px;
  background: linear-gradient(135deg, var(--burgundy-deep) 0%, var(--charcoal) 100%);
  position: relative;
  overflow: hidden;
}
.inner-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.inner-hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: repeating-linear-gradient(
    -45deg,
    var(--gold) 0px,
    var(--gold) 1px,
    transparent 1px,
    transparent 60px
  );
}
.breadcrumb {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a { color: rgba(255,255,255,0.45); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }
.inner-hero h1 { color: var(--white); }
.inner-hero p {
  color: rgba(255,255,255,0.6);
  max-width: 580px;
  margin-top: 16px;
  font-size: 1rem;
}

/* ─── FOOTER ─────────────────────────────────── */
footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(201,164,74,0.12);
}
.footer-main {
  padding: 72px 0 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .firm-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
}
.footer-brand .divider-gold { margin: 16px 0; }
.footer-brand p { color: rgba(255,255,255,0.45); font-size: 0.85rem; line-height: 1.8; }
.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.footer-contact-item svg {
  width: 14px; height: 14px;
  color: var(--gold);
  margin-top: 3px;
  flex-shrink: 0;
}
.footer-contact-item span {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  line-height: 1.5;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  color: rgba(255,255,255,0.3);
  font-size: 0.78rem;
}
.footer-bottom a { color: var(--gold); transition: opacity 0.3s; }
.footer-bottom a:hover { opacity: 0.7; }

/* ─── ANIMATIONS ─────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease both; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image-wrap { max-width: 420px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .pa-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 768px) {
  :root { --section-pad: 64px; --nav-height: 68px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-badge { display: none; }
  .hero-photo-side { width: 100%; opacity: 0.15; }
  .pa-grid { grid-template-columns: 1fr; }
  .practice-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .practice-strip-item { border-bottom: 1px solid rgba(201,164,74,0.1); }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { text-align: center; }
  .contact-form-wrap { padding: 32px 24px; }
  .about-image-caption { right: 0; bottom: -16px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .about-stats { flex-direction: column; gap: 16px; }
}

/* ═══════════════════════════════════════════════
   JK EDWARDS LAW — v2 ENHANCEMENTS
   Slider, Services Modal, Reviews, Animations,
   Border Radius, Nav Fixes, Mobile Improvements
   ═══════════════════════════════════════════════ */

/* ─── BORDER RADIUS GLOBAL OVERRIDE ─────────── */
:root {
  --radius: 8px;
  --radius-sm: 5px;
  --radius-lg: 12px;
}
.btn { border-radius: var(--radius) !important; }
img, picture img,
.about-img-placeholder,
.bio-img-placeholder,
.pa-hero-img-placeholder,
.article-img-placeholder {
  border-radius: var(--radius);
}
.bio-img-wrap::after { border-radius: 0 0 var(--radius) 0; }
.contact-form-wrap { border-radius: var(--radius-lg); }
.pa-sidebar-cta { border-radius: 0 0 var(--radius) var(--radius); }
.testimonial-card { border-radius: var(--radius); }
.value-card { border-radius: var(--radius); }
.pa-card { border-radius: var(--radius); }

/* ─── NAV FIXES ──────────────────────────────── */
.nav-links a { white-space: nowrap; }
.nav-links .btn { white-space: nowrap; }
.nav-links { gap: 24px; }
@media (max-width: 1200px) { .nav-links { gap: 16px; } }
@media (max-width: 1060px) {
  .nav-links a { font-size: 0.68rem; }
  .nav-links { gap: 12px; }
}

/* ─── HERO SLIDER ────────────────────────────── */
.hero { min-height: 100vh; padding-top: var(--nav-height); }
.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.9s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img,
.hero-slide picture {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  border-radius: 0 !important;
}
.hero-slide picture img { border-radius: 0 !important; }
.hero-slide-overlay {
  position: absolute; inset: 0;
  /* Left: dark enough for text legibility. Right: much lighter so image shows clearly */
  background: linear-gradient(
    105deg,
    rgba(10,10,10,0.80) 0%,
    rgba(10,10,10,0.55) 40%,
    rgba(10,10,10,0.20) 70%,
    rgba(10,10,10,0.05) 100%
  );
}
.hero-slide-placeholder {
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at 70% 50%, rgba(107,30,46,0.3) 0%, transparent 60%),
              linear-gradient(160deg, #1a0810 0%, #0A0A0A 40%, #120508 100%);
}
/* Slide-specific content */
.hero-content-wrap {
  position: relative; z-index: 2;
  display: flex; align-items: center;
  min-height: calc(100vh - var(--nav-height));
  /* Extra bottom padding keeps slide text well above the stats badge */
  padding: 80px 0 160px;
}
.hero-slide-content {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; transition: opacity 0.9s ease;
  pointer-events: none;
  z-index: 3;
}
.hero-slide-content.active {
  opacity: 1; pointer-events: auto;
}
.hero-slide-text { max-width: 620px; }
.hero-slide-text h1 { color: var(--white); }
.hero-slide-text h1 em { font-style: italic; color: var(--gold); }
.hero-slide-text .hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-style: italic; font-weight: 300;
  color: rgba(255,255,255,0.7);
  margin: 12px 0 24px;
}
.hero-slide-text p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem; line-height: 1.9;
  max-width: 500px; margin-bottom: 36px;
}
/* Slider controls */
.slider-controls {
  position: absolute;
  bottom: 72px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex; align-items: center; gap: 16px;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
}
.slider-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  width: 28px; border-radius: 4px;
}
.slider-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.slider-arrow:hover { background: rgba(201,164,74,0.3); border-color: var(--gold); }
.slider-arrow svg { width: 18px; height: 18px; color: var(--white); }
.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }
@media (max-width: 768px) {
  .slider-arrow { display: none; }
}

/* ─── HERO STATS (mobile fix) ────────────────── */
.hero-badge {
  /* Anchored at very bottom of hero, outside the text area */
  bottom: 24px; right: 24px;
  background: rgba(10,8,8,0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201,164,74,0.25);
  border-radius: var(--radius);
  padding: 14px 18px;
  gap: 20px;
}
@media (max-width: 900px) {
  .hero-badge { display: none; }
}
.hero-stats-mobile {
  display: none;
  background: var(--burgundy-deep);
  border-top: 1px solid rgba(201,164,74,0.15);
}
.hero-stats-mobile .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.stat-mobile-item {
  padding: 24px 16px;
  text-align: center;
  border-right: 1px solid rgba(201,164,74,0.1);
}
.stat-mobile-item:last-child { border-right: none; }
.stat-mobile-num {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 600;
  color: var(--gold); line-height: 1;
}
.stat-mobile-label {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}
@media (max-width: 900px) {
  .hero-stats-mobile { display: block; }
}

/* ─── SERVICES GRID (Homepage) ───────────────── */
.services-section {
  background: var(--white);
  padding: var(--section-pad) 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.service-card {
  position: relative;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--charcoal);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(107,30,46,0.25);
}
.service-card-img {
  position: absolute; inset: 0;
}
.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover; border-radius: 0 !important;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, var(--burgundy-deep) 0%, var(--charcoal) 100%);
}
.service-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.2) 60%, transparent 100%);
  transition: background 0.3s;
}
.service-card:hover .service-card-overlay {
  background: linear-gradient(0deg, rgba(74,20,32,0.95) 0%, rgba(74,20,32,0.4) 60%, transparent 100%);
}
.service-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 18px;
}
.service-card-num {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
  margin-bottom: 4px;
}
.service-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 6px;
}
.service-card-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.service-card:hover .service-card-sub { max-height: 60px; }
.service-card-arrow {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
  margin-top: 10px;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.service-card:hover .service-card-arrow { opacity: 1; transform: translateY(0); }
@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .service-card { aspect-ratio: 1/1; }
}
@media (max-width: 480px) { .services-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }

/* ─── SERVICE MODAL ──────────────────────────── */
.svc-modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(10,8,8,0.85);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.svc-modal-backdrop.open { opacity: 1; pointer-events: auto; }
.svc-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 800px; width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(.22,.68,0,1.2), opacity 0.3s;
  opacity: 0;
  position: relative;
}
.svc-modal-backdrop.open .svc-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.svc-modal-hero {
  position: relative;
  height: 260px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(135deg, var(--burgundy-deep), var(--charcoal));
}
.svc-modal-hero img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  border-radius: 0 !important;
  opacity: 0.75;
}
.svc-modal-hero-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--burgundy-deep), var(--charcoal));
}
.svc-modal-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,8,8,0.7) 0%, transparent 60%);
}
.svc-modal-hero-text {
  position: absolute; bottom: 24px; left: 28px; right: 60px;
}
.svc-modal-hero-text .eyebrow { color: var(--gold-light); }
.svc-modal-hero-text h3 { color: var(--white); font-size: clamp(1.4rem, 3vw, 2rem); }
.svc-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.svc-modal-close:hover { background: rgba(107,30,46,0.7); }
.svc-modal-close svg { width: 16px; height: 16px; color: var(--white); }
.svc-modal-body { padding: 32px 28px; }
.svc-modal-body p { font-size: 0.9rem; margin-bottom: 20px; }
.svc-modal-services {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px; margin: 20px 0 28px;
}
.svc-modal-service-item {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.82rem; color: var(--charcoal);
  padding: 8px 12px;
  background: var(--cream);
  border-left: 3px solid var(--burgundy);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.svc-modal-service-item svg { width: 12px; height: 12px; color: var(--gold); flex-shrink: 0; }
@media (max-width: 600px) {
  .svc-modal-services { grid-template-columns: 1fr; }
  .svc-modal { margin: 0; max-height: 100vh; border-radius: var(--radius) var(--radius) 0 0; }
  .svc-modal-backdrop { align-items: flex-end; padding: 0; }
  .svc-modal-hero { height: 200px; }
}

/* ─── REVIEWS SECTION (Homepage preview) ──────── */
.reviews-preview { background: var(--cream); padding: var(--section-pad) 0; }
.reviews-loading {
  text-align: center; padding: 48px;
  color: var(--mid-grey); font-size: 0.88rem;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 56px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid rgba(107,30,46,0.08);
  transition: box-shadow 0.3s;
}
.review-card:hover { box-shadow: 0 8px 32px rgba(107,30,46,0.1); }
.review-stars { color: var(--gold); font-size: 0.88rem; letter-spacing: 2px; margin-bottom: 12px; }
.review-text {
  font-family: var(--font-display);
  font-size: 1rem; font-style: italic;
  color: var(--charcoal); line-height: 1.7;
  margin-bottom: 20px;
  display: -webkit-box; -webkit-line-clamp: 4;
  -webkit-box-orient: vertical; overflow: hidden;
}
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--burgundy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.1rem;
  font-weight: 600; color: var(--gold); flex-shrink: 0;
}
.review-author-name { font-size: 0.82rem; font-weight: 700; color: var(--charcoal); }
.review-author-type { font-size: 0.72rem; color: var(--mid-grey); margin-top: 2px; }
.reviews-error { text-align: center; color: var(--mid-grey); padding: 32px; }
@media (max-width: 1024px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ─── REVIEWS FULL PAGE ──────────────────────── */
.reviews-page-section { background: var(--cream); padding: var(--section-pad) 0; }
.reviews-stats-bar {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; background: var(--burgundy-deep);
  border-radius: var(--radius); overflow: hidden;
  margin-bottom: 56px;
}
.rev-stat { padding: 28px 20px; text-align: center; border-right: 1px solid rgba(201,164,74,0.15); }
.rev-stat:last-child { border-right: none; }
.rev-stat-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--gold); }
.rev-stat-label { font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 4px; }
.reviews-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card-full { background: var(--white); border-radius: var(--radius); padding: 28px 24px; border: 1px solid rgba(107,30,46,0.08); }
.review-card-full .review-text { -webkit-line-clamp: unset; overflow: visible; }
/* Submit form */
.reviews-submit { background: var(--white); border-radius: var(--radius-lg); padding: 48px 44px; margin-top: 64px; border: 1px solid rgba(107,30,46,0.1); }
.reviews-submit h2 { color: var(--charcoal); margin-bottom: 8px; }
.reviews-submit .divider-gold { margin: 12px 0 28px; }
.star-picker { display: flex; gap: 6px; margin-bottom: 20px; }
.star-picker button {
  background: none; border: none; cursor: pointer;
  font-size: 1.8rem; color: rgba(107,30,46,0.2);
  transition: color 0.2s, transform 0.2s; padding: 0;
}
.star-picker button.active,
.star-picker button:hover { color: var(--gold); transform: scale(1.15); }
.submit-msg { padding: 14px 18px; border-radius: var(--radius-sm); margin-top: 16px; font-size: 0.85rem; font-weight: 600; }
.submit-msg.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.submit-msg.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
@media (max-width: 1024px) { .reviews-full-grid { grid-template-columns: repeat(2, 1fr); } .reviews-stats-bar { grid-template-columns: 1fr; } .rev-stat { border-right: none; border-bottom: 1px solid rgba(201,164,74,0.15); } }
@media (max-width: 600px) { .reviews-full-grid { grid-template-columns: 1fr; } .reviews-submit { padding: 28px 20px; } }

/* ─── SCROLL ANIMATIONS ──────────────────────── */
.anim-fade-up {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.anim-fade-up.in-view { opacity: 1; transform: translateY(0); }
.anim-fade-left {
  opacity: 0; transform: translateX(-32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.anim-fade-left.in-view { opacity: 1; transform: translateX(0); }
.anim-fade-right {
  opacity: 0; transform: translateX(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.anim-fade-right.in-view { opacity: 1; transform: translateX(0); }
.anim-scale {
  opacity: 0; transform: scale(0.94);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.anim-scale.in-view { opacity: 1; transform: scale(1); }
.delay-100 { transition-delay: 0.1s !important; }
.delay-200 { transition-delay: 0.2s !important; }
.delay-300 { transition-delay: 0.3s !important; }
.delay-400 { transition-delay: 0.4s !important; }
.delay-500 { transition-delay: 0.5s !important; }
.delay-600 { transition-delay: 0.6s !important; }

/* ─── FOOTER FIX ─────────────────────────────── */
.footer-bottom a { text-transform: none !important; }

/* ─── MOBILE NAV APP BAR ─────────────────────── */
.mobile-app-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(10,8,8,0.97);
  border-top: 1px solid rgba(201,164,74,0.15);
  z-index: 990;
  padding: 8px 0 max(8px, env(safe-area-inset-bottom));
}
.mobile-app-bar-inner {
  display: flex; align-items: center;
  justify-content: space-around;
  max-width: 480px; margin: 0 auto;
  padding: 0 8px;
}
.app-bar-btn {
  display: flex; flex-direction: column;
  align-items: center; gap: 3px;
  padding: 6px 10px;
  cursor: pointer; background: none; border: none;
  text-decoration: none; color: rgba(255,255,255,0.5);
  transition: color 0.2s;
  min-width: 56px;
}
.app-bar-btn.active { color: var(--gold); }
.app-bar-btn:hover { color: rgba(255,255,255,0.85); }
.app-bar-btn svg { width: 20px; height: 20px; }
.app-bar-label { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
@media (max-width: 768px) {
  .mobile-app-bar { display: block; }
  body { padding-bottom: 64px; }
  /* Adjust hero badge - already handled above */
  .hero-content-wrap { padding-bottom: 120px; }
}

/* ─── ABOUT SECTION REVISED (Homepage) ────────── */
.about-preview .about-image-caption {
  border-radius: 0 0 var(--radius) var(--radius);
}

/* ─── HERO CONTAINER FIX (v2.1) ──────────────── */
/* Hero is a flex parent — container must fill the width */
.hero > .container,
.hero > [class="container"],
.hero > div[style*="z-index:3"] {
  width: 100% !important;
  max-width: 1200px;
  align-self: stretch;
  display: flex !important;
  align-items: center;
}
/* hero-content-wrap fills the container */
.hero .hero-content-wrap {
  width: 100%;
}
/* Slide content fills its parent fully */
.hero .hero-slide-content {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

/* ─── PRACTICE STRIP — SLIM DOWN ─────────────── */
/* Less overbearing: reduce padding and height */
.practice-strip { padding: 28px 0; }
.practice-strip-grid {
  grid-template-columns: repeat(6, 1fr);
}
.practice-strip-item {
  padding: 14px 12px;
  gap: 8px;
}
.practice-strip-item svg { width: 22px; height: 22px; }
.practice-strip-item span { font-size: 0.62rem; }
@media (max-width: 768px) {
  .practice-strip { padding: 20px 0; }
  .practice-strip-grid { grid-template-columns: repeat(3, 1fr); }
  .practice-strip-item { padding: 12px 8px; border-bottom: 1px solid rgba(201,164,74,0.08); }
}
@media (max-width: 480px) {
  .practice-strip-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── MOBILE HERO FIXES (v2.1) ───────────────── */
@media (max-width: 768px) {
  /* Hide attorney photo — it clips into text on mobile */
  .hero-photo-side { display: none !important; }
  /* Full width text on mobile */
  .hero-slide-text {
    max-width: 100%;
    padding-right: 8px;
  }
  /* Slightly smaller headline on small screens */
  .hero-slide-text h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }
  /* Stack CTAs on very small screens */
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn { width: 100%; text-align: center; }
}

/* ─── ABOUT SECTION — tighter on homepage ────── */
/* Now appears earlier (before services), reduce padding */
.about-preview { padding: 72px 0; }
@media (max-width: 768px) {
  .about-preview { padding: 48px 0; }
  /* Stack vertically on mobile — image first, text second */
  .about-grid { grid-template-columns: 1fr; }
  .about-image-wrap { max-width: 320px; margin: 0 auto; }
  .about-image-caption { right: 0; bottom: -12px; }
  .about-stats { flex-wrap: wrap; gap: 20px; }
  .about-stats > div { min-width: 80px; }
}

/* ─── NAV + HERO TEXT OVERLAP FIX (v2.2) ─────── */
/* Transparent navbar lets hero text bleed behind nav items visually.
   Add a strong top gradient so nav area is always dark and legible. */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(10,10,10,0.82) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

/* Ensure scrolled navbar has enough contrast */
#navbar.scrolled {
  background: rgba(8, 5, 5, 0.98) !important;
}

/* Push hero slide text well clear of the nav */
.hero-slide-text { padding-top: 24px; }

/* ─── NAV OVERFLOW FIX (v2.2) ────────────────── */
/* At medium desktop widths nav items crowd — use smaller font 
   and tighter gaps earlier. Also ensure single-line Book button */
.nav-links .btn-gold {
  font-size: 0.72rem !important;
  padding: 11px 20px !important;
  letter-spacing: 0.1em !important;
  white-space: nowrap !important;
}
@media (max-width: 1300px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 0.7rem; letter-spacing: 0.1em; }
}
@media (max-width: 1100px) {
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 0.67rem; letter-spacing: 0.08em; }
  .nav-logo-text .firm-name { font-size: 1.15rem; }
}
@media (max-width: 1000px) {
  /* At this point collapse to hamburger */
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ═══════════════════════════════════════════════
   v2.3 — Comprehensive fixes
   ═══════════════════════════════════════════════ */

/* ─── HORIZONTAL SCROLL FIX ──────────────────── */
html { overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100vw; }
.hero, .hero-slides, section, footer, nav { max-width: 100vw; }
.hero { overflow: hidden; }

/* ─── FOOTER FIXES ───────────────────────────── */
.footer-bottom {
  flex-wrap: nowrap;
  white-space: nowrap;
}
.footer-bottom p { white-space: nowrap; font-size: 0.72rem; }
@media (max-width: 600px) {
  .footer-bottom { flex-direction: column; white-space: normal; }
  .footer-bottom p { white-space: normal; text-align: center; }
}

/* ─── MOBILE MENU — FULL REBUILD ─────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(8,5,5,0.98);
  z-index: 1100;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.22,.68,0,1.1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(201,164,74,0.12);
  flex-shrink: 0;
}
.mobile-menu-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
}
.mobile-menu-logo span { color: var(--gold); font-size: 0.65rem; display: block; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 2px; }
.mobile-menu-close {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.mobile-menu-close:hover { background: var(--burgundy); }
.mobile-menu-close svg { width: 18px; height: 18px; color: var(--white); }
.mobile-menu-links {
  flex: 1;
  padding: 12px 0;
  overflow-y: auto;
}
.mobile-menu-links > a,
.mobile-nav-group > .mobile-nav-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
}
.mobile-menu-links > a:hover,
.mobile-nav-group > .mobile-nav-label:hover { color: var(--gold); background: rgba(201,164,74,0.05); }
.mobile-nav-group { border-bottom: 1px solid rgba(255,255,255,0.05); }
.mobile-nav-group > .mobile-nav-label svg { width: 16px; height: 16px; transition: transform 0.3s; }
.mobile-nav-group.open > .mobile-nav-label svg { transform: rotate(180deg); }
.mobile-nav-group.open > .mobile-nav-label { color: var(--gold); }
.mobile-nav-dropdown {
  display: none;
  background: rgba(0,0,0,0.25);
  padding: 8px 0;
}
.mobile-nav-group.open .mobile-nav-dropdown { display: block; }
.mobile-nav-dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 32px;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-nav-dropdown a:hover { color: var(--gold); }
.mobile-nav-dropdown a svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; }
.mobile-menu-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(201,164,74,0.12);
  flex-shrink: 0;
}
.mobile-menu-footer .btn { display: block; text-align: center; width: 100%; padding: 16px; font-size: 0.82rem; }

/* ─── CONSULTING PAGE — MOBILE GRID FIX ──────── */
.consulting-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 900px) {
  .consulting-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  /* Hide the image on mobile - not needed, text is sufficient */
  .consulting-intro-grid .consulting-intro-img { display: none; }
}

/* ─── PRACTICE AREA PAGE — ICON RADIUS ───────── */
.pa-area-icon-wrap { border-radius: var(--radius); }
.pa-card { border-radius: var(--radius); overflow: hidden; }
.pa-card-icon { border-radius: var(--radius-sm); }
.value-card { border-radius: var(--radius); }
.service-card { border-radius: var(--radius); }
/* Hero images on sub-pages - remove forced 0 radius */
.pa-hero-img img { border-radius: 0 !important; } /* hero bg stays full bleed */
/* Content article hero images */
.article-hero-img { border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.article-hero-img img { border-radius: 0 !important; }
/* Slot images inside cards get radius */
.slot-image img { border-radius: var(--radius) !important; }
/* Sidebar author image */
.sidebar-author img { border-radius: 50% !important; }
/* Credentials bar icon */
.cred-bar-item svg { border-radius: 0 !important; }

/* ─── ABOUT SECTION — CREDENTIAL PILLS ───────── */
/* Replace bland stats with nicer credential pills */
.cred-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 32px;
}
.cred-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  border: 1px solid rgba(107,30,46,0.12);
  border-left: 3px solid var(--burgundy);
  padding: 8px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--charcoal);
  white-space: nowrap;
}
.cred-pill svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; }

/* ─── ABOUT PAGE — MOBILE BIO GRID ──────────── */
@media (max-width: 1100px) {
  .bio-grid { grid-template-columns: 1fr !important; gap: 48px; }
  .bio-img-wrap { position: static !important; max-width: 380px; }
}

/* ─── MODAL DISPLAY FIX ──────────────────────── */
/* Use visibility:hidden so opacity transition works AND 
   element is truly out of interaction when closed */
.svc-modal-backdrop {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
}
.svc-modal-backdrop.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
/* Mobile menu initial state */
.mobile-menu { display: none; }
.mobile-menu.open { display: flex; }

/* ─── ABOUT PAGE BIO IMAGE — MOBILE ──────────── */
/* On mobile, bio image should stack above text, not to right */
@media (max-width: 900px) {
  .bio-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .bio-img-wrap {
    position: static !important;
    max-width: 320px;
    margin: 0 auto;
  }
  .bio-img-wrap::before, .bio-img-wrap::after { display: none; }
}

/* ─── HIDE NAV TEXT — logo image active ──────── */
/* Logo image uploaded — hide the text name/tagline next to it */
.nav-logo img { display: block; }
.nav-logo-text { display: none; }

/* Fallback: if logo image fails to load, show the text */
.nav-logo img[style*="display:none"] + .nav-logo-text,
.nav-logo img.broken + .nav-logo-text { display: flex; }

/* Mobile menu logo — hide text, show nothing (mobile has logo in header) */
.mobile-menu-logo { display: none; }

/* ══════════════════════════════════════════════
   v3 — White Nav, Single Hero, Design Refresh
   ══════════════════════════════════════════════ */

/* ─── WHITE NAVBAR ───────────────────────────── */
#navbar {
  background: var(--white) !important;
  box-shadow: 0 2px 24px rgba(0,0,0,0.08) !important;
  border-bottom: 1px solid rgba(107,30,46,0.08) !important;
}
#navbar.scrolled {
  background: var(--white) !important;
  box-shadow: 0 2px 24px rgba(0,0,0,0.12) !important;
}
/* Nav link colours — dark on white */
.nav-links a {
  color: var(--charcoal) !important;
}
.nav-links a:hover { color: var(--burgundy) !important; }
.nav-links a.active { color: var(--burgundy) !important; }
.nav-links a::after { background: var(--burgundy) !important; }
/* Firm name/tagline — dark */
.nav-logo-text .firm-name { color: var(--charcoal) !important; }
.nav-logo-text .firm-tagline { color: var(--burgundy) !important; }
/* Hamburger lines — dark */
.hamburger span { background: var(--charcoal) !important; }
.hamburger.open span { background: var(--charcoal) !important; }

/* Logo image sizing in white nav */
.nav-logo img {
  height: 56px !important;
  width: auto !important;
  display: block !important;
}

/* ─── HERO — SINGLE STATIC BACKGROUND ───────── */
/* Remove the multi-slide overhead */
.hero-slides { display: none; }
.hero-slide-content:not(.active) { display: none; }
.slider-controls { display: none !important; }
.slider-arrow { display: none !important; }
/* Hero background from inline style or ::before */
.hero {
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
}
/* Overlay for readability */
.hero-static-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(10,10,10,0.72) 0%,
    rgba(10,10,10,0.45) 50%,
    rgba(10,10,10,0.10) 100%
  );
}
/* Remove the top-darkening gradient — not needed with white nav */
.hero::before { display: none !important; }

/* Hide hero badge entirely */
.hero-badge { display: none !important; }
.hero-stats-mobile { display: none !important; }

/* Hero content positioning */
.hero-content-wrap { padding: 40px 0 80px; }
.hero-slide-content.active {
  position: relative;
  opacity: 1 !important;
  pointer-events: auto !important;
}
.hero-slide-text { max-width: 600px; }

/* ─── ABOUT PAGE — CTA BANNER BUTTON FIX ─────── */
.about-page-cta {
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-deep) 100%);
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-page-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23C9A44A' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/svg%3E");
}
.about-page-cta h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
}
.about-page-cta p {
  color: rgba(255,255,255,0.7);
  max-width: 480px;
  margin: 0 auto 28px;
  position: relative;
}
.about-page-cta .btn { position: relative; }

/* ─── MOBILE HERO — shift to show her face ────── */
@media (max-width: 768px) {
  .hero {
    background-position: 68% top !important;
  }
}
@media (max-width: 480px) {
  .hero {
    background-position: 72% top !important;
  }
}

/* ══════════════════════════════════════════════
   v3.1 — Menu fix, WhatsApp, Footer, Reviews
   ══════════════════════════════════════════════ */

/* ─── MOBILE MENU — visibility approach ──────── */
/* Replaces display:none toggle which caused the re-open bug */
.mobile-menu {
  display: flex !important;          /* always in DOM as flex */
  visibility: hidden;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.22,.68,0,1.1),
              visibility 0.35s;
}
.mobile-menu.open {
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(0) !important;
}

/* ─── FOOTER — powered by on own line ────────── */
.footer-bottom {
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px !important;
  text-align: center;
}
.footer-bottom p { white-space: normal !important; }
.footer-powered {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
}
.footer-powered a { color: var(--gold); }

/* ─── WHATSAPP FLOAT BUTTON ──────────────────── */
.wa-float {
  position: fixed;
  bottom: 88px; right: 20px;   /* sits above the mobile app bar */
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 1500;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
/* On desktop — lower since no app bar */
@media (min-width: 769px) {
  .wa-float { bottom: 28px; right: 28px; }
}

/* ─── REVIEWS — hide stats bar ───────────────── */
.reviews-stats-bar { display: none !important; }

/* ─── PA IMG CARD — fix stacking order ───────── */
/* picture must be above placeholder div in z-index */
.pa-img-card-media picture {
  position: absolute;
  inset: 0;
  z-index: 1;   /* above placeholder */
}
.pa-img-card-media picture img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
  display: block;
  transition: transform 0.5s ease;
}
.pa-img-card:hover .pa-img-card-media picture img { transform: scale(1.05); }
/* placeholder stays behind */
.pa-img-card-media .pa-img-placeholder { z-index: 0; }
/* overlay and number above everything */
.pa-img-card-media .pa-img-card-overlay { z-index: 2; }
.pa-img-card-media .pa-img-card-num { z-index: 3; }
