/*
Theme Name: CareFirst Private Nurses
Theme URI: https://easyaccurate.com
Author: EasyAccurate
Author URI: https://easyaccurate.com
Description: A professional, trust-focused WordPress theme for private nursing agencies, in-home care providers, and medical staffing companies. Includes a built-in care estimator form, service listings, service area pages, and Google reviews section with full EasyAccurate local SEO structure.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: carefirst
Tags: nursing, healthcare, in-home-care, estimator, local-seo, medical, trust
*/

/* =============================================
   ROOT VARIABLES
   ============================================= */
:root {
  --navy:        #1a2e4a;
  --navy-deep:   #0f1e30;
  --blue:        #2563a8;
  --blue-light:  #3b82c4;
  --teal:        #0a8a84;
  --teal-light:  #14b8b2;
  --teal-pale:   #f0fafa;
  --pale:        #eef5fb;
  --gold:        #d4a843;
  --white:       #ffffff;
  --text:        #2e3d52;
  --muted:       #6a849e;
  --gray:        #f4f7fb;
  --border:      #dde7f0;
  --shadow:      0 2px 18px rgba(26,46,74,.08);
  --radius:      8px;
  --font-head:   'Cormorant Garamond', Georgia, serif;
  --font-body:   'Nunito', system-ui, sans-serif;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

img { max-width:100%; height:auto; display:block; }
a   { color:inherit; text-decoration:none; }
ul  { list-style:none; }
button { cursor:pointer; font-family:var(--font-body); }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1,h2,h3,h4,h5 { font-family:var(--font-head); line-height:1.1; color:var(--navy); }
h1 { font-size:clamp(2.3rem,5vw,3.6rem); }
h2 { font-size:clamp(1.8rem,3.5vw,2.6rem); }
h3 { font-size:1.25rem; font-weight:700; }
h4 { font-size:1rem; font-weight:700; }
p  { line-height:1.75; }

/* =============================================
   UTILITIES
   ============================================= */
.container    { max-width:1180px; margin:0 auto; padding:0 5%; }
.section-pad  { padding:72px 0; }
.text-center  { text-align:center; }

.section-label {
  display:inline-block;
  color:var(--teal);
  font-size:.75rem;
  font-weight:700;
  letter-spacing:.13em;
  text-transform:uppercase;
  margin-bottom:.6rem;
}
.sub {
  color:var(--muted);
  font-size:.97rem;
  max-width:550px;
  margin-top:.4rem;
  margin-bottom:2.4rem;
  line-height:1.75;
  font-weight:400;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display:inline-block;
  padding:.78rem 2rem;
  border-radius:var(--radius);
  font-weight:700;
  font-size:.93rem;
  border:2px solid transparent;
  transition:all .2s ease;
  text-align:center;
  cursor:pointer;
  font-family:var(--font-body);
}
.btn-teal         { background:var(--teal); color:var(--white); border-color:var(--teal); }
.btn-teal:hover   { background:var(--teal-light); border-color:var(--teal-light); }
.btn-outline      { background:transparent; color:var(--white); border-color:rgba(255,255,255,.38); }
.btn-outline:hover{ background:rgba(255,255,255,.1); border-color:var(--white); }
.btn-white        { background:var(--white); color:var(--teal); border-color:var(--white); }
.btn-white:hover  { background:var(--gold); color:var(--navy); border-color:var(--gold); }
.btn-full         { width:100%; display:block; }
.btn-sm           { padding:.5rem 1.2rem; font-size:.85rem; }

/* =============================================
   NAVIGATION
   ============================================= */
#site-header {
  position:sticky; top:0; z-index:200;
  background:var(--white);
  border-bottom:1px solid var(--border);
  box-shadow:0 2px 14px rgba(26,46,74,.07);
}
.nav-inner {
  display:flex; align-items:center; justify-content:space-between; height:72px;
}
.nav-logo { display:flex; align-items:center; gap:.65rem; }
.logo-icon {
  width:40px; height:40px; background:var(--teal); border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-size:1.25rem;
  flex-shrink:0;
}
.logo-text-wrap { display:flex; flex-direction:column; line-height:1.1; }
.logo-name {
  font-family:var(--font-head); font-size:1.45rem; font-weight:700;
  color:var(--navy); letter-spacing:.01em;
}
.logo-name span { color:var(--teal); }
.logo-sub { font-size:.64rem; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }

.nav-menu { display:flex; gap:1.8rem; align-items:center; }
.nav-menu a { font-size:.88rem; font-weight:600; color:var(--text); transition:color .2s; }
.nav-menu a:hover { color:var(--teal); }

.nav-right { display:flex; align-items:center; gap:1.1rem; }
.nav-phone { font-size:.84rem; font-weight:700; color:var(--navy); }
.nav-toggle { display:none; flex-direction:column; gap:5px; background:none; border:none; padding:.3rem; }
.nav-toggle span { display:block; width:24px; height:2px; background:var(--navy); border-radius:2px; transition:.3s; }

/* =============================================
   HERO
   ============================================= */
.hero-section {
  background:linear-gradient(135deg, var(--navy) 0%, #1e3a60 55%, #1a4060 100%);
  padding:80px 0 90px;
  position:relative; overflow:hidden;
}
.hero-section::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(ellipse at 80% 50%, rgba(10,138,132,.18) 0%, transparent 65%);
  pointer-events:none;
}
.hero-inner {
  display:grid; grid-template-columns:1fr auto; gap:3rem; align-items:center;
}
.hero-left  { position:relative; z-index:1; max-width:580px; }
.hero-badge {
  display:inline-flex; align-items:center; gap:.5rem;
  background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2);
  color:var(--white); font-size:.78rem; font-weight:600; letter-spacing:.07em;
  padding:.4rem 1rem; border-radius:20px; margin-bottom:1.3rem;
}
.hero-section h1 { color:var(--white); margin-bottom:1.1rem; }
.hero-section h1 em { color:var(--teal-light); font-style:normal; }
.hero-section .hero-p { color:rgba(255,255,255,.78); font-size:1.05rem; max-width:500px; margin-bottom:2rem; }
.hero-btns { display:flex; gap:1rem; flex-wrap:wrap; }

/* Hero card */
.hero-card {
  background:var(--white); border-radius:12px; padding:2rem;
  max-width:310px; flex-shrink:0; z-index:1;
  box-shadow:0 20px 60px rgba(0,0,0,.25);
}
.hero-card h3 { font-size:1.2rem; color:var(--navy); margin-bottom:1rem; }
.hc-item { display:flex; align-items:center; gap:.7rem; margin-bottom:.7rem; }
.hc-dot  { width:10px; height:10px; border-radius:50%; background:var(--teal); flex-shrink:0; }
.hc-item span { font-size:.88rem; color:var(--text); font-weight:500; }
.hc-btn {
  width:100%; background:var(--teal); color:var(--white);
  padding:.75rem; border-radius:var(--radius); font-weight:700;
  text-align:center; margin-top:1.1rem; border:none; cursor:pointer;
  font-size:.92rem; font-family:var(--font-body); transition:.2s;
}
.hc-btn:hover { background:var(--teal-light); }

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar {
  background:var(--pale); border-bottom:1px solid var(--border);
  padding:.95rem 0;
}
.trust-bar-inner {
  display:flex; flex-wrap:wrap; justify-content:center; gap:1.5rem 3rem;
}
.trust-item {
  display:flex; align-items:center; gap:.5rem;
  font-size:.87rem; font-weight:600; color:var(--navy);
}

/* =============================================
   SERVICES GRID
   ============================================= */
.services-grid {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:1.5rem;
}
.service-card {
  background:var(--white); border-radius:var(--radius); padding:1.8rem;
  border-top:4px solid var(--teal); box-shadow:var(--shadow);
  transition:transform .2s, box-shadow .2s;
}
.service-card:hover { transform:translateY(-3px); box-shadow:0 8px 32px rgba(26,46,74,.12); }
.svc-icon { font-size:2.1rem; margin-bottom:.85rem; }
.service-card p { font-size:.9rem; color:var(--muted); margin-top:.4rem; }
.svc-link { display:inline-block; margin-top:.8rem; color:var(--teal); font-size:.84rem; font-weight:700; }

/* =============================================
   WHO WE SERVE
   ============================================= */
.who-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:1.2rem; }
.who-card {
  border:1px solid var(--border); border-radius:var(--radius); padding:1.5rem;
  background:var(--pale); transition:.2s;
}
.who-card:hover { border-color:var(--teal); }
.who-card p { font-size:.88rem; color:var(--muted); margin-top:.35rem; }

/* =============================================
   PRICING BOX
   ============================================= */
.pricing-box {
  background:var(--teal-pale); border:1px solid #b2dede;
  border-radius:var(--radius); padding:1.8rem 2rem; max-width:720px; margin-bottom:2rem;
}
.pricing-box h3 { margin-bottom:.5rem; }
.pricing-box p  { font-size:.95rem; }

/* =============================================
   PROCESS STEPS
   ============================================= */
.process-grid {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:2rem; margin-top:3rem; position:relative;
}
.process-grid::before {
  content:''; position:absolute; top:26px; left:5%; right:5%; height:1px;
  background:linear-gradient(90deg, transparent, var(--teal), var(--teal-light), var(--teal), transparent);
}
.proc-step { text-align:center; }
.proc-num {
  width:52px; height:52px; border-radius:50%;
  background:var(--teal); color:var(--white);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-head); font-size:1.4rem; font-weight:700;
  margin:0 auto 1.1rem; position:relative; z-index:1;
  box-shadow:0 4px 16px rgba(10,138,132,.35);
}
.proc-step h3 { font-size:.95rem; margin-bottom:.35rem; }
.proc-step p  { font-size:.86rem; color:var(--muted); }

/* =============================================
   ESTIMATOR FORM
   ============================================= */
.estimator-section { background:var(--gray); }
.estimator-wrap    { display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:start; }
.estimator-info h2 { margin-bottom:.55rem; }

.est-features { margin-top:1.6rem; }
.est-feature  { display:flex; gap:.8rem; align-items:flex-start; margin-bottom:1rem; }
.ef-icon {
  width:38px; height:38px; background:rgba(10,138,132,.1); border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-size:1rem; flex-shrink:0;
}
.ef-icon svg { width:18px; height:18px; }
.est-feature h4 { font-size:.9rem; margin-bottom:.15rem; color:var(--navy); }
.est-feature p  { font-size:.83rem; color:var(--muted); }

.est-form-card {
  background:var(--white); border-radius:10px; padding:2.2rem;
  box-shadow:0 4px 32px rgba(26,46,74,.1); border-top:4px solid var(--teal);
}
.est-form-card h3 { font-size:1.25rem; margin-bottom:1.4rem; color:var(--navy); }

.form-group { margin-bottom:1.05rem; }
.form-group label {
  display:block; font-size:.82rem; font-weight:700;
  color:var(--navy); margin-bottom:.3rem; letter-spacing:.03em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width:100%; padding:.65rem .9rem;
  border:1.5px solid var(--border); border-radius:var(--radius);
  font-family:var(--font-body); font-size:.92rem; color:var(--text);
  background:var(--white); transition:border-color .2s; appearance:none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline:none; border-color:var(--teal);
  box-shadow:0 0 0 3px rgba(10,138,132,.12);
}
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:.9rem; }

.est-result {
  display:none; background:var(--teal-pale); border:1px solid #a0d4d2;
  border-radius:var(--radius); padding:1.4rem; margin-top:1.2rem; text-align:center;
}
.est-result.show { display:block; }
.result-range {
  font-family:var(--font-head); font-size:2rem; font-weight:700;
  color:var(--teal); margin:.4rem 0;
}
.result-note { font-size:.83rem; color:#3a7a78; }

/* =============================================
   REVIEWS
   ============================================= */
.reviews-section { background:var(--navy); }
.reviews-section h2,
.reviews-section .section-label { color:var(--white); }
.reviews-section .section-label { color:var(--teal-light); }
.reviews-section .sub  { color:rgba(255,255,255,.6); }

.google-badge {
  display:flex; align-items:center; gap:1.2rem;
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius); padding:1rem 1.6rem;
  width:fit-content; margin-bottom:2.2rem;
}
.g-score { font-family:var(--font-head); font-size:2.2rem; font-weight:700; color:var(--gold); }
.g-stars { color:#fbbc04; font-size:1.1rem; }
.g-meta  { color:rgba(255,255,255,.65); font-size:.84rem; line-height:1.6; }
.g-meta strong { color:var(--white); }

.reviews-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:1.2rem; }
.review-card {
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1);
  border-radius:var(--radius); padding:1.6rem;
}
.r-stars    { color:#fbbc04; margin-bottom:.5rem; }
.r-name     { font-weight:700; color:var(--white); }
.r-date     { color:rgba(255,255,255,.4); font-size:.8rem; margin-bottom:.6rem; }
.r-text     { color:rgba(255,255,255,.76); font-size:.9rem; line-height:1.65; }

/* =============================================
   SERVICE AREAS
   ============================================= */
.areas-grid {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:1.5rem;
}
.area-col h4 {
  font-size:.78rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color:var(--teal); margin-bottom:.7rem; padding-bottom:.4rem;
  border-bottom:1px solid var(--border);
}
.area-col li { font-size:.9rem; padding:.22rem 0; color:var(--text); }
.area-col li::before { content:'→ '; color:var(--teal-light); }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background:linear-gradient(135deg, var(--teal) 0%, var(--blue-light) 100%);
  padding:80px 0; text-align:center;
}
.cta-section h2 { color:var(--white); margin-bottom:.6rem; }
.cta-section p  { color:rgba(255,255,255,.85); font-size:1.05rem; max-width:480px; margin:0 auto 2rem; }

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
  background:var(--navy-deep); color:rgba(255,255,255,.6);
  padding:2.5rem 0 1.5rem;
}
.footer-inner { display:flex; flex-wrap:wrap; justify-content:space-between; gap:1.5rem; margin-bottom:1.5rem; }
.footer-brand .logo-name { font-size:1.2rem; }
.footer-brand p { font-size:.84rem; margin-top:.4rem; line-height:1.75; }
.footer-links   { display:flex; gap:1.5rem; flex-wrap:wrap; align-items:center; }
.footer-links a { font-size:.84rem; color:rgba(255,255,255,.45); transition:color .2s; }
.footer-links a:hover { color:var(--teal-light); }
.footer-copy {
  font-size:.77rem; text-align:center; opacity:.32;
  padding-top:1rem; border-top:1px solid rgba(255,255,255,.07);
}

/* =============================================
   WP STANDARD
   ============================================= */
.screen-reader-text {
  border:0; clip:rect(1px,1px,1px,1px); clip-path:inset(50%);
  height:1px; margin:-1px; overflow:hidden; padding:0;
  position:absolute; width:1px;
}
.alignleft  { float:left; margin-right:1.5rem; }
.alignright { float:right; margin-left:1.5rem; }
.aligncenter { text-align:center; margin:0 auto; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width:1000px) {
  .hero-inner    { grid-template-columns:1fr; }
  .hero-card     { max-width:100%; }
  .estimator-wrap{ grid-template-columns:1fr; }
}
@media (max-width:768px) {
  .nav-menu { display:none; position:absolute; top:72px; left:0; right:0; background:var(--white); flex-direction:column; gap:0; padding:1rem 0; border-bottom:1px solid var(--border); box-shadow:0 8px 20px rgba(0,0,0,.08); }
  .nav-menu.open { display:flex; }
  .nav-menu a { padding:.75rem 5%; border-bottom:1px solid var(--border); }
  .nav-toggle { display:flex; }
  .nav-phone  { display:none; }
  .process-grid::before { display:none; }
  .form-row   { grid-template-columns:1fr; }
}
@media (max-width:480px) {
  .hero-btns { flex-direction:column; }
  .trust-bar-inner { gap:1rem; justify-content:flex-start; padding:0 5%; }
}
