/* AMF Paralegals — shared stylesheet
   Brand colours are taken from the logo (navy + gold). */
:root {
  --navy: #0f2847;
  --navy-dark: #0a1c33;
  --gold: #b8924a;
  --gold-light: #e9dcc2;
  --ink: #1d2433;
  --muted: #5b6475;
  --bg: #ffffff;
  --tint: #f5f6f8;
  --line: #e2e5ea;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(15, 40, 71, 0.08);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--gold); }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 0.5em; }
h1, h2 { font-family: var(--serif); font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem;
  font-weight: 600; color: var(--gold); margin-bottom: 0.75em;
}

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 88px; }
.brand img { width: 150px; }
.site-nav ul { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 10px 16px; border-radius: 999px;
  text-decoration: none; font-weight: 500; color: var(--navy);
}
.site-nav a:hover { background: var(--tint); color: var(--navy); }
.site-nav a[aria-current="page"] { background: var(--navy); color: #fff; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--navy); }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.5em; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 30px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; border: 2px solid var(--navy);
  font-family: var(--sans); transition: background 0.2s, color 0.2s;
}
.btn-solid { background: var(--navy); color: #fff; }
.btn-solid:hover { background: var(--navy-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.text-link { font-weight: 600; text-decoration: none; }

/* ---------- Sections ---------- */
.hero {
  padding: 96px 0 88px;
  background:
    radial-gradient(ellipse at 85% 10%, var(--gold-light) 0%, transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--tint) 100%);
}
.page-hero { padding: 72px 0 40px; background: var(--tint); border-bottom: 1px solid var(--line); }
.section { padding: 72px 0; }
.section-tint { background: var(--tint); }
.cta-band { background: var(--navy); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band a:not(.btn) { color: var(--gold-light); }
.cta-band .btn-outline { border-color: #fff; color: #fff; }
.cta-band .btn-outline:hover { background: #fff; color: var(--navy); }
.cta-band .btn-solid { background: var(--gold); border-color: var(--gold); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.stack { display: grid; gap: 20px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card p:last-child, .feature p:last-child { margin-bottom: 0; }
.feature { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.feature h3::before {
  content: ""; display: block; width: 28px; height: 28px; margin-bottom: 12px; border-radius: 50%;
  background: var(--gold-light) center / 14px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%230f2847' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.pill-list { list-style: none; padding: 0; margin: 0 0 1.5em; display: flex; flex-wrap: wrap; gap: 12px; }
.pill-list li {
  padding: 10px 18px; border-radius: 999px; background: var(--tint);
  border: 1px solid var(--line); color: var(--navy); font-weight: 500;
}

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px;
  border-radius: 50%; background: var(--gold);
}

/* Table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--navy); color: #fff; font-weight: 600; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; color: var(--navy); width: 34%; }

/* Steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.steps li { counter-increment: step; position: relative; padding-top: 56px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-weight: 600;
}
.steps p { color: var(--muted); font-size: 0.95rem; }

/* Team */
.member { text-align: center; }
.avatar {
  width: 112px; height: 112px; border-radius: 50%; margin: 0 auto 18px; object-fit: cover;
  display: grid; place-items: center; background: var(--navy); color: var(--gold-light);
  font-family: var(--serif); font-size: 2.2rem; font-weight: 700; border: 4px solid var(--gold-light);
}
.role { color: var(--gold); font-weight: 600; font-size: 0.95rem; }
.member p:last-child { text-align: left; }
.promise { margin-top: 32px; font-size: 1.1rem; }

/* Contact */
.contact-list { display: grid; grid-template-columns: 120px 1fr; gap: 12px 16px; margin: 0 0 28px; }
.contact-list dt { font-weight: 600; color: var(--navy); }
.contact-list dd { margin: 0; }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-weight: 500; font-size: 0.95rem; color: var(--navy); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input, select, textarea {
  font: inherit; color: var(--ink); padding: 12px 14px; border: 1px solid #c9ced8;
  border-radius: 10px; background: #fff; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }

/* ---------- Disclaimer (every page) ---------- */
.disclaimer { background: var(--gold-light); padding: 28px 0; }
.disclaimer p {
  margin: 0; text-align: center; font-size: 1rem; font-style: italic; color: var(--navy-dark);
  max-width: 860px; margin-inline: auto;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #cfd6e2; padding: 48px 0; font-size: 0.95rem; }
.site-footer a { color: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand { font-family: var(--serif); font-size: 1.6rem; color: #fff; margin-bottom: 0.2em; }
.muted { color: #93a0b5; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .header-inner { min-height: 72px; }
  .brand img { width: 120px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .two-col, .grid-2, .grid-3, .form-row, .steps { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 52px 0; }
  .btn { width: 100%; }
  .contact-list { grid-template-columns: 1fr; gap: 2px; }
  .contact-list dd { margin-bottom: 12px; }
}
