/*
Theme Name: RecruitBest
Theme URI: https://recruitbest.org/
Author: RecruitBest LLC
Description: A professional custom theme for RecruitBest LLC, a U.S. executive search firm. Includes homepage, services, employer and candidate pages, process, about, contact, testimonials, privacy and terms templates.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: recruitbest
*/

/* ============ Design tokens ============ */
:root {
  --navy: #0F2A44;
  --navy-dark: #0A1E33;
  --navy-light: #1B3A5C;
  --gold: #C9A227;
  --gold-dark: #A8861D;
  --cream: #F7F5F0;
  --white: #FFFFFF;
  --text: #1A1A1A;
  --text-muted: #5A6270;
  --border: #E4E0D8;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(15, 42, 68, 0.10);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-dark); }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--navy); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 0.6em; }
h3 { font-size: 1.25rem; margin-bottom: 0.4em; }
p { margin-bottom: 1em; color: var(--text); }
.lead { font-size: 1.2rem; color: var(--text-muted); max-width: 640px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p, .section-navy .lead { color: rgba(255,255,255,0.82); }

.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-dark); margin-bottom: 12px;
}
.section-navy .eyebrow { color: var(--gold); }

/* ============ Buttons ============ */
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; border: 2px solid transparent;
  cursor: pointer; transition: all .2s ease; text-align: center;
}
.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--cream); }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; height: 170px; gap: 16px; }
.site-logo { font-size: 1.4rem; font-weight: 800; color: #111; letter-spacing: -0.02em; display: inline-flex; align-items: flex-end; gap: 0; margin-right: auto; flex-shrink: 0; padding-bottom: 18px; }
.site-logo .logo-text { color: #111; margin-left: -12px; }
.site-logo .logo-text span { color: var(--gold-dark); }
.site-logo img { height: 150px !important; width: auto !important; max-width: 150px; object-fit: contain; display: block; border-radius: 50%; }
.site-logo .custom-logo { height: 150px !important; width: auto !important; max-width: 150px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 28px; list-style: none; align-items: center; margin: 0; padding: 0; }
.main-nav a { font-weight: 600; font-size: 0.98rem; color: var(--navy); }
.main-nav a:hover { color: var(--gold-dark); }
.header-cta { padding: 10px 22px; font-size: 0.92rem; }
.menu-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--navy); }

/* ============ Hero ============ */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: #fff; padding: 110px 0 100px; position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; right: -120px; top: -120px; width: 480px; height: 480px;
  border-radius: 50%; background: radial-gradient(circle, rgba(201,162,39,.22) 0%, transparent 70%);
}
.hero h1 { color: #fff; margin-bottom: 18px; max-width: 720px; }
.hero .lead { color: rgba(255,255,255,.85); font-size: 1.25rem; margin-bottom: 34px; max-width: 620px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-inner { position: relative; z-index: 1; }

/* ============ Page hero (interior) ============ */
.page-hero { background: var(--navy); color: #fff; padding: 40px 0 36px; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero .lead { color: rgba(255,255,255,.8); }

/* ============ Cards & grids ============ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow); transition: transform .2s ease;
}
.card:hover { transform: translateY(-4px); }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--navy);
  color: var(--gold); display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 800; margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.98rem; margin-bottom: 0; }

/* ============ Value props ============ */
.value-num {
  font-size: 2rem; font-weight: 800; color: var(--gold-dark); margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}

/* ============ Process steps ============ */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 28px 0;
  border-bottom: 1px solid var(--border); align-items: start;
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.3rem;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--text-muted); margin-bottom: 0; }

/* ============ Testimonials ============ */
.testimonial {
  background: #fff; border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 30px; box-shadow: var(--shadow); margin-bottom: 24px;
}
.testimonial blockquote { font-size: 1.1rem; font-style: italic; color: var(--navy); margin-bottom: 12px; }
.testimonial cite { font-style: normal; font-weight: 700; font-size: 0.95rem; color: var(--text-muted); }
.testimonial-placeholder { border-left-color: var(--border); background: var(--cream); }

/* ============ CTA band ============ */
.cta-band {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: 18px; padding: 56px 48px; text-align: center; color: var(--navy-dark);
  box-shadow: var(--shadow);
}
.cta-band h2 { color: var(--navy-dark); margin-bottom: 12px; }
.cta-band p { color: rgba(15,42,68,.8); max-width: 600px; margin: 0 auto 28px; }

/* ============ Forms ============ */
.rb-form { max-width: 640px; }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 1rem; font-family: inherit; background: #fff;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15,42,68,.08);
}
.form-row textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: .9rem; color: var(--text-muted); }
.form-success { background: #EAF7EE; border: 1px solid #9FD3AC; padding: 18px 22px; border-radius: 8px; color: #1E6B34; }
.form-error { background: #FDECEC; border: 1px solid #F5A3A3; padding: 18px 22px; border-radius: 8px; color: #A12A2A; }

/* ============ Contact info ============ */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.contact-card { text-align: center; }
.contact-card .card-icon { margin: 0 auto 16px; }

/* ============ Footer ============ */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.75); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand { font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: 14px; }
.footer-brand span { color: var(--gold); }
.site-footer p { font-size: .95rem; color: rgba(255,255,255,.65); }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.7); font-size: .95rem; }
.footer-links a:hover { color: var(--gold); }
.footer-contact li { margin-bottom: 10px; font-size: .95rem; list-style: none; }
.footer-contact a { color: rgba(255,255,255,.7); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: .88rem; color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.6); }
.social-row { display: flex; gap: 12px; margin-top: 18px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: .85rem; font-weight: 700;
}
.social-row a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); }

/* ============ Blog ============ */
.post-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.post-card-body { padding: 28px; }
.post-meta { font-size: .85rem; color: var(--text-muted); margin-bottom: 10px; }
.post-card h3 { margin-bottom: 10px; }
.post-card h3 a { color: var(--navy); }
.entry-content p { margin-bottom: 1.2em; }
.entry-content h2, .entry-content h3 { margin: 1.6em 0 .6em; }

/* ============ FAQ ============ */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: #fff; border: none; padding: 20px 24px;
  font-size: 1.05rem; font-weight: 700; color: var(--navy); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; font-family: inherit;
}
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--gold-dark); }
.faq-item.open .faq-q::after { content: '–'; }
.faq-a { display: none; padding: 0 24px 22px; color: var(--text-muted); }
.faq-item.open .faq-a { display: block; }

/* ============ Utilities ============ */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; }
.mb-2 { margin-bottom: 16px; } .mb-4 { margin-bottom: 32px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.check-list { list-style: none; }
.check-list li { padding: 10px 0 10px 36px; position: relative; border-bottom: 1px solid var(--border); }
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: '✓'; position: absolute; left: 0; top: 10px; width: 26px; height: 26px;
  background: var(--navy); color: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 800;
}

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .contact-cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .main-nav { display: none; position: absolute; top: 170px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 12px 24px 20px; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 14px; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .grid-2, .grid-3, .grid-4, .contact-cards { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero { padding: 72px 0 64px; }
  .cta-band { padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- Jobs ---------- */
.jobs-list { display: grid; gap: 20px; }
.job-card { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: #fff; border: 1px solid #e8e4da; border-radius: 12px; padding: 24px 28px; }
.job-card h2 { margin: 0 0 8px; font-size: 1.3rem; }
.job-card h2 a { color: var(--navy); text-decoration: none; }
.job-card h2 a:hover { color: var(--gold-dark); }
.job-card p { margin: 0 0 6px; color: #555; }
.job-meta { font-size: 0.85rem; color: #888; }
.job-card-cta { flex-shrink: 0; }
.job-detail { max-width: 760px; }
.job-detail h2, .job-detail h3 { margin-top: 1.8em; }
.job-apply-box { background: var(--cream, #faf8f3); border: 1px solid #e8e4da; border-radius: 12px; padding: 28px; margin-top: 36px; max-width: 760px; }
.job-apply-box h2 { margin-top: 0; }
@media (max-width: 640px) {
  .job-card { flex-direction: column; align-items: flex-start; }
}

/* ---------- Founder ---------- */
.founder-card .founder-photo { width: 220px; height: 220px; object-fit: cover; border-radius: 50%; display: block; margin-bottom: 20px; border: 3px solid var(--gold, #c9a227); }
.founder-card p { margin-bottom: 14px; }

/* ---------- FAQ ---------- */
.faq-group { margin-bottom: 48px; }
.faq-group h2 { margin-bottom: 24px; }
.faq-item { background: #fff; border: 1px solid #e8e4da; border-radius: 12px; padding: 24px 28px; margin-bottom: 16px; }
.faq-item h3 { margin: 0 0 10px; font-size: 1.1rem; color: var(--navy); }
.faq-item p { margin: 0; color: #555; }
.faq-item p + p { margin-top: 10px; }

/* ---------- LLC suffix ---------- */
.site-logo .logo-text small, .footer-brand small { font-size: 0.55em; font-weight: 700; letter-spacing: 0.08em; color: inherit; }

/* ---------- About page ---------- */
.narrow-col { max-width: 780px; margin: 0 auto 48px; }
.narrow-col h2 { margin-bottom: 16px; }
.narrow-col p { margin-bottom: 16px; color: #444; }
.founder-strip { display: flex; gap: 24px; align-items: flex-start; max-width: 780px; margin: 0 auto; padding: 28px; background: #fff; border: 1px solid #e8e4da; border-radius: 12px; }
.founder-strip .founder-photo-sm { width: 80px; height: 80px; object-fit: cover; border-radius: 50%; flex-shrink: 0; border: 3px solid var(--gold, #c9a227); }
.founder-strip h3 { margin: 0 0 10px; font-size: 1.15rem; }
.founder-strip .founder-title { font-weight: 400; font-size: 0.95rem; color: #777; }
.founder-strip p { margin: 0; color: #555; font-size: 0.97rem; }
@media (max-width: 600px) { .founder-strip { flex-direction: column; align-items: center; text-align: center; } }

/* ---------- Hero brand line ---------- */
.hero-brand { font-size: 1.6rem; font-weight: 800; color: #fff; margin: 6px 0 4px; letter-spacing: -0.01em; }
.hero-brand span { color: var(--gold); }
