:root {
  --navy: #0B1F35;
  --slate-dark: #1a1a2e;
  --cream: #F5F3F0;
  --gold: #D4AF37;
  --amber: #b8862f;
  --amber-light: #c9974a;
  --charcoal: #1a1a1a;
  --taupe: #8b8680;
  --gray-light: #999999;
  --border-gray: #d1d5db;
}

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

body {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  color: var(--charcoal);
  background: #fff;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
img { display: block; max-width: 100%; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }

.section { padding: 96px 0; }
.section-white { background: #fff; }
.section-slate { background: var(--cream); }
.section-navy { background: var(--navy); color: #e5e7eb; }
.text-center { text-align: center; }
.text-white { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}
.eyebrow-light { color: var(--gold); }

.section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 8px;
}

.divider {
  width: 96px;
  height: 4px;
  background: linear-gradient(to right, var(--amber), transparent);
  margin: 32px 0 48px;
}
.divider-center { margin: 0 auto 32px; }
.divider-small { width: 64px; margin: 16px 0 32px; }

/* Navigation */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
}
.nav.scrolled .brand { color: var(--navy); }
.nav:not(.scrolled) .brand { color: #fff; }
.brand-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-top: 4px;
}
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #374151;
  transition: color 0.2s;
}
.nav:not(.scrolled) .nav-links a { color: #f3f4f6; }
.nav-links a:hover { color: var(--amber); }
.nav-toggle { display: none; font-size: 1.5rem; color: var(--navy); background: none; }
.nav:not(.scrolled) .nav-toggle { color: #fff; }
.nav-mobile {
  display: none;
  flex-direction: column;
  background: #fff;
  padding: 16px 24px 24px;
  gap: 16px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { font-weight: 600; font-size: 0.9rem; color: var(--navy); }

/* Buttons */
.btn {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 28px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--amber); }
.btn-accent { background: var(--amber); color: #fff; }
.btn-accent:hover { background: var(--amber-light); }
.btn-secondary { background: transparent; border: 1px solid var(--border-gray); color: #374151; }
.btn-secondary:hover { background: #f9fafb; }
.btn-lg { padding: 16px 40px; }
.arrow { font-size: 1rem; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--slate-dark) 60%, #2d2d44);
  text-align: center;
}
.hero-blob {
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
  animation: pulse 8s ease-in-out infinite;
}
.hero-blob-1 { background: var(--gold); top: 10%; right: 5%; }
.hero-blob-2 { background: #1d4ed8; bottom: 10%; left: 5%; animation-delay: 2s; }
@keyframes pulse { 0%, 100% { opacity: 0.15; } 50% { opacity: 0.3; } }

.hero-content { position: relative; z-index: 2; max-width: 860px; padding: 0 24px; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-sub {
  color: #e5e7eb;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  max-width: 640px;
  margin: 0 auto 32px;
}
.scroll-indicator {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 10px); } }

/* Grids */
.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Philosophy */
.philosophy-item .icon { font-size: 2rem; margin-bottom: 16px; }
.philosophy-item h3 { font-size: 1.5rem; margin-bottom: 12px; }
.philosophy-item p { color: #4b5563; }

/* Practice cards */
.practice-card {
  background: #fff;
  padding: 32px;
  border-left: 4px solid var(--amber);
  transition: box-shadow 0.2s;
}
.practice-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.practice-icon { font-size: 2.2rem; margin-bottom: 16px; }
.practice-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.practice-card p { color: #4b5563; }

/* Attorneys */
.attorney-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}
.attorney-row.reverse .attorney-photo { order: 2; }
.attorney-row.reverse .attorney-info { order: 1; }
.attorney-photo {
  aspect-ratio: 5/6;
  overflow: hidden;
  background: linear-gradient(135deg, #e5e7eb, #d1d5db);
  border-radius: 2px;
}
.attorney-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.attorney-info h3 { font-size: 2.2rem; margin-bottom: 8px; }
.attorney-title { color: var(--amber); font-weight: 600; font-size: 1.1rem; margin-bottom: 4px; }
.attorney-subtitle { color: #6b7280; font-style: italic; margin-bottom: 20px; }
.attorney-bio { color: #374151; margin-bottom: 24px; }
.attorney-info h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
}
.credentials { margin-bottom: 24px; }
.credentials li {
  color: #4b5563;
  font-size: 0.9rem;
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}
.credentials li::before {
  content: "•";
  color: var(--amber);
  position: absolute;
  left: 0;
}
.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.link-btn:hover { color: var(--amber); }

/* Notable Cases */
.case-card {
  background: #fff;
  padding: 32px;
  border-top: 4px solid var(--navy);
  transition: box-shadow 0.2s;
}
.case-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.case-year {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}
.case-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.case-card p { color: #4b5563; }

/* Testimonials */
.testimonial { display: flex; flex-direction: column; gap: 16px; }
.quote { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.1rem; color: #f3f4f6; }
.testimonial-author { padding-top: 16px; border-top: 1px solid var(--amber); }
.author-name { font-weight: 600; font-size: 0.9rem; color: #fff; }
.author-title { font-size: 0.75rem; color: #9ca3af; margin-top: 4px; }

/* Offices */
.office-card {
  background: var(--cream);
  border: 1px solid #e5e7eb;
  padding: 32px;
  text-align: center;
  transition: box-shadow 0.2s;
}
.office-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.office-card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.office-country { color: #6b7280; margin-bottom: 16px; }
.office-address {
  border-top: 2px solid var(--amber);
  padding-top: 16px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: #374151;
  font-weight: 500;
}
.office-status { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); }
.email-banner {
  margin-top: 48px;
  padding: 32px;
  background: linear-gradient(to right, var(--navy), var(--slate-dark));
  color: #fff;
  text-align: center;
}
.email-banner p { font-family: 'Playfair Display', serif; font-size: 1.3rem; }

.cta-sub { color: #4b5563; font-size: 1.1rem; margin: 24px 0 40px; }

/* Modals */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 200;
  overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff;
  width: 100%;
  max-width: 640px;
  padding: 48px;
  position: relative;
  margin: 32px auto;
}
.modal-close {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 1.4rem;
  color: #9ca3af;
}
.modal-close:hover { color: #4b5563; }
.modal-title { font-size: 2.2rem; margin-top: 8px; }
.modal-tally iframe { display: block; border: none; }
.form-status {
  font-size: 0.85rem;
  font-weight: 500;
  min-height: 1.2em;
}
.form-status-success { color: #166534; }
.form-status-error { color: #b91c1c; }

/* Attorney profile modal */
#attorneyModalContent { max-width: 920px; padding: 48px; }
.profile-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; }
.profile-photo {
  aspect-ratio: 5/6;
  overflow: hidden;
  background: linear-gradient(135deg, #e5e7eb, #d1d5db);
  border-radius: 2px;
  align-self: start;
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
@media (max-width: 700px) {
  .profile-layout { grid-template-columns: 1fr; }
  .profile-photo { max-width: 220px; margin: 0 auto; }
  #attorneyModalContent { padding: 32px 24px; }
}
#consultForm { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
#consultForm input, #consultForm select, #consultForm textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-gray);
  font-size: 0.9rem;
  font-family: inherit;
}
#consultForm input:focus, #consultForm select:focus, #consultForm textarea:focus {
  outline: none;
  border-color: var(--amber);
}
.form-actions { display: flex; gap: 16px; padding-top: 8px; }
.form-actions .btn { flex: 1; justify-content: center; }

/* Attorney profile modal content */
.profile-name { font-size: 2.2rem; margin-bottom: 4px; }
.profile-title { color: var(--amber); font-weight: 600; font-size: 1.1rem; margin-bottom: 4px; }
.profile-subtitle { color: #6b7280; font-style: italic; margin-bottom: 24px; }
.profile-bio { color: #374151; margin-bottom: 24px; }
.profile-section-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
}
.specialty-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.specialty-tag {
  padding: 6px 14px;
  background: var(--cream);
  border: 1px solid #d1d5db;
  color: var(--navy);
  font-size: 0.85rem;
}
.profile-actions { display: flex; gap: 16px; padding-top: 24px; border-top: 1px solid #e5e7eb; }
.profile-actions .btn { flex: 1; justify-content: center; }

/* Footer */
.footer { background: var(--navy); color: #d1d5db; padding: 64px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  margin-bottom: 32px;
  border-bottom: 1px solid #374151;
}
.footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 16px; }
.footer-grid div:not(:first-child) h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer p { font-size: 0.9rem; color: #9ca3af; }
.footer a:hover { color: var(--gold); }
.footer-bottom { text-align: center; font-size: 0.75rem; color: #6b7280; }

/* Responsive */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .attorney-row, .attorney-row.reverse { grid-template-columns: 1fr; }
  .attorney-row.reverse .attorney-photo, .attorney-row.reverse .attorney-info { order: initial; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .modal { padding: 32px 24px; }
}
