/* ═══════════════════════════════════════════════════════════════
   AKENGA KIMUTAI & ASSOCIATES ADVOCATES
   Main Stylesheet — style.css
   ═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────
   CSS VARIABLES & RESET
───────────────────────────────────────── */
:root {
  --navy:       #001529;
  --navy-mid:   #002244;
  --navy-light: #0a2a4a;
  --gold:       #B8860B;
  --gold-light: #D4A017;
  --gold-bright:#F0C040;
  --white:      #FFFFFF;
  --off-white:  #F4F7F9;
  --grey-light: #E8EDF2;
  --grey-mid:   #9BA8B5;
  --grey-text:  #4A5568;
  --black:      #0A0F1A;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Open Sans', sans-serif;
  color: var(--grey-text);
  background: var(--white);
  overflow-x: hidden;
  /* top-bar (38px) + navbar (72px) = 110px */
  padding-top: 110px;
}
section[id] {
  scroll-margin-top: 110px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ─────────────────────────────────────────
   TOP BAR
───────────────────────────────────────── */
.top-bar {
  background: var(--navy);
  border-bottom: 1px solid rgba(184,134,11,0.3);
  font-size: 12px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  height: 38px;
  display: flex;
  align-items: center;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-hq {
  display: flex;
  align-items: center;
  gap: 18px;
}
.top-bar-hq-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--grey-light);
  font-size: 11.5px;
  white-space: nowrap;
}
.top-bar-hq-icon {
  font-size: 12px;
  opacity: 0.75;
  flex-shrink: 0;
}
.top-bar-hq-text {
  letter-spacing: 0.03em;
}
.top-bar-hq-link {
  color: var(--gold);
  letter-spacing: 0.03em;
  transition: var(--transition);
}
.top-bar-hq-link:hover { color: var(--white); }
.top-bar-hq-divider {
  width: 1px;
  height: 14px;
  background: rgba(184,134,11,0.35);
  flex-shrink: 0;
}
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.top-bar-contact {
  color: var(--grey-light);
  font-size: 11.5px;
  white-space: nowrap;
}
.top-bar-contact a span { color: var(--gold-bright); margin-left: 4px; }
.top-bar-contact a:hover span { color: var(--white); }
.social-icons {
  display: flex;
  gap: 8px;
}
.social-icons a {
  width: 26px; height: 26px;
  border: 1px solid rgba(184,134,11,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--grey-light);
  font-size: 11px;
  transition: var(--transition);
  flex-shrink: 0;
}
.social-icons a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* ─────────────────────────────────────────
   NAVBAR
───────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 38px;   /* sits directly below the 38px top-bar */
  left: 0; right: 0;
  z-index: 1050;
  padding: 16px 0;
  transition: background 0.35s cubic-bezier(0.4,0,0.2,1),
              padding   0.35s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.35s cubic-bezier(0.4,0,0.2,1),
              top       0.35s cubic-bezier(0.4,0,0.2,1);
  background: rgba(0,21,41,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.navbar.scrolled {
  top: 0;        /* top-bar scrolls away, navbar takes full top */
  background: var(--navy);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.45);
  border-bottom: 2px solid var(--gold);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.logo-main {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--white);
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
}
.logo-main span { color: var(--gold-bright); }
.logo-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 11px;
  color: var(--gold-light);
  letter-spacing: 0.18em;
  margin-top: 2px;
}
.logo-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 3px 0;
}

/* Desktop nav links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-item {
  position: relative;
}
.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  padding: 10px 13px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
  border-radius: 2px;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--gold-bright); }
.nav-link .arrow {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.25s;
  flex-shrink: 0;
}
.nav-item:hover > .nav-link .arrow { transform: rotate(180deg); }

/* CTA button */
.nav-cta {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--white);
  padding: 11px 22px;
  border-radius: 2px;
  margin-left: 8px;
  transition: var(--transition);
  border: 1px solid var(--gold);
  white-space: nowrap;
}
.nav-cta:hover {
  background: transparent;
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}

/* ── Mega Menu ── */
.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: min(860px, 96vw);
  background: var(--navy-mid);
  border-top: 3px solid var(--gold);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  padding: 32px 36px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.4,0,0.2,1),
              transform 0.28s cubic-bezier(0.4,0,0.2,1);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  z-index: 200;
}
.mega-menu::before {
  content: '';
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--gold);
}
.nav-item:hover > .mega-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.mega-menu-title {
  grid-column: 1 / -1;
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(184,134,11,0.2);
  padding-bottom: 12px;
  margin-bottom: 4px;
}
.mega-item {
  padding: 14px 16px;
  border-left: 2px solid transparent;
  transition: var(--transition);
}
.mega-item:hover {
  border-left-color: var(--gold);
  background: rgba(184,134,11,0.06);
}
.mega-item-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.mega-item-desc {
  font-size: 11px;
  color: var(--grey-mid);
  line-height: 1.5;
}

/* ── Hamburger button (hidden on desktop) ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 3px;
  cursor: pointer;
  padding: 9px;
  z-index: 1200;
  transition: border-color 0.25s;
  flex-shrink: 0;
}
.hamburger:hover { border-color: var(--gold); }
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1),
              opacity   0.25s,
              background 0.25s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav overlay ── */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,21,41,0.65);
  z-index: 1060;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.nav-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

/* ─────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Push content below both fixed bars (top-bar ~37px + navbar ~72px) */
  padding-top: 110px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1800&q=80') center center / cover no-repeat;
  transform: scale(1.04);
  transition: transform 12s ease;
}
.hero:hover .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,21,41,0.92) 0%,
    rgba(0,21,41,0.78) 40%,
    rgba(0,34,68,0.88) 100%
  );
}
.hero-overlay-texture {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255,255,255,0.015) 2px,
      rgba(255,255,255,0.015) 4px
    );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 40px;
  animation: heroFadeUp 1.2s cubic-bezier(0.4,0,0.2,1) both;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(50px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 24px;
}
.hero-badge::before, .hero-badge::after {
  content: '';
  width: 40px; height: 1px;
  background: var(--gold);
}
.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.08;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.hero-title span { color: var(--gold-bright); display: block; }
.hero-rule {
  width: 80px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 28px auto;
}
.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2.2vw, 26px);
  font-style: italic;
  color: rgba(255,255,255,0.80);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.hero-desc {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin: 0 auto 44px;
  line-height: 1.8;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-gold {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--white);
  padding: 18px 40px;
  border: 2px solid var(--gold);
  border-radius: 2px;
  transition: var(--transition);
  cursor: pointer;
  display: inline-block;
}
.btn-gold:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(184,134,11,0.4);
}
.btn-outline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: transparent;
  color: var(--white);
  padding: 18px 40px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 2px;
  transition: var(--transition);
  cursor: pointer;
  display: inline-block;
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounceDown 2s infinite;
}
@keyframes bounceDown {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}
.hero-scroll span {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--gold), transparent);
}

/* ─────────────────────────────────────────
   OFFICES (merged pillars + national presence)
───────────────────────────────────────── */
.offices {
  background: var(--navy);
}
.offices-header {
  padding: 80px 0 56px;
  text-align: center;
}
.offices-header-inner { text-align: center; }
.offices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(184,134,11,0.15);
}
.office-card {
  border-right: 1px solid rgba(184,134,11,0.15);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  cursor: default;
}
.office-card:last-child { border-right: none; }
.office-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
}
.office-card:hover::after { transform: scaleX(1); }
.office-card:hover { background: rgba(184,134,11,0.05); }

/* Top half — navy dark, icon + city */
.office-card-top {
  padding: 48px 36px 32px;
  border-bottom: 1px solid rgba(184,134,11,0.12);
  position: relative;
}
.office-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 56px;
  color: rgba(184,134,11,0.07);
  position: absolute;
  top: 16px; right: 22px;
  line-height: 1;
  user-select: none;
}
.office-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 10px rgba(184,134,11,0.25));
}
.office-badge {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--white);
  padding: 3px 9px;
  border-radius: 2px;
  margin-bottom: 14px;
}
.office-city {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.office-county {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-style: italic;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  margin-top: 5px;
}

/* Bottom half — address, contact, directions */
.office-card-body {
  padding: 28px 36px 40px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.office-address {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 20px;
}
.office-address strong {
  color: rgba(255,255,255,0.88);
  font-weight: 600;
  font-size: 13.5px;
  display: block;
  margin-bottom: 4px;
}
.office-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(184,134,11,0.12);
  margin-bottom: 20px;
}
.office-contact a {
  font-size: 12.5px;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.office-contact a:hover { color: var(--gold-bright); }
.office-directions {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(184,134,11,0.15);
  border: 1px solid rgba(184,134,11,0.3);
  padding: 10px 16px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  margin-top: auto;
  text-align: center;
  justify-content: center;
}
.office-directions:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,134,11,0.3);
}

/* ─────────────────────────────────────────
   SECTION HEADERS (shared)
───────────────────────────────────────── */
.section-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.section-eyebrow::after {
  content: '';
  width: 50px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 46px);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.section-title.light { color: var(--white); }
.section-subtitle {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  color: var(--grey-text);
  line-height: 1.8;
  max-width: 620px;
  margin-top: 18px;
  font-weight: 300;
}
.section-subtitle.light { color: rgba(255,255,255,0.65); }

/* ─────────────────────────────────────────
   ABOUT STRIP
───────────────────────────────────────── */
.about-strip {
  background: var(--off-white);
  padding: 80px 0;
  border-top: 1px solid var(--grey-light);
}
.about-strip .container {
  display: flex;
  align-items: center;
  gap: 80px;
}
.about-strip-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  flex-shrink: 0;
  width: 500px;
}
.stat-box {
  background: var(--white);
  padding: 36px 30px;
  text-align: center;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}
.stat-box:hover { border-bottom-color: var(--gold); }
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 46px;
  color: var(--navy);
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.stat-num span { font-size: 24px; color: var(--gold); }
.stat-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-top: 8px;
}
.about-strip-text p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--grey-text);
  font-weight: 300;
}
.about-strip-text p + p { margin-top: 16px; }

/* ─────────────────────────────────────────
   PRACTICE AREAS GRID
───────────────────────────────────────── */
.practice-areas {
  padding: 120px 0;
  background: var(--white);
}
.practice-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}
.practice-all-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  transition: var(--transition);
}
.practice-all-link:hover { color: var(--gold); }
.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
/* Last row: if 7 cards (4+3), centre the 3 orphan cards */
.practice-grid .practice-card:nth-child(5),
.practice-grid .practice-card:nth-child(6),
.practice-grid .practice-card:nth-child(7) {
  /* no special positioning needed — they sit in columns 1-3 naturally */
}
.practice-card {
  background: var(--off-white);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}
.practice-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--navy);
  opacity: 0;
  transition: opacity 0.4s;
}
.practice-card:hover::after { opacity: 0.88; }
.practice-card-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: var(--navy-light);
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.practice-card:hover .practice-card-img { transform: scale(1.08); }
.practice-card-body {
  padding: 32px 28px 36px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.practice-card:hover .practice-card-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
}
.practice-icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}
.practice-card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  line-height: 1.3;
  transition: var(--transition);
}
.practice-card:hover .practice-card-title { color: var(--white); }
.practice-card-desc {
  font-size: 13.5px;
  color: var(--grey-text);
  line-height: 1.75;
  margin-bottom: 22px;
  font-weight: 300;
  transition: var(--transition);
}
.practice-card:hover .practice-card-desc { color: rgba(255,255,255,0.72); }
.read-more {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.read-more::after { content: '→'; font-size: 14px; }
.practice-card:hover .read-more { color: var(--gold-bright); gap: 14px; }

/* ─────────────────────────────────────────
   WHY US — SPLIT SCREEN
───────────────────────────────────────── */
.why-us {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
}
.why-us-image {
  position: relative;
  overflow: hidden;
}
.why-us-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.why-us:hover .why-us-image img { transform: scale(1.04); }
.why-us-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,21,41,0.35) 0%, transparent 60%);
}
.why-us-content {
  background: var(--navy);
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.why-pillars {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.why-pillar {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
}
.why-pillar.visible {
  opacity: 1;
  transform: translateX(0);
}
.why-pillar-bullet {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--gold);
  margin-top: 2px;
}
.why-pillar-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.why-pillar-text {
  font-size: 13.5px;
  color: var(--grey-mid);
  line-height: 1.75;
  font-weight: 300;
}
.why-cta {
  margin-top: 52px;
}

/* ─────────────────────────────────────────
   ATTORNEYS TEASER
───────────────────────────────────────── */
.attorneys {
  padding: 120px 0;
  background: var(--off-white);
}
.attorneys-header {
  text-align: center;
  margin-bottom: 64px;
}
.attorneys-header .section-eyebrow {
  justify-content: center;
}
.attorneys-header .section-eyebrow::after { display: none; }
.attorneys-header .section-eyebrow::before {
  content: '';
  width: 50px; height: 1px;
  background: var(--gold);
}
.attorneys-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.attorney-card {
  background: var(--white);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.attorney-img-wrap {
  height: 320px;
  overflow: hidden;
  background: var(--navy-light);
  position: relative;
}
.attorney-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: grayscale(20%);
  transition: all 0.6s ease;
}
.attorney-card:hover .attorney-img-wrap img {
  transform: scale(1.05);
  filter: grayscale(0%);
}
.attorney-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,21,41,0.7) 0%, transparent 50%);
}
.attorney-body {
  padding: 28px 32px 36px;
  border-bottom: 3px solid var(--grey-light);
  transition: var(--transition);
}
.attorney-card:hover .attorney-body { border-bottom-color: var(--gold); }
.attorney-role {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.attorney-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.attorney-speciality {
  font-size: 13px;
  color: var(--grey-mid);
  margin-top: 8px;
}

/* ─────────────────────────────────────────
   PEOPLE TABS
───────────────────────────────────────── */
.people-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 56px;
  border-bottom: 2px solid var(--grey-light);
  justify-content: center;
}
.people-tab {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-mid);
  background: none;
  border: none;
  padding: 14px 40px;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}
.people-tab::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.people-tab:hover { color: var(--navy); }
.people-tab.active { color: var(--navy); }
.people-tab.active::after { transform: scaleX(1); }

.people-panel { display: none; }
.people-panel.active { display: block; }

/* ─────────────────────────────────────────
   CONSULTATION FORM SECTION
───────────────────────────────────────── */
.consultation {
  background: var(--navy);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.consultation::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(255,255,255,0.012) 2px, rgba(255,255,255,0.012) 4px
  );
  pointer-events: none;
}
.consultation-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.consultation-desc {
  font-size: 14.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.85;
  font-weight: 300;
  margin-top: 24px;
  margin-bottom: 44px;
}
.consultation-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.consultation-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.cd-icon {
  width: 42px; height: 42px;
  border: 1px solid rgba(184,134,11,0.35);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  background: rgba(184,134,11,0.08);
}
.cd-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.cd-value {
  font-size: 13.5px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  font-weight: 300;
  transition: var(--transition);
}
a.cd-value:hover { color: var(--gold-bright); }

/* Form card */
.consultation-form-wrap {
  background: var(--white);
  padding: 52px 48px;
  border-radius: 2px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}
.consultation-form { display: flex; flex-direction: column; gap: 20px; }
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cf-group { display: flex; flex-direction: column; gap: 7px; }
.cf-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}
.cf-label span { color: var(--gold); }
.cf-input {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: var(--grey-text);
  background: var(--off-white);
  border: 1.5px solid var(--grey-light);
  border-radius: 2px;
  padding: 12px 16px;
  transition: var(--transition);
  outline: none;
  width: 100%;
}
.cf-input:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(184,134,11,0.1);
}
.cf-input::placeholder { color: var(--grey-mid); font-size: 13px; }
.cf-select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239BA8B5' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.cf-textarea { resize: vertical; min-height: 110px; font-family: 'Open Sans', sans-serif; }
.cf-submit {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
  border-radius: 2px;
  padding: 16px 32px;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 4px;
  width: 100%;
}
.cf-submit:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,21,41,0.25);
}
.cf-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.cf-feedback {
  font-size: 13.5px;
  padding: 14px 18px;
  border-radius: 2px;
  font-weight: 500;
  text-align: center;
}
.cf-feedback.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}
.cf-feedback.error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

@media (max-width: 1100px) {
  .consultation-inner { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 768px) {
  .cf-row { grid-template-columns: 1fr; }
  .consultation-form-wrap { padding: 36px 24px; }
  .people-tab { padding: 12px 24px; font-size: 11px; }
}

/* ─────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────── */
.testimonials {
  padding: 120px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: '"';
  position: absolute;
  top: -60px; left: 5%;
  font-family: 'Cormorant Garamond', serif;
  font-size: 400px;
  color: rgba(184,134,11,0.04);
  line-height: 1;
  pointer-events: none;
}
.testimonials-header {
  text-align: center;
  margin-bottom: 72px;
}
.testimonials-header .section-eyebrow {
  justify-content: center;
}
.testimonials-header .section-eyebrow::after { display: none; }
.testimonials-header .section-eyebrow::before {
  content: ''; width: 50px; height: 1px; background: var(--gold);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(184,134,11,0.15);
  padding: 44px 36px;
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover {
  background: rgba(184,134,11,0.06);
  border-color: rgba(184,134,11,0.35);
}
.testimonial-stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 24px;
}
.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-style: italic;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  margin-bottom: 30px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--navy-light);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--gold);
}
.testimonial-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--white);
}
.testimonial-role {
  font-size: 11.5px;
  color: var(--grey-mid);
  margin-top: 3px;
}

/* ─────────────────────────────────────────
   NEWS BANNER / TICKER
───────────────────────────────────────── */
.news-banner {
  background: var(--gold);
  padding: 20px 0;
  overflow: hidden;
}
.news-ticker {
  display: flex;
  gap: 80px;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.news-ticker-item {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 14px;
}
.news-ticker-item::before {
  content: '●';
  font-size: 6px;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer {
  background: var(--black);
}
.footer-main {
  padding: 100px 0 70px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}
.footer-brand-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.45);
  line-height: 1.9;
  margin: 24px 0 32px;
  font-weight: 300;
}
.footer-logo-main {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-logo-main span { color: var(--gold-bright); }
.footer-logo-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.18em;
  margin-top: 3px;
}
.footer-col-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(184,134,11,0.2);
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 300;
}
.footer-links a::before {
  content: '';
  width: 12px; height: 1px;
  background: var(--gold);
  opacity: 0;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--gold-bright);
  padding-left: 4px;
}
.footer-links a:hover::before { opacity: 1; }
.footer-bottom {
  background: var(--black);
  padding: 24px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}
.footer-copy span { color: var(--gold); }
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  font-size: 11.5px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--gold); }

/* ─────────────────────────────────────────
   FLOATING ELEMENTS
───────────────────────────────────────── */
.floating-whatsapp {
  position: fixed;
  bottom: 90px; right: 30px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
  z-index: 1000;
  transition: var(--transition);
  cursor: pointer;
}
.floating-whatsapp:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 12px 35px rgba(37,211,102,0.55);
}
.floating-whatsapp svg { width: 28px; height: 28px; fill: white; }
.floating-back-top {
  position: fixed;
  bottom: 26px; right: 30px;
  width: 46px; height: 46px;
  background: var(--gold);
  border: none;
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  z-index: 1000;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(184,134,11,0.4);
}
.floating-back-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.floating-back-top:hover {
  background: var(--gold-bright);
  transform: translateY(-3px);
}
.floating-back-top svg { width: 20px; height: 20px; fill: white; }

/* ─────────────────────────────────────────
   SCROLL ANIMATIONS
───────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
              transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ─────────────────────────────────────────
   PLACEHOLDER IMAGES (CSS-only)
───────────────────────────────────────── */
.img-placeholder {
  background: var(--navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.1em;
}

/* ─────────────────────────────────────────
   ATTORNEY CARD HELPERS
───────────────────────────────────────── */
.attorney-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
.attorney-card { display: flex; flex-direction: column; }
.attorney-body  { flex-grow: 1; }

/* People grid defaults */
#tab-partners .attorneys-grid,
#tab-advocates .attorneys-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* Footer bottom row */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.footer-bottom-right {
  display: flex;
  gap: 16px;
  margin-left: auto;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS — single, consolidated block
   ═══════════════════════════════════════════════════════ */

/* ── Large tablet: collapse mega-menu columns ── */
@media (max-width: 1100px) {
  .offices-grid,
  .practice-grid    { grid-template-columns: repeat(2, 1fr); }
  .why-us           { grid-template-columns: 1fr; }
  .why-us-image     { height: 460px; }
  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 40px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .mega-menu        { width: min(520px, 96vw); grid-template-columns: repeat(2, 1fr); }

  #tab-partners .attorneys-grid,
  #tab-advocates .attorneys-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Tablet: shrink nav CTA ── */
@media (max-width: 1024px) {
  .nav-cta { padding: 10px 15px; font-size: 10.5px; margin-left: 6px; }
}

/* ── Mobile nav trigger point (~900px) ── */
@media (max-width: 900px) {
  /* ─ Top bar: collapse to single info line ─ */
  .top-bar-hq-item:last-child,   /* hide email on narrow */
  .top-bar-hq-divider            { display: none; }
  .top-bar-right                 { gap: 12px; }

  /* ─ Show hamburger, hide desktop nav ─ */
  .hamburger    { display: flex; }
  .nav-overlay  { 
    display: block;
    z-index: 1000;
    pointer-events: none; 
  }
  .nav-overlay.visible {
  pointer-events: auto;
}

  /* ─ Slide-in drawer ─ */
  .nav-menu {
    position: fixed;
    top: 0; right: 0;
    width: min(300px, 86vw);
    height: 100dvh;          /* use dvh so mobile chrome bar doesn't clip */
    background: var(--navy);
    border-left: 2px solid var(--gold);
    z-index: 1200;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 100px 0 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
    pointer-events: auto;
    display: flex;           /* always flex — visibility controlled by transform */
  }
  .nav-menu.open { transform: translateX(0); }

  .nav-item { width: 100%; }

  .nav-link {
    font-size: 13px;
    padding: 15px 28px;
    border-bottom: 1px solid rgba(184,134,11,0.1);
    width: 100%;
    justify-content: space-between;
    letter-spacing: 0.08em;
    border-radius: 0;
  }
  .nav-link:hover,
  .nav-link.active { background: rgba(184,134,11,0.07); color: var(--gold-bright); }

  .nav-cta {
    margin: 20px 24px 0;
    display: block;
    text-align: center;
    padding: 13px 20px;
    font-size: 11px;
  }

  /* Mega-menu becomes a static accordion inside the drawer */
  .mega-menu {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    pointer-events: all;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid var(--gold);
    margin-left: 24px;
    padding: 8px 12px;
    grid-template-columns: 1fr;
    gap: 0;
    display: none;
    background: rgba(0,34,68,0.55);
  }
  .mega-menu::before    { display: none; }
  .mega-menu-title      { display: none; }
  .mega-item            { padding: 10px 8px; }
  .mega-item-title      { font-size: 12px; }
  .mega-item-desc       { font-size: 11px; }

  /* Desktop hover rule must not fire on mobile */
  .nav-item:hover > .mega-menu { display: none; }
}

/* ── Mobile: layout adjustments ── */
@media (max-width: 768px) {
  .container          { padding: 0 18px; }
  .hero-title         { font-size: 34px; }
  .why-us-content     { padding: 56px 28px; }
  .about-strip .container { flex-direction: column; gap: 40px; }
  .about-strip-stats  { width: 100%; }
  .attorneys-grid     { grid-template-columns: 1fr; }
  .practice-grid      { grid-template-columns: 1fr; }
  .offices-grid       { grid-template-columns: 1fr; }
  .office-card        { border-right: none; border-bottom: 1px solid rgba(184,134,11,0.15); }
  .office-card:last-child { border-bottom: none; }
  .footer-grid        { grid-template-columns: 1fr; gap: 32px; }
  .people-tab         { padding: 12px 20px; font-size: 11px; }
  .cf-row             { grid-template-columns: 1fr; }
  .consultation-form-wrap { padding: 32px 20px; }

  #tab-partners .attorneys-grid,
  #tab-advocates .attorneys-grid { grid-template-columns: 1fr; }
}

/* ── Compact top-bar on small phones ── */
@media (max-width: 600px) {
  .top-bar            { height: 34px; font-size: 11px; }
  .top-bar-contact    { display: none; }   /* just phone+socials, saves space */
  .top-bar-hq-text    { font-size: 10.5px; }

  /* Navbar sits below 34px bar */
  .navbar             { top: 34px; }
  .navbar.scrolled    { top: 0; }
  body                { padding-top: 34px; }  /* top-bar only; navbar is transparent */

  .footer-bottom      { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-bottom-right { margin-left: 0; }
}

/* ── Tiny phones ── */
@media (max-width: 380px) {
  .logo-main          { font-size: 13px; }
  .logo-sub           { font-size: 9.5px; }
  .top-bar-hq         { display: none; }   /* hide address entirely, show only right side */
}

