@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');

:root {
  --color-bg: #070B12;
  --color-surface: #0E1624;
  --color-surface-hover: #152033;
  --color-gold: #C5A869;
  --color-gold-light: #EBDCB2;
  --color-gold-glow: rgba(197, 168, 105, 0.25);
  --color-text: #F1F5F9;
  --color-muted: #8E9BAE;
  --color-border: rgba(197, 168, 105, 0.2);
  
  --font-display: 'Cinzel', serif;
  --font-main: 'Plus Jakarta Sans', system-ui, sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --shadow-prestige: 0 15px 45px rgba(0,0,0,0.7);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 11, 18, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

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

.brand-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.12em;
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--color-gold);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  text-decoration: none;
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s;
  letter-spacing: 0.04em;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  letter-spacing: 0.05em;
  transition: all 0.25s ease;
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold) 0%, #9E8043 100%);
  color: #070B12;
  box-shadow: 0 4px 20px var(--color-gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(197, 168, 105, 0.45);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 1px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(197, 168, 105, 0.08);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* =========================================
   ASIMMETRIC PRESTIGE HERO WITH MATTERS RAIL
   ========================================= */
.prestige-hero {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 25% 30%, rgba(197, 168, 105, 0.12) 0%, transparent 60%);
}

.hero-grid-prestige {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4.5rem;
}

.counsel-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.25rem;
  background: rgba(197, 168, 105, 0.12);
  border: 1px solid rgba(197, 168, 105, 0.35);
  color: var(--color-gold);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.1;
  color: #FFFFFF;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.gold-text {
  background: linear-gradient(135deg, #FFF 20%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-p {
  font-size: 1.15rem;
  color: var(--color-muted);
  line-height: 1.8;
  margin-bottom: 2.25rem;
}

/* Landmark Matters Command Module on Right */
.matters-rail {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-prestige);
  position: relative;
}

.matters-top-stat {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.stat-number-deal {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-sub-deal {
  font-size: 0.82rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.matter-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.matter-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.matter-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(197, 168, 105, 0.15);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.matter-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

.matter-meta {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* Practice Selector Row */
.hero-intake-bar {
  background: #070B12;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Section Common */
.section {
  padding: 6.5rem 0;
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-tag {
  color: var(--color-gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 800;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: #FFFFFF;
  font-weight: 700;
}

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

.practice-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  border: 1px solid var(--color-border);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.practice-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-prestige);
}

.practice-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(197, 168, 105, 0.15);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.practice-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.practice-desc {
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-md);
  padding: 2.5rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-muted);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #070B12;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: white;
  font-family: var(--font-main);
  font-size: 0.95rem;
  outline: none;
}

.form-control:focus {
  border-color: var(--color-gold);
}

/* Footer */
footer {
  background: #04070B;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  padding: 5rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 992px) {
  .hero-grid-prestige { grid-template-columns: 1fr; gap: 3rem; }
  .hero-h1 { font-size: 3rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-h1 { font-size: 2.4rem; }
  .nav-links { display: none; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  }
  .mobile-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
}
