/* ============================================================
   HelpWell Works — Design Tokens
   Navy #17253D / Green #4F6B4A, Poppins + Inter
   ============================================================ */

:root {
  --navy: #17253D;
  --navy-deep: #0E1826;
  --green: #4F6B4A;
  --green-deep: #3B5137;
  --green-tint: #EEF2EC;
  --cream: #FAFAF8;
  --white: #FFFFFF;
  --ink: #232B33;
  --ink-soft: #5B6470;
  --line: #DCE2DD;
  --line-soft: #E9ECE7;

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max-w: 1180px;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(23,37,61,0.06), 0 1px 1px rgba(23,37,61,0.04);
  --shadow-md: 0 8px 24px rgba(23,37,61,0.08), 0 2px 6px rgba(23,37,61,0.06);
  --shadow-lg: 0 24px 60px rgba(23,37,61,0.14);
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 0.5em 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-weight: 700; }
h2 { font-weight: 700; }
h3 { font-weight: 600; }

p { margin: 0 0 1em 0; color: var(--ink-soft); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Eyebrow: the logo's "flanking line" motif, reused sitewide ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.32em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  height: 1.5px;
  width: 34px;
  background: var(--green);
  display: inline-block;
}
.eyebrow.left { justify-content: flex-start; }
.eyebrow.left::after { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 15px 28px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color .15s ease;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-1px); }
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
.btn-arrow { transition: transform 0.15s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
}
.nav-logo img { height: 46px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  color: var(--navy);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color .15s ease;
}
.nav-links a:hover, .nav-links a.active { border-color: var(--green); color: var(--green-deep); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--navy);
  display: block;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel {
  display: none;
  flex-direction: column;
  padding: 10px 28px 26px;
  border-top: 1px solid var(--line-soft);
  background: var(--white);
}
.mobile-panel.open { display: flex; }
.mobile-panel a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--navy);
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-panel .mobile-phone {
  padding: 16px 0 6px;
  font-weight: 600;
  color: var(--green-deep);
}
.mobile-panel .btn { margin-top: 14px; justify-content: center; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .btn-primary { padding: 11px 18px; font-size: 14px; }
  .nav-phone { display: none; }
  .nav-toggle { display: flex; }
}


/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  overflow: hidden;
  padding: 92px 0 100px;
}
.hero-icon-wm {
  position: absolute;
  right: -90px;
  top: -60px;
  width: 520px;
  opacity: 0.05;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.hero h1 {
  font-size: clamp(38px, 5vw, 60px);
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--green); }
.hero-sub {
  font-size: 18.5px;
  max-width: 480px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-tagline-strip {
  display: flex;
  gap: 28px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}
.hero-tagline-strip span { display: flex; align-items: center; gap: 10px; }
.hero-tagline-strip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: inline-block; }

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 40px 36px;
  width: 100%;
  max-width: 400px;
}
.hero-card img.icon-lg { width: 84px; margin: 0 auto 22px; }
.hero-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  text-align: center;
  color: var(--navy);
  font-size: 20px;
  margin-bottom: 8px;
}
.hero-card-sub { text-align: center; font-size: 14.5px; margin-bottom: 26px; }
.hero-card-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.hero-card-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--ink); }
.hero-card-list li::before {
  content: "";
  flex-shrink: 0;
  margin-top: 6px;
  width: 8px; height: 8px;
  background: var(--green);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-tagline-strip { flex-wrap: wrap; gap: 14px 22px; }
  .hero-visual { order: -1; }
}

/* ---------- Section base ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-alt { background: var(--green-tint); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.78); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); }

/* ---------- Two-path split (signature element) ---------- */
.path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.path-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 36px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.path-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--line); }
.path-card .path-kicker {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.path-card.onsite .path-kicker { color: var(--green); }
.path-card.virtual .path-kicker { color: var(--navy); }
.path-card h3 { font-size: 25px; margin-bottom: 10px; }
.path-card p.desc { margin-bottom: 22px; }
.path-list { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.path-list li { display: flex; gap: 10px; font-size: 15px; color: var(--ink); align-items: flex-start; }
.path-list li::before { content: "—"; color: var(--green); flex-shrink: 0; font-weight: 600; }
.path-card .area-tag {
  display: inline-block;
  font-size: 12.5px;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--green-tint);
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 22px;
}
.path-card.virtual .area-tag { background: rgba(23,37,61,0.06); }

@media (max-width: 800px) {
  .path-grid { grid-template-columns: 1fr; }
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.step { text-align: center; padding: 0 12px; }
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid var(--green);
  color: var(--green);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 14.5px; }

@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Values grid (about) ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.value-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 22px;
  background: var(--white);
}
.value-card .mark { width: 34px; height: 4px; background: var(--green); margin-bottom: 18px; }
.value-card h3 { font-size: 17px; margin-bottom: 8px; }
.value-card p { font-size: 14px; margin: 0; }

@media (max-width: 900px) {
  .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* ---------- Mission quote strip ---------- */
.mission-strip { text-align: center; }
.mission-strip blockquote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.4;
  max-width: 780px;
  margin: 0 auto 22px;
  color: var(--white);
}
.mission-strip cite {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0.9;
}

/* ---------- Team / contact cards ---------- */
.people-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.person-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px;
}
.person-card .initial {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.person-card h3 { font-size: 20px; margin-bottom: 2px; }
.person-card .role { font-size: 13.5px; color: var(--green-deep); font-family: var(--font-display); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }
.person-card .contact-line { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--navy); font-weight: 600; margin-bottom: 8px; font-family: var(--font-display); }
.person-card p.note { font-size: 14px; margin-top: 14px; margin-bottom: 0; }

@media (max-width: 700px) { .people-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  border-radius: 20px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); font-size: 28px; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.75); margin: 0; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.72);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo img { height: 40px; margin-bottom: 16px; }
.footer-grid p { color: rgba(255,255,255,0.6); font-size: 14px; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col li { font-size: 14.5px; color: rgba(255,255,255,0.68); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--navy);
  padding: 74px 0 64px;
  text-align: center;
}
.page-hero .eyebrow { color: #9FB79A; }
.page-hero .eyebrow::before, .page-hero .eyebrow::after { background: #9FB79A; }
.page-hero h1 { color: var(--white); font-size: clamp(32px, 4.2vw, 46px); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto; font-size: 17px; }

/* ---------- Service detail blocks ---------- */
.service-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--line-soft);
}
.service-block:last-child { border-bottom: none; }
.service-block.reverse { grid-template-columns: 1.1fr 0.9fr; }
.service-block.reverse .service-media { order: 2; }
.service-media {
  background: var(--green-tint);
  border-radius: 18px;
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}
.service-media.navy-tint { background: rgba(23,37,61,0.05); }
.service-media img { width: 120px; opacity: 0.92; }
.service-block h3 { font-size: 27px; margin-bottom: 14px; }
.service-block .tag-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.service-tag {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 13px;
  border-radius: 20px;
  background: var(--green-tint);
  color: var(--green-deep);
}
.service-block.reverse .service-tag { background: rgba(23,37,61,0.06); color: var(--navy); }
.service-block ul.detail-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.service-block ul.detail-list li { font-size: 15px; color: var(--ink); display: flex; gap: 10px; }
.service-block ul.detail-list li::before { content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0; }

@media (max-width: 860px) {
  .service-block, .service-block.reverse { grid-template-columns: 1fr; }
  .service-block.reverse .service-media { order: 0; }
}

/* ---------- Pricing note ---------- */
.pricing-note {
  border: 1.5px dashed var(--green);
  border-radius: 14px;
  padding: 30px 34px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.pricing-note h3 { font-size: 18px; margin-bottom: 4px; }
.pricing-note p { margin: 0; font-size: 14.5px; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px;
}
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 7px; }
.form-row label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13.5px;
  color: var(--navy);
}
.form-row input, .form-row select, .form-row textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--cream);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
}
.form-row textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }

.area-block {
  background: var(--green-tint);
  border-radius: 16px;
  padding: 30px 32px;
  margin-top: 28px;
}
.area-block h4 { font-size: 15px; margin-bottom: 10px; font-family: var(--font-display); color: var(--navy); }
.area-block p { margin: 0; font-size: 14.5px; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* fade-up on load */
.fade-up {
  animation: fadeUp 0.7s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Service pictograms ---------- */
.icon-service { width: 74px; height: 74px; }
.service-media .icon-service { color: var(--green); }
.service-media.navy-tint .icon-service { color: var(--navy); }
