/* Joshua J. Almeida — Process Service
   Sober legal-services register: deep navy, warm paper, restrained gold rule.
   Multi-page site: shared header/footer; add pages by reusing .page-hero,
   .section, .cards, .rate-card and .cta-band. */

:root {
  --navy: #16263f;
  --navy-deep: #0f1c30;
  --ink: #22303f;
  --paper: #faf8f4;
  --paper-alt: #f1ede3;
  --gold: #b08d3c;
  --line: #ddd5c3;
  --white: #ffffff;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
}

.wrap { max-width: 1020px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.25; }
h2 { font-size: 1.9rem; margin: 0 0 1.1rem; padding-bottom: .45rem; border-bottom: 2px solid var(--gold); display: inline-block; }
h3 { font-size: 1.15rem; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }
a { color: var(--navy); }
img { max-width: 100%; display: block; }

/* Header */
.site-header {
  background: var(--navy-deep);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 1px 6px rgba(0,0,0,.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  padding-top: .8rem;
  padding-bottom: .8rem;
}
.brand { display: flex; flex-direction: column; line-height: 1.2; text-decoration: none; }
.brand-name { font-family: var(--serif); font-size: 1.2rem; letter-spacing: .02em; color: var(--white); }
.brand-sub { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.main-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; align-items: center; }
.main-nav a { color: #e9e4d8; text-decoration: none; font-size: .95rem; }
.main-nav a:hover { color: var(--white); text-decoration: underline; }
.main-nav a[aria-current="page"] { color: var(--white); border-bottom: 2px solid var(--gold); padding-bottom: 2px; }

/* Heroes */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #eef0f2;
  padding: 4.2rem 0 3.6rem;
}
.hero-home {
  background:
    linear-gradient(100deg, rgba(15,28,48,.93) 30%, rgba(15,28,48,.55) 70%, rgba(15,28,48,.35)),
    url("assets/hero-columns.jpg") center 38% / cover no-repeat;
}
.page-hero {
  background:
    linear-gradient(100deg, rgba(15,28,48,.92) 35%, rgba(15,28,48,.55)),
    url("assets/hero-columns.jpg") center 30% / cover no-repeat;
  color: #eef0f2;
  padding: 3.2rem 0 2.8rem;
}
.page-hero.signing-hero {
  background:
    linear-gradient(100deg, rgba(15,28,48,.92) 35%, rgba(15,28,48,.5)),
    url("assets/signing.jpg") center / cover no-repeat;
}
.hero .eyebrow, .page-hero .eyebrow {
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: .8rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.hero h1 { color: var(--white); font-size: 2.5rem; margin: 0 0 1.1rem; max-width: 22ch; }
.page-hero h1 { color: var(--white); font-size: 2.2rem; margin: 0 0 .6rem; }
.hero .lede, .page-hero .lede { font-size: 1.12rem; max-width: 62ch; color: #d8dde3; }
.hero-actions { margin: 1.6rem 0 1.2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.btn {
  display: inline-block;
  text-decoration: none;
  padding: .7rem 1.4rem;
  border-radius: 3px;
  font-size: 1rem;
}
.btn-primary { background: var(--gold); color: var(--navy-deep); font-weight: 600; }
.btn-primary:hover { background: #c39d49; }
.btn-ghost { border: 1px solid #93a3b5; color: #eef0f2; }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }
.credential { font-family: var(--serif); font-style: italic; color: #c9cfd6; margin: 0; }

/* Sections */
.section { padding: 3.4rem 0; }
.section-alt { background: var(--paper-alt); }
.section-intro { max-width: 62ch; }

/* Trust strip */
.trust-strip { background: var(--navy-deep); color: #e9e4d8; }
.trust-strip .wrap { display: flex; flex-wrap: wrap; gap: .6rem 2.4rem; padding-top: 1rem; padding-bottom: 1rem; justify-content: center; }
.trust-strip span { font-family: var(--serif); font-size: .98rem; letter-spacing: .02em; }
.trust-strip b { color: var(--gold); font-weight: normal; margin-right: .45rem; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.2rem;
  margin-top: 1.4rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  padding: 1.3rem 1.3rem .6rem;
  border-radius: 3px;
}
.card p { font-size: .97rem; }
.card .more { font-size: .93rem; }
.note { margin-top: 1.4rem; font-size: .97rem; max-width: 70ch; }

/* Service detail rows */
.service-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: .2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
.service-row:last-of-type { border-bottom: none; }
.service-row h3 { font-size: 1.3rem; }
.service-row p { max-width: 74ch; margin-bottom: .4rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.steps li { background: var(--white); border: 1px solid var(--line); padding: 1.3rem 1.3rem .6rem; border-radius: 3px; }
.steps p { font-size: .97rem; }

/* Split (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.split figure { margin: 0; }
.split figure img { border-radius: 3px; border: 1px solid var(--line); }
.split figcaption { font-size: .83rem; color: #68727c; margin-top: .5rem; font-style: italic; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* Rates */
.rate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.2rem; margin-top: 1.4rem; }
.rate-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 1.4rem;
  border-radius: 3px;
}
.rate-card h3 { font-size: 1.35rem; }
.rate-sub { color: #55606a; font-size: .93rem; margin-bottom: 1rem; }
.rate-table { width: 100%; border-collapse: collapse; }
.rate-table th, .rate-table td { padding: .55rem 0; border-bottom: 1px solid var(--line); }
.rate-table th { text-align: left; font-weight: 500; font-family: var(--sans); }
.rate-table td { text-align: right; font-family: var(--serif); font-size: 1.25rem; color: var(--navy); }
.rate-table tr:last-child th, .rate-table tr:last-child td { border-bottom: none; }
.rate-note { margin: .8rem 0 0; font-size: .93rem; font-style: italic; font-family: var(--serif); color: var(--navy); }
.tier-defs { margin: 1.6rem 0 0; padding-left: 1.2rem; max-width: 72ch; }
.tier-defs li { margin-bottom: .45rem; font-size: .97rem; }

/* Payment methods */
.pay-methods { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.pay-methods li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .35rem 1rem;
  font-size: .95rem;
  font-family: var(--serif);
  color: var(--navy);
}
.terms-line { margin-top: 1.2rem; font-size: .97rem; max-width: 70ch; }

/* Coverage */
.coverage-list { padding-left: 1.2rem; max-width: 72ch; }
.coverage-list li { margin-bottom: .5rem; }

/* FAQ */
.faq-list { margin-top: 1.2rem; max-width: 78ch; }
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  margin-bottom: .8rem;
  padding: 1rem 1.2rem;
}
.faq-list summary { font-family: var(--serif); font-size: 1.08rem; color: var(--navy); cursor: pointer; }
.faq-list details p { margin: .7rem 0 .2rem; font-size: .97rem; }

/* CTA band */
.cta-band { background: var(--navy); color: #eef0f2; padding: 2.8rem 0; }
.cta-band h2 { color: var(--white); border-bottom-color: var(--gold); }
.cta-band p { max-width: 62ch; color: #d8dde3; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; margin-top: 1.2rem; }
.contact-item { background: var(--white); border: 1px solid var(--line); padding: 1.2rem 1.3rem .5rem; border-radius: 3px; }
.contact-item a { word-break: break-all; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #c9cfd6; padding: 2.2rem 0; font-size: .95rem; }
.site-footer strong { color: var(--white); font-family: var(--serif); }
.site-footer nav { margin: .4rem 0 .8rem; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.site-footer nav a { color: #c9cfd6; text-decoration: none; font-size: .9rem; }
.site-footer nav a:hover { color: var(--white); text-decoration: underline; }
.site-footer .fine { font-size: .83rem; color: #8d99a6; max-width: 70ch; margin-bottom: 0; }

@media (max-width: 640px) {
  .hero { padding: 3rem 0 2.6rem; }
  .hero h1 { font-size: 1.9rem; }
  .page-hero h1 { font-size: 1.8rem; }
  h2 { font-size: 1.6rem; }
  .section { padding: 2.6rem 0; }
  body { font-size: 16px; }
}
