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

/* ============================================================
   Mbithi & Company Advocates — Global Stylesheet
   Brand Colors: Burgundy #610616, Gold #d2ab66, Black #010101
   Brand Fonts: Cinzel (Headings/Branding), Avenir LT Std (Body/UI)
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --maroon-950: #38030c;
  --maroon-900: #610616; /* Primary Brand Maroon/Burgundy */
  --maroon-800: #77091e;
  --maroon-700: #8c0c24;
  --gold-600: #be974f;
  --gold-500: #d2ab66; /* Secondary Brand Gold/Bronze */
  --gold-400: #dbb97a;
  --gold-300: #e5cb97;
  --cream: #faf6ee;
  --cream-dim: #faf6ee;
  --ink: #010101; /* Dark Charcoal/Black */
  --ink-soft: #3a3a3a;
  --line: rgba(97, 6, 22, 0.14);
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(97, 6, 22, 0.08);
  --shadow-md: 0 12px 32px -8px rgba(97, 6, 22, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(97, 6, 22, 0.35);
  --radius: 2px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Cormorant Garamond', 'EB Garamond', 'Lora', Georgia, serif;
  font-weight: 500;
  font-size: 21px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, .serif {
  font-family: 'Avenir LT Std', 'Avenir', 'Montserrat', 'Inter', system-ui, -apple-system, sans-serif;
  margin: 0;
  color: var(--maroon-950);
  line-height: 1.15;
}
.script {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 600;
}
a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; font-size: 21px; font-weight: 500; }
main { min-height: 60vh; }

/* ---------- Utility ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.eyebrow {
  font-family: 'Cinzel', Georgia, serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-600);
}
.center { text-align: center; margin-left: auto; margin-right: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  font-family: 'Cinzel', Georgia, serif;
  font-size: 15.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  border: 1px solid var(--maroon-900);
  transition: all 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-solid { background: var(--maroon-900); color: var(--cream); }
.btn-solid:hover { background: var(--maroon-950); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--gold-500); border-color: var(--gold-500); color: var(--maroon-950); }
.btn-gold:hover { background: var(--gold-400); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { border-color: var(--gold-500); color: var(--cream); background: transparent; }
.btn-ghost:hover { background: var(--gold-500); color: var(--maroon-950); }
.btn-outline { border-color: var(--gold-500); color: var(--maroon-950); background: transparent; }
.btn-outline:hover { background: var(--gold-500); color: var(--maroon-950); }
.btn svg { width: 14px; height: 14px; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 238, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}
header.scrolled { box-shadow: 0 2px 20px rgba(60, 10, 20, 0.1); }
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px; max-width: 1180px; margin: 0 auto;
}
.brandmark { display: flex; align-items: center; gap: 14px; }
.brandmark img { height: 46px; width: auto; }
.brand-text { line-height: 1.15; }
.brand-text .name {
  font-family: 'Avenir LT Std', 'Avenir', 'Montserrat', 'Inter', sans-serif; font-weight: 700;
  font-size: 21px; color: var(--maroon-950); letter-spacing: 0.01em;
}
.brand-text .tag {
  font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold-600);
}
nav.links { display: flex; gap: 20px; align-items: center; }
nav.links a {
  font-size: 15px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--ink); position: relative; padding: 4px 0;
  white-space: nowrap;
}
nav.links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--gold-500);
  transition: width 0.25s ease;
}
nav.links a:hover::after,
nav.links a.active::after { width: 100%; }
nav.links a.active { color: var(--maroon-900); font-weight: 600; }
.header-cta {
  padding: 9px 16px !important;
  font-size: 12px !important;
  letter-spacing: 0.03em !important;
  white-space: nowrap !important;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 8px; color: var(--maroon-950);
}
.menu-toggle svg { width: 26px; height: 26px; }

/* Mobile nav overlay */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(61, 10, 23, 0.97);
  flex-direction: column; align-items: center; justify-content: center; gap: 0;
  opacity: 0; transition: opacity 0.35s ease;
}
.mobile-nav.open { display: flex; opacity: 1; }
.mobile-nav a {
  color: var(--cream); font-family: 'Avenir LT Std', 'Avenir', 'Montserrat', 'Inter', sans-serif;
  font-size: 28px; font-weight: 600; padding: 18px 0;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--gold-300); }
.mobile-nav .close-btn {
  position: absolute; top: 24px; right: 24px;
  background: none; border: none; color: var(--cream);
  cursor: pointer; padding: 8px;
}
.mobile-nav .close-btn svg { width: 30px; height: 30px; }

/* ---------- Page Hero (Inner pages) ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)), url('assests/imsogabriel-stock-IaJm3mq0F5o-unsplash.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 0 80px;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(201, 162, 74, 0.08), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(201, 162, 74, 0.06), transparent 50%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute; top: 0; bottom: 0; right: 15%;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--gold-500), transparent);
  opacity: 0.3;
}
.page-hero .eyebrow { color: var(--gold-300); margin-bottom: 16px; }
.page-hero h1 {
  color: var(--white); font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700; max-width: 700px; margin: 0 auto;
}
.page-hero p {
  color: rgba(250, 246, 238, 0.88); font-size: 21px; font-weight: 500;
  max-width: 600px; margin: 18px auto 0; line-height: 1.7;
}
.page-hero .breadcrumb {
  margin-top: 20px; font-size: 13px; color: rgba(255,255,255,0.5);
}
.page-hero .breadcrumb a { color: var(--gold-300); }
.page-hero .breadcrumb a:hover { color: var(--gold-500); }

/* ---------- Homepage Hero (Full-screen Rachier-style) ---------- */
.home-hero {
  position: relative;
  min-height: calc(100vh - 120px);
  padding: 40px 0 60px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}
.home-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.home-hero-content {
  position: relative; z-index: 2;
  max-width: 1180px; margin: 0 auto;
  padding: 0 32px; width: 100%;
}
.home-hero .eyebrow { color: var(--gold-300); margin-bottom: 20px; }
.home-hero h1 {
  font-family: 'Avenir LT Std', 'Avenir', 'Montserrat', 'Inter', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.35;
  color: var(--white);
  font-weight: 600;
  letter-spacing: -0.01em;
  max-width: 820px;
}
.home-hero h1 em,
.home-hero h1 i,
h2 em,
h2 i {
  font-family: 'Avenir LT Std', 'Avenir', 'Montserrat', 'Inter', sans-serif;
  font-style: italic;
  font-weight: 600;
  color: var(--gold-300);
}
.home-hero h1 .highlight-line {
  background: linear-gradient(90deg, rgba(30, 4, 10, 0.92) 0%, rgba(61, 6, 22, 0.78) 75%, rgba(61, 6, 22, 0) 100%);
  padding: 8px 22px;
  border-radius: 10px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  display: inline;
  border-left: 4px solid var(--gold-500);
}
.home-hero .lead {
  margin-top: 24px;
  max-width: 680px;
  line-height: 1.5;
  text-align: justify;
  background: linear-gradient(90deg, rgba(20, 2, 7, 0.92) 0%, rgba(40, 5, 12, 0.8) 75%, rgba(40, 5, 12, 0.35) 100%);
  color: rgba(255, 255, 255, 0.95);
  font-size: 21px;
  font-weight: 500;
  padding: 18px 24px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-left: 3px solid var(--gold-500);
}
.home-hero .hero-cta {
  margin-top: 36px;
  display: flex; gap: 16px; flex-wrap: wrap;
}
.home-hero .hero-meta {
  margin-top: 40px; padding-top: 20px;
  display: flex; gap: 24px; flex-wrap: wrap;
}
.home-hero .hero-meta-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: linear-gradient(90deg, rgba(30, 4, 10, 0.9) 0%, rgba(45, 6, 15, 0.7) 100%);
  padding: 12px 20px;
  border-radius: 10px;
  border-left: 3px solid var(--gold-500);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.home-hero .hero-meta-item svg { flex-shrink: 0; margin-top: 2px; }
.home-hero .hero-meta-item .label {
  font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--gold-300); margin-bottom: 3px;
}
.home-hero .hero-meta-item .val { font-size: 14px; color: var(--white); line-height: 1.5; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255, 255, 255, 0.5); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  animation: float 2.5s ease-in-out infinite;
}
.scroll-indicator svg { width: 20px; height: 20px; stroke: var(--gold-300); }
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Top Marquee Strip ---------- */
.strip {
  background: var(--maroon-950);
  padding: 6px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(210, 171, 102, 0.25);
  position: relative;
  z-index: 101;
}
.strip-inner {
  display: flex; gap: 48px; white-space: nowrap;
  animation: marquee 26s linear infinite;
  width: max-content;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.strip-inner span {
  color: var(--white);
  font-size: 13.5px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 700;
  font-family: 'Avenir LT Std', 'Avenir', 'Montserrat', 'Inter', sans-serif;
  display: flex; align-items: center; gap: 12px;
}
.strip-inner span::after {
  content: '◆'; color: var(--gold-500);
  font-size: 7px; margin-left: 12px;
}

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-top: 12px; line-height: 1.15;
}
.section-head p {
  margin-top: 16px; color: var(--ink-soft);
  font-size: 21px; line-height: 1.7; font-weight: 500;
}

/* ---------- Two-column content blocks (Rachier-style) ---------- */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.content-block.reversed { direction: rtl; }
.content-block.reversed > * { direction: ltr; }
.content-block-text .eyebrow { margin-bottom: 8px; }
.content-block-text h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  margin-bottom: 20px; line-height: 1.2;
}
.content-block-text p {
  color: var(--ink); font-size: 21px; line-height: 1.7; font-weight: 500;
}
.content-block-text .btn { margin-top: 28px; }
.content-block-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
}
.content-block-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ---------- Practice Areas Cards ---------- */
.practice-bg { background: var(--cream); }
.practice-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.practice-card {
  background: var(--cream);
  padding: 38px 32px;
  transition: background var(--transition), transform var(--transition);
  position: relative;
}
.practice-card:hover { background: var(--maroon-900); }
.practice-card:hover h3,
.practice-card:hover p { color: var(--white); }
.practice-card:hover .pnum { color: var(--gold-300); }
.practice-card .pnum {
  font-family: 'Avenir LT Std', 'Avenir', 'Montserrat', 'Inter', sans-serif;
  font-size: 13px; color: var(--gold-600);
  margin-bottom: 18px; display: block;
}
.practice-card h3 { font-size: 25px; margin-bottom: 12px; transition: color var(--transition); }
.practice-card p {
  font-size: 21px; color: var(--ink-soft);
  line-height: 1.65; font-weight: 500; transition: color var(--transition);
}
.practice-card a.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-size: 13px; font-weight: 600;
  color: var(--gold-600); text-transform: uppercase;
  letter-spacing: 0.04em; transition: color var(--transition);
}
.practice-card:hover a.card-link { color: var(--gold-300); }
.practice-card a.card-link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.practice-card:hover a.card-link svg { transform: translateX(4px); }

/* Practice Areas — Full detail blocks (for practice-areas.html) */
.practice-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
.practice-detail:last-child { border-bottom: none; }
.practice-detail.reversed { direction: rtl; }
.practice-detail.reversed > * { direction: ltr; }
.practice-detail-text .pnum {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 14px; color: var(--gold-600);
  margin-bottom: 12px; display: block;
}
.practice-detail-text h2 {
  font-size: clamp(30px, 3.5vw, 42px);
  margin-bottom: 18px;
}
.practice-detail-text p {
  color: var(--ink); font-size: 21px; line-height: 1.7; font-weight: 500;
}
.practice-detail-text ul {
  margin-top: 20px; list-style: none; padding: 0;
}
.practice-detail-text ul li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; font-size: 20px; color: var(--ink); font-weight: 500;
}
.practice-detail-text ul li svg { color: var(--gold-600); flex-shrink: 0; }
.practice-detail-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 360px;
  background: var(--maroon-900);
}
.practice-detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
  transition: transform 0.5s ease;
}
.practice-detail-visual:hover img {
  transform: scale(1.03);
}
.practice-detail-visual .practice-icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.practice-detail-visual .practice-icon svg {
  width: 80px; height: 80px; color: var(--gold-500); opacity: 0.3;
}

/* ---------- Partner / Team Cards ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 40px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-card-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: linear-gradient(160deg, var(--maroon-800), var(--maroon-900));
}
.team-card-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.team-card:hover .team-card-photo img { transform: scale(1.03); }
.team-card-info { padding: 28px 24px; }
.team-card-info h3 { font-size: 20px; margin-bottom: 4px; }
.team-card-info .role {
  font-size: 14px; color: var(--gold-600);
  font-family: 'Avenir LT Std', 'Avenir', 'Montserrat', 'Inter', sans-serif;
  font-style: italic; font-weight: 600;
  margin-bottom: 14px;
}
.team-card-info p { font-size: 21px; color: var(--ink-soft); line-height: 1.7; font-weight: 500; }
.team-card-creds {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 0 24px 24px;
}
.team-card-creds span {
  border: 1px solid var(--line); padding: 6px 12px;
  font-size: 11px; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--ink-soft);
}

/* Partner spotlight (full-width) */
.partner-section {
  background: var(--maroon-950);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.partner-section::before {
  content: '';
  position: absolute; right: -80px; top: -80px;
  width: 340px; height: 340px;
  border: 1px solid rgba(201, 162, 74, 0.2);
  border-radius: 50%;
}
.partner-grid {
  display: grid; grid-template-columns: 0.72fr 1.28fr;
  gap: 64px; align-items: center;
}
.partner-photo-wrap { position: relative; }
.partner-photo-wrap::after {
  content: '';
  position: absolute; inset: 18px -18px -18px 18px;
  border: 1.5px solid var(--gold-500); z-index: 0;
}
.partner-photo {
  position: relative; z-index: 1;
  overflow: hidden;
}
.partner-photo img {
  width: 100%; display: block;
  object-fit: cover;
  object-position: top center;
}
.partner-name { font-size: clamp(26px, 3vw, 36px); color: var(--white); font-family: 'Avenir LT Std', 'Avenir', 'Montserrat', 'Inter', sans-serif; }
.partner-role {
  color: var(--gold-300); font-family: 'Avenir LT Std', 'Avenir', 'Montserrat', 'Inter', sans-serif;
  font-style: italic; font-size: 19px; margin-top: 8px;
}
.partner-bio {
  margin-top: 22px; color: rgba(255, 255, 255, 0.95);
  font-size: 21px; line-height: 1.75; max-width: 680px;
}
.partner-creds { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.partner-creds span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 8px 16px; font-size: 12px;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.partner-sig {
  margin-top: 34px; padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.partner-sig .script { font-size: 30px; color: var(--gold-300); }
.partner-sig .role-line {
  font-size: 12.5px; color: rgba(255, 255, 255, 0.6);
  margin-top: 4px; letter-spacing: 0.05em;
}

/* ---------- Values / Why Us ---------- */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.value { padding-top: 26px; border-top: 2px solid var(--gold-500); }
.value h3 { font-size: 18px; margin-bottom: 10px; }
.value p { font-size: 21px; color: var(--ink-soft); line-height: 1.7; font-weight: 500; }

/* ---------- CTA Band ---------- */
.cta-band {
  background: linear-gradient(100deg, var(--maroon-900), var(--maroon-800));
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 70%;
  width: 6px; background: var(--gold-500); transform: skewX(-11deg);
}
.cta-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-inner h2 {
  color: var(--white); font-size: clamp(24px, 3vw, 32px);
  max-width: 520px; line-height: 1.25;
}
.cta-inner p { color: rgba(255, 255, 255, 0.85); margin-top: 10px; font-size: 21px; font-weight: 500; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px;
}
.contact-card {
  background: var(--white); border: 1px solid var(--line); padding: 0;
}
.contact-item {
  display: flex; gap: 16px; padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}
.contact-item:last-child { border-bottom: none; }
.contact-item svg { flex-shrink: 0; color: var(--gold-600); margin-top: 2px; }
.contact-item .label {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--ink-soft); margin-bottom: 4px;
}
.contact-item .val {
  font-size: 21px; color: var(--maroon-950);
  font-weight: 500; line-height: 1.6;
}
.contact-map {
  margin-top: 24px; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--line);
}
.contact-map iframe { width: 100%; height: 300px; border: 0; display: block; }

/* Forms */
form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label {
  font-size: 11.5px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--ink-soft);
  display: block; margin-bottom: 8px;
}
input, textarea, select {
  width: 100%; border: 1px solid var(--line);
  background: var(--white); padding: 13px 16px;
  font-family: 'Avenir LT Std', 'Avenir', 'Montserrat', 'Inter', sans-serif; font-size: 14px;
  color: var(--ink); border-radius: var(--radius);
  transition: border-color var(--transition);
}
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--gold-500);
}
textarea { resize: vertical; min-height: 120px; }
.submit-btn {
  justify-self: start;
  background: var(--maroon-900); color: var(--white);
  border: none; padding: 15px 32px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  cursor: pointer; transition: background 0.25s ease;
  font-family: 'Avenir LT Std', 'Avenir', 'Montserrat', 'Inter', sans-serif;
}
.submit-btn:hover { background: var(--maroon-950); }

/* ---------- About list (Our Firm) ---------- */
.about-list { list-style: none; margin: 28px 0 0; padding: 0; }
.about-list li {
  display: flex; gap: 14px; padding: 14px 0;
  border-top: 1px solid var(--line);
}
.about-list li:first-child { border-top: none; }
.about-list svg { flex-shrink: 0; color: var(--gold-600); margin-top: 3px; }
.about-list strong {
  display: block; font-family: 'Avenir LT Std', 'Avenir', 'Montserrat', 'Inter', sans-serif;
  font-size: 15.5px; color: var(--maroon-950); margin-bottom: 3px;
}
.about-list span { font-size: 21px; color: var(--ink-soft); line-height: 1.7; font-weight: 500; }

/* ---------- Stats Row ---------- */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  text-align: center; padding: 60px 0;
}
.stat-item { position: relative; }
.stat-item::before {
  content: ''; position: absolute; left: 0; top: 10%;
  height: 80%; width: 1px; background: var(--line);
}
.stat-item:first-child::before { display: none; }
.stat-num {
  font-family: 'Avenir LT Std', 'Avenir', 'Montserrat', 'Inter', sans-serif;
  font-size: 42px; font-weight: 700;
  color: var(--maroon-900);
}
.stat-label {
  font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--ink-soft); margin-top: 6px;
}

/* ---------- Footer ---------- */
footer {
  background: var(--maroon-950); color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 26px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 38px; }
.footer-brand span {
  font-family: 'Avenir LT Std', 'Avenir', 'Montserrat', 'Inter', sans-serif;
  color: var(--white); font-size: 16px; font-weight: 700;
}
.footer-grid p { font-size: 21px; line-height: 1.7; max-width: 310px; font-weight: 500; }
.footer-col h4 {
  color: var(--white); font-family: 'Cinzel', Georgia, serif;
  font-size: 21px; margin-bottom: 18px; font-weight: 500; letter-spacing: 0.02em;
}
.footer-col a {
  display: block; font-size: 16.5px; padding: 6px 0;
  color: rgba(255, 255, 255, 0.75); transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold-300); }
.footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center; padding-top: 24px;
  flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; color: rgba(255, 255, 255, 0.45);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  nav.links, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .home-hero-card { padding: 28px 24px; border-radius: 16px; }
  .home-hero h1 { font-size: clamp(30px, 6vw, 48px); }
  .content-block { grid-template-columns: 1fr; gap: 40px; }
  .content-block.reversed { direction: ltr; }
  .practice-grid { grid-template-columns: 1fr 1fr; }
  .practice-detail { grid-template-columns: 1fr; gap: 32px; }
  .practice-detail.reversed { direction: ltr; }
  .partner-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero { padding: 100px 0 60px; }
}

@media (max-width: 600px) {
  .practice-grid, .values-grid, .footer-grid, .stats-row { grid-template-columns: 1fr; }
  .wrap { padding: 0 20px; }
  section { padding: 64px 0; }
  .home-hero .hero-meta { gap: 24px; }
  .team-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 28px; }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  z-index: 999;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
  color: #fff;
}
.whatsapp-float svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

