:root {
  --forest: #1c3829;
  --forest-dark: #122519;
  --gold: #b8935a;
  --gold-light: #d4b483;
  --cream: #f8f4ec;
  --ivory: #fffdf8;
  --charcoal: #2a2a26;
  --slate: #5a5e56;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  background: var(--ivory);
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
}

a { text-decoration: none; }

/* ---------- Navbar ---------- */
#mainNav {
  background: var(--forest);
  padding: 0.65rem 0;
  box-shadow: 0 2px 14px rgba(0,0,0,0.15);
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ivory);
}

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

.navbar-nav .nav-link {
  color: var(--cream);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 1rem !important;
}

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

.nav-cta {
  background: var(--gold);
  color: var(--forest-dark) !important;
  border-radius: 6px;
  font-weight: 600;
  margin-left: 0.5rem;
}

.nav-cta:hover {
  background: var(--gold-light);
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.4);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- Hero (split-panel) ---------- */
.hero {
  display: flex;
  min-height: 92vh;
  flex-wrap: wrap;
}

.hero-photo {
  flex: 1 1 55%;
  min-height: 420px;
  background: url('img/hero.webp') center 30%/cover no-repeat;
  position: relative;
}

.photo-credit {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.75);
  background: rgba(0,0,0,0.35);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
}

.hero-panel {
  flex: 1 1 45%;
  background: linear-gradient(160deg, var(--forest) 0%, var(--forest-dark) 100%);
  display: flex;
  align-items: center;
  min-height: 420px;
}

.hero-panel-inner {
  padding: 3.5rem 3.5rem;
  max-width: 560px;
}

.hero-eyebrow {
  color: var(--gold-light);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-title {
  color: var(--ivory);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  color: var(--cream);
  font-size: 1.08rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn-gold {
  background: var(--gold);
  color: var(--forest-dark);
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  border: 2px solid var(--gold);
}

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

.btn-outline-cream {
  background: transparent;
  color: var(--cream);
  font-weight: 600;
  padding: 0.68rem 1.5rem;
  border-radius: 6px;
  border: 2px solid rgba(248,244,236,0.55);
}

.btn-outline-cream:hover {
  background: rgba(248,244,236,0.12);
  color: var(--ivory);
  border-color: var(--cream);
}

.btn-forest {
  background: var(--forest);
  color: var(--ivory);
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: 6px;
  border: 2px solid var(--forest);
}

.btn-forest:hover {
  background: var(--forest-dark);
  color: var(--ivory);
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--cream);
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(28,56,41,0.1);
}

.trust-strip i {
  font-size: 1.8rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.6rem;
}

.trust-strip h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--forest-dark);
  margin: 0;
  font-size: 0.98rem;
}

/* ---------- Section basics ---------- */
section {
  padding: 5.5rem 0;
}

.section-eyebrow {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 0.6rem;
}

.section-eyebrow-light {
  color: var(--gold-light);
}

.section-title {
  font-weight: 700;
  color: var(--forest-dark);
  margin-bottom: 1.25rem;
  font-size: 2.1rem;
}

.section-title-light {
  color: var(--ivory);
}

.section-lead {
  color: var(--slate);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ---------- About ---------- */
#about p {
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 1.1rem;
}

.attorney-photo {
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(28,56,41,0.18);
  border: 6px solid var(--ivory);
}

.attorney-signoff {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--forest-dark) !important;
  margin-top: 1.5rem;
}

/* ---------- Practice Areas ---------- */
.practice-areas {
  background: var(--forest);
}

.practice-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,180,131,0.25);
  border-radius: 10px;
  padding: 2.2rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: background 0.2s ease, transform 0.2s ease;
}

.practice-card:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-4px);
}

.practice-card i {
  font-size: 2.1rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
  display: block;
}

.practice-card h5 {
  color: var(--ivory);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  margin: 0;
}

/* ---------- Contact ---------- */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.3rem;
  color: var(--slate);
  font-size: 1.02rem;
}

.contact-list li a {
  color: var(--forest-dark);
  font-weight: 600;
}

.contact-list i {
  color: var(--gold);
  font-size: 1.15rem;
  margin-top: 0.2rem;
}

.map-frame {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(28,56,41,0.14);
}

/* ---------- Legal Disclosure ---------- */
.legal-disclosure {
  background: var(--forest-dark);
}

.legal-disclosure h5 {
  color: var(--gold-light);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
}

.legal-disclosure p {
  color: rgba(248,244,236,0.78);
  line-height: 1.7;
  font-size: 0.94rem;
}

/* ---------- Footer ---------- */
#site-footer {
  background: var(--forest);
  color: var(--cream);
  padding: 4rem 0 2rem;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

.footer-brand span {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 500;
}

.footer-tagline {
  color: rgba(248,244,236,0.7);
  font-size: 0.94rem;
  line-height: 1.6;
}

#site-footer h6 {
  font-family: 'Inter', sans-serif;
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

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

.footer-links li {
  margin-bottom: 0.7rem;
  color: rgba(248,244,236,0.78);
  font-size: 0.92rem;
}

.footer-links a {
  color: rgba(248,244,236,0.78);
}

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

.footer-divider {
  border-color: rgba(248,244,236,0.15);
  margin: 2rem 0 1.5rem;
}

.footer-badge {
  color: rgba(248,244,236,0.6);
  font-size: 0.85rem;
}

.powered-by {
  color: rgba(248,244,236,0.75);
  font-size: 0.88rem;
}

.powered-by i {
  color: var(--gold-light);
}

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

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero { min-height: auto; }
  .hero-photo { min-height: 320px; flex-basis: 100%; }
  .hero-panel { flex-basis: 100%; }
  .hero-panel-inner { padding: 3rem 1.75rem; max-width: 100%; }
  .hero-title { font-size: 2.1rem; }
  #mainNav .navbar-nav { background: var(--forest-dark); border-radius: 8px; padding: 0.5rem; margin-top: 0.5rem; }
  .nav-cta { margin-left: 0; margin-top: 0.4rem; display: inline-block; }
}

@media (max-width: 575.98px) {
  .hero-title { font-size: 1.8rem; }
  section { padding: 3.75rem 0; }
  .section-title { font-size: 1.7rem; }
  .hero-panel-inner { padding: 2.5rem 1.25rem; }
}
