/* Marc Verzani, Esq. — site styles
   Mobile-first. Works on iPhone, tablets and desktop. */

:root {
  --navy: #14233c;
  --navy-2: #1d3253;
  --gold: #b08d57;
  --gold-dark: #8f7042;
  --ink: #1f2933;
  --muted: #5b6672;
  --line: #e3ddd2;
  --paper: #ffffff;
  --cream: #f7f4ee;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy-2); }
a:hover { color: var(--gold-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: normal; line-height: 1.2; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; padding-top: 40px; padding-bottom: 56px; }

/* ---------- Header ---------- */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; flex-wrap: wrap; min-height: 68px; gap: 8px 16px; }
.brand { text-decoration: none; color: #fff; display: flex; flex-direction: column; padding: 10px 0; margin-right: auto; }
.brand:hover { color: #fff; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; letter-spacing: .01em; }
.brand-sub { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #c9b48e; }
.header-phone { display: none; color: #fff; text-decoration: none; font-weight: 600; }
.header-phone:hover { color: var(--gold); }

.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nav-button { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; cursor: pointer; }
.nav-button span { display: block; height: 2px; background: #fff; border-radius: 2px; }
.site-nav { display: none; width: 100%; }
.nav-toggle:checked ~ .site-nav { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0 0 12px; }
.site-nav a { display: block; padding: 12px 4px; color: #fff; text-decoration: none; border-top: 1px solid rgba(255,255,255,.1); }
.site-nav a:hover, .site-nav a.active { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--gold); color: #fff; text-decoration: none;
  padding: 13px 22px; border-radius: 3px; border: 2px solid var(--gold);
  font-family: var(--sans); font-size: 1rem; font-weight: 600; cursor: pointer; text-align: center;
}
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-block { display: block; width: 100%; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #e8edf4; padding: 56px 0 64px;
}
.hero h1 { color: #fff; font-size: 2.1rem; max-width: 780px; }
.hero-text { max-width: 680px; font-size: 1.08rem; color: #d3dbe6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }

.page-hero { background: var(--cream); border-bottom: 1px solid var(--line); padding: 40px 0 32px; }
.page-hero h1 { font-size: 1.85rem; margin: 0; max-width: 820px; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--cream); }
.section-title { font-size: 1.75rem; margin-bottom: 28px; }

.practice-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.practice-card {
  display: block; text-decoration: none; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold);
  padding: 24px; border-radius: 3px; transition: box-shadow .2s, transform .2s;
}
.practice-card:hover { box-shadow: 0 10px 28px rgba(20,35,60,.12); transform: translateY(-2px); color: var(--ink); }
.practice-card p { color: var(--muted); margin: 0 0 12px; }
.practice-card .more { color: var(--gold-dark); font-weight: 600; font-size: .92rem; }

.split { display: grid; grid-template-columns: 1fr; gap: 8px; }

/* ---------- Content pages ---------- */
.content-grid { display: grid; grid-template-columns: 1fr; gap: 36px; padding-top: 40px; padding-bottom: 56px; }
.prose p { margin: 0 0 1.1em; }
.lead { font-size: 1.15rem; color: var(--navy-2); }
.topic { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 26px; }
.topic h2 { font-size: 1.35rem; }

.facts { margin: 28px 0 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; color: var(--navy); font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.facts dd { margin: 0; }

.sidebar .card { background: var(--cream); border: 1px solid var(--line); padding: 22px; border-radius: 3px; margin-bottom: 18px; }
.card p:last-child { margin-bottom: 0; }
.card-title { font-family: var(--serif); font-size: 1.15rem; color: var(--navy); margin: 0 0 10px; }
.side-phone { font-size: 1.3rem; font-weight: 700; text-decoration: none; color: var(--navy); }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links a { display: block; padding: 8px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.side-links a.active { color: var(--gold-dark); font-weight: 600; }

/* ---------- Call to action ---------- */
.cta { background: var(--navy); color: #d3dbe6; padding: 44px 0; }
.cta h2 { color: #fff; margin-bottom: 6px; }
.cta p { margin: 0; }
.cta-inner { display: flex; flex-direction: column; gap: 22px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn-outline { color: #fff; border-color: rgba(255,255,255,.7); }
.cta .btn-outline:hover { background: #fff; color: var(--navy); }

/* ---------- Contact form ---------- */
.contact-form { margin-top: 24px; }
.contact-form label { display: block; font-weight: 600; font-size: .95rem; color: var(--navy); margin-bottom: 16px; }
.contact-form input, .contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px;
  font: inherit; font-weight: normal; font-size: 16px; /* 16px stops iPhone zoom on focus */
  border: 1px solid #c9c2b5; border-radius: 3px; background: #fff; color: var(--ink);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
.form-note { font-size: .88rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { background: #0e1a2d; color: #b9c3d0; padding: 44px 0 20px; font-size: .95rem; }
.site-footer a { color: #e5d3b3; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.footer-name { font-family: var(--serif); color: #fff; font-size: 1.2rem; margin: 0 0 8px; }
.footer-head { color: #fff; font-weight: 700; margin: 0 0 8px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 3px 0; }
.disclaimer { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; font-size: .82rem; color: #8794a5; }

/* ---------- Tablet & desktop ---------- */
@media (min-width: 700px) {
  h1, .hero h1 { font-size: 2.6rem; }
  .page-hero h1 { font-size: 2.3rem; }
  .practice-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1.5fr 1fr; }
  .facts div { grid-template-columns: 160px 1fr; }
  .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .hero { padding: 88px 0 96px; }
}
@media (min-width: 1000px) {
  .header-phone { display: inline; order: 2; }
  .nav-button { display: none; }
  .site-nav { display: block !important; width: 100%; order: 3; }
  .site-nav ul { display: flex; flex-wrap: wrap; gap: 4px 22px; padding: 0 0 10px; }
  .site-nav a { padding: 6px 0; border: 0; font-size: .95rem; }
  .practice-grid { grid-template-columns: repeat(3, 1fr); }
  .content-grid { grid-template-columns: 1fr 320px; gap: 56px; }
  .sidebar { position: sticky; top: 140px; align-self: start; }
  .split { grid-template-columns: 1fr 1.4fr; gap: 56px; }
  .hero h1 { font-size: 3rem; }
}
