/*
Theme Name: PublicRecordPro
Theme URI: https://publicrecordpro.com
Author: PublicRecordPro
Author URI: https://publicrecordpro.com
Description: Custom theme for PublicRecordPro — nationwide public record retrieval services.
Version: 1.0.0
License: Private
Text Domain: publicrecordpro
*/

/* =========================================
   CSS VARIABLES & RESET
   ========================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy:            #1B2A4A;
  --navy-dark:       #0F1D35;
  --navy-mid:        #2C3E6B;
  --gov-blue:        #2557A7;
  --gov-blue-light:  #3A6BC4;
  --accent-gold:     #B8860B;
  --accent-gold-lt:  #D4A017;
  --warm-white:      #F5F4F0;
  --off-white:       #FAFAF8;
  --light-gray:      #E8E6E0;
  --mid-gray:        #6B6B6B;
  --text-dark:       #1A1A1A;
  --border:          #C8C4BC;
  --font-display:    'Source Serif 4', Georgia, serif;
  --font-body:       'Source Sans 3', 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: var(--gov-blue); }
a:hover { text-decoration: underline; }

/* =========================================
   NAVIGATION
   ========================================= */
.site-header {
  background: var(--navy-dark);
  border-bottom: 3px solid var(--accent-gold);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
  text-decoration: none;
}
.site-logo span { color: var(--accent-gold-lt); }
.site-logo:hover { text-decoration: none; }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
}

.main-nav ul li a {
  color: #C8CDD8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}

.main-nav ul li a:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.main-nav ul li.nav-cta a {
  background: var(--gov-blue);
  color: #fff;
  border: 1px solid var(--gov-blue-light);
}

.main-nav ul li.nav-cta a:hover {
  background: var(--gov-blue-light);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  background: var(--navy);
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,0.03) 39px, rgba(255,255,255,0.03) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,0.03) 39px, rgba(255,255,255,0.03) 40px);
  padding: 80px 2rem 72px;
  text-align: center;
  border-bottom: 4px solid var(--accent-gold);
}

.hero-seal {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid var(--accent-gold);
  background: rgba(184,134,11,0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 32px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero p.hero-sub {
  color: #A8B4CC;
  font-size: 18px;
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-badge {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: #C8D4E8;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-badge::before { content: "✓"; color: var(--accent-gold-lt); }

.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* =========================================
   BUTTONS
   ========================================= */
.btn-primary {
  background: var(--gov-blue);
  color: #fff;
  border: 2px solid var(--gov-blue-light);
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.15s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--gov-blue-light);
  color: #fff;
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: #C8D4E8;
  border: 2px solid rgba(255,255,255,0.25);
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color 0.15s, color 0.15s;
  display: inline-block;
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  text-decoration: none;
}

/* =========================================
   TRUST BAR
   ========================================= */
.trust-bar {
  background: var(--light-gray);
  border-bottom: 1px solid var(--border);
  padding: 16px 2rem;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  font-size: 13px;
  color: var(--mid-gray);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 7px;
}

.trust-item strong { color: var(--gov-blue); font-weight: 600; }

/* =========================================
   SECTION UTILITIES
   ========================================= */
.section-wrap { padding: 72px 2rem; }
.section-wrap.bg-warm { background: var(--warm-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-inner { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gov-blue);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--mid-gray);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.divider {
  width: 48px;
  height: 3px;
  background: var(--accent-gold);
  margin-bottom: 32px;
  border-radius: 2px;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-text p {
  color: #4A4A4A;
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gov-blue);
  padding: 20px;
  border-radius: 2px;
}

.stat-card .stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy-dark);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-card .stat-lbl {
  font-size: 13px;
  color: var(--mid-gray);
  font-weight: 500;
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--gov-blue);
  padding: 28px 24px;
  border-radius: 2px;
  transition: border-left-color 0.15s;
}

.service-card:hover { border-left-color: var(--accent-gold); }

.service-icon {
  width: 44px;
  height: 44px;
  background: #EDF2FB;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--mid-gray);
  line-height: 1.7;
  margin-bottom: 14px;
}

.service-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.tag {
  font-size: 11px;
  font-weight: 600;
  background: #EDF2FB;
  color: var(--gov-blue);
  padding: 3px 10px;
  border-radius: 2px;
  letter-spacing: 0.3px;
}

.service-card.featured { border-left-color: var(--accent-gold); }
.service-card.featured .service-icon { background: #FEF3CD; }
.service-card.featured .tag { background: #FEF3CD; color: #8A6000; }

/* =========================================
   HOW IT WORKS
   ========================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.step { text-align: center; padding: 0 16px; }

.step-num {
  width: 52px;
  height: 52px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
  border: 3px solid var(--accent-gold);
}

.step h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.step p { font-size: 13px; color: var(--mid-gray); line-height: 1.6; }

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--mid-gray);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-icon {
  width: 38px;
  height: 38px;
  background: #EDF2FB;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  font-size: 13px;
  color: var(--mid-gray);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-item-text span {
  font-size: 15px;
  color: var(--navy-dark);
  font-weight: 500;
}

/* =========================================
   REQUEST FORM
   ========================================= */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px;
}

.form-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 6px;
}

.form-card > p {
  font-size: 14px;
  color: var(--mid-gray);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field { margin-bottom: 16px; }

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.form-field input,
.form-field select,
.form-field textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dark);
  background: var(--off-white);
  transition: border-color 0.15s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--gov-blue);
  background: #fff;
}

.form-field textarea { resize: vertical; min-height: 90px; }

.required-mark { color: #B33; margin-left: 2px; }

.form-note {
  font-size: 12px;
  color: var(--mid-gray);
  margin-top: 14px;
  text-align: center;
}

.form-submit input[type="submit"],
.wpcf7-submit,
input[type="submit"].wpcf7-submit {
  width: 100%;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 3px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.15s;
  margin-top: 8px;
}

.form-submit input[type="submit"]:hover,
.wpcf7-submit:hover {
  background: var(--navy-mid);
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--navy-dark);
  border-top: 3px solid var(--accent-gold);
  padding: 48px 2rem 24px;
  color: #A8B4CC;
  font-size: 14px;
}

.footer-inner { max-width: 1100px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 8px;
}

.footer-brand .footer-logo span { color: var(--accent-gold-lt); }

.footer-tagline {
  font-size: 13px;
  color: #6B7A96;
}

.footer-col h4 {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  color: #A8B4CC;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}

.footer-col ul li a:hover { color: #fff; }

.footer-disclaimer {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  padding: 14px 18px;
  font-size: 12px;
  color: #7A8AA6;
  line-height: 1.7;
  margin-bottom: 28px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 13px; color: #5A6680; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
  .about-grid,
  .contact-grid,
  .footer-top { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .main-nav ul { display: none; }
  .main-nav ul.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy-dark); padding: 12px; gap: 4px; }
  .nav-toggle { display: block; }

  .hero { padding: 48px 1.5rem; }
  .trust-bar { gap: 16px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
