/*
Theme Name: LegalPulse RN
Theme URI: https://legalpulsern.com
Author: The Nurse Consultant, LLC
Author URI: https://legalpulsern.com
Description: Custom theme for LegalPulse RN - Legal Consulting Services by The Nurse Consultant, LLC.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: legalpulsern
*/
/* ============================================
   LegalPulse RN — Main Stylesheet
   The Nurse Consultant, LLC
   ============================================ */

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

:root {
  --teal:      #4A7C6F;
  --navy:      #1b1e3f;
  --light:     #E6E6EB;
  --gold:      #BFD0C9;
  --cream:     #EDF1F0;
  --white:     #ffffff;
  --dark-bg:   #0d0f20;
  --text-dark: #0e1022;
  --text-mid:  #3a3d5c;
  --text-muted:#525d6b;
}

html { scroll-behavior: smooth; }
body { font-family: "DM Sans", sans-serif; background: var(--cream); color: var(--text-dark); overflow-x: hidden; }

/* ── NAV ── */
.site-header {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(27,30,63,0.97);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-main { font-family: "Playfair Display", serif; color: var(--white); font-size: 1.15rem; font-weight: 700; }
.nav-logo-main span { color: var(--gold); }
.nav-logo-sub { font-size: 0.62rem; color: rgba(191,208,201,0.7); letter-spacing: 0.12em; text-transform: uppercase; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--light); text-decoration: none; font-size: 0.88rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { background: var(--teal) !important; color: var(--white) !important; padding: 8px 18px; border-radius: 4px; font-weight: 600 !important; }
.nav-cta:hover { background: #3a6459 !important; }

/* ── HERO ── */
.hero { min-height: 100vh; background: var(--navy); display: flex; align-items: center; position: relative; overflow: hidden; padding: 120px 5% 80px; }
.hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(74,124,111,0.05) 60px, rgba(74,124,111,0.05) 61px); }
.hero::after { content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(74,124,111,0.15) 0%, transparent 70%); right: -150px; top: -100px; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-eyebrow { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; display: flex; align-items: center; gap: 10px; }
.hero-eyebrow::before { content: ""; display: inline-block; width: 32px; height: 2px; background: var(--gold); }
.hero h1 { font-family: "Playfair Display", serif; font-size: clamp(2.4rem, 4.5vw, 3.8rem); font-weight: 700; line-height: 1.12; color: var(--white); margin-bottom: 1rem; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-tagline { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(191,208,201,0.75); margin-bottom: 1.4rem; }
.hero-sub { font-size: 1.02rem; color: var(--light); line-height: 1.75; margin-bottom: 2.2rem; opacity: 0.88; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary { background: var(--teal); color: var(--white); padding: 14px 28px; border-radius: 4px; font-weight: 600; font-size: 0.95rem; text-decoration: none; letter-spacing: 0.03em; transition: background 0.2s, transform 0.2s; display: inline-block; }
.btn-primary:hover { background: #3a6459; transform: translateY(-2px); color: var(--white); }
.btn-outline { border: 1.5px solid rgba(191,208,201,0.4); color: var(--gold); padding: 14px 28px; border-radius: 4px; font-weight: 500; font-size: 0.95rem; text-decoration: none; transition: border-color 0.2s, background 0.2s; display: inline-block; }
.btn-outline:hover { border-color: var(--gold); background: rgba(191,208,201,0.08); color: var(--gold); }
.hero-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(74,124,111,0.3); border-radius: 14px; padding: 2.5rem; }
.hero-card-title { font-family: "Playfair Display", serif; color: var(--gold); margin-bottom: 1.5rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.78rem; }
.hero-stat { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.4rem; }
.hero-stat:last-child { margin-bottom: 0; }
.stat-icon { width: 40px; height: 40px; flex-shrink: 0; background: rgba(74,124,111,0.2); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.stat-label { font-size: 0.75rem; color: var(--light); opacity: 0.55; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 2px; }
.stat-value { font-size: 0.93rem; color: var(--white); font-weight: 500; line-height: 1.4; }


/* ── BANNER IMAGE ── */
.hero-banner { width: 100%; height: 150px; overflow: hidden; position: relative; }
.hero-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; filter: brightness(0.75); }
.hero-banner-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(27,30,63,0.4) 0%, rgba(27,30,63,0.7) 100%); display: flex; align-items: center; justify-content: center; }
.hero-banner-text { font-family: "Playfair Display", serif; font-size: clamp(0.85rem, 1.8vw, 1.1rem); color: var(--white); text-align: center; letter-spacing: 0.08em; font-weight: 600; opacity: 0.9; padding: 0 5%; }
@media (max-width: 768px) { .hero-banner { height: 120px; } }
/* ── TRUST BAR ── */
.trust-bar { background: var(--dark-bg); border-top: 1px solid rgba(74,124,111,0.25); border-bottom: 1px solid rgba(74,124,111,0.25); padding: 18px 5%; display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; color: var(--light); font-size: 0.84rem; font-weight: 500; letter-spacing: 0.05em; opacity: 0.85; }
.trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }

/* ── SHARED SECTION STYLES ── */
.site-section { padding: 90px 5%; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal-text); margin-bottom: 0.6rem; }
.site-section h2 { font-family: "Playfair Display", serif; font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 1rem; }
.site-section h2 span { color: var(--teal); }
.section-sub { font-size: 1.02rem; color: var(--text-mid); line-height: 1.75; max-width: 620px; margin-bottom: 3rem; }

/* ── ABOUT ── */
.section-about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.about-text p { font-size: 1rem; color: var(--text-mid); line-height: 1.85; margin-bottom: 1.2rem; }
.about-badge { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: rgba(74,124,111,0.08); color: var(--teal-text); border: 1px solid rgba(74,124,111,0.2); padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; margin-right: 6px; margin-bottom: 8px; }
.about-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.about-badge { margin-right: 0; margin-bottom: 0; }
.about-photo-inline { margin-top: 1.8rem; }
.about-inline-img { width: 100%; max-width: 420px; border-radius: 10px; box-shadow: 0 6px 24px rgba(27,30,63,0.12); display: block; }
.bio-card { background: var(--navy); border-radius: 14px; padding: 2.5rem; position: relative; overflow: hidden; }
.bio-card::before { content: ""; position: absolute; top: -40px; right: -40px; width: 180px; height: 180px; border-radius: 50%; background: rgba(74,124,111,0.12); }
.bio-name { font-family: "Playfair Display", serif; font-size: 1.35rem; color: var(--white); font-weight: 700; margin-bottom: 2px; }
.bio-title { font-size: 0.82rem; color: var(--gold); font-weight: 500; margin-bottom: 0.5rem; letter-spacing: 0.05em; }
.bio-tagline-text { font-size: 0.78rem; color: #ffffff; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.6rem; }
.bio-divider { height: 1px; background: rgba(255,255,255,0.08); margin-bottom: 1.5rem; }
.bio-credential { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 0.45rem; }
.bio-dot { width: 7px; height: 7px; border-radius: 50%; background: #6BA898; flex-shrink: 0; margin-top: 6px; }
.bio-text { font-size: 0.88rem; color: var(--light); line-height: 1.5; opacity: 0.85; }
.awards-section { margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,0.08); }
.awards-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 0.8rem; font-weight: 600; }
.award-item { display: flex; align-items: center; gap: 8px; margin-bottom: 0.5rem; }
.award-star { color: var(--gold); font-size: 0.75rem; }
.award-text { font-size: 0.83rem; color: var(--light); opacity: 0.8; }

/* ── SERVICES ── */
.section-services { background: var(--cream); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.service-card { background: var(--white); border: 1px solid rgba(27,30,63,0.07); border-radius: 12px; padding: 2.2rem; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; position: relative; overflow: hidden; }
.service-card::before { content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--teal); transform: scaleY(0); transform-origin: bottom; transition: transform 0.3s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(27,30,63,0.08); border-color: rgba(74,124,111,0.25); }
.service-card:hover::before { transform: scaleY(1); }
.service-icon { width: 52px; height: 52px; background: rgba(74,124,111,0.1); border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; font-size: 1.5rem; text-align: center; line-height: 1; vertical-align: middle; }
.service-card h3 { font-family: "Playfair Display", serif; font-size: 1.1rem; color: var(--navy); font-weight: 600; margin-bottom: 0.7rem; }
.service-card p { font-size: 0.91rem; color: var(--text-mid); line-height: 1.7; }

/* ── WHY ── */
.section-why { background: var(--navy); }
.section-why h2 { color: var(--white); }
.section-why .section-label { color: var(--gold); }
.section-why .section-sub { color: rgba(230,230,235,0.7); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.why-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(74,124,111,0.2); border-radius: 12px; padding: 2rem 1.8rem; text-align: center; }
.why-num { font-family: "Playfair Display", serif; font-size: 2.6rem; color: var(--gold); font-weight: 700; line-height: 1; margin-bottom: 0.5rem; }
.why-label { font-size: 0.87rem; color: var(--light); opacity: 0.7; line-height: 1.5; }

/* ── INTAKE FORM ── */
.section-intake { background: var(--white); }
.intake-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.intake-info p { font-size: 1rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 1.5rem; }
.intake-detail { display: flex; align-items: center; gap: 12px; margin-bottom: 1rem; }
.intake-icon { width: 40px; height: 40px; background: rgba(74,124,111,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.intake-detail-text { font-size: 0.93rem; color: var(--text-mid); }
.intake-detail-text a { color: var(--teal-text); text-decoration: none; font-weight: 500; }
.intake-detail-text a:hover { text-decoration: underline; }
.intake-form-wrap { background: var(--cream); border-radius: 14px; padding: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--navy); margin-bottom: 5px; }
.form-group input,
.form-group textarea,
.form-group select { width: 100%; padding: 11px 13px; border: 1px solid rgba(27,30,63,0.14); border-radius: 6px; font-family: "DM Sans", sans-serif; font-size: 0.93rem; color: var(--text-dark); background: var(--white); transition: border-color 0.2s; outline: none; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--teal); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 1.2rem; }
.form-checkbox input { margin-top: 3px; flex-shrink: 0; accent-color: var(--teal); }
.form-checkbox label { font-size: 0.83rem; color: var(--text-muted); line-height: 1.5; }
.btn-submit { width: 100%; background: var(--navy); color: var(--white); padding: 14px; border: none; border-radius: 6px; font-family: "DM Sans", sans-serif; font-size: 1rem; font-weight: 600; cursor: pointer; letter-spacing: 0.04em; transition: background 0.2s; }
.btn-submit:hover { background: var(--teal); }

/* ── FOOTER ── */
.site-footer { background: var(--dark-bg); color: var(--light); padding: 50px 5% 30px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-logo-text { font-family: "Playfair Display", serif; font-size: 1.5rem; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.footer-logo-text span { color: var(--gold); }
.footer-tagline { font-size: 0.72rem; color: rgba(191,208,201,0.55); margin-bottom: 4px; letter-spacing: 0.15em; text-transform: uppercase; }
.footer-legal-name { font-size: 0.78rem; color: rgba(230,230,235,0.35); margin-bottom: 2rem; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-nav { display: flex; gap: 2rem; list-style: none; margin-bottom: 2rem; flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-size: 0.84rem; color: rgba(230,230,235,0.5); text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: var(--gold); }
.footer-divider { width: 100%; height: 1px; background: rgba(255,255,255,0.06); margin-bottom: 1.5rem; }
.footer-copy { font-size: 0.76rem; color: rgba(230,230,235,0.28); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-inner, .about-grid, .intake-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-card { display: none; }
  .nav-links { display: none; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.hero-left > * { opacity: 0; animation: fadeUp 0.7s ease forwards; }
.hero-eyebrow { animation-delay: 0.1s; }
.hero h1 { animation-delay: 0.25s; }
.hero-tagline { animation-delay: 0.35s; }
.hero-sub { animation-delay: 0.45s; }
.hero-btns { animation-delay: 0.58s; }
.hero-card { opacity: 0; animation: fadeUp 0.7s ease 0.4s forwards; }


/* ── ABOUT PHOTO ── */
.bio-header { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.5rem; }
.crystal-photo { width: 120px; height: 150px; border-radius: 10px; border: 3px solid var(--teal); object-fit: cover; object-position: top; flex-shrink: 0; }
.bio-header-text { flex: 1; }

/* ── ACCESSIBILITY (Section 508 / WCAG 2.1 AA) ── */
.skip-link { position: absolute; top: -100px; left: 0; background: var(--navy); color: #fff; padding: 10px 18px; z-index: 9999; font-weight: 600; text-decoration: none; border-radius: 0 0 6px 0; transition: top 0.2s; }
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid #BFD0C9; outline-offset: 3px; border-radius: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #3D6B5E; outline-offset: 3px; }
/* Ensure focus is never hidden */
*:focus { outline: 2px solid #3D6B5E; outline-offset: 2px; }
/* High contrast mode support */
@media (forced-colors: active) {
  .btn-primary, .btn-outline, .btn-submit, .nav-cta { border: 2px solid ButtonText; }
  .hero-card, .service-card, .why-card, .about-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.about-badge { margin-right: 0; margin-bottom: 0; }
.about-photo-inline { margin-top: 1.8rem; }
.about-inline-img { width: 100%; max-width: 420px; border-radius: 10px; box-shadow: 0 6px 24px rgba(27,30,63,0.12); display: block; }
.bio-card { border: 1px solid ButtonText; }
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
