/* ==========================================================================
   IND AMICUS LEGAL — Design System & Stylesheet
   Crafted with high-contrast corporate typography, strict BCI compliance,
   and responsive modular architecture.
   ========================================================================== */

:root {
  --primary: #0F1E36;        /* Deep Navy */
  --primary-light: #1E3A5F;  /* Classic Chamber Blue */
  --accent: #C5A059;         /* Refined Brass / Gold */
  --accent-hover: #b08d4b;
  --bg-main: #FFFFFF;
  --bg-subtle: #F8FAFC;      /* Crisp off-white */
  --bg-card: #FFFFFF;
  --text-main: #1E293B;      /* Slate 800 */
  --text-muted: #64748B;     /* Slate 500 */
  --border-light: #E2E8F0;   /* Slate 200 */
  --border-card: rgba(15, 30, 54, 0.08);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(15, 30, 54, 0.08);
  --shadow-lg: 0 12px 28px rgba(15, 30, 54, 0.12);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-heading: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: all 0.25s ease-in-out;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

/* Typography Helpers */
h1, h2, h3, h4, h5 {
  color: var(--primary);
  font-weight: 600;
  line-height: 1.3;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Top Notification / Contact Bar */
.top-bar {
  background: var(--primary);
  color: #94A3B8;
  font-size: 0.82rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-bar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #E2E8F0;
}

.top-bar-contact a:hover {
  color: var(--accent);
}

.sep {
  opacity: 0.3;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-crest {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--primary);
}

.brand-subtitle {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-light);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-btn {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #FFFFFF !important;
  transition: var(--transition);
}

.nav-btn:hover {
  background: var(--accent);
  color: #FFFFFF !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #091322 0%, #15263F 100%);
  color: #FFFFFF;
  padding: 5.5rem 0 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at 85% 20%, rgba(197, 160, 89, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1.22;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: 1.05rem;
  color: #CBD5E1;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #FFFFFF;
}

.btn-outline {
  border-color: var(--border-light);
  color: var(--text-main);
  background: transparent;
}

.btn-outline:hover {
  background: var(--bg-subtle);
}

.hero-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 2rem;
}

.pillar-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pillar-num {
  font-family: var(--font-heading);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.pillar-item strong {
  font-size: 0.95rem;
  color: #F8FAFC;
}

.pillar-item p {
  font-size: 0.82rem;
  color: #94A3B8;
  line-height: 1.45;
}

/* Visual Card on Hero */
.visual-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.visual-accent {
  width: 40px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 1.5rem;
}

.visual-inner h3 {
  font-family: var(--font-serif);
  color: #FFFFFF;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.visual-inner p {
  color: #94A3B8;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.badge-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.badge-list li span {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #E2E8F0;
  font-size: 0.78rem;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
}

.quote-mini {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: #CBD5E1;
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
}

/* Global Section Framework */
.section {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-tag.light {
  color: var(--accent);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* About Section */
.about-section {
  background: var(--bg-main);
}

.grid-2col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: start;
}

.paragraph {
  font-size: 1.02rem;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.quote-callout {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--bg-subtle);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.quote-callout blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.quote-callout cite {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  font-style: normal;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.stat-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.stat-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.stat-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Expertise / Practice Grid */
.expertise-section {
  background: var(--bg-subtle);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.practice-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.practice-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(15, 30, 54, 0.04);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.practice-card:hover .card-icon {
  background: var(--primary);
  color: var(--accent);
}

.practice-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.practice-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.practice-points {
  list-style: none;
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.practice-points li {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-main);
  padding: 0.25rem 0;
  position: relative;
  padding-left: 1.1rem;
}

.practice-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1;
}

/* Sectors Grid */
.sectors-section {
  background: var(--bg-main);
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.sector-pill {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  transition: var(--transition);
}

.sector-pill:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Updates / Insights Section */
.updates-section {
  background: var(--bg-subtle);
}

.flex-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
}

.insight-meta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.insight-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.insight-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.insight-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.insight-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.insight-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.insight-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-light);
}

/* Contact Section */
.contact-section {
  background: var(--bg-main);
}

.contact-card {
  background: linear-gradient(135deg, #0F1E36 0%, #172D4D 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-header {
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 1.5rem;
}

.contact-header h2 {
  font-family: var(--font-serif);
  color: #FFFFFF;
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.contact-header p {
  color: #CBD5E1;
  font-size: 0.95rem;
}

.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.contact-col h4 {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.contact-col p {
  color: #E2E8F0;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.small-muted {
  font-size: 0.8rem !important;
  color: #94A3B8 !important;
}

.contact-link {
  color: #FFFFFF;
  font-weight: 600;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.4);
}

.contact-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Footer */
.site-footer {
  background: #080F1B;
  color: #94A3B8;
  padding: 4rem 0 2rem 0;
  font-size: 0.85rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 1px;
}

.footer-brand p {
  font-size: 0.78rem;
  color: #64748B;
  margin-top: 0.2rem;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 2.5rem 0 1.5rem 0;
}

.footer-disclaimer {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: #64748B;
}

.footer-disclaimer strong {
  color: #94A3B8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
}

.footer-legal-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* BCI Modal Styles */
.bci-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bci-modal.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.bci-modal-backdrop {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(8, 15, 27, 0.88);
  backdrop-filter: blur(8px);
}

.bci-modal-card {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  max-width: 620px;
  width: 100%;
  padding: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.bci-badge {
  display: inline-block;
  background: rgba(197, 160, 89, 0.15);
  color: #8D6B26;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

.bci-header h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.bci-body {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.bci-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin: 1rem 0;
}

.bci-box ul {
  margin-top: 0.5rem;
  padding-left: 1.2rem;
}

.bci-box li {
  margin-bottom: 0.35rem;
  font-size: 0.84rem;
}

.bci-footer-note {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.bci-footer-note a {
  color: var(--primary);
  text-decoration: underline;
}

.bci-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .grid-2col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-details-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .main-nav.active {
    display: flex;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-pillars {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .practice-grid,
  .insights-grid {
    grid-template-columns: 1fr;
  }
  .contact-card {
    padding: 2rem 1.5rem;
  }
  .top-bar-content {
    justify-content: center;
    text-align: center;
  }
}
