/* ========================================
   Gainor & Donner - Modern Redesign
   ======================================== */

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

:root {
  --navy: #1a2744;
  --navy-light: #243358;
  --gold: #b8964e;
  --gold-light: #d4aa6a;
  --white: #ffffff;
  --off-white: #f8f7f4;
  --light-gray: #eeecea;
  --mid-gray: #888;
  --dark-gray: #333;
  --text: #2c2c2c;
  --border: #ddd;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--gold);
}

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

/* ========================================
   TOP BAR
   ======================================== */

.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.top-bar .office {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.top-bar .office a {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}

.top-bar .office a:hover {
  color: var(--gold-light);
}

/* ========================================
   HEADER
   ======================================== */

.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  padding: 20px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-mark {
  width: 64px;
  height: 64px;
  background: var(--navy);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -2px;
  flex-shrink: 0;
}

.logo-text h1 {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.5px;
}

.logo-text p {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: 2px;
}

/* ========================================
   NAVIGATION
   ======================================== */

.site-nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: stretch;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a {
  display: block;
  padding: 16px 20px;
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
  background: var(--gold);
  color: var(--white);
}

/* Dropdown */
.nav-list li.has-dropdown:hover .dropdown {
  display: block;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy-light);
  min-width: 180px;
  border-top: 3px solid var(--gold);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 200;
}

.dropdown a {
  display: block;
  padding: 12px 18px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s, color 0.2s;
}

.dropdown a:hover {
  background: var(--gold);
  color: var(--white);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ========================================
   CONTAINER
   ======================================== */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   HERO BANNER
   ======================================== */

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #2a3f6f 100%);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-tagline {
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 16px;
}

.hero h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 5vw, 48px);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 620px;
  margin: 0 auto 32px;
}

.hero-cta {
  display: inline-flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

/* ========================================
   STATS BAR
   ======================================== */

.stats-bar {
  background: var(--gold);
  padding: 20px 0;
}

.stats-bar .container {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  padding: 12px 40px;
  border-right: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
}

.stat:last-child {
  border-right: none;
}

.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.9;
  font-weight: 600;
}

/* ========================================
   MAIN LAYOUT - Sidebar + Content
   ======================================== */

.main-layout {
  padding: 60px 0;
}

.main-layout .container {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 48px;
  align-items: start;
}

/* ========================================
   SIDEBAR
   ======================================== */

.sidebar {
  position: sticky;
  top: 64px;
}

.sidebar-widget {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-widget h3 {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.practice-list {
  list-style: none;
}

.practice-list li {
  border-bottom: 1px solid var(--border);
}

.practice-list li:last-child {
  border-bottom: none;
}

.practice-list a {
  display: block;
  padding: 9px 0 9px 14px;
  font-size: 13.5px;
  color: var(--dark-gray);
  position: relative;
  transition: color 0.2s, padding-left 0.2s;
}

.practice-list a::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 16px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
}

.practice-list a:hover {
  color: var(--navy);
  padding-left: 20px;
}

.sidebar-contact {
  background: var(--navy);
  color: var(--white);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-contact h3 {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.sidebar-contact p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
  line-height: 1.5;
}

.sidebar-contact a {
  color: var(--gold-light);
  font-weight: 600;
}

.sidebar-contact a:hover {
  color: var(--white);
}

/* ========================================
   PAGE CONTENT
   ======================================== */

.page-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.page-content p {
  margin-bottom: 20px;
  color: #444;
  font-size: 15.5px;
}

.page-content h3 {
  font-size: 20px;
  margin: 32px 0 12px;
  color: var(--navy);
}

.page-content ul {
  margin: 12px 0 20px 0;
  padding: 0;
  list-style: none;
}

.page-content ul li {
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid var(--light-gray);
  font-size: 15px;
  color: #444;
  position: relative;
}

.page-content ul li:last-child {
  border-bottom: none;
}

.page-content ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 18px;
  top: 50%;
  transform: translateY(-50%);
}

/* ========================================
   HOMEPAGE - INTRO SECTION
   ======================================== */

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.intro-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy);
  padding: 28px;
}

.intro-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--navy);
}

.intro-card p {
  font-size: 14.5px;
  color: #555;
  line-height: 1.7;
}

.intro-card .intro-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

.intro-card .intro-link:hover {
  color: var(--navy);
  border-color: var(--navy);
}

/* ========================================
   ATTORNEY PROFILE
   ======================================== */

.attorney-header {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.attorney-avatar {
  width: 100px;
  height: 100px;
  border-radius: 2px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 36px;
  font-weight: 700;
  flex-shrink: 0;
}

.attorney-meta h2 {
  border: none;
  padding: 0;
  margin-bottom: 6px;
}

.attorney-meta .title {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.attorney-contact-info {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
}

.attorney-contact-info span {
  color: #555;
}

.attorney-contact-info a {
  color: var(--navy);
  font-weight: 600;
}

.attorney-contact-info a:hover {
  color: var(--gold);
}

/* Info tables */
.info-section {
  margin-bottom: 28px;
}

.info-section h3 {
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.info-list {
  list-style: none;
  font-size: 14.5px;
  color: #444;
}

.info-list li {
  padding: 6px 0;
  padding-left: 16px;
  position: relative;
  border-bottom: 1px solid var(--light-gray);
}

.info-list li:last-child {
  border-bottom: none;
}

.info-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ========================================
   NOTABLE CASES
   ======================================== */

.case-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.case-list li {
  padding: 16px 20px;
  border-left: 3px solid var(--gold);
  background: var(--off-white);
  margin-bottom: 10px;
  font-size: 15px;
  color: #333;
  border-radius: 0 2px 2px 0;
}

.case-list li::before {
  display: none;
}

.case-name {
  font-weight: 700;
  color: var(--navy);
  font-family: 'Playfair Display', Georgia, serif;
}

.case-result {
  color: #555;
  margin-top: 4px;
  font-size: 14px;
}

/* ========================================
   CONTACT PAGE
   ======================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.contact-office {
  padding: 28px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy);
}

.contact-office h3 {
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--navy);
}

.contact-office p {
  font-size: 14.5px;
  color: #555;
  margin-bottom: 8px;
  line-height: 1.6;
}

.contact-office a {
  color: var(--navy);
  font-weight: 600;
}

.contact-office a:hover {
  color: var(--gold);
}

.contact-form-section {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy);
  padding: 32px;
  margin-bottom: 32px;
}

.contact-form-section h3 {
  font-size: 22px;
  margin-bottom: 24px;
  color: var(--navy);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.map-container {
  margin-top: 32px;
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 2px;
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 48px 0 0;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-mark {
  margin-bottom: 16px;
  width: 52px;
  height: 52px;
  font-size: 22px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  max-width: 340px;
}

.footer-col h4 {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--gold-light);
}

.footer-col p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
  line-height: 1.5;
}

.footer-col a {
  color: rgba(255,255,255,0.75);
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

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

.disclaimer-bar {
  background: #111c30;
  padding: 20px 0;
}

.disclaimer-bar p {
  font-size: 11.5px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}

/* ========================================
   PAGE HERO (inner pages)
   ======================================== */

.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 48px 0;
  border-bottom: 3px solid var(--gold);
}

.page-hero h2 {
  font-size: clamp(24px, 4vw, 38px);
  color: var(--white);
  margin-bottom: 8px;
}

.page-hero .breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.page-hero .breadcrumb a {
  color: rgba(255,255,255,0.7);
}

.page-hero .breadcrumb a:hover {
  color: var(--gold-light);
}

.page-hero .breadcrumb span {
  margin: 0 8px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 900px) {
  .main-layout .container {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    order: 2;
  }

  .page-content {
    order: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .top-bar .container {
    justify-content: center;
    gap: 16px;
  }

  .top-bar .office {
    align-items: center;
    text-align: center;
  }

  .site-header .container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .logo {
    flex-direction: column;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--navy-light);
  }

  .nav-list.open {
    display: flex;
  }

  .nav-list > li > a {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .dropdown {
    position: static;
    border-top: none;
    box-shadow: none;
    background: rgba(0,0,0,0.2);
    display: block;
  }

  .stats-bar .container {
    flex-direction: column;
    gap: 0;
  }

  .stat {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 16px;
  }

  .stat:last-child {
    border-bottom: none;
  }

  .attorney-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .attorney-contact-info {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 48px 0;
  }
}

@media (max-width: 480px) {
  .main-layout {
    padding: 36px 0;
  }

  .site-footer {
    margin-top: 48px;
  }
}
