/* ============================================================
   OLUWADAMILARE AWOKOYA & CO. — PREMIUM LAW FIRM STYLESHEET
   Palette: Deep Black + Rich Gold + Cream
   ============================================================ */

/* ─── Design Tokens ─── */
:root {
  --black: #0a0a0a;
  --black-2: #121212;
  --black-3: #1a1a1a;
  --charcoal: #2a2a2a;
  --gold: #d4a94a;
  --gold-light: #f5d78a;
  --gold-dark: #8c6a1f;
  --gold-gradient: linear-gradient(135deg, #f5d78a 0%, #d4a94a 50%, #8c6a1f 100%);
  --gold-gradient-soft: linear-gradient(135deg, #e8c87a 0%, #d4a94a 100%);
  --cream: #faf7f1;
  --cream-2: #f5efe3;
  --cream-3: #ede4d1;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-light: #4a4a4a;
  --text-muted: #6a6a6a;
  --text-on-dark: #e8e8e8;
  --text-on-dark-muted: #a8a8a8;
  --border: #e5e0d4;
  --border-dark: #333333;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.15);
  --shadow-gold: 0 10px 40px rgba(212, 169, 74, 0.25);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1240px;
  --container-sm: 960px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); margin: 0; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
::selection { background: var(--gold); color: var(--black); }

/* ─── Utilities ─── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: var(--container-sm); margin: 0 auto; padding: 0 1.5rem; }
.center { text-align: center; }
.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
}
.amp { font-family: var(--font-serif); font-style: italic; color: var(--gold); font-weight: 400; }
.gold-divider {
  width: 80px;
  height: 3px;
  background: var(--gold-gradient);
  margin: 1.5rem 0;
  border-radius: 2px;
}
.center .gold-divider { margin-left: auto; margin-right: auto; }
.hide-mobile { display: inline-flex; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2.5rem;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 2rem;
  height: 1px;
  background: var(--gold);
}
.center .eyebrow { padding-left: 0; }
.center .eyebrow::before { display: none; }
.gold-text.eyebrow { color: var(--gold-light); }
.light { color: var(--text-on-dark) !important; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  border: 1.5px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-gold {
  background: var(--gold-gradient);
  color: var(--black);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 50px rgba(212, 169, 74, 0.4);
  filter: brightness(1.08);
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-lg { padding: 1.05rem 2.25rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-gold-sm {
  background: var(--gold-gradient);
  color: var(--black);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
}

/* ─── Top Bar ─── */
.top-bar {
  background: var(--black);
  color: var(--text-on-dark);
  padding: 0.55rem 0;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border-dark);
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.top-bar-left { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-on-dark-muted);
  font-size: 0.82rem;
}
.top-bar-item i { color: var(--gold); }
.top-bar-item:hover { color: var(--gold-light); }
.top-bar-right { display: flex; gap: 0.5rem; align-items: center; }
.top-bar-right a {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-on-dark-muted);
  border: 1px solid transparent;
  border-radius: 50%;
  font-size: 0.8rem;
  transition: var(--transition);
}
.top-bar-right a:hover { color: var(--gold); border-color: var(--gold); background: rgba(212,169,74,0.08); }
.whatsapp-top:hover { color: #25D366 !important; border-color: #25D366 !important; }

/* ─── Navbar ─── */
.navbar {
  background: var(--white);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition);
}
.navbar.scrolled { padding: 0.65rem 0; box-shadow: var(--shadow-md); }
.navbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.brand { display: flex; align-items: center; gap: 0.9rem; flex-shrink: 0; }
.brand-emblem { flex-shrink: 0; }
.brand-text { line-height: 1.1; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.02em;
}
.brand-tag {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: 0.2rem;
  font-weight: 500;
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-link, .nav-link-inner {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}
.nav-link::after, .nav-link-inner::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after, .nav-link-inner.active::after,
.has-dropdown:hover .nav-link-inner::after { width: 100%; }
.nav-link:hover, .nav-link.active, .nav-link-inner:hover, .nav-link-inner.active { color: var(--gold-dark); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  min-width: 320px;
  padding: 0.75rem 0;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  border-top: 3px solid var(--gold);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 110;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(5px); }
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text);
  border-left: 3px solid transparent;
  transition: var(--transition);
}
.dropdown-item i { color: var(--gold); width: 18px; }
.dropdown-item:hover { background: var(--cream); border-left-color: var(--gold); color: var(--gold-dark); }

.nav-cta { padding: 0.7rem 1.3rem; font-size: 0.88rem; }
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: var(--transition);
}
.mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  padding: 1rem 1.5rem 1.5rem;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-link {
  padding: 0.8rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-link:hover { color: var(--gold-dark); }
.mobile-cta { margin-top: 1rem; }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 92vh;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 0 0;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(212, 169, 74, 0.18), transparent 55%),
    radial-gradient(ellipse at 20% 70%, rgba(140, 106, 31, 0.12), transparent 55%),
    linear-gradient(135deg, #0a0a0a 0%, #1a1510 50%, #0a0a0a 100%);
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(212,169,74,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,169,74,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black, transparent 70%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  top: 10%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212,169,74,0.15), transparent 70%);
  filter: blur(50px);
  animation: float 20s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 30px) scale(1.1); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 60%, rgba(10,10,10,0.5) 100%);
}
.hero-inner { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; padding: 2rem 1.5rem; }
.hero-content { max-width: 920px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.25rem;
  background: rgba(212, 169, 74, 0.1);
  border: 1px solid rgba(212, 169, 74, 0.3);
  border-radius: 50px;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 2rem;
  font-weight: 500;
}
.hero-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(212,169,74,0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(212,169,74,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(212,169,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,169,74,0); }
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--text-on-dark-muted);
  max-width: 780px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
}
.trust-item i { color: var(--gold); font-size: 1.1rem; }

/* Hero stats */
.hero-stats {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.06) 100%);
  border-top: 1px solid rgba(212, 169, 74, 0.2);
  backdrop-filter: blur(10px);
}
.hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
}
.hero-stats-trio { grid-template-columns: 1fr 1fr 1.6fr; align-items: center; }
.stat-icon-wrap {
  width: 60px; height: 60px;
  margin: 0 auto 0.5rem;
  background: var(--gold-gradient);
  color: var(--black);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 1.6rem;
}
.stat-label-xl { font-size: 0.9rem; letter-spacing: 0.08em; line-height: 1.45; max-width: 280px; margin: 0.5rem auto 0; color: var(--gold-light); font-weight: 600; text-transform: none; }
@media (max-width: 640px) {
  .hero-stats-trio { grid-template-columns: 1fr; }
  .stat-label-xl { max-width: 100%; }
}
.stat { padding: 0.5rem; display: flex; flex-direction: column; align-items: center; }
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}
.stat-plus {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold);
  display: inline;
  margin-left: 0.1rem;
}
.stat .stat-num, .stat .stat-plus { display: inline-block; }
.stat-wrap { display: flex; align-items: baseline; }
.stat-label {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-top: 0.5rem;
  font-weight: 500;
}

/* ─── Sections ─── */
.section { padding: 6rem 0; }
.section-light { background: var(--white); }
.section-cream { background: var(--cream); }
.section-dark { background: var(--black); color: var(--text-on-dark); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark .section-sub, .section-dark p { color: var(--text-on-dark-muted); }

.section-head { margin-bottom: 3.5rem; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
}
.sub-section-title { font-family: var(--font-serif); font-size: 1.5rem; margin: 2rem 0 1rem; }
.section-sub { font-size: 1.08rem; color: var(--text-light); max-width: 720px; margin-top: 0.5rem; }
.section-head.center .section-sub { margin: 0.5rem auto 0; }
.section-cta { margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.section-cta.center { justify-content: center; }
.lead { font-size: 1.15rem; line-height: 1.7; color: var(--text-light); margin-bottom: 1.5rem; }

/* ─── Two-column grid ─── */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* ─── Checklist ─── */
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 1.5rem 0; }
.checklist > div {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-light);
}
.checklist i { color: var(--gold); }

/* ─── About cards ─── */
.about-visual { display: flex; flex-direction: column; gap: 1.5rem; }
.about-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  border-top: 4px solid var(--gold);
  transition: var(--transition);
}
.about-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.about-card-dark {
  background: var(--black);
  color: var(--text-on-dark);
  border-top-color: var(--gold);
}
.about-card-dark h3 { color: var(--white); }
.about-card-dark p { color: var(--text-on-dark-muted); }
.about-card-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--black);
}

/* ─── Practice grid ─── */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}
.practice-grid-full { grid-template-columns: repeat(3, 1fr); }
.practice-card {
  background: var(--black-2);
  border: 1px solid var(--border-dark);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  color: var(--text-on-dark);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.practice-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.practice-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  background: var(--black-3);
  box-shadow: var(--shadow-gold);
}
.practice-card:hover::before { transform: scaleX(1); }
.practice-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(212,169,74,0.15), rgba(140,106,31,0.08));
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(212,169,74,0.3);
}
.practice-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.practice-desc { font-size: 0.95rem; color: var(--text-on-dark-muted); flex: 1; margin-bottom: 1.25rem; line-height: 1.7; }
.practice-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}
.practice-link i { transition: var(--transition); }
.practice-card:hover .practice-link i { transform: translateX(5px); }
.practice-card-full { }
.practice-mini-list { margin: 1rem 0 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.practice-mini-list li {
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ─── Values ─── */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.value-card {
  background: var(--white);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.value-card-dark { background: var(--black-3); border-color: var(--border-dark); }
.value-card-dark h3 { color: var(--white); }
.value-card-dark p { color: var(--text-on-dark-muted); }
.value-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1.25rem;
  box-shadow: var(--shadow-gold);
}
.value-card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.value-card p { font-size: 0.92rem; color: var(--text-light); margin: 0; }

/* ─── Process ─── */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2rem; }
.process-step {
  padding: 2rem 1.5rem;
  text-align: left;
  border-left: 2px solid var(--border);
  position: relative;
  transition: var(--transition);
}
.process-step:hover { border-left-color: var(--gold); }
.process-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 1rem;
}
.process-step h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.process-step p { color: var(--text-light); font-size: 0.95rem; margin: 0; }

/* ─── Testimonials ─── */
.testimonials-slider { position: relative; margin-top: 2.5rem; overflow: hidden; }
.testimonials-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card {
  flex: 0 0 calc((100% - 3rem) / 3);
  background: var(--black-3);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dark);
  position: relative;
}
.testimonial-stars { display: flex; gap: 0.2rem; margin-bottom: 1rem; }
.testimonial-stars i { color: var(--gold); font-size: 0.9rem; }
.testimonial-card blockquote {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--text-on-dark);
  margin: 0 0 1.75rem;
  position: relative;
  padding-left: 1rem;
}
.testimonial-card blockquote::before {
  content: '"';
  position: absolute;
  left: -1rem;
  top: -1rem;
  font-size: 4rem;
  color: var(--gold);
  font-family: var(--font-serif);
  line-height: 1;
  opacity: 0.6;
}
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-name { color: var(--white); font-weight: 600; font-size: 0.95rem; }
.testimonial-title { color: var(--text-on-dark-muted); font-size: 0.82rem; }
.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}
.testimonial-controls button {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border-dark);
  color: var(--gold);
  transition: var(--transition);
}
.testimonial-controls button:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }

/* ─── Insights ─── */
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-top: 2rem; }
.insights-grid-full { grid-template-columns: repeat(3, 1fr); }
.insight-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  cursor: pointer;
}
.insight-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.insight-category {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  background: var(--cream-2);
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: 1rem;
  align-self: flex-start;
}
.insight-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}
.insight-excerpt { font-size: 0.92rem; color: var(--text-light); line-height: 1.6; flex: 1; margin-bottom: 1.25rem; }
.insight-meta {
  display: flex;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}
.insight-meta i { color: var(--gold-dark); margin-right: 0.3rem; }

.insights-filters { display: flex; gap: 0.75rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.filter-chip {
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}
.filter-chip:hover, .filter-chip.active { background: var(--black); color: var(--white); border-color: var(--black); }

/* ─── CTA Banner ─── */
.cta-banner {
  position: relative;
  padding: 5rem 0;
  background: var(--black);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.cta-banner-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(212, 169, 74, 0.15), transparent 70%),
    linear-gradient(135deg, #0a0a0a 0%, #1a1510 100%);
}
.cta-banner-inner { position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
  color: var(--white);
}
.cta-banner p { font-size: 1.1rem; color: var(--text-on-dark-muted); max-width: 600px; margin: 0 auto 2.5rem; }
.cta-banner-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── Page Header ─── */
.page-header {
  position: relative;
  padding: 5rem 0 4rem;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.page-header-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(212, 169, 74, 0.15), transparent 60%),
    linear-gradient(135deg, #0a0a0a 0%, #1a1510 100%);
}
.page-header-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(212,169,74,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,169,74,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black, transparent 70%);
}
.page-header-inner { position: relative; z-index: 1; max-width: 920px; }
.breadcrumbs {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  flex-wrap: wrap;
}
.breadcrumbs a { color: var(--text-on-dark-muted); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs span:not(.crumb-sep) { color: var(--gold-light); }
.crumb-sep { color: var(--border-dark); }
.page-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.page-subtitle { font-size: 1.15rem; color: var(--text-on-dark-muted); max-width: 760px; line-height: 1.7; }

/* ─── Detail (practice area, article) ─── */
.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: start; }
.detail-main { }
.detail-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 1.5rem; }
.side-card {
  background: var(--cream);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.side-card-dark { background: var(--black); color: var(--text-on-dark); border-color: var(--border-dark); }
.side-card-dark h4 { color: var(--white); }
.side-card-dark p { color: var(--text-on-dark-muted); }
.side-card h4 { font-family: var(--font-serif); font-size: 1.15rem; margin-bottom: 0.75rem; }
.side-card p { font-size: 0.9rem; margin-bottom: 1rem; }
.side-card .btn-block + .btn-block { margin-top: 0.5rem; }
.side-list { display: flex; flex-direction: column; gap: 0.5rem; }
.side-list a { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0; font-size: 0.9rem; color: var(--text); border-bottom: 1px dashed var(--border); }
.side-list a:hover { color: var(--gold-dark); }
.side-list a i { color: var(--gold); width: 18px; }
.side-card-dark .side-list a { color: var(--text-on-dark); border-bottom-color: var(--border-dark); }

.service-list { margin: 1rem 0 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.service-list li { display: flex; gap: 0.5rem; align-items: flex-start; padding: 0.5rem 0; font-size: 0.95rem; }

/* ─── Article ─── */
.article-body { font-size: 1.05rem; line-height: 1.85; color: var(--text); }
.article-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); margin-bottom: 2rem; font-size: 0.9rem; color: var(--text-muted); }
.article-meta i { color: var(--gold-dark); margin-right: 0.3rem; }
.article-content h2 { font-family: var(--font-serif); font-size: 1.65rem; margin: 2.5rem 0 1rem; color: var(--text); border-left: 4px solid var(--gold); padding-left: 1rem; }
.article-content p { margin-bottom: 1.25rem; }
.article-content strong { color: var(--text); font-weight: 600; }
.article-share { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
.article-share span { font-weight: 500; margin-right: 0.5rem; }
.article-share a {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--gold-dark);
  border: 1px solid var(--border);
}
.article-share a:hover { background: var(--black); color: var(--gold); border-color: var(--black); }

/* ─── Credentials ─── */
.credentials-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.credentials-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 1000px; margin-left: auto; margin-right: auto; }
.credential-card { background: var(--white); padding: 2rem 1.5rem; text-align: center; border-radius: var(--radius-lg); border: 1px solid var(--border); transition: var(--transition); }
.credential-card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: var(--shadow-md); }
.credential-card i { font-size: 2.5rem; color: var(--gold); margin-bottom: 1rem; }
.credential-card h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.credential-card p { font-size: 0.88rem; color: var(--text-light); margin: 0; }

/* Story card */
.story-card {
  background: linear-gradient(135deg, var(--black) 0%, #1a1510 100%);
  color: var(--white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow-lg);
}
.story-card h3 { font-family: var(--font-serif); font-size: 1.3rem; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.75rem; color: var(--white); }
.story-card blockquote { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; line-height: 1.7; color: var(--text-on-dark); margin: 0 0 2rem; }
.story-signature strong { display: block; color: var(--gold); font-family: var(--font-serif); font-size: 1.1rem; font-style: normal; font-weight: 600; }
.story-signature span { font-size: 0.85rem; color: var(--text-on-dark-muted); }

/* ─── Brand emblem (image logo) ─── */
.brand-emblem { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.brand-emblem-nav img { width: 56px; height: 56px; object-fit: contain; }
.brand-emblem-footer img { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(212,169,74,0.25)); }
@media (max-width: 640px) {
  .brand-emblem-nav img { width: 44px; height: 44px; }
  .brand-name { font-size: 1rem !important; }
  .brand-tag { font-size: 0.62rem !important; letter-spacing: 0.18em !important; }
}

/* ─── Principal Partner profile ─── */
.principal-wrap {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3.5rem;
  background: linear-gradient(135deg, #faf7f1 0%, #fff 100%);
  padding: 3rem;
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow-md);
  align-items: start;
}
.principal-visual {
  position: sticky;
  top: 110px;
  text-align: center;
}
.principal-avatar {
  background: var(--black);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  max-width: 300px;
  margin: 0 auto 1.5rem;
}
.principal-avatar img { width: 100%; height: 100%; object-fit: contain; }
.principal-badges { display: flex; flex-direction: column; gap: 0.5rem; align-items: center; }
.principal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.78rem;
  color: var(--text);
  font-weight: 500;
  width: fit-content;
}
.principal-badge i { color: var(--gold-dark); }
.principal-body { padding-top: 1rem; }
.principal-name {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 0.4rem;
  line-height: 1.15;
  color: var(--text);
}
.principal-role {
  color: var(--gold-dark);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.principal-body p { font-size: 1.02rem; line-height: 1.8; color: var(--text-light); margin-bottom: 1.1rem; }
.principal-body p em { color: var(--gold-dark); font-style: italic; }
.principal-body p strong { color: var(--text); }
.principal-cta { display: flex; gap: 0.75rem; margin-top: 2rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid var(--border); }
@media (max-width: 1024px) {
  .principal-wrap { grid-template-columns: 1fr; padding: 2rem; gap: 2rem; }
  .principal-visual { position: static; }
}
@media (max-width: 640px) {
  .principal-wrap { padding: 1.5rem; }
  .principal-cta .btn { width: 100%; }
}

/* ─── Team ─── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.team-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.team-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--black) 0%, #1a1510 100%);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--gold);
  position: relative;
}
.team-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  border: 3px solid var(--white);
}
.team-name { font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: 0.35rem; }
.team-role { font-size: 0.85rem; color: var(--gold-dark); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.team-bio { font-size: 0.92rem; color: var(--text-light); line-height: 1.65; margin-bottom: 1.25rem; }
.team-areas { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.team-tag { font-size: 0.72rem; padding: 0.25rem 0.75rem; background: var(--cream-2); color: var(--gold-dark); border-radius: 50px; font-weight: 500; }
.team-contacts { display: flex; justify-content: center; gap: 0.75rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.team-contacts a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--gold-dark);
}
.team-contacts a:hover { background: var(--gold); color: var(--black); }

/* ─── Contact page ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; }
.contact-info-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1.5rem; }
.contact-info-item { display: flex; gap: 1rem; }
.contact-info-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--gold-gradient);
  color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-item strong { display: block; margin-bottom: 0.25rem; font-size: 1rem; }
.contact-info-item p { font-size: 0.92rem; color: var(--text-light); margin: 0; line-height: 1.65; }
.contact-info-item a { color: var(--text-light); }
.contact-info-item a:hover { color: var(--gold-dark); }
.map-wrap { margin-top: 2rem; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }

/* ─── Forms ─── */
.form-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
}
.form-card h3 { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 0.5rem; }
.form-note { font-size: 0.85rem; color: var(--text-light); margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.9rem; font-weight: 500; color: var(--text); }
.form-group label span { color: #c0392b; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  resize: vertical;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(212, 169, 74, 0.15);
}
.radio-group { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.radio-pill { position: relative; cursor: pointer; }
.radio-pill input { position: absolute; opacity: 0; }
.radio-pill span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.88rem;
  transition: var(--transition);
  background: var(--white);
}
.radio-pill input:checked + span {
  background: var(--black);
  color: var(--gold);
  border-color: var(--black);
}
.radio-pill span i { font-size: 0.85rem; }
.form-footer { margin-top: 1.5rem; }
.form-privacy { font-size: 0.78rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.25rem; }
.form-privacy a { color: var(--gold-dark); text-decoration: underline; }
.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  display: none;
}
.form-status.show { display: block; }
.form-status.success { background: #e8f5e9; color: #1b5e20; border: 1px solid #a5d6a7; }
.form-status.error { background: #fdecea; color: #c62828; border: 1px solid #ef9a9a; }

/* ─── Consultation ─── */
.consultation-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; }
.consult-benefits { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
.benefit { display: flex; gap: 1rem; align-items: flex-start; font-size: 0.95rem; }
.benefit i { font-size: 1.4rem; margin-top: 0.2rem; width: 32px; }
.benefit strong { color: var(--text); font-weight: 600; }

/* ─── FAQ ─── */
.faq-list { max-width: 820px; margin: 2.5rem auto 0; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item[open] { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.faq-item summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  list-style: none;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { color: var(--gold); transition: var(--transition); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 1.5rem 1.5rem; color: var(--text-light); line-height: 1.7; }

/* ─── Footer ─── */
.footer { background: var(--black); color: var(--text-on-dark); position: relative; }
.footer-top { padding: 5rem 0 3rem; border-bottom: 1px solid var(--border-dark); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 3rem;
}
.footer-brand-col { }
.footer-brand { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.footer-brand-name { font-family: var(--font-serif); font-size: 1.1rem; color: var(--white); font-weight: 700; }
.footer-brand-tag { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-top: 0.2rem; }
.footer-desc { font-size: 0.92rem; color: var(--text-on-dark-muted); line-height: 1.75; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212, 169, 74, 0.1);
  color: var(--gold);
  border-radius: 50%;
  border: 1px solid rgba(212, 169, 74, 0.2);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.footer-heading { font-family: var(--font-serif); font-size: 1.05rem; color: var(--white); margin-bottom: 1.25rem; font-weight: 600; }
.footer-list { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-list a { font-size: 0.9rem; color: var(--text-on-dark-muted); transition: var(--transition); }
.footer-list a:hover { color: var(--gold); padding-left: 0.3rem; }
.footer-contact { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 1.5rem; }
.footer-contact li { display: flex; gap: 0.75rem; font-size: 0.88rem; color: var(--text-on-dark-muted); line-height: 1.5; }
.footer-contact i { color: var(--gold); margin-top: 0.25rem; flex-shrink: 0; }
.footer-contact a:hover { color: var(--gold); }

.footer-newsletter { position: relative; }
.newsletter-row { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.newsletter-row input {
  flex: 1;
  padding: 0.65rem 0.9rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 0.88rem;
  font-family: inherit;
}
.newsletter-row input:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,0.12); }
.newsletter-row input::placeholder { color: var(--text-on-dark-muted); }
.newsletter-status { margin-top: 0.5rem; font-size: 0.8rem; min-height: 1em; }
.newsletter-status.success { color: #88e088; }
.newsletter-status.error { color: #ef9a9a; }

.footer-bottom { padding: 1.5rem 0; }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-on-dark-muted);
}
.footer-legal { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--gold); }

/* ─── Floating buttons ─── */
.float-whatsapp, .float-top, .float-ai {
  position: fixed;
  right: 1.5rem;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  box-shadow: var(--shadow-lg);
  z-index: 90;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.float-whatsapp { bottom: 1.5rem; background: #25D366; }
.float-whatsapp:hover { transform: scale(1.1); }
.float-ai {
  bottom: 5.5rem;
  background: var(--gold-gradient);
  color: var(--black);
  position: fixed;
}
.float-ai:hover { transform: scale(1.1); }
.float-ai .ai-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--black);
  color: var(--gold);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 50px;
  border: 2px solid var(--gold);
  letter-spacing: 0.05em;
}
.float-top {
  bottom: 9.5rem;
  background: var(--black);
  color: var(--gold);
  border: 1px solid var(--gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  font-size: 1rem;
  cursor: pointer;
}
.float-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.float-top:hover { background: var(--gold); color: var(--black); }

/* ─── AI Chat Panel ─── */
.ai-panel {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 380px;
  max-width: calc(100vw - 2rem);
  height: 580px;
  max-height: calc(100vh - 3rem);
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(212, 169, 74, 0.3);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 100;
  animation: aiSlideUp 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.ai-panel.open { display: flex; }
@keyframes aiSlideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.ai-panel-head {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1510 100%);
  color: var(--white);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-dark);
}
.ai-panel-id { display: flex; align-items: center; gap: 0.75rem; }
.ai-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.ai-name { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; color: var(--white); display: flex; align-items: center; gap: 0.5rem; }
.ai-chip { font-size: 0.65rem; font-family: var(--font-body); background: rgba(212,169,74,0.2); color: var(--gold-light); padding: 2px 8px; border-radius: 50px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
.ai-status { font-size: 0.75rem; color: var(--text-on-dark-muted); margin-top: 2px; display: flex; align-items: center; gap: 0.4rem; }
.ai-dot { width: 8px; height: 8px; background: #4ade80; border-radius: 50%; box-shadow: 0 0 8px #4ade80; }
.ai-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.ai-close:hover { background: rgba(255,255,255,0.15); }

.ai-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: var(--cream);
}
.ai-messages::-webkit-scrollbar { width: 6px; }
.ai-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.ai-msg { display: flex; max-width: 90%; }
.ai-msg-bot { align-self: flex-start; }
.ai-msg-user { align-self: flex-end; }
.ai-msg-bubble {
  padding: 0.75rem 1rem;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.ai-msg-bot .ai-msg-bubble {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.ai-msg-user .ai-msg-bubble {
  background: var(--black);
  color: var(--white);
  border-bottom-right-radius: 4px;
}
.ai-msg-bubble a { color: var(--gold-dark); text-decoration: underline; }
.ai-msg-user .ai-msg-bubble a { color: var(--gold-light); }
.ai-msg-bubble em { color: var(--text-muted); font-size: 0.85rem; }
.ai-typing {
  display: inline-flex;
  gap: 4px;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
}
.ai-typing span {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: aiBounce 1.4s infinite;
}
.ai-typing span:nth-child(2) { animation-delay: 0.15s; }
.ai-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes aiBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-6px); opacity: 1; }
}

.ai-suggestions { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.ai-sug {
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--gold-dark);
  cursor: pointer;
  transition: var(--transition);
}
.ai-sug:hover { background: var(--black); color: var(--gold); border-color: var(--black); }

.ai-input-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid var(--border);
  background: var(--white);
}
#aiInput {
  flex: 1;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.92rem;
  background: var(--cream);
}
#aiInput:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.ai-send {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--black);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ai-send:hover { transform: scale(1.05); }
.ai-send:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.ai-foot {
  padding: 0.6rem 1rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  background: var(--cream-2);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}
.ai-foot i { color: var(--gold-dark); }
.ai-foot a { color: var(--gold-dark); text-decoration: underline; }

/* ─── AI Smart Case Analyzer (on consultation page) ─── */
.ai-analyzer {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1510 100%);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  border: 1px solid rgba(212, 169, 74, 0.3);
  position: relative;
  overflow: hidden;
}
.ai-analyzer::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212,169,74,0.2), transparent 70%);
  pointer-events: none;
}
.ai-analyzer-head {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}
.ai-analyzer-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--gold-gradient);
  color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.ai-analyzer-head h3 { color: var(--white); margin: 0 0 0.3rem; font-family: var(--font-serif); font-size: 1.2rem; }
.ai-analyzer-head p { color: var(--text-on-dark-muted); margin: 0; font-size: 0.88rem; line-height: 1.55; }
.ai-analyzer-body { position: relative; z-index: 1; }
#aiCaseInput {
  width: 100%;
  padding: 0.9rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
  min-height: 90px;
}
#aiCaseInput:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.12);
}
#aiCaseInput::placeholder { color: rgba(255,255,255,0.4); }
.ai-analyzer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.ai-privacy { font-size: 0.78rem; color: var(--text-on-dark-muted); display: inline-flex; align-items: center; gap: 0.4rem; }
.ai-privacy i { color: var(--gold); }
.ai-result { margin-top: 1.25rem; }
.ai-result:empty { display: none; }
.ai-result-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212, 169, 74, 0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}
.ai-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
  flex-wrap: wrap;
}
.ai-result-label { font-size: 0.75rem; color: var(--text-on-dark-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.ai-result-value { font-weight: 600; color: var(--white); }
.ai-urgency { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.ai-urgency-standard { background: #16a34a; color: #fff; }
.ai-urgency-high { background: #f59e0b; color: #000; }
.ai-urgency-urgent { background: #dc2626; color: #fff; animation: aiPulse 1.5s infinite; }
@keyframes aiPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); }
}
.ai-next-steps { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1); }
.ai-next-steps h4 { color: var(--gold); font-size: 0.95rem; margin-bottom: 0.75rem; }
.ai-next-steps ol { padding-left: 1.25rem; margin: 0; list-style: decimal; }
.ai-next-steps li { color: var(--text-on-dark); margin-bottom: 0.5rem; font-size: 0.9rem; line-height: 1.55; }
.ai-cta-row { margin-top: 1rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.ai-urgent-banner {
  background: #dc2626;
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.ai-powered { font-size: 0.7rem; color: var(--text-on-dark-muted); text-align: right; margin-top: 0.5rem; font-style: italic; }
.ai-spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--black); border-top-color: transparent; border-radius: 50%; animation: aiSpin 0.8s linear infinite; margin-right: 0.4rem; }
@keyframes aiSpin { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
  .ai-panel { width: 100%; right: 0; bottom: 0; height: 90vh; border-radius: 16px 16px 0 0; }
  .float-ai, .float-whatsapp { right: 1rem; }
  .float-ai { bottom: 5rem; }
  .float-top { bottom: 9rem; }
  .float-whatsapp { bottom: 1rem; }
}

/* Legal doc */
.legal-doc { max-width: 820px; }
.legal-doc h2 { font-family: var(--font-serif); font-size: 1.5rem; margin: 2rem 0 1rem; color: var(--text); }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc p { font-size: 1rem; line-height: 1.75; color: var(--text-light); margin-bottom: 1rem; }
.legal-doc a { color: var(--gold-dark); text-decoration: underline; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .nav-cta { display: none; }
  .two-col-grid { grid-template-columns: 1fr; gap: 3rem; }
  .practice-grid, .practice-grid-full { grid-template-columns: repeat(2, 1fr); }
  .values-grid, .process-grid, .credentials-grid { grid-template-columns: repeat(2, 1fr); }
  .insights-grid, .insights-grid-full, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid, .consultation-grid { grid-template-columns: 1fr; gap: 3rem; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .testimonial-card { flex: 0 0 calc((100% - 1.5rem) / 2); }
  .section { padding: 4.5rem 0; }
}
@media (max-width: 640px) {
  .top-bar { font-size: 0.8rem; }
  .hide-mobile { display: none !important; }
  .hero { min-height: auto; padding: 4rem 0 0; }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; padding: 2rem 1rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-trust { gap: 1rem; }
  .practice-grid, .practice-grid-full,
  .values-grid, .process-grid, .credentials-grid,
  .insights-grid, .insights-grid-full, .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .section-head { align-items: flex-start; }
  .testimonial-card { flex: 0 0 100%; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .process-step { padding: 1.5rem 0 1.5rem 1.5rem; }
  .form-card { padding: 1.75rem; }
  .story-card { padding: 2rem; }
}

/* ─── Principal photo + second lawyer profile ─── */
.principal-avatar.principal-photo {
  padding: 0;
  aspect-ratio: 4 / 5;
  max-width: 300px;
  overflow: hidden;
  background: var(--black);
  border: 3px solid var(--gold);
}
.principal-avatar.principal-photo img { object-fit: cover; object-position: center top; width: 100%; height: 100%; display: block; }
.principal-avatar.principal-initials {
  background: linear-gradient(135deg, var(--black) 0%, #1a1510 100%);
  border: 3px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 4.5rem;
  font-weight: 700;
  aspect-ratio: 4 / 5;
}
.principal-wrap-alt { background: var(--white); }
.principal-tags { justify-content: flex-start; margin-top: 1.25rem; }
.principal-role { text-transform: none; letter-spacing: 0.02em; }
.principal-body p a { color: var(--gold-dark); text-decoration: underline; }

.story-signature-photo { display: flex; align-items: center; gap: 1rem; }
.story-photo {
  width: 64px; height: 64px; border-radius: 50%;
  object-fit: cover; object-position: center 15%;
  border: 2px solid var(--gold); flex-shrink: 0;
}

/* ─── Long page titles (papers) ─── */
.page-title.page-title-long { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.3; max-width: 980px; }

/* ─── Papers / lectures ─── */
.toc-list { list-style: none; counter-reset: toc; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.toc-list li { counter-increment: toc; font-size: 0.88rem; line-height: 1.4; display: flex; gap: 0.6rem; }
.toc-list li::before { content: counter(toc) "."; color: var(--gold-dark); font-weight: 600; flex-shrink: 0; min-width: 1.4rem; }
.toc-list a { color: var(--text); text-decoration: none; }
.toc-list a:hover { color: var(--gold-dark); }

.paper-content h2 { scroll-margin-top: 110px; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.02em; }
.paper-content h3 { font-family: var(--font-serif); font-size: 1.15rem; margin: 1.75rem 0 0.75rem; color: var(--text); }
.paper-content h4 { font-family: var(--font-serif); font-size: 1.02rem; margin: 1.4rem 0 0.6rem; color: var(--text); }
.paper-content .num { color: var(--gold-dark); font-weight: 700; margin-right: 0.35rem; }
.paper-content p { text-align: justify; hyphens: auto; }
.paper-content p.numbered { padding-left: 3.2rem; position: relative; }
.paper-content p.numbered > .num { position: absolute; left: 0; width: 3rem; margin: 0; }
.paper-content ol { margin: 0 0 1.25rem 1.5rem; padding-left: 1.25rem; }
.paper-content ol ol { margin-top: 0.6rem; margin-bottom: 0.4rem; }
.paper-content li { margin-bottom: 0.7rem; padding-left: 0.35rem; text-align: justify; }
.paper-content ol.lr-paren { list-style: none; counter-reset: lr; padding-left: 0; }
.paper-content ol.lr-paren > li { counter-increment: lr; position: relative; padding-left: 2.6rem; }
.paper-content ol.lr-paren > li::before { content: "(" counter(lr, lower-roman) ")"; position: absolute; left: 0; color: var(--text); }
.paper-meta {
  background: var(--cream, #faf7f1);
  border-left: 4px solid var(--gold);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.paper-meta p { margin: 0 0 0.4rem; font-weight: 600; text-align: left; font-size: 0.95rem; }
.paper-meta p:last-child { margin-bottom: 0; }
.case-note {
  background: #faf7f1;
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  padding: 1.25rem 1.5rem 0.25rem;
  margin: 0.5rem 0 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
@media (max-width: 640px) {
  .paper-content p { text-align: left; }
  .paper-content p.numbered { padding-left: 2.6rem; }
  .paper-content p.numbered > .num { width: 2.4rem; }
}
