/*
Theme Name: JCS Physician Search
Theme URI: https://www.jcsstaffing.com/
Author: JCS Staffing
Description: A focused, responsive physician search and direct placement website for JCS Staffing.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: jcs-physician-search
*/

:root {
  --ink: #101e3d;
  --ink-soft: #1d3158;
  --blue: #3f6de8;
  --blue-bright: #4d7af0;
  --paper: #f7f7f2;
  --mist: #eef2fa;
  --white: #ffffff;
  --text: #526078;
  --rule: #d8dde6;
  --success: #0c9b68;
  --shadow: 20px 22px 0 rgba(16, 30, 61, 0.08);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: .7rem 1rem;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-shell { overflow: hidden; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 112px 0; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--ink); color: var(--white); }
.section--white { background: var(--white); }
.section--blue { background: var(--blue); color: var(--white); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .22em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--dark .eyebrow, .section--blue .eyebrow { color: #8faeff; }
.section-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 4.5vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.03;
}
.section-copy { margin: 26px 0 0; color: var(--text); max-width: 680px; }
.section--dark .section-copy, .section--blue .section-copy { color: #c3cce0; }

.site-header {
  position: relative;
  z-index: 30;
  background: rgba(250, 250, 246, .98);
  border-top: 4px solid var(--blue);
}
.header-inner {
  display: flex;
  min-height: 118px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.brand { display: inline-flex; width: 178px; height: 104px; align-items: center; overflow: hidden; border-radius: 5px; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.primary-nav a { font-size: .9rem; font-weight: 700; transition: color .2s ease; }
.primary-nav a:hover, .primary-nav a:focus { color: var(--blue); }
.header-cta, .button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid transparent;
  padding: 12px 24px;
  background: var(--ink);
  color: var(--white);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.header-cta:hover, .button:hover { transform: translateY(-2px); }
.button--blue { background: var(--blue); }
.button--white { background: var(--white); color: var(--ink); }
.button--outline { border-color: rgba(255,255,255,.45); background: transparent; }
.menu-toggle { display: none; border: 0; background: none; color: var(--ink); font-weight: 800; }

.hero {
  position: relative;
  min-height: 780px;
  display: grid;
  align-items: center;
  isolation: isolate;
  background: #132342;
  color: var(--white);
}
.hero-media, .hero-media::after { position: absolute; inset: 0; }
.hero-media { z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-media::after {
  content: "";
  background: linear-gradient(90deg, rgba(10,22,45,.97) 0%, rgba(10,22,45,.82) 38%, rgba(10,22,45,.28) 72%, rgba(10,22,45,.12) 100%);
}
.hero-content { position: relative; width: min(680px, 66%); padding: 105px 0 116px; }
.hero .eyebrow { color: #a9bdff; }
.hero-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 6.1vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .94;
}
.hero-title em { color: #83a4ff; font-weight: 400; }
.hero-copy { max-width: 600px; margin: 30px 0 0; color: #d4dbeb; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin: 20px 0 0; color: #d4dbeb; font-size: .84rem; }
.hero-note::before { content: ""; width: 9px; height: 9px; background: var(--success); border-radius: 50%; box-shadow: 0 0 0 5px rgba(12,155,104,.14); }
.hero-badge {
  position: absolute;
  right: 0;
  bottom: 34px;
  width: min(330px, 31%);
  padding: 32px;
  background: rgba(19,35,69,.95);
  border: 1px solid rgba(255,255,255,.14);
}
.hero-badge small { color: #a9bdff; font-size: .68rem; font-weight: 800; letter-spacing: .2em; }
.hero-badge strong { display: block; margin-top: 18px; font-family: var(--serif); font-size: 1.7rem; font-weight: 400; line-height: 1.14; }
.hero-badge span { display: block; margin-top: 18px; border-top: 2px solid var(--blue); padding-top: 16px; color: #bdc7db; font-size: .78rem; }

.strengths { background: var(--ink); color: var(--white); }
.strengths-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strength { padding: 27px 30px; border-right: 1px solid rgba(255,255,255,.12); font-size: .78rem; font-weight: 750; letter-spacing: .025em; text-align: center; }
.strength:first-child { border-left: 1px solid rgba(255,255,255,.12); }
.strength::before { content: "◆"; margin-right: 10px; color: var(--blue-bright); font-size: .55rem; }

.heading-grid { display: grid; grid-template-columns: .72fr 1.35fr .88fr; gap: 54px; align-items: start; }
.heading-grid .section-copy { margin: 4px 0 0; }
.cards-3, .cards-4 { display: grid; margin-top: 70px; border: 1px solid var(--rule); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(2, 1fr); }
.card { min-height: 270px; padding: 40px 38px; border-right: 1px solid var(--rule); }
.card:last-child { border-right: 0; }
.cards-4 .card:nth-child(2n+1) { border-right: 1px solid rgba(255,255,255,.16); }
.cards-4 .card:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.16); }
.card-number { color: var(--blue); font-size: .7rem; font-weight: 900; letter-spacing: .16em; }
.card h3 { margin: 30px 0 12px; font-size: 1.25rem; font-weight: 600; }
.card p { margin: 0; color: var(--text); font-size: .94rem; }
.section--dark .card { border-color: rgba(255,255,255,.16); }
.section--dark .card p { color: #bac5da; }
.advantage-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 80px; align-items: center; }
.advantage-layout .cards-4 { margin: 0; }

.deliverables { display: grid; grid-template-columns: 1.25fr .78fr; gap: 80px; align-items: start; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
.check-item { position: relative; padding: 20px 22px 20px 34px; border-top: 1px solid var(--rule); font-size: .89rem; font-weight: 750; line-height: 1.45; }
.check-item::before {
  content: "✓";
  position: absolute;
  top: 21px;
  left: 0;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: .72rem;
}
.milestone-card { padding: 48px; background: var(--blue); color: var(--white); box-shadow: var(--shadow); }
.milestone-card .mini-title { color: #bed0ff; }
.milestone-card h3 { margin: 16px 0; font-family: var(--serif); font-size: 2.4rem; font-weight: 400; line-height: 1.07; }
.milestone-card > p { color: #e1e8fa; font-size: .92rem; }
.milestones { margin: 30px 0 0; padding: 0; list-style: none; }
.milestones li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.23); font-size: .82rem; font-weight: 750; }
.milestones span { color: #bed0ff; font-size: .68rem; }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 70px; border: 1px solid #cad2e1; background: rgba(255,255,255,.35); }
.process-card { min-height: 260px; padding: 36px; border-right: 1px solid #cad2e1; border-bottom: 1px solid #cad2e1; }
.process-card:nth-child(3n) { border-right: 0; }
.process-card:nth-child(n+4) { border-bottom: 0; }
.process-head { display: flex; align-items: center; gap: 20px; }
.process-num { display: grid; width: 42px; height: 42px; place-items: center; background: var(--ink); color: var(--white); font-size: .7rem; font-weight: 800; }
.process-card h3 { margin: 0; font-size: 1.14rem; font-weight: 600; }
.process-card p { margin: 20px 0 0 62px; color: var(--text); font-size: .91rem; }

.perspective { background: linear-gradient(120deg, var(--ink), #243a62); }
.perspective-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 86px; align-items: center; }
.quote { margin: 48px 0 0; border-left: 3px solid var(--blue-bright); padding: 10px 0 10px 28px; font-family: var(--serif); font-size: 1.7rem; font-style: italic; line-height: 1.35; }
.high-touch { padding: 50px; background: var(--white); color: var(--ink); }
.mini-title { margin: 0; color: var(--blue); font-size: .67rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.high-touch h3 { margin: 20px 0 15px; font-family: var(--serif); font-size: 2.5rem; font-weight: 400; line-height: 1.05; }
.high-touch > p:not(.mini-title) { color: var(--text); }
.touch-row { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 22px 0; border-top: 1px solid var(--rule); }
.touch-row span { color: var(--blue); font-size: .7rem; font-weight: 900; }
.touch-row strong { display: block; font-size: .94rem; }
.touch-row p { margin: 4px 0 0; color: var(--text); font-size: .8rem; }

.roles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 62px; }
.role-card { padding: 48px; border: 1px solid var(--rule); background: var(--white); }
.role-card--dark { background: var(--ink); color: var(--white); }
.role-card h3 { margin: 22px 0 26px; font-size: 1.35rem; font-weight: 500; }
.role-list { margin: 0; padding: 0; list-style: none; }
.role-list li { position: relative; padding: 15px 0 15px 24px; border-top: 1px solid var(--rule); color: var(--text); font-size: .88rem; }
.role-card--dark .role-list li { border-color: rgba(255,255,255,.15); color: #c5cfe1; }
.role-list li::before { content: "◆"; position: absolute; left: 0; color: var(--blue); font-size: .55rem; }
.scope-note { margin: 38px auto 0; color: #7a8498; font-size: .76rem; text-align: center; }

.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 76px; }
.faq-list { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; font-size: .91rem; font-weight: 800; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; border: 1px solid var(--rule); color: var(--blue); font-size: 1rem; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 48px 26px 4px; color: var(--text); font-size: .9rem; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 76px; align-items: start; }
.contact-copy .section-title { max-width: 700px; }
.contact-intro { margin: 26px 0 0; color: #e1e8fa; }
.brief-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; margin: 38px 0 0; padding: 0; list-style: none; }
.brief-list li { display: grid; grid-template-columns: 30px 1fr; gap: 8px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.2); font-size: .82rem; font-weight: 700; }
.brief-list span { color: #bed0ff; font-size: .68rem; }
.contact-form { padding: 48px; background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.contact-form h3 { margin: 18px 0 8px; font-family: var(--serif); font-size: 2.4rem; font-weight: 400; line-height: 1.08; }
.contact-form > p { margin: 0 0 28px; color: var(--text); font-size: .88rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: .75rem; font-weight: 800; letter-spacing: .02em; }
.field input, .field textarea { width: 100%; border: 1px solid #ccd3df; border-radius: 0; padding: 13px 14px; background: #fafbfe; color: var(--ink); outline: 0; }
.field input:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(63,109,232,.12); }
.field textarea { min-height: 112px; resize: vertical; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; }
.privacy-note { margin: 0; color: #7b8496; font-size: .7rem; line-height: 1.45; }
.honeypot { position: absolute; left: -9999px; }
.notice { margin: 0 0 24px; border-left: 4px solid var(--success); padding: 12px 16px; background: #edf9f4; color: #176a50; font-size: .86rem; font-weight: 700; }
.notice--error { border-color: #c44848; background: #fff1f1; color: #8b2d2d; }

.site-footer { background: #0b152b; color: #9aa6bc; }
.footer-inner { display: grid; grid-template-columns: 160px 1fr 1fr auto; gap: 38px; align-items: center; min-height: 170px; }
.footer-logo { width: 124px; height: 84px; object-fit: contain; border-radius: 4px; }
.footer-inner p { margin: 0; font-size: .75rem; }

@media (max-width: 980px) {
  .section { padding: 88px 0; }
  .header-inner { min-height: 96px; }
  .brand { width: 144px; height: 84px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
  .primary-nav {
    position: fixed;
    inset: 100px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 24px;
    background: var(--white);
    border-top: 1px solid var(--rule);
    box-shadow: 0 20px 30px rgba(10,20,40,.12);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 14px 4px; border-bottom: 1px solid var(--rule); }
  .header-cta { display: none; }
  .hero { min-height: 720px; }
  .hero-content { width: 82%; }
  .hero-badge { display: none; }
  .heading-grid { grid-template-columns: 1fr; gap: 24px; }
  .heading-grid .section-copy { max-width: 700px; }
  .advantage-layout, .deliverables, .perspective-grid, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .advantage-layout .cards-4 { order: 2; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-card:nth-child(3n) { border-right: 1px solid #cad2e1; }
  .process-card:nth-child(2n) { border-right: 0; }
  .process-card:nth-child(n+4) { border-bottom: 1px solid #cad2e1; }
  .process-card:nth-child(n+5) { border-bottom: 0; }
  .faq-layout { grid-template-columns: 1fr; gap: 44px; }
  .footer-inner { grid-template-columns: 120px 1fr 1fr; }
  .footer-inner p:last-child { grid-column: 2 / -1; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 34px, 1180px); }
  .section { padding: 70px 0; }
  .header-inner { min-height: 84px; }
  .brand { width: 120px; height: 70px; }
  .primary-nav { inset: 88px 0 auto; }
  .hero { min-height: auto; }
  .hero-media img { object-position: 61% center; }
  .hero-media::after { background: linear-gradient(90deg, rgba(10,22,45,.97), rgba(10,22,45,.64)); }
  .hero-content { width: 100%; padding: 90px 0 86px; }
  .hero-title { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero-copy { font-size: .96rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .strengths-grid { grid-template-columns: 1fr 1fr; }
  .strength { border-bottom: 1px solid rgba(255,255,255,.12); }
  .strength:nth-child(2n+1) { border-left: 1px solid rgba(255,255,255,.12); }
  .cards-3, .cards-4, .process-grid, .roles-grid, .form-grid { grid-template-columns: 1fr; }
  .card, .cards-4 .card:nth-child(2n+1) { min-height: 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .section--dark .cards-4 .card { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .card:last-child, .section--dark .cards-4 .card:last-child { border-bottom: 0; }
  .check-grid { grid-template-columns: 1fr; }
  .milestone-card, .high-touch, .role-card, .contact-form { padding: 34px 28px; }
  .process-card, .process-card:nth-child(3n), .process-card:nth-child(2n), .process-card:nth-child(n+4) { border-right: 0; border-bottom: 1px solid #cad2e1; }
  .process-card:last-child { border-bottom: 0; }
  .process-card p { margin-left: 0; }
  .quote { font-size: 1.35rem; }
  .brief-list { grid-template-columns: 1fr; }
  .field--wide { grid-column: auto; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; padding: 42px 0; }
  .footer-inner p:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
