:root { --accent: #8C7355; }
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #FAF8F3;
  color: #1E1C19;
  min-height: 100vh;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: #1E1C19; color: #FAF8F3; }
a { color: inherit; }
input, textarea, select, button { font-family: inherit; }

/* Hover/focus interactions ported from the original inline style-hover attrs. */
.nav-link { transition: color .2s, border-color .2s; }
.nav-link:hover { color: #f0a500 !important; }
.hov-navy:hover { background: rgba(255,255,255,0.07) !important; }
.hov-dark:hover { background: var(--accent) !important; }
.hov-cream:hover { background: #F3EEE4 !important; }
.hov-cream-on-dark:hover { color: #1E1C19 !important; }
.hov-border:hover { border-color: var(--accent) !important; }
.hov-color-light:hover { color: #FAF8F3 !important; }
.hov-color-dark:hover { color: #1E1C19 !important; }
.field:focus { border-color: var(--accent) !important; }

@keyframes scfade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.page-fade { animation: scfade .5s ease both; }

/* ---- LegalCare-style home page ------------------------------------------- */
.home-feature { transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease; }
.home-feature:hover { box-shadow: 0 24px 50px rgba(16,29,48,0.12); transform: translateY(-6px); border-color: transparent; }
.home-btn-gold { transition: background .25s ease, box-shadow .25s ease; }
.home-btn-gold:hover { background: #d99400 !important; box-shadow: 0 14px 30px rgba(240,165,0,0.35); }
.home-btn-outline { transition: background .25s ease, color .25s ease, border-color .25s ease; }
.home-btn-outline:hover { background: #fff !important; color: #16273f !important; border-color: #fff !important; }
.home-card { transition: box-shadow .3s ease, transform .3s ease; }
.home-card:hover { box-shadow: 0 22px 46px rgba(16,29,48,0.13); transform: translateY(-5px); }
.home-card:hover .home-card-arrow { color: #f0a500; transform: translateX(4px); }
.home-card-arrow { transition: color .25s ease, transform .25s ease; }
.mvv-tab { transition: color .2s ease, border-color .2s ease; }
.people-soc { transition: background .2s ease, border-color .2s ease, color .2s ease; }
.people-soc:hover { background: #f0a500 !important; border-color: #f0a500 !important; color: #16273f !important; }

/* ---- responsive top navigation ------------------------------------------- */
.nav-burger { display: none; }
@media (max-width: 860px) {
  /* show the hamburger, collapse the inline nav into a dropdown panel */
  header .nav-burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; padding: 0; flex: none; cursor: pointer;
    background: none; color: #fff;
    border: 1px solid rgba(255,255,255,0.25); border-radius: 5px;
  }
  header .nav-burger:hover { border-color: #f0a500; color: #f0a500; }

  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none !important; flex-direction: column !important;
    align-items: stretch !important; gap: 0 !important;
    background: #16273f; border-top: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 24px 44px rgba(16,29,48,0.45);
    padding: 6px 0 16px !important;
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .site-nav.open { display: flex !important; }

  .site-nav .nav-link {
    padding: 15px clamp(22px,6vw,40px) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    font-size: 16px !important;
  }

  /* Practice is a plain link on mobile — no dropdown/mega-menu. */
  .site-nav #practice-menu { position: static !important; width: 100%; }
  .site-nav #practice-dropdown { display: none !important; }
  .site-nav #practice-menu > .nav-link span { display: none !important; } /* hide the caret */

  .site-nav .home-btn-gold {
    justify-content: center;
    margin: 14px clamp(22px,6vw,40px) 2px !important;
    padding: 14px 22px !important; font-size: 14px !important;
  }
}
