/* ============================================================
   Success HC — shared stylesheet
   Palette: navy #1C3A5E, red accent #D8423C
   ============================================================ */

:root {
  --navy: #1C3A5E;
  --navy-700: #16304E;
  --navy-900: #0F2238;
  --navy-tint: #EAF0F6;
  --red: #D8423C;
  --red-dark: #B6332D;
  --ink: #232B2E;
  --slate: #5C6661;
  --cream: #FAF9F7;
  --white: #FFFFFF;
  --border: #E7E4DE;
  --border-cool: #D9E1E9;
  --radius: 10px;
  --radius-lg: 16px;
  --container: 1140px;
  --shadow: 0 1px 3px rgba(28,58,94,.06), 0 12px 32px rgba(28,58,94,.07);
  --shadow-sm: 0 1px 2px rgba(28,58,94,.05), 0 6px 18px rgba(28,58,94,.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.22rem; }
p { margin-bottom: 1rem; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
strong { font-weight: 600; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--cream { background: var(--cream); }
.section--tint { background: var(--navy-tint); }
.section--navy { background: var(--navy); }
.section--tight { padding: 64px 0; }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--slate); font-size: 1.06rem; margin-bottom: 0; }
.section--navy .section-head h2,
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy .section-head p, .section--navy p { color: #C6D2DF; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--red); margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 16px; height: 16px; flex: none;
  background: var(--red);
  -webkit-mask: url("assets/plus.svg") center/contain no-repeat;
  mask: url("assets/plus.svg") center/contain no-repeat;
}
.eyebrow.on-navy { color: #7FA8D4; }
.eyebrow.on-navy::before { background: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  text-align: center; line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--red); color: #fff; }
.btn-accent:hover { background: var(--red-dark); color: #fff; box-shadow: 0 10px 24px rgba(216,66,60,.28); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-700); color: #fff; box-shadow: 0 10px 24px rgba(28,58,94,.25); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--border-cool); }
.btn-outline:hover { color: var(--navy); border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--navy); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { color: #fff; border-color: #fff; }
.btn-lg { padding: 16px 32px; font-size: 1.04rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo-link { display: flex; align-items: center; }
.logo { height: 63px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-family: 'Poppins', sans-serif; font-weight: 500; font-size: .96rem;
  color: var(--ink); transition: color .15s ease;
}
.main-nav a:hover { color: var(--red); }
.main-nav a.active { color: var(--navy); border-bottom: 2px solid var(--red); padding-bottom: 4px; }
.main-nav a.nav-cta { color: #fff; padding: 11px 20px; }
.main-nav a.nav-cta:hover { color: #fff; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; color: var(--navy);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { background: var(--cream); padding: 76px 0 84px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--red); }
.hero-lead { font-size: 1.16rem; color: var(--slate); margin-bottom: 30px; max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-note { font-size: .92rem; color: var(--slate); display: flex; align-items: center; gap: 8px; }
.hero-note strong { color: var(--navy); }

.hero-card {
  background: var(--navy); border-radius: var(--radius-lg); padding: 38px;
  color: #fff; box-shadow: var(--shadow);
}
.hero-card h2 { color: #fff; font-size: 1.15rem; margin-bottom: 22px; }
.hero-outcome { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.14); }
.hero-outcome:first-of-type { border-top: 0; }
.hero-outcome .num {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.05rem;
  color: var(--red); flex: none; width: 26px;
}
.hero-outcome h3 { color: #fff; font-size: 1rem; margin-bottom: 2px; }
.hero-outcome p { color: #BFCEDD; font-size: .9rem; margin-bottom: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 68px 0 72px; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: #C6D2DF; font-size: 1.12rem; max-width: 40em; margin-bottom: 0; }
.breadcrumb { font-size: .85rem; color: #88A0B8; margin-bottom: 18px; font-family: 'Poppins', sans-serif; }
.breadcrumb a { color: #88A0B8; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Cards / grids ---------- */
.card-grid { display: grid; gap: 24px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px;
}
.service-card { display: flex; flex-direction: column; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-cool); }
.service-card .ic {
  width: 50px; height: 50px; border-radius: 12px; flex: none;
  background: var(--navy-tint); color: var(--navy);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.service-card.flagship .ic { background: var(--red); color: #fff; }
.service-card .ic svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--slate); font-size: .98rem; margin-bottom: 0; }
.flag-tag {
  align-self: flex-start; font-family: 'Poppins', sans-serif; font-size: .68rem;
  font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--red); background: #FCEBEA; padding: 4px 10px; border-radius: 20px;
  margin-bottom: 14px;
}

/* ---------- Segment cards (Who we serve) ---------- */
.segment-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  transition: transform .16s ease, box-shadow .16s ease;
}
.segment-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.segment-card h3 { font-size: 1.04rem; margin-bottom: 6px; display: flex; align-items: baseline; gap: 8px; }
.segment-card h3::before {
  content: "+"; flex: none; color: var(--red);
  font-family: 'Poppins', sans-serif; font-weight: 700;
}
.segment-card p { font-size: .9rem; color: var(--slate); margin-bottom: 0; }

/* ---------- Portrait / bio ---------- */
.bio-split { display: grid; grid-template-columns: .82fr 1.18fr; gap: 48px; align-items: start; }
.portrait {
  background: var(--navy-tint); border: 1px solid var(--border-cool);
  border-radius: var(--radius-lg); aspect-ratio: 4 / 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px; color: var(--slate);
}
.portrait svg { width: 52px; height: 52px; color: var(--navy); opacity: .32; margin-bottom: 14px; }
.portrait .ph-label { font-size: .85rem; }
.portrait.has-photo { padding: 0; overflow: hidden; }
.portrait.has-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; display: block; }
.cred-box { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 28px; margin-top: 24px; }
.cred-box h3 { font-size: 1.05rem; margin-bottom: 12px; }
@media (max-width: 940px) {
  .bio-split { grid-template-columns: 1fr; gap: 34px; }
  .portrait { max-width: 320px; }
}

/* ---------- Problem list ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 32px; }
.problem-item { display: flex; gap: 14px; align-items: flex-start; }
.problem-item .mk {
  flex: none; width: 24px; height: 24px; border-radius: 6px;
  background: #FCEBEA; color: var(--red);
  display: flex; align-items: center; justify-content: center; font-weight: 700; margin-top: 3px;
}
.problem-item p { margin-bottom: 0; color: var(--slate); }
.problem-item strong { color: var(--ink); }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.stat { text-align: center; padding: 8px; }
.stat .fig {
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: clamp(2.4rem, 4.4vw, 3.1rem); color: var(--white); line-height: 1;
}
.stat .fig .plus { color: var(--red); }
.stat .lbl { color: #C6D2DF; font-size: .98rem; margin-top: 10px; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step { position: relative; }
.process-step .step-n {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.process-step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.process-step p { color: var(--slate); font-size: .96rem; margin-bottom: 0; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-panel {
  background: var(--navy); border-radius: var(--radius-lg); padding: 40px; color: #fff;
}
.split-panel h3 { color: #fff; }
.check-list li { display: flex; gap: 12px; padding: 9px 0; color: var(--slate); }
.check-list li::before {
  content: "+"; flex: none; font-family: 'Poppins', sans-serif; font-weight: 700;
  color: var(--red); font-size: 1.15rem; line-height: 1.4;
}
.check-list.on-navy li { color: #D5DFEA; }

/* ---------- Testimonials ---------- */
.quote-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
}
.quote-card .mark { font-family: 'Poppins', sans-serif; font-size: 2.6rem; color: var(--red); line-height: .6; }
.quote-card blockquote { font-size: 1.05rem; color: var(--ink); margin: 14px 0 20px; }
.quote-card .who { display: flex; align-items: center; gap: 12px; }
.quote-card .who .av {
  width: 42px; height: 42px; border-radius: 50%; background: var(--navy-tint);
  flex: none; display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-weight: 600; font-family: 'Poppins', sans-serif;
}
.quote-card .who .nm { font-weight: 600; color: var(--navy); font-size: .95rem; }
.quote-card .who .rl { color: var(--slate); font-size: .85rem; }
.placeholder-note {
  background: #FFF8E6; border: 1px dashed #E3C766; color: #8A6D1F;
  border-radius: var(--radius); padding: 12px 16px; font-size: .88rem; margin-top: 22px;
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; text-align: center; padding: 76px 0; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #C6D2DF; max-width: 40em; margin: 0 auto 28px; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--navy-tint); border-radius: var(--radius-lg); padding: 44px; text-align: center; }
.newsletter h3 { font-size: 1.5rem; margin-bottom: 8px; }
.newsletter p { color: var(--slate); margin-bottom: 22px; }
.newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; padding: 13px 16px; border: 1px solid var(--border-cool);
  border-radius: var(--radius); font-family: inherit; font-size: .96rem; background: #fff;
}
.newsletter-form input:focus { outline: 2px solid var(--navy); outline-offset: 1px; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: 'Poppins', sans-serif; font-weight: 500; font-size: .92rem; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--border-cool);
  border-radius: var(--radius); font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .85rem; color: var(--slate); margin-top: 6px; }

/* ---------- Contact info ---------- */
.contact-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .ic {
  width: 44px; height: 44px; border-radius: 10px; flex: none;
  background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center;
}
.contact-item .ic svg { width: 21px; height: 21px; }
.contact-item .lbl { font-family: 'Poppins', sans-serif; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--slate); }
.contact-item .val { font-weight: 500; color: var(--navy); }
.contact-item .val a { color: var(--navy); }
.contact-item .val a:hover { color: var(--red); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #AEBED0; padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr; gap: 44px; padding-bottom: 46px; }
.footer-brand img { height: 38px; margin-bottom: 16px; }
.footer-brand p { font-size: .95rem; color: #9DAFC2; max-width: 30em; }
.footer-col h4 { color: #fff; font-size: .92rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #AEBED0; font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-contact div { margin-bottom: 10px; font-size: .95rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: #7E91A6; }

/* ---------- Misc ---------- */
.lead { font-size: 1.14rem; color: var(--slate); }
.prose p { color: var(--slate); }
.prose p:last-child { margin-bottom: 0; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.divider-plus { color: var(--red); font-weight: 700; text-align: center; font-size: 1.4rem; margin: 0 0 8px; font-family: 'Poppins',sans-serif; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .cols-3, .cols-4, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 64px 0; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 84px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0;
    display: none; box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 24px; }
  .main-nav a.active { border-bottom: 0; color: var(--red); }
  .main-nav a.nav-cta { margin: 10px 24px; text-align: center; }
  .cols-3, .cols-2, .cols-4, .process-grid, .problem-grid, .stats-grid,
  .field-row, .footer-inner { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .newsletter, .form-card, .split-panel, .hero-card { padding: 28px; }
  .stats-grid { gap: 28px; }
  .footer-bottom .container { flex-direction: column; }
}
