/* ============================================================
   Fieldwork HR — Main Stylesheet
   fieldworkhr.com
   Colors: Navy #1B2A4A | Green #2ECC71 | Blue #7AAAC8
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy:       #1B2A4A;
  --navy-dark:  #142038;
  --navy-mid:   #243B6E;
  --navy-grid:  #1F3060;
  --green:      #2ECC71;
  --green-dark: #27AE60;
  --blue:       #7AAAC8;
  --text-dark:  #1B2A4A;
  --text-mid:   #4a5568;
  --text-light: #718096;
  --bg-light:   #f7f9fc;
  --white:      #ffffff;
  --border:     #e2e8f0;
  --radius:     8px;
  --shadow:     0 2px 8px rgba(27,42,74,0.08);
  --shadow-md:  0 4px 16px rgba(27,42,74,0.12);
  --shadow-lg:  0 8px 30px rgba(27,42,74,0.18);
  --transition: all 0.2s ease;
  --max-width:  1100px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
}

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

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

/* ── Typography ─────────────────────────────── */
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--text-mid); line-height: 1.7; }

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  font-family: inherit;
}
.btn-primary {
  background: var(--green);
  color: var(--navy);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(46,204,113,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-green-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-green-outline:hover {
  background: var(--green);
  color: var(--navy);
}

/* ── Navigation ──────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main { font-size: 1.25rem; font-weight: 800; color: var(--navy); letter-spacing: -0.3px; }
.logo-accent { color: var(--green); }
.logo-sub { font-size: 0.6rem; font-weight: 600; color: var(--blue); letter-spacing: 2px; text-transform: uppercase; margin-top: 1px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.nav-cta { margin-left: 8px; padding: 10px 22px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

/* ── Hero ────────────────────────────────────── */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 100px 24px 84px;
  position: relative;
  overflow: hidden;
}
.hero-accent-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--green);
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31,48,96,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,48,96,0.5) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  max-width: 700px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(46,204,113,0.12);
  border: 1px solid rgba(46,204,113,0.35);
  color: var(--green);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 .accent { color: var(--green); }
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}
.stat-num { font-size: 2rem; font-weight: 800; color: var(--green); line-height: 1; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-top: 4px; }

/* ── Page Header (inner pages) ───────────────── */
.page-header {
  background: var(--navy);
  padding: 60px 24px 52px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--green);
}
.page-header-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31,48,96,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,48,96,0.5) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-header-content {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
}
.page-header h1 { font-size: clamp(1.75rem, 3vw, 2.5rem); color: var(--white); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.72); font-size: 1.05rem; max-width: 540px; }

/* ── Sections ────────────────────────────────── */
.section { padding: 84px 24px; }
.section-light { background: var(--bg-light); }
.section-navy { background: var(--navy); }
.section-navy h2, .section-navy h3, .section-navy h4 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.72); }

.section-header { text-align: center; margin-bottom: 56px; }
.eyebrow {
  display: inline-block;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 1.05rem; max-width: 500px; margin: 0 auto; }

/* ── Service Cards (home overview) ───────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.svc-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card:hover::after { transform: scaleX(1); }

.svc-icon {
  width: 50px; height: 50px;
  background: rgba(27,42,74,0.06);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.svc-icon svg { width: 24px; height: 24px; stroke: var(--navy); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.svc-card h3 { margin-bottom: 10px; }
.svc-card > p { font-size: 0.92rem; margin-bottom: 20px; }
.svc-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}
.svc-link:hover { gap: 8px; }

/* ── Why Section ─────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.why-item { text-align: center; }
.why-icon {
  width: 68px; height: 68px;
  background: rgba(46,204,113,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.why-icon svg { width: 30px; height: 30px; stroke: var(--green); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.why-item h3 { margin-bottom: 10px; }

/* ── Books ───────────────────────────────────── */
.books-row {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
}
.book-card { text-align: center; max-width: 180px; }
.book-cover-mock {
  width: 140px; height: 200px;
  background: var(--navy);
  border-radius: 4px;
  margin: 0 auto 16px;
  box-shadow: 4px 6px 20px rgba(0,0,0,0.25);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
}
.book-cover-mock::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--green);
}
.book-cover-mock .book-title {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 8px;
}
.book-cover-mock .book-sub {
  color: var(--blue);
  font-size: 0.6rem;
  text-align: center;
  line-height: 1.4;
}
.book-card h4 { margin-bottom: 4px; font-size: 0.92rem; }
.book-card p { font-size: 0.82rem; }
.amazon-btn {
  display: inline-block;
  background: #FF9900;
  color: #111;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 10px;
  transition: var(--transition);
}
.amazon-btn:hover { background: #e68900; transform: translateY(-1px); }

/* ── CTA Banner ──────────────────────────────── */
.cta-banner {
  background: var(--navy);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--green);
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { margin-bottom: 36px; font-size: 1.05rem; max-width: 460px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Services Page ───────────────────────────── */
.svc-section {
  padding: 64px 24px;
  border-bottom: 1px solid var(--border);
}
.svc-section:last-of-type { border-bottom: none; }
.svc-section-inner { max-width: var(--max-width); margin: 0 auto; }
.svc-section-head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
}
.svc-section-icon {
  width: 56px; height: 56px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.svc-section-icon svg { width: 28px; height: 28px; stroke: var(--green); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.svc-section-head h2 { margin-bottom: 8px; font-size: 1.75rem; }
.svc-section-head p { max-width: 600px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.price-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}
.price-card:hover { border-color: var(--green); box-shadow: var(--shadow-md); }
.price-card.featured {
  background: var(--navy);
  border-color: var(--navy);
}
.price-card.featured h3,
.price-card.featured h4,
.price-card.featured .price-amount { color: var(--white); }
.price-card.featured p { color: rgba(255,255,255,0.7); }
.price-card.featured .price-check { color: var(--green); }
.price-card.featured li { color: rgba(255,255,255,0.75); }

.price-label { font-size: 0.78rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.price-card h4 { margin-bottom: 4px; }
.price-card > p { font-size: 0.88rem; margin: 6px 0 0; }
.price-amount {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin: 14px 0 0;
}
.price-amount .price-note { font-size: 0.8rem; font-weight: 500; color: var(--text-light); }
.price-list { margin-top: 14px; }
.price-list li {
  font-size: 0.87rem;
  color: var(--text-mid);
  padding: 3px 0;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.price-check { color: var(--green); font-weight: 700; flex-shrink: 0; }

.note-box {
  background: rgba(46,204,113,0.07);
  border: 1px solid rgba(46,204,113,0.25);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--text-mid);
}
.note-box strong { color: var(--navy); }

/* ── About Page ──────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
}
.about-photo-wrap {
  position: sticky;
  top: 90px;
}
.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
  text-align: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.about-photo::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--green);
}
.about-photo svg { width: 48px; height: 48px; stroke: rgba(255,255,255,0.2); fill: none; stroke-width: 1; }
.about-text h2 { margin-bottom: 20px; }
.about-text p { margin-bottom: 16px; }
.about-text .pull-quote {
  background: rgba(27,42,74,0.04);
  border-left: 4px solid var(--green);
  padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 500;
}
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.about-tag {
  background: rgba(46,204,113,0.1);
  color: var(--navy);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(46,204,113,0.3);
}

/* ── Contact Page ────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}
.contact-info h2 { margin-bottom: 14px; }
.contact-info > p { margin-bottom: 32px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--bg-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.contact-item-icon svg { width: 20px; height: 20px; stroke: var(--navy); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.contact-item h4 { margin-bottom: 2px; font-size: 0.88rem; }
.contact-item p, .contact-item a { font-size: 0.92rem; }
.contact-item a { color: var(--green); }
.contact-item a:hover { text-decoration: underline; }
.response-note {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--text-mid);
}

.contact-form-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form-box h3 { margin-bottom: 6px; }
.contact-form-box > p { font-size: 0.9rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46,204,113,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.8rem; color: var(--text-light); margin-top: 10px; }

/* ── Footer ──────────────────────────────────── */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.65);
  padding: 64px 24px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto 48px;
}
.footer-brand .logo-main { font-size: 1.2rem; }
.footer-brand p { margin-top: 14px; font-size: 0.88rem; max-width: 260px; line-height: 1.7; }
.footer-brand .footer-email { color: var(--green); font-size: 0.88rem; display: block; margin-top: 12px; }
.footer-col h4 { color: var(--white); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 0.88rem; color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-bottom p { font-size: 0.82rem; }
.footer-bottom a { color: var(--green); }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-wrap { position: static; max-width: 220px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; gap: 14px; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); padding: 20px 24px 24px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 64px 24px 56px; }
  .hero-stats { gap: 28px; margin-top: 48px; }
  .section { padding: 60px 24px; }
  .contact-form-box { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
  .svc-section-head { flex-direction: column; gap: 14px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
}
