/* ===================================================
   BONGAM & YOUMBI LAW FIRM — Design System
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ── TOKENS ── */
:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-dim: rgba(201, 168, 76, 0.15);
  --navy: #0B1220;
  --navy-mid: #111D30;
  --navy-card: #14213D;
  --charcoal: #1C2B45;
  --white: #FFFFFF;
  --off-white: #F4F1EB;
  --text-muted: #8A96A8;
  --border: rgba(201, 168, 76, 0.2);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;

  --radius: 4px;
  --radius-md: 10px;
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ── UTILITY ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

.section--dark {
  background: var(--navy);
}

.section--mid {
  background: var(--navy-mid);
}

.section--card {
  background: var(--navy-card);
}

.gold {
  color: var(--gold);
}

.centered {
  text-align: center;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.8;
}

.divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1.25rem 0 2rem;
}

.divider--center {
  margin-left: auto;
  margin-right: auto;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
}

.btn--primary {
  background: var(--gold);
  color: var(--navy);
}

.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201, 168, 76, 0.35);
}

.btn--outline {
  border: 1.5px solid var(--gold);
  color: var(--gold);
}

.btn--outline:hover {
  background: var(--gold-dim);
  transform: translateY(-2px);
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(11, 18, 32, 0.95);
  backdrop-filter: blur(16px);
  padding: 0.85rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 45px;
  width: auto;
  transition: var(--transition);
}

.navbar.scrolled .logo-img {
  height: 38px;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  margin-bottom: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  /* Reduced from 2.25rem */
}

.nav-link {
  font-size: 0.8rem;
  /* Slightly reduced */
  font-weight: 500;
  letter-spacing: 0.05em;
  /* Reduced spacing */
  text-transform: uppercase;
  color: var(--off-white);
  position: relative;
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  padding: 0.6rem 1.4rem;
  font-size: 0.8rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--off-white);
  transition: var(--transition);
}

.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);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.5s ease-in-out, transform 8s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(11, 18, 32, 0.92) 0%,
      rgba(11, 18, 32, 0.75) 50%,
      rgba(11, 18, 32, 0.88) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 9rem 0 5rem;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.2s forwards;
}

.hero-eyebrow span {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.hero-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.4s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-subtitle {
  max-width: 560px;
  font-size: 1.05rem;
  color: rgba(244, 241, 235, 0.78);
  line-height: 1.85;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.6s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.8s forwards;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp 0.9s 1s forwards;
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s 1.5s forwards;
}

.scroll-hint span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 7px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollBob 1.6s infinite;
}

/* ── SERVICES STRIP ── */
.services-strip {
  background: var(--navy-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.services-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.strip-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

.strip-dot {
  width: 4px;
  height: 4px;
  background: var(--border);
  border-radius: 50%;
}

/* ── ABOUT SNIPPET ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-main {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-md);
  filter: brightness(0.9);
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--gold);
  color: var(--navy);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow);
}

.about-badge-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.about-badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.3rem;
  opacity: 0.85;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.about-feature-icon {
  width: 36px;
  height: 36px;
  background: var(--gold-dim);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.about-feature-text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.about-feature-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── PRACTICE AREAS GRID ── */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.practice-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}

.practice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.practice-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 168, 76, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.practice-card:hover::before {
  transform: scaleX(1);
}

.practice-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  display: block;
}

.practice-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.practice-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.practice-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap var(--transition);
}

.practice-card-link:hover {
  gap: 0.75rem;
}

/* ── WHY US ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.why-item {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--border);
  text-align: center;
  transition: background var(--transition);
}

.why-item:last-child {
  border-right: none;
}

.why-item:hover {
  background: var(--gold-dim);
}

.why-num {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 1rem;
}

.why-item h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.why-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--gold);
  padding: 4rem 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  max-width: 560px;
  line-height: 1.3;
}

.btn--dark {
  background: var(--navy);
  color: var(--gold);
  border: none;
}

.btn--dark:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

/* ── CONTACT STRIP ── */
.contact-strip {
  background: var(--navy-card);
  border-top: 1px solid var(--border);
}

.contact-strip-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem 3rem;
  border-right: 1px solid var(--border);
  flex: 1;
  min-width: 220px;
}

.contact-item:last-child {
  border-right: none;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-detail span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-detail strong {
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 500;
}

/* ── FOOTER ── */
.footer {
  background: #070D18;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-heading {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  padding: 10rem 0 5rem;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-card) 100%);
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/hero_bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--gold);
  transition: opacity var(--transition);
}

.breadcrumb a:hover {
  opacity: 0.75;
}

.breadcrumb-sep {
  color: var(--border);
}

/* ── TEAM GRID ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.team-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
  border-color: rgba(201, 168, 76, 0.35);
}

.team-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(30%);
  transition: filter var(--transition);
}

.team-card:hover .team-photo {
  filter: grayscale(0%);
}

.team-info {
  padding: 1.5rem;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.team-bio {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 0.75rem;
}

/* ── ATTORNEY OVERLAY CARDS (from Original Site) ── */
.section--light {
  background: var(--white);
  color: #333;
}

.attorney-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.attorney-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #eee;
}

.attorney-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.attorney-card:hover img {
  transform: scale(1.05);
}

.attorney-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 1.5rem;
  pointer-events: none;
}

.attorney-name {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  text-align: center;
  padding: 0 1rem;
}

.attorney-title {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin-top: 0.2rem;
}

@media(max-width: 992px) {
  .attorney-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 576px) {
  .attorney-grid {
    grid-template-columns: 1fr;
  }
}

/* ── CONTACT PAGE ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.contact-info-text p {
  font-size: 0.9rem;
  color: var(--off-white);
  line-height: 1.6;
}

/* ── FORM ── */
.contact-form {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--off-white);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.04);
}

.form-group select option {
  background: var(--navy-card);
  color: var(--off-white);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.3rem;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scrollBob {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }

  80% {
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image-wrap {
    max-width: 480px;
    margin: 0 auto;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-item:nth-child(2) {
    border-right: none;
  }

  .why-item:nth-child(3) {
    border-right: none;
    border-top: 1px solid var(--border);
    grid-column: 1/-1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 4.5rem;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero-stats {
    gap: 1.75rem;
    flex-wrap: wrap;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .why-item:last-child {
    border-bottom: none;
  }

  .cta-band-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .contact-item:last-child {
    border-bottom: none;
  }

  .services-strip-inner {
    gap: 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── LUCIDE ICONS ── */
.lucide {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

/* ── ATTORNEY BIO MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 18, 32, 0.9);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  max-width: 900px;
  width: 100%;
  max-height: 85vh;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 350px 1fr;
  transform: translateY(40px);
  transition: transform var(--transition);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  transition: var(--transition);
  z-index: 10;
}

.modal-close:hover {
  background: var(--gold);
  color: var(--navy);
  transform: rotate(90deg);
}

.modal-aside {
  border-right: 1px solid var(--border);
  overflow: hidden;
}

.modal-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-main {
  padding: 3rem;
  overflow-y: auto;
}

.modal-header {
  margin-bottom: 2rem;
}

.modal-name {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.modal-title {
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.modal-bio {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.modal-bio p {
  margin-bottom: 1.5rem;
}

.modal-bio strong {
  color: var(--white);
}

/* ── ATTORNEY CARD ENHANCEMENTS ── */
.attorney-card {
  cursor: pointer;
  transition: var(--transition);
}

.attorney-card::after {
  content: 'View Profile';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -10%);
  background: var(--gold);
  color: var(--navy);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0;
  transition: var(--transition);
  z-index: 5;
}

.attorney-card:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.attorney-card:hover .attorney-overlay {
  height: 100%;
  background: linear-gradient(to top, rgba(11, 18, 32, 0.95), rgba(11, 18, 32, 0.6));
}

.attorney-card:hover .attorney-name {
  transform: translateY(-20px);
}

.attorney-card:hover .attorney-title {
  transform: translateY(-20px);
}

.attorney-name,
.attorney-title {
  transition: transform var(--transition);
}

@media (max-width: 900px) {
  .modal-container {
    grid-template-columns: 1fr;
    max-height: 90vh;
  }

  .modal-aside {
    height: 300px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .modal-main {
    padding: 2rem;
  }
}