/* J Wilson Search Group — shared stylesheet */
:root {
  --navy: #10273f;
  --navy-dark: #0b1c2e;
  --navy-mid: #1a3a57;
  --accent: #2f6da3;
  --accent-light: #e8f0f7;
  --gold: #c9a227;
  --text: #24313d;
  --muted: #5b6b7a;
  --line: #dfe6ec;
  --bg: #ffffff;
  --bg-soft: #f4f7f9;
  --radius: 8px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1em; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.eyebrow {
  font-family: "Roboto Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5em;
}

/* Header / nav */
.site-header {
  background: var(--navy-dark);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-logo { background: #fff; border-radius: 6px; padding: 4px 10px; display: inline-flex; align-items: center; flex: none; }
.brand-logo img { height: 52px; width: auto; display: block; }
.brand-tagline { font-family: "Poppins", sans-serif; font-size: 0.72rem; font-weight: 300; letter-spacing: 0.14em; text-transform: uppercase; color: #b9c9d6; }
.brand img { height: 52px; width: auto; }
.brand-text {
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.2;
}
.brand-text span { display: block; font-size: 0.72rem; font-weight: 300; letter-spacing: 0.14em; text-transform: uppercase; color: #b9c9d6; }
.main-nav { display: flex; gap: 0.25rem; flex-wrap: wrap; }
.main-nav a {
  color: #dbe6ee;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.92rem;
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
}
.main-nav a:hover, .main-nav a.active { color: #fff; background: var(--navy-mid); text-decoration: none; }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff;
  padding: 4rem 0 3.5rem;
}
.hero h1 { color: #fff; font-size: clamp(1.9rem, 4.5vw, 3rem); margin-bottom: 0.4em; }
.hero p.lede { font-size: 1.12rem; color: #d5e1ea; max-width: 62ch; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; align-items: center; }
.hero-img { border-radius: var(--radius); box-shadow: 0 12px 32px rgba(0,0,0,0.35); }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 1.6rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}
.btn:hover { background: #255a86; text-decoration: none; }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.hero .btn { margin-top: 1rem; margin-right: 0.75rem; }

/* Sections */
.section { padding: 3.5rem 0; }
.section-soft { background: var(--bg-soft); }
.section h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.section-intro { max-width: 68ch; color: var(--muted); }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem; align-items: start; }
.split img { border-radius: var(--radius); }
.person-name { font-family: "Poppins", sans-serif; font-weight: 600; color: var(--navy); font-size: 1.25rem; margin-bottom: 0.25em; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2rem; }
.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: #fff;
}
.service-card h3 { margin-bottom: 0.4em; font-size: 1.2rem; }
.service-card p { color: var(--muted); margin-bottom: 1rem; }
.service-card .card-link { font-family: "Roboto Condensed", sans-serif; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.85rem; }

/* CTA band */
.cta-band {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 3rem 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c6d4de; max-width: 60ch; margin: 0 auto 1.25rem; }

/* Specialty list */
.specialties {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 2rem;
}
.specialties li {
  padding: 0.55rem 0.25rem 0.55rem 1.4rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.specialties li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 1.05em;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--accent);
  border-radius: 50%;
}

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.pricing-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: #fff;
}
.pricing-card.featured { border: 2px solid var(--accent); background: var(--accent-light); }
.pricing-card h3 { font-size: 1.15rem; }
.price { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.6rem; color: var(--navy); }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.5rem 3.25rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps li h3 { margin-bottom: 0.3em; }

/* Forms */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  background: #fff;
  box-shadow: 0 6px 24px rgba(16,39,63,0.08);
}
.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--navy); margin-bottom: 0.3rem; }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid #c4cfd8;
  border-radius: 4px;
  font: inherit;
  font-size: 0.95rem;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.checkbox-field { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; }
.checkbox-field input { margin-top: 0.25rem; }
.hidden { display: none; }
.contact-details { font-size: 1.05rem; }
.contact-details strong { color: var(--navy); }

/* Legal pages */
.legal h2 { margin-top: 1.8em; }
.legal h3 { margin-top: 1.5em; font-size: 1.15rem; }
.legal ul { margin: 0 0 1em 1.25rem; padding: 0; }
.legal li { margin-bottom: 0.35em; }

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #b9c9d6;
  padding: 2.5rem 0 2rem;
  font-size: 0.92rem;
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.site-footer a { color: #dbe6ee; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

@media (max-width: 820px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .services-grid, .pricing-grid { grid-template-columns: 1fr; }
  .specialties { grid-template-columns: 1fr 1fr; }
  .header-inner { flex-direction: column; align-items: flex-start; }
  .hero { padding: 2.5rem 0; }
}
@media (max-width: 520px) {
  .specialties { grid-template-columns: 1fr; }
}

/* Image fallbacks — original photos were not retrievable from the archive,
   so brand and portrait treatments are pure CSS. */
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  flex: none;
}
.hero-visual {
  border-radius: var(--radius);
  min-height: 300px;
  background:
    radial-gradient(circle at 25% 30%, rgba(47,109,163,0.9), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(201,162,39,0.35), transparent 50%),
    linear-gradient(135deg, var(--navy-mid), var(--navy-dark));
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #fff;
  text-align: center;
  padding: 2rem;
}
.hero-logo-card { background: #fff; border-radius: var(--radius); padding: 1.75rem 2rem; box-shadow: 0 12px 32px rgba(0,0,0,0.35); }
.hero-logo-card img { display: block; width: 100%; max-width: 420px; height: auto; }
.hero-visual-mark {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(255,255,255,0.9);
}
.hero-visual-text {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #b9c9d6;
}
.photo-placeholder {
  border-radius: var(--radius);
  min-height: 340px;
  background: linear-gradient(160deg, var(--navy-mid), var(--navy-dark));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #fff;
  text-align: center;
  padding: 2rem;
}
.photo-initials {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
}
.photo-caption { font-size: 0.95rem; color: #c6d4de; line-height: 1.5; }
.photo { margin: 0; }
.photo img { display: block; width: 100%; height: auto; border-radius: var(--radius); object-fit: cover; aspect-ratio: 1 / 1; }
.photo figcaption { margin-top: 0.75rem; font-size: 0.95rem; color: var(--muted); text-align: center; line-height: 1.5; }
