/* ============================================
   PEO CLARIFY — MASTER STYLESHEET
   Brand: Independent PEO Advisory
   ============================================ */

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

/* ── CSS Variables ── */
:root {
  --navy:       #0B2D59;
  --navy-dark:  #071D3A;
  --navy-mid:   #1A4A8A;
  --teal:       #0D7377;
  --teal-light: #E0F5F5;
  --gold:       #C8860A;
  --gold-light: #FEF3C7;
  --gold-pale:  #FFFBEB;
  --off-white:  #FAFAF8;
  --white:      #FFFFFF;
  --gray-50:    #F8F9FA;
  --gray-100:   #F1F3F5;
  --gray-200:   #E9ECEF;
  --gray-400:   #ADB5BD;
  --gray-600:   #6C757D;
  --gray-800:   #343A40;
  --text:       #1A1A2E;
  --text-light: #4A5568;

  --font-head:  'Fraunces', Georgia, serif;
  --font-body:  'Plus Jakarta Sans', system-ui, sans-serif;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(11,45,89,.10);
  --shadow-lg:  0 12px 40px rgba(11,45,89,.14);
  --radius:     10px;
  --radius-lg:  18px;
  --max-w:      1160px;
  --transition: .22s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--off-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { font-size: 1.05rem; color: var(--text-light); }
.lead { font-size: 1.2rem; line-height: 1.7; color: var(--text-light); }

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }

/* ── Navigation ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-md);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: var(--max-w); margin: 0 auto;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.5rem; font-weight: 700;
  color: var(--white); letter-spacing: -.02em;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: .93rem; font-weight: 500;
  color: rgba(255,255,255,.8);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--gold); color: var(--white) !important;
  padding: 9px 22px; border-radius: 6px;
  font-weight: 600; font-size: .9rem;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover { background: #A36D05; transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; }
.mobile-menu {
  display: none; background: var(--navy-dark);
  padding: 20px 24px; flex-direction: column; gap: 16px;
}
.mobile-menu a { color: rgba(255,255,255,.85); font-size: 1rem; font-weight: 500; }
.mobile-menu .nav-cta { text-align: center; display: block; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; border-radius: 8px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  cursor: pointer; border: none; transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--gold); color: var(--white);
  box-shadow: 0 4px 14px rgba(200,134,10,.35);
}
.btn-primary:hover { background: #A36D05; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,134,10,.4); }
.btn-secondary {
  background: transparent; color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: white; }
.btn-white {
  background: var(--white); color: var(--navy);
}
.btn-white:hover { background: var(--gold-light); }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-sm { padding: 9px 20px; font-size: .9rem; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, #133A6B 100%);
  padding: 96px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(200,134,10,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 420px;
  gap: 56px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,134,10,.18); border: 1px solid rgba(200,134,10,.4);
  color: var(--gold); padding: 6px 14px; border-radius: 100px;
  font-size: .85rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; margin-bottom: 20px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lead { color: rgba(255,255,255,.78); margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  display: flex; gap: 24px; margin-top: 40px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .88rem; color: rgba(255,255,255,.65); font-weight: 500;
}
.trust-item::before { content: '✓'; color: var(--gold); font-weight: 700; }

/* Hero Card */
.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  backdrop-filter: blur(8px);
}
.hero-card-title {
  font-family: var(--font-head);
  color: white; font-size: 1.1rem; font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.hero-card-list { display: flex; flex-direction: column; gap: 14px; }
.hero-card-item {
  display: flex; align-items: flex-start; gap: 12px;
}
.hero-card-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(200,134,10,.2); border: 1px solid rgba(200,134,10,.35);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1rem;
}
.hero-card-text strong { display: block; color: white; font-size: .9rem; font-weight: 600; margin-bottom: 2px; }
.hero-card-text span { color: rgba(255,255,255,.6); font-size: .83rem; }

/* ── Section Headers ── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .eyebrow {
  display: inline-block; color: var(--gold);
  font-size: .82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 580px; margin: 0 auto; }

/* ── Steps ── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step-card {
  background: white; border-radius: var(--radius-lg);
  padding: 36px 28px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  position: relative; transition: transform var(--transition), box-shadow var(--transition);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-num {
  font-family: var(--font-head); font-size: 3rem;
  font-weight: 700; color: var(--gold-light);
  line-height: 1; margin-bottom: 16px;
  -webkit-text-stroke: 2px var(--gold);
}
.step-card h3 { margin-bottom: 10px; }
.step-card p { font-size: .97rem; }

/* ── Comparison Table ── */
.compare-table { width: 100%; border-collapse: collapse; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.compare-table th {
  padding: 18px 24px; text-align: left;
  font-family: var(--font-body); font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}
.compare-table th:first-child { background: var(--gray-100); color: var(--gray-600); }
.compare-table th.good { background: var(--navy); color: white; }
.compare-table th.bad { background: var(--gray-600); color: white; }
.compare-table td { padding: 16px 24px; border-top: 1px solid var(--gray-200); font-size: .97rem; vertical-align: top; }
.compare-table tr:nth-child(odd) td { background: white; }
.compare-table tr:nth-child(even) td { background: var(--gray-50); }
.compare-table td.good-cell { color: var(--teal); font-weight: 500; }
.compare-table td.bad-cell { color: var(--gray-600); }

/* ── Cards ── */
.card-grid { display: grid; gap: 24px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: white; border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-icon { font-size: 2rem; margin-bottom: 16px; }
.card h3 { margin-bottom: 10px; }

/* ── Industry Tiles ── */
.industry-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.industry-tile {
  background: white; border-radius: var(--radius);
  padding: 28px 24px; text-align: center;
  border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm);
  transition: all var(--transition); cursor: pointer;
}
.industry-tile:hover {
  border-color: var(--navy); background: var(--navy);
  transform: translateY(-3px); box-shadow: var(--shadow-lg);
}
.industry-tile:hover h4,
.industry-tile:hover p { color: white; }
.industry-icon { font-size: 2.2rem; margin-bottom: 12px; }
.industry-tile h4 { color: var(--navy); margin-bottom: 6px; transition: color var(--transition); }
.industry-tile p { font-size: .88rem; transition: color var(--transition); }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-radius: var(--radius-lg); padding: 60px 48px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200,134,10,.2) 0%, transparent 65%);
  pointer-events: none;
}
.cta-banner h2 { color: white; margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,.72); max-width: 560px; margin: 0 auto 32px; font-size: 1.1rem; }
.cta-note { font-size: .85rem !important; color: rgba(255,255,255,.5) !important; margin-top: 14px !important; }

/* ── FAQ / Accordion ── */
.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 0;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-weight: 600; color: var(--navy); font-size: 1.05rem;
  font-family: var(--font-head);
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
details[open] .faq-q { color: var(--gold); }
.faq-a { padding: 12px 0 4px; font-size: .97rem; color: var(--text-light); line-height: 1.7; }

/* ── About / Bio ── */
.bio-grid { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
.bio-card {
  background: white; border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200); text-align: center;
}
.bio-avatar {
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--navy); margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 2.8rem;
  color: var(--gold); font-weight: 700;
}
.bio-name { font-family: var(--font-head); font-size: 1.25rem; color: var(--navy); margin-bottom: 4px; font-weight: 700; }
.bio-title { font-size: .9rem; color: var(--gold); font-weight: 600; margin-bottom: 16px; }
.bio-stat { font-size: .85rem; color: var(--text-light); padding: 8px 0; border-top: 1px solid var(--gray-100); }
.bio-stat strong { color: var(--navy); }

/* ── Stat row ── */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; }
.stat-num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--navy); line-height: 1; }
.stat-label { font-size: .88rem; color: var(--text-light); margin-top: 6px; }

/* ── Calendly section ── */
.calendly-wrapper {
  background: white; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  min-height: 700px;
}

/* ── Assessment form fallback ── */
.form-card { background: white; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); }
.form-group { margin-bottom: 22px; }
.form-label { display: block; font-weight: 600; margin-bottom: 7px; font-size: .93rem; color: var(--navy); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px; border-radius: 8px;
  border: 1.5px solid var(--gray-200); font-family: var(--font-body);
  font-size: 1rem; color: var(--text);
  transition: border-color var(--transition);
  background: var(--off-white);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--navy);
  background: white;
}
.form-textarea { height: 100px; resize: vertical; }

/* ── Footer ── */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.65);
  padding: 56px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .nav-logo { margin-bottom: 12px; font-size: 1.3rem; }
.footer-brand p { font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.5); max-width: 240px; }
.footer-col h5 {
  font-family: var(--font-body); font-size: .82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: rgba(255,255,255,.4); margin-bottom: 16px;
}
.footer-col a { display: block; color: rgba(255,255,255,.65); font-size: .9rem; margin-bottom: 9px; transition: color var(--transition); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: .83rem; color: rgba(255,255,255,.35); }
.footer-ima {
  display: flex; align-items: center; gap: 10px;
  font-size: .83rem; color: rgba(255,255,255,.4);
}
.ima-badge {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  padding: 4px 10px; border-radius: 4px; font-size: .78rem;
  color: rgba(255,255,255,.5);
}

/* ── Utility ── */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.bg-gray { background: var(--gray-50); }
.bg-white { background: var(--white); }
.bg-navy { background: var(--navy); }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }

/* ── Highlight box ── */
.highlight-box {
  background: var(--gold-pale); border: 1px solid var(--gold);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius); padding: 20px 24px;
}
.highlight-box p { color: var(--text); }

/* ── Checklist ── */
.checklist { list-style: none; }
.checklist li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; font-size: .97rem; color: var(--text-light);
  border-bottom: 1px solid var(--gray-100);
}
.checklist li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bio-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .compare-table { font-size: .88rem; }
  .compare-table td, .compare-table th { padding: 12px 16px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu.open { display: flex; }
  /* 5-step grid collapses to 2 columns on tablet */
  .steps-five { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
  .industry-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 64px 0 56px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
