/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1a2744;
  --navy-light: #2a3a5c;
  --gold: #c9a84c;
  --cream: #faf8f5;
  --white: #ffffff;
  --text: #333333;
  --text-light: #666666;
  --border: #e0dcd5;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --radius: 4px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.4rem; }

a { color: var(--navy); text-decoration: none; }
img { max-width: 100%; height: auto; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--navy-light);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}
.logo-sub {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text);
  border-radius: var(--radius);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  font-weight: 500;
}

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  font-weight: 500 !important;
  border-radius: var(--radius) !important;
  margin-left: 8px;
}
.nav-cta:hover {
  background: var(--navy-light) !important;
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 200px;
  list-style: none;
  padding: 8px 0;
  z-index: 200;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 0.85rem;
}
.dropdown-menu a:hover { background: var(--cream); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--navy);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 72px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 39, 68, 0.85);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 60px 24px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  margin-bottom: 32px;
}

.hero .btn-primary {
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
}
.hero .btn-primary:hover {
  background: #b8963e;
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 16px auto 0;
}

/* ===== TWO COL ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.text-col h2 { margin-bottom: 20px; }
.text-col p { margin-bottom: 16px; color: var(--text-light); }
.text-col .btn { margin-top: 12px; }

/* Placeholder images */
.placeholder-img {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 24px;
}
.placeholder-img.portrait { aspect-ratio: 3/4; }
.placeholder-img.landscape { aspect-ratio: 16/9; }
.placeholder-img.square { aspect-ratio: 1; }

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s ease;
  display: block;
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--gold);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--gold);
}

.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.9rem; color: var(--text-light); }

.cta-center { text-align: center; }

/* ===== PRACTICE AREAS BG ===== */
.practice-areas {
  background: var(--cream);
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.feature h3 {
  margin-bottom: 12px;
  color: var(--navy);
}
.feature h3::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  margin-right: 12px;
  vertical-align: middle;
}
.feature p { color: var(--text-light); font-size: 0.95rem; }

/* ===== CONTACT CTA ===== */
.contact-cta {
  background: var(--navy);
  color: var(--white);
}
.contact-cta h2 { color: var(--white); margin-bottom: 16px; }
.contact-cta p { color: rgba(255,255,255,0.8); margin-bottom: 24px; }
.contact-cta .btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.contact-cta .btn-secondary {
  border-color: var(--white);
  color: var(--white);
  margin-left: 12px;
}
.contact-cta .btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
}
.contact-methods { margin-bottom: 24px; }
.address { font-size: 0.9rem; color: rgba(255,255,255,0.6); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
  border-top: 3px solid var(--gold);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  display: block;
  margin-bottom: 8px;
}

.footer-brand a { color: var(--gold); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom { text-align: center; font-size: 0.8rem; }
.footer-bottom p { margin-bottom: 8px; }
.disclaimer { color: rgba(255,255,255,0.4); font-size: 0.75rem; max-width: 700px; margin: 0 auto; }

/* ===== SERVICE PAGE ===== */
.page-hero {
  margin-top: 72px;
  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: 2.4rem; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; }

.page-content {
  padding: 60px 0;
}
.page-content h2 { margin-bottom: 20px; margin-top: 40px; }
.page-content h2:first-child { margin-top: 0; }
.page-content p { margin-bottom: 16px; color: var(--text-light); max-width: 780px; }
.page-content ul {
  margin: 0 0 20px 24px;
  color: var(--text-light);
}
.page-content li { margin-bottom: 8px; }

/* FAQ Section */
.faq-list { max-width: 780px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item h3 {
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item h3::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform 0.3s;
}
.faq-item.open h3::after { content: '\2212'; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding-top: 12px; }

/* Page CTA */
.page-cta {
  margin-top: 48px;
  padding: 40px;
  background: var(--cream);
  border-radius: var(--radius);
  text-align: center;
}
.page-cta h2 { margin-bottom: 12px; font-size: 1.6rem; }
.page-cta p { margin: 0 auto 20px; }

/* Areas grid */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.area-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px;
}
.area-card h3 { margin-bottom: 12px; }
.area-card p { color: var(--text-light); font-size: 0.95rem; }

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info h2 { margin-bottom: 20px; }
.contact-info p { margin-bottom: 16px; color: var(--text-light); }
.contact-detail { margin-bottom: 20px; }
.contact-detail strong { display: block; color: var(--navy); margin-bottom: 4px; font-weight: 600; }
.contact-detail a { color: var(--navy); }

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--navy);
}
.contact-form textarea { min-height: 120px; resize: vertical; }

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-light);
}
.checkbox-group input { margin-top: 3px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }

  .mobile-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; }
  .nav-cta { margin-left: 0 !important; text-align: center; margin-top: 8px; }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 16px;
  }
  .dropdown:hover .dropdown-menu { display: none; }
  .dropdown.open .dropdown-menu { display: block; }

  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .features-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 24px; }

  .hero { min-height: 400px; }
  .hero-content { padding: 40px 24px; }

  .contact-cta .btn { display: block; margin: 8px auto; max-width: 280px; }
  .contact-cta .btn-secondary { margin-left: 0; }
}
