/* ============================================================
   THE COUNSEL — thecounselegal.com
   Shared Design System
   ============================================================ */

:root {
  --navy:        #1a2e4d;
  --navy-light:  #243d63;
  --navy-dark:   #111e33;
  --gold:        #b89b5e;
  --gold-light:  #d4b87a;
  --gold-dark:   #9a7f47;
  --white:       #ffffff;
  --off-white:   #f8f6f3;
  --light-bg:    #f3f1ee;
  --text-dark:   #1c1c2e;
  --text-body:   #3d3d50;
  --text-muted:  #6b6b82;
  --border:      #e4e0da;
  --shadow-sm:   0 2px 8px rgba(26,46,77,0.06);
  --shadow-md:   0 8px 32px rgba(26,46,77,0.10);
  --shadow-lg:   0 20px 60px rgba(26,46,77,0.14);
  --radius:      12px;
  --radius-lg:   20px;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;
  --transition:  0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 600;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { color: var(--text-body); }
a  { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }
em { font-style: italic; color: var(--gold); }
ul { list-style: none; }

/* ── Layout ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section   { padding: 90px 0; }
.section-light   { background: var(--off-white); }
.section-white   { background: var(--white); }
.section-navy    { background: var(--navy); color: var(--white); }
.section-navy-light { background: #eef1f6; }

/* ── Section Headers ── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-label  {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-label.light { color: var(--gold-light); }
.section-title  { color: var(--navy); margin-bottom: 16px; }
.section-title.light { color: var(--white); }
.section-desc   { max-width: 640px; margin: 0 auto; color: var(--text-muted); font-size: 1.05rem; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
  font-weight: 600;
}
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); }
.btn-nav {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  padding: 10px 22px;
  font-size: 0.88rem;
}
.btn-nav:hover { background: var(--navy-light); }
.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-white:hover { background: var(--off-white); }
.text-link {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.text-link:hover { gap: 10px; color: var(--gold-dark); }
.mt-2 { margin-top: 24px; }

/* ── Top Bar ── */
.topbar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  padding: 7px 0;
}
.topbar-inner {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.topbar-inner span { display: flex; align-items: center; gap: 7px; }
.topbar-inner a { color: rgba(255,255,255,0.75); }
.topbar-inner a:hover { color: var(--gold-light); }
.topbar-inner i { color: var(--gold); font-size: 0.75rem; }

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(26,46,77,0.06);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 4px 24px rgba(26,46,77,0.12); }

.navbar {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 16px 0;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  color: var(--navy);
  text-decoration: none;
  flex-shrink: 0;
}
.logo i { color: var(--gold); font-size: 1.1rem; margin-right: 8px; }
.logo-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--navy);
  line-height: 1;
}
.logo-sub {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-left: 26px;
  margin-top: 2px;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-wrap: wrap;
}
.nav-links > a,
.nav-dropdown > a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 8px 12px;
  border-radius: 4px;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-links > a:hover,
.nav-dropdown > a:hover,
.nav-links > a.active { color: var(--gold); background: rgba(184,155,94,0.08); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { cursor: pointer; display: flex; align-items: center; gap: 5px; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 300;
  padding: 8px 0;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 0.88rem;
  color: var(--text-dark);
  font-weight: 500;
  transition: all var(--transition);
}
.dropdown-menu a:hover { background: var(--off-white); color: var(--gold); }
.dropdown-menu a i { color: var(--gold); width: 16px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0 0;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(184,155,94,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(184,155,94,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 80px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.hero-title {
  color: var(--white);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-title em { color: var(--gold-light); }
.hero-desc {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 500px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}
.trust-item i { color: var(--gold); }

/* Hero Visual */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-card-stack {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hcard {
  position: absolute;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(184,155,94,0.25);
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  animation: float-card 6s ease-in-out infinite;
}
.hcard i { color: var(--gold-light); font-size: 1.1rem; }
.hcard-1 { top: 10px; left: 20px; animation-delay: 0s; }
.hcard-2 { top: 80px; right: 0; animation-delay: 1s; }
.hcard-3 { bottom: 100px; left: 0; animation-delay: 2s; }
.hcard-4 { bottom: 30px; right: 20px; animation-delay: 3s; }
.hcard-5 { top: 45%; left: 50%; transform: translate(-50%,-50%) translateY(80px); animation-delay: 1.5s; }
@keyframes float-card {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hcard-5 { animation: float-card5 6s ease-in-out infinite 1.5s; }
@keyframes float-card5 {
  0%,100% { transform: translate(-50%,-50%) translateY(80px); }
  50% { transform: translate(-50%,-50%) translateY(72px); }
}
.hero-emblem {
  background: rgba(184,155,94,0.15);
  border: 2px solid var(--gold);
  border-radius: 50%;
  width: 160px; height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  z-index: 2;
}
.hero-emblem i { font-size: 2.4rem; color: var(--gold-light); margin-bottom: 8px; }
.hero-emblem p { font-family: var(--font-serif); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.05em; }
.hero-emblem small { font-size: 0.65rem; color: rgba(255,255,255,0.5); margin-top: 3px; }

/* Courts Strip */
.hero-courts {
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.courts-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.court-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0 8px;
}
.court-item i { color: var(--gold); }
.court-divider { width: 1px; height: 20px; background: rgba(255,255,255,0.15); }

/* ── Intro Cards ── */
.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.intro-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.intro-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.intro-icon {
  width: 52px; height: 52px;
  background: rgba(184,155,94,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: var(--gold);
}
.intro-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.intro-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; line-height: 1.6; }

/* ── Practice Cards ── */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.practice-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: block;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.practice-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.practice-card:hover::before { transform: scaleX(1); }
.practice-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.practice-card-featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--off-white) 0%, rgba(184,155,94,0.05) 100%);
}
.practice-card-featured::before { transform: scaleX(1); }
.pc-featured-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 30px;
}
.pc-icon {
  width: 56px; height: 56px;
  background: rgba(26,46,77,0.07);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 20px;
  transition: all var(--transition);
}
.practice-card:hover .pc-icon {
  background: var(--gold);
  color: var(--white);
}
.practice-card h3 { color: var(--navy); margin-bottom: 10px; font-size: 1.25rem; }
.practice-card p { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 16px; line-height: 1.6; }
.pc-list { margin-bottom: 20px; }
.pc-list li {
  font-size: 0.85rem;
  color: var(--text-body);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pc-list li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
.pc-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.practice-card:hover .pc-link { gap: 10px; }

/* ── Spotlight (Navy Section) ── */
.spotlight-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.spotlight-text p { color: rgba(255,255,255,0.75); margin-bottom: 28px; font-size: 1.05rem; line-height: 1.7; }
.spotlight-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin-bottom: 32px;
}
.ss-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.ss-item i { color: var(--gold); font-size: 0.85rem; flex-shrink: 0; }
.spotlight-stat-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(184,155,94,0.25);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.stat-box {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}
.stat-box i { color: var(--gold-light); font-size: 1.4rem; margin-bottom: 10px; display: block; }
.stat-num { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.55); }
.stat-note {
  background: rgba(184,155,94,0.1);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 8px;
}
.stat-note i { color: var(--gold); }

/* ── Why Cards ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  transition: all var(--transition);
}
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.why-icon {
  width: 48px; height: 48px;
  background: rgba(26,46,77,0.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 16px;
}
.why-card h4 { color: var(--navy); margin-bottom: 10px; font-size: 1.05rem; }
.why-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }

/* ── Profile Strip ── */
.profile-strip {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  flex-wrap: wrap;
}
.profile-avatar {
  width: 80px; height: 80px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gold-light);
  flex-shrink: 0;
}
.profile-info { flex: 1; min-width: 200px; }
.profile-name { font-family: var(--font-serif); font-size: 1.5rem; color: var(--navy); font-weight: 700; }
.profile-title { font-size: 0.9rem; color: var(--gold-dark); font-weight: 600; margin: 4px 0 8px; }
.profile-detail { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 3px; }
.profile-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Contact Strip ── */
.contact-strip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 24px;
  align-items: center;
}
.cs-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.cs-item > i {
  color: var(--navy);
  font-size: 1.3rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.cs-item strong { display: block; color: var(--navy); font-size: 0.9rem; margin-bottom: 3px; }
.cs-item p, .cs-item a { font-size: 0.92rem; color: var(--text-body); }
.cs-item a:hover { color: var(--gold); }
.cs-cta { text-align: right; }

/* ── Footer ── */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.footer-logo i { color: var(--gold); margin-right: 8px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.65; margin-bottom: 20px; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-contact span { font-size: 0.83rem; display: flex; align-items: center; gap: 8px; }
.footer-contact i { color: var(--gold); width: 14px; }
.footer-contact a { color: rgba(255,255,255,0.7); }
.footer-contact a:hover { color: var(--gold-light); }
.footer-nav h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-nav { display: flex; flex-direction: column; }
.footer-nav a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  padding: 5px 0;
  transition: all var(--transition);
}
.footer-nav a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-disclaimer h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-disclaimer p { font-size: 0.8rem; line-height: 1.7; color: rgba(255,255,255,0.5); margin-bottom: 12px; }
.footer-bottom {
  padding: 18px 0;
  background: rgba(0,0,0,0.2);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
}
.page-hero-inner { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb i { font-size: 0.65rem; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.72); max-width: 620px; font-size: 1.05rem; line-height: 1.7; }

/* ── Service Detail Layout ── */
.service-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.service-main {}
.service-sidebar { position: sticky; top: 100px; }

/* Sidebar Widgets */
.sidebar-widget {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}
.sidebar-widget h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.sidebar-contact-box { background: var(--navy); border-color: var(--navy); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 24px; }
.sidebar-contact-box h4 { color: var(--white); border-color: rgba(255,255,255,0.1); }
.sidebar-contact-box p { color: rgba(255,255,255,0.7); font-size: 0.88rem; margin-bottom: 20px; }
.contact-detail-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.contact-detail-row i { color: var(--gold); font-size: 1rem; width: 20px; }
.contact-detail-row a, .contact-detail-row span { color: rgba(255,255,255,0.8); font-size: 0.88rem; }
.sidebar-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  font-size: 0.88rem;
  color: var(--text-body);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
  font-weight: 500;
}
.sidebar-nav-list a:last-child { border-bottom: none; }
.sidebar-nav-list a:hover, .sidebar-nav-list a.active { color: var(--gold); }
.sidebar-nav-list a i { font-size: 0.75rem; }

/* Service Content Blocks */
.content-block { margin-bottom: 48px; }
.content-block h2 { margin-bottom: 16px; }
.content-block h3 { margin-bottom: 14px; font-size: 1.3rem; }
.content-block p { color: var(--text-body); margin-bottom: 16px; line-height: 1.75; }
.content-block ul { margin: 0 0 20px 0; }
.content-block ul li {
  padding: 6px 0 6px 20px;
  position: relative;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.6;
}
.content-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* Service Grid */
.services-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  margin-bottom: 28px;
}
.service-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--off-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.service-item i { color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.service-item span { font-size: 0.9rem; color: var(--text-body); font-weight: 500; }

/* Info Box */
.info-box {
  background: rgba(26,46,77,0.04);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.info-box h4 { color: var(--navy); margin-bottom: 8px; font-size: 1rem; }
.info-box p { color: var(--text-muted); font-size: 0.93rem; margin: 0; }

/* Statutes Box */
.statutes-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 32px 0;
}
.statutes-box h4 { color: var(--gold-light); margin-bottom: 16px; font-size: 1rem; }
.statutes-box ul { list-style: none; }
.statutes-box li {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 8px;
}
.statutes-box li i { color: var(--gold); font-size: 0.75rem; }

/* ── Process Steps ── */
.process-steps { margin: 32px 0; }
.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
  position: relative;
}
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 44px;
  width: 2px;
  height: calc(100% - 8px);
  background: var(--border);
}
.step-num {
  width: 40px; height: 40px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step-content h4 { color: var(--navy); margin-bottom: 6px; font-size: 1rem; }
.step-content p { color: var(--text-muted); font-size: 0.9rem; }

/* ── FAQ Accordion ── */
.faq-list { margin: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  gap: 16px;
  user-select: none;
}
.faq-question i {
  color: var(--gold);
  transition: transform 0.25s;
  flex-shrink: 0;
}
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 0 20px;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 400px; }

/* ── Tabs ── */
.tabs { margin: 32px 0; }
.tab-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tab-btn {
  padding: 12px 20px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  margin-bottom: -2px;
  transition: all var(--transition);
}
.tab-btn.active, .tab-btn:hover { color: var(--navy); }
.tab-btn.active { border-bottom-color: var(--gold); color: var(--navy); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ── Limitation Table ── */
.limit-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.limit-table th, .limit-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.limit-table th {
  background: var(--off-white);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.limit-table tr:hover td { background: rgba(184,155,94,0.04); }

/* ── About Page ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-avatar-box {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  border: 1px solid var(--border);
  position: sticky;
  top: 100px;
}
.avatar-large {
  width: 130px; height: 130px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--gold-light);
  margin: 0 auto 24px;
  border: 4px solid var(--gold);
}
.about-name { font-family: var(--font-serif); font-size: 1.8rem; color: var(--navy); margin-bottom: 4px; }
.about-designation { color: var(--gold-dark); font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
.about-enrolled { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 24px; }
.profile-table { width: 100%; margin-top: 20px; text-align: left; }
.profile-table tr td { padding: 8px 0; font-size: 0.85rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.profile-table td:first-child { color: var(--text-muted); width: 45%; font-weight: 500; }
.profile-table td:last-child { color: var(--text-dark); }

/* Pull Quote */
.pull-quote {
  border-left: 4px solid var(--gold);
  padding: 20px 28px;
  margin: 32px 0;
  background: var(--off-white);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pull-quote blockquote {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--navy);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 10px;
}
.pull-quote cite { font-size: 0.85rem; color: var(--text-muted); font-style: normal; }

/* Courts Grid */
.courts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.court-badge {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.85rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.court-badge i { color: var(--gold); font-size: 0.9rem; }

/* ── Contact Page ── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.contact-info-panel {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
  position: sticky;
  top: 100px;
}
.contact-info-panel h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 8px; }
.contact-info-panel > p { color: rgba(255,255,255,0.65); font-size: 0.93rem; margin-bottom: 32px; line-height: 1.65; }
.cip-row { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.cip-icon {
  width: 42px; height: 42px;
  background: rgba(184,155,94,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1rem;
  flex-shrink: 0;
}
.cip-row strong { display: block; color: var(--white); font-size: 0.85rem; margin-bottom: 3px; }
.cip-row span, .cip-row a { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.cip-row a:hover { color: var(--gold-light); }
.office-hours { background: rgba(255,255,255,0.05); border-radius: var(--radius); padding: 16px; margin-top: 28px; }
.office-hours h5 { color: var(--gold-light); font-family: var(--font-sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.office-hours p { color: rgba(255,255,255,0.65); font-size: 0.85rem; margin-bottom: 4px; }

/* Contact Form */
.contact-form-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.contact-form-panel h3 { color: var(--navy); font-size: 1.5rem; margin-bottom: 8px; }
.contact-form-panel > p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
  letter-spacing: 0.03em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,46,77,0.07);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.6;
  padding: 12px 16px;
  background: var(--off-white);
  border-radius: var(--radius);
}
.form-note i { color: var(--gold); }
.map-section { margin-top: 60px; }
.map-section h3 { color: var(--navy); margin-bottom: 20px; font-size: 1.4rem; }
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 360px;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-placeholder {
  text-align: center;
  color: var(--text-muted);
}
.map-placeholder i { font-size: 2.5rem; color: var(--gold); margin-bottom: 12px; display: block; }

/* ── Resources Page ── */
.resources-grid { display: grid; grid-template-columns: 1fr 340px; gap: 48px; }
.faq-section-title {
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 700;
  padding: 16px 0 12px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-section-title i { color: var(--gold); }
.guide-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.guide-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all var(--transition);
}
.guide-card:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.guide-icon { font-size: 1.5rem; color: var(--gold); flex-shrink: 0; }
.guide-card h4 { font-size: 0.95rem; color: var(--navy); margin-bottom: 4px; }
.guide-card p { font-size: 0.82rem; color: var(--text-muted); }

/* ── AOS (scroll animations) ── */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
[data-aos][data-aos-delay="80"] { transition-delay: 0.08s; }
[data-aos][data-aos-delay="100"] { transition-delay: 0.10s; }
[data-aos][data-aos-delay="160"] { transition-delay: 0.16s; }
[data-aos][data-aos-delay="200"] { transition-delay: 0.20s; }
[data-aos][data-aos-delay="240"] { transition-delay: 0.24s; }
[data-aos][data-aos-delay="300"] { transition-delay: 0.30s; }
[data-aos][data-aos-delay="320"] { transition-delay: 0.32s; }
[data-aos][data-aos-delay="400"] { transition-delay: 0.40s; }
[data-aos="fade-right"] { transform: translateX(-24px); }
[data-aos="fade-left"]  { transform: translateX(24px); }
[data-aos="fade-right"].aos-animate,
[data-aos="fade-left"].aos-animate  { transform: translateX(0); }

/* ── Disclaimer Page ── */
.disclaimer-content { max-width: 820px; margin: 0 auto; }
.disclaimer-section { margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border); }
.disclaimer-section:last-child { border-bottom: none; }
.disclaimer-section h2 { font-size: 1.6rem; margin-bottom: 20px; color: var(--navy); }
.disclaimer-section h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--navy); }
.disclaimer-section p { color: var(--text-body); margin-bottom: 14px; line-height: 1.75; font-size: 0.93rem; }
.bci-notice {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 32px;
}
.bci-notice h4 { color: var(--gold-light); margin-bottom: 12px; font-size: 1rem; }
.bci-notice p { color: rgba(255,255,255,0.78); font-size: 0.9rem; line-height: 1.7; margin: 0; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-layout { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info-panel { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .about-avatar-box { position: static; }
  .spotlight-grid { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: 1fr; }
  .contact-strip-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 16px 24px; box-shadow: var(--shadow-md); border-top: 1px solid var(--border); z-index: 100; }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-dropdown .dropdown-menu { position: static; opacity: 1; pointer-events: all; transform: none; box-shadow: none; border: none; border-top: 1px solid var(--border); padding: 0; border-radius: 0; }
  .hamburger { display: flex; }
  .btn-nav { display: none; }
  .header .navbar { position: relative; flex-wrap: wrap; }
  .practice-grid { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .services-2col { grid-template-columns: 1fr; }
  .courts-grid { grid-template-columns: 1fr 1fr; }
  .guide-cards { grid-template-columns: 1fr; }
  .topbar { display: none; }
  .contact-strip-grid { grid-template-columns: 1fr; }
  .hero-courts .courts-strip { flex-direction: column; gap: 12px; }
  .court-divider { display: none; }
  .spotlight-services { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .section { padding: 60px 0; }
  .hero { padding: 60px 0 0; }
  .courts-grid { grid-template-columns: 1fr; }
}

/* ── Practice Area Full Cards (practice-areas.html) ── */
.pa-card {
  display: flex;
  gap: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.pa-card:hover { box-shadow: var(--shadow-md); border-color: rgba(184,155,94,0.3); }
.pa-card-featured { border-color: var(--gold); background: linear-gradient(135deg, var(--white) 0%, rgba(184,155,94,0.04) 100%); }
.pa-card-icon {
  width: 72px; height: 72px;
  background: rgba(184,155,94,0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold);
  flex-shrink: 0;
}
.pa-card-body { flex: 1; }
.pa-card-body h2 { font-size: 1.6rem; margin-bottom: 10px; }
.pa-card-body h2 a { color: var(--navy); }
.pa-card-body h2 a:hover { color: var(--gold); }
.pa-card-body > p { color: var(--text-muted); margin-bottom: 0; line-height: 1.7; font-size: 0.97rem; }
@media (max-width: 600px) {
  .pa-card { flex-direction: column; }
  .pa-card-icon { width: 52px; height: 52px; font-size: 1.3rem; }
}
