/* ============================================================
   C. Henry Companies — Corporate Refined Style
   Primary: #1B3A5C (navy) | Accent: #7A9CBE (steel blue) | BG: #E8E4DC (linen)
   Display: Libre Baskerville | Body: Source Sans Pro
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Sans+Pro:wght@300;400;600;700&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  color: #2C2C2C;
  background-color: #FFFFFF;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Libre Baskerville', Georgia, serif;
  line-height: 1.25;
  color: #1B3A5C;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 700; }

p { font-size: 1.05rem; color: #3D3D3D; }
.lead { font-size: 1.2rem; font-weight: 300; color: #3D3D3D; line-height: 1.8; }

/* ── Color Utilities ── */
.bg-navy    { background-color: #1B3A5C; }
.bg-linen   { background-color: #E8E4DC; }
.bg-white   { background-color: #FFFFFF; }
.bg-steel   { background-color: #7A9CBE; }
.text-navy  { color: #1B3A5C; }
.text-white { color: #FFFFFF; }
.text-steel { color: #7A9CBE; }
.text-linen { color: #E8E4DC; }

/* ── Layout ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.section    { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: #7A9CBE;
  color: #FFFFFF;
  border-color: #7A9CBE;
}
.btn-primary:hover { background: #5F83A6; border-color: #5F83A6; }

.btn-outline-white {
  background: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

.btn-outline-navy {
  background: transparent;
  color: #1B3A5C;
  border-color: #1B3A5C;
}
.btn-outline-navy:hover { background: #1B3A5C; color: #FFFFFF; }

.btn-ghost {
  background: transparent;
  color: #7A9CBE;
  border-color: #7A9CBE;
}
.btn-ghost:hover { background: #7A9CBE; color: #FFFFFF; }

.btn-lg { padding: 1.05rem 2.5rem; font-size: 1rem; }

/* ── Navigation ── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  background: #111111;
  transition: background 0.35s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

#main-nav.scrolled {
  background: #1B3A5C;
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo-img {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.nav-logo-text span {
  display: block;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #7A9CBE;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}
.nav-links a:hover { color: #FFFFFF; }
.nav-links a.active { color: #7A9CBE; }

.nav-cta { margin-left: 1rem; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FFFFFF;
  transition: all 0.3s;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #1B3A5C 0%, #0F2540 60%, #1B3A5C 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 5rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(122, 156, 190, 0.08);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(122, 156, 190, 0.05);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 760px; }

.hero-eyebrow {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7A9CBE;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: #7A9CBE;
}

.hero h1 {
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
}

.hero h1 em {
  color: #7A9CBE;
  font-style: normal;
}

.hero .lead {
  color: rgba(255,255,255,0.78);
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 620px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-trust {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ── Section Headers ── */
.section-header { margin-bottom: 3.5rem; }
.section-header.center { text-align: center; }

.section-label {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7A9CBE;
  margin-bottom: 0.75rem;
  display: block;
}

.section-header h2 { margin-bottom: 1rem; }
.section-header p  { max-width: 600px; }
.section-header.center p { margin: 0 auto; }

/* ── Divider ── */
.divider {
  width: 48px;
  height: 3px;
  background: #7A9CBE;
  margin: 1.25rem 0;
}
.center .divider { margin: 1.25rem auto; }

/* ── Credential Bar ── */
.credential-bar {
  background: #E8E4DC;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(27,58,92,0.08);
}

.credential-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0 2.5rem;
  overflow-x: auto;
}

.credential-item {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1B3A5C;
  opacity: 0.75;
  white-space: nowrap;
}

/* ── Lead Magnets ── */
.lead-magnets {
  background: #1B3A5C;
}

.magnet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.magnet-card {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(122,156,190,0.25);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.magnet-card:hover {
  background: rgba(255,255,255,0.20);
  border-color: rgba(122,156,190,0.5);
  transform: translateY(-3px);
}

.magnet-tag {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #7A9CBE;
  margin-bottom: 1rem;
}

.magnet-card h3 {
  color: #FFFFFF;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.magnet-card p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.magnet-form { display: flex; flex-direction: column; gap: 0.75rem; }

.magnet-form input[type="email"] {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(122,156,190,0.4);
  border-radius: 3px;
  background: rgba(255,255,255,0.08);
  color: #FFFFFF;
  width: 100%;
  transition: border-color 0.2s;
}
.magnet-form input::placeholder { color: rgba(255,255,255,0.4); }
.magnet-form input:focus { outline: none; border-color: #7A9CBE; }

.magnet-form .btn { width: 100%; text-align: center; }

.magnet-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #7A9CBE;
  color: #FFFFFF;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
}

/* ── Services ── */
.service-card {
  padding: 2.5rem 2rem;
  border: 1px solid rgba(27,58,92,0.1);
  border-radius: 6px;
  background: #FFFFFF;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  border-color: #7A9CBE;
  box-shadow: 0 8px 32px rgba(27,58,92,0.08);
  transform: translateY(-2px);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: #E8E4DC;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon svg { width: 22px; height: 22px; stroke: #1B3A5C; fill: none; stroke-width: 1.75; }

.service-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; color: #1B3A5C; }
.service-card p  { font-size: 0.95rem; color: #555; line-height: 1.65; margin-bottom: 1.25rem; }

.service-outcomes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.service-outcomes li {
  font-size: 0.88rem;
  color: #3D3D3D;
  padding-left: 1.25rem;
  position: relative;
}
.service-outcomes li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #7A9CBE;
  font-weight: 700;
}

.service-link {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: #1B3A5C;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s, color 0.2s;
}
.service-link:hover { color: #7A9CBE; gap: 0.7rem; }

/* ── Industries ── */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.industry-card {
  background: #E8E4DC;
  border-radius: 6px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
  display: block;
  text-decoration: none;
  color: inherit;
}
.industry-card:hover {
  background: #1B3A5C;
  transform: translateY(-2px);
}
.industry-card:hover h4,
.industry-card:hover p { color: #FFFFFF; }
.industry-card:hover .industry-icon { background: rgba(255,255,255,0.20); }

.industry-icon {
  width: 44px;
  height: 44px;
  background: rgba(27,58,92,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: background 0.2s;
}
.industry-icon svg { width: 20px; height: 20px; stroke: #1B3A5C; fill: none; stroke-width: 1.75; transition: stroke 0.2s; }
.industry-card:hover .industry-icon svg { stroke: #FFFFFF; }

.industry-card h4 { font-size: 0.9rem; color: #1B3A5C; margin-bottom: 0.4rem; transition: color 0.2s; }
.industry-card p  { font-size: 0.78rem; color: #666; line-height: 1.5; transition: color 0.2s; }

/* ── Testimonials ── */
.testimonials { background: #E8E4DC; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.testimonial-card {
  background: #FFFFFF;
  border-radius: 6px;
  padding: 2.5rem 2rem;
  position: relative;
  box-shadow: 0 4px 16px rgba(27,58,92,0.06);
}

.quote-mark {
  font-family: 'Libre Baskerville', serif;
  font-size: 4rem;
  line-height: 1;
  color: #7A9CBE;
  opacity: 0.3;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}

.testimonial-card blockquote {
  font-size: 0.98rem;
  color: #3D3D3D;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
  font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #E8E4DC;
  border: 2px solid #7A9CBE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  color: #1B3A5C;
  font-size: 1rem;
}

.author-info strong {
  display: block;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1B3A5C;
}
.author-info span {
  font-size: 0.8rem;
  color: #888;
}

.placeholder-note {
  font-size: 0.72rem;
  font-style: italic;
  color: #AAA;
  margin-top: 0.5rem;
  text-align: center;
  display: block;
}

/* ── Charles Bio Callout ── */
.bio-callout {
  background: #1B3A5C;
  padding: 5rem 0;
}

.bio-callout-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
  align-items: center;
}

.bio-photo-frame {
  position: relative;
}

.bio-photo-placeholder {
  aspect-ratio: 3/4;
  background: rgba(122,156,190,0.15);
  border-radius: 6px;
  border: 1px solid rgba(122,156,190,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bio-photo-frame::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 100%;
  height: 100%;
  border: 2px solid #7A9CBE;
  border-radius: 6px;
  z-index: -1;
  opacity: 0.3;
}

.bio-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.credential-chip {
  background: rgba(122,156,190,0.15);
  border: 1px solid rgba(122,156,190,0.35);
  border-radius: 2rem;
  padding: 0.35rem 0.9rem;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7A9CBE;
}

.bio-callout h2 { color: #FFFFFF; margin-bottom: 1rem; }
.bio-callout p  { color: rgba(255,255,255,0.72); margin-bottom: 1.25rem; }
.bio-callout .section-label { color: #7A9CBE; }

/* ── Stats Bar ── */
.stats-bar {
  background: #7A9CBE;
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 2rem;
}

.stat-item {}
.stat-number {
  font-family: 'Libre Baskerville', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #FFFFFF;
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

/* ── CTA Banner ── */
.cta-banner {
  background: #E8E4DC;
  padding: 5rem 0;
  text-align: center;
}

.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p  { font-size: 1.1rem; color: #555; margin-bottom: 2rem; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-banner-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, #1B3A5C 0%, #0F2540 100%);
  padding: 10rem 0 5rem;
  text-align: center;
}
.page-hero h1 { color: #FFFFFF; margin-bottom: 1rem; }
.page-hero p  { color: rgba(255,255,255,0.72); max-width: 580px; margin: 0 auto; font-size: 1.15rem; }

/* ── Resources Page ── */
.resource-detail-card {
  background: #FFFFFF;
  border: 1px solid rgba(27,58,92,0.1);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(27,58,92,0.07);
  transition: box-shadow 0.2s, transform 0.2s;
}
.resource-detail-card:hover {
  box-shadow: 0 8px 40px rgba(27,58,92,0.12);
  transform: translateY(-2px);
}

.resource-card-top {
  background: #1B3A5C;
  padding: 2.5rem 2.5rem 2rem;
  position: relative;
}

.resource-card-top .magnet-tag { color: #7A9CBE; }
.resource-card-top h3 { color: #FFFFFF; font-size: 1.5rem; margin-bottom: 0.75rem; line-height: 1.3; }
.resource-card-top p  { color: rgba(255,255,255,0.68); font-size: 0.95rem; }

.resource-card-body { padding: 2rem 2.5rem 2.5rem; }

.resource-includes {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.resource-includes li {
  font-size: 0.92rem;
  color: #3D3D3D;
  padding-left: 1.5rem;
  position: relative;
}
.resource-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #7A9CBE;
  font-weight: 700;
}

.resource-form { display: flex; flex-direction: column; gap: 0.75rem; }
.resource-form input {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  border: 1.5px solid rgba(27,58,92,0.15);
  border-radius: 3px;
  background: #FFFFFF;
  color: #2C2C2C;
  width: 100%;
  transition: border-color 0.2s;
}
.resource-form input:focus { outline: none; border-color: #7A9CBE; }
.resource-form input::placeholder { color: #AAA; }
.resource-form .btn { width: 100%; text-align: center; }
.resource-form .privacy-note {
  font-size: 0.75rem;
  color: #AAA;
  text-align: center;
  font-style: italic;
}

/* ── Team Page ── */
.team-hero-card {
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(27,58,92,0.1);
  display: grid;
  grid-template-columns: 2fr 3fr;
}

.team-photo-area {
  background: #E8E4DC;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-bio-area { padding: 3.5rem; }
.team-bio-area .bio-credentials { margin-bottom: 2rem; }
.team-bio-area h2 { color: #1B3A5C; margin-bottom: 0.25rem; }
.team-bio-area .title {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7A9CBE;
  margin-bottom: 2rem;
}
.team-bio-area p { margin-bottom: 1.25rem; }

.staff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 4rem; }

.staff-card {
  background: #E8E4DC;
  border-radius: 6px;
  padding: 2.5rem 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.staff-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #1B3A5C;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Libre Baskerville', serif;
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 700;
}
.staff-info h3 { font-size: 1.15rem; margin-bottom: 0.15rem; }
.staff-info .staff-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7A9CBE;
  margin-bottom: 0.75rem;
}
.staff-info p { font-size: 0.92rem; color: #555; }

/* ── Services Page ── */
/* Offset fixed nav when jumping to a service anchor */
#tax, #accounting, #payroll, #consulting {
  scroll-margin-top: 96px;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  padding: 4rem 0;
  border-bottom: 1px solid rgba(27,58,92,0.08);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }

.service-detail-content {}
.service-detail-content .section-label { margin-bottom: 0.5rem; }
.service-detail-content h2 { font-size: 1.75rem; margin-bottom: 1rem; }
.service-detail-content p { margin-bottom: 1rem; }

.service-detail-outcomes {
  background: #E8E4DC;
  border-radius: 6px;
  padding: 2rem;
}
.service-detail-outcomes h4 {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7A9CBE;
  margin-bottom: 1.25rem;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
}
.service-detail-outcomes ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.service-detail-outcomes li {
  font-size: 0.95rem;
  padding-left: 1.5rem;
  position: relative;
  color: #3D3D3D;
}
.service-detail-outcomes li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #1B3A5C;
  font-weight: 700;
}

/* ── Industries Page ── */
.industry-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.industry-detail-card {
  background: #FFFFFF;
  border: 1px solid rgba(27,58,92,0.1);
  border-radius: 6px;
  padding: 2.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.industry-detail-card:hover {
  border-color: #7A9CBE;
  box-shadow: 0 8px 32px rgba(27,58,92,0.08);
}

.industry-detail-card .magnet-tag { margin-bottom: 0.5rem; }
.industry-detail-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.industry-detail-card .pain-point {
  font-style: italic;
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  padding-left: 1rem;
  border-left: 3px solid #7A9CBE;
}
.industry-detail-card p { font-size: 0.95rem; margin-bottom: 1.5rem; }

/* ── Footer ── */
footer {
  background: #0F2540;
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand .nav-logo { display: inline-block; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.5); max-width: 280px; line-height: 1.7; }

.footer-col h5 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #7A9CBE;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-links a:hover { color: #FFFFFF; }

.footer-contact { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-item { display: flex; gap: 0.75rem; }
.footer-contact-item span:first-child {
  color: #7A9CBE;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-shrink: 0;
  padding-top: 0.05rem;
  min-width: 36px;
}
.footer-contact-item span:last-child { font-size: 0.9rem; color: rgba(255,255,255,0.6); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer-social {
  display: flex;
  gap: 1rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.footer-social a:hover { background: rgba(122,156,190,0.25); }
.footer-social svg { width: 16px; height: 16px; stroke: rgba(255,255,255,0.5); fill: none; stroke-width: 1.75; transition: stroke 0.2s; }
.footer-social a:hover svg { stroke: #FFFFFF; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-4, .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-hero-card { grid-template-columns: 1fr; }
  .team-photo-area { min-height: 320px; }
  .bio-callout-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .magnet-grid, .testimonial-grid,
  .staff-grid, .industry-detail-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail, .service-detail.reverse { grid-template-columns: 1fr; direction: ltr; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
