/* =========================================================
   Puffback Inmate Services LLC - Production Stylesheet
   Designed for Direct Upload to Asura Hosting File Manager
   ========================================================= */

:root {
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --bg-card: #1e293b;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --success: #10b981;
  --success-hover: #059669;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border: #334155;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font);
  background-color: var(--bg-darker);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  padding-bottom: 70px;
  background-color: #020617;
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Bar */
.top-bar {
  background: #020617;
  border-bottom: 1px solid #1e293b;
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-muted);
}
.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.live-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}
.live-text {
  color: var(--success);
  font-weight: 700;
  font-size: 12px;
}
.top-phone-btn {
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(37, 99, 235, 0.4);
  padding: 4px 10px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
}

/* Header */
.header {
  background: #0f172a;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}
.brand-badge {
  font-size: 24px;
  background: #1e3a8a;
  padding: 6px 8px;
  border-radius: 8px;
}
.brand-title {
  display: block;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}
.brand-sub {
  display: block;
  font-size: 11px;
  color: #60a5fa;
  font-weight: 600;
}

.nav-links {
  display: none;
  gap: 20px;
}
@media (min-width: 1024px) {
  .nav-links { display: flex; }
}
.nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-phone {
  display: none;
  background: #1e293b;
  border: 1px solid var(--border);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
@media (min-width: 640px) {
  .btn-phone { display: inline-block; }
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: none;
}
@media (min-width: 768px) {
  .btn-primary { display: inline-block; }
}
.hamburger {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 6px;
}
@media (min-width: 1024px) {
  .hamburger { display: none; }
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  background: #0f172a;
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
}
.mobile-drawer.open { display: block; }
.mobile-link {
  display: block;
  padding: 10px 0;
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid #1e293b;
}

/* Hero */
.hero {
  background: radial-gradient(circle at 50% 20%, rgba(37,99,235,0.15), transparent 70%), #0b1120;
  padding: 40px 0 60px;
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
  }
}
.pill {
  display: inline-block;
  background: rgba(37,99,235,0.2);
  color: #93c5fd;
  border: 1px solid rgba(37,99,235,0.4);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 16px;
}
@media (min-width: 768px) {
  .hero h1 { font-size: 44px; }
}
.highlight {
  color: #60a5fa;
}
.hero p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 24px;
}
.hero-checks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  color: #e2e8f0;
  font-weight: 500;
}
@media (min-width: 480px) {
  .hero-checks { grid-template-columns: 1fr 1fr; }
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-large {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  text-align: center;
}
.btn-green { background: var(--success); color: #fff; }
.btn-green:hover { background: var(--success-hover); }
.btn-blue { background: var(--primary); color: #fff; }
.btn-blue:hover { background: var(--primary-hover); }

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.hero-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}
.hero-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.hero-card label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #cbd5e1;
}
.hero-card input, .hero-card select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #0f172a;
  color: #fff;
  font-size: 14px;
  margin-bottom: 12px;
}
.btn-submit {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit:hover { background: var(--primary-hover); }
.form-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
}

/* Sections */
.section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}
.section-dark {
  background: #0b1120;
}
.section-head {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 40px;
}
.section-head h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}
@media (min-width: 768px) {
  .section-head h2 { font-size: 36px; }
}
.section-head p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .cards-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.service-card, .benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.card-num {
  font-size: 12px;
  font-family: monospace;
  color: #60a5fa;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-card h3, .benefit-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #fff;
}
.service-card p, .benefit-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}
.feature-list {
  list-style: none;
  font-size: 12px;
  color: #cbd5e1;
  margin-bottom: 20px;
}
.feature-list li { margin-bottom: 6px; }
.card-actions {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.card-link {
  color: #60a5fa;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.card-phone {
  color: var(--success);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

/* Service Areas */
.areas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .areas-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .areas-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
}
.area-card {
  background: #0b1120;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
.area-primary {
  border-color: rgba(37,99,235,0.6);
  background: #111e38;
}
.area-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  background: #1e293b;
  color: #93c5fd;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
}
.area-card h3 { font-size: 16px; margin-bottom: 4px; }
.area-county { font-size: 12px; color: var(--text-muted); display: block; margin-bottom: 8px; }
.area-card p { font-size: 12px; color: #cbd5e1; margin-bottom: 12px; }
.area-zips span {
  display: inline-block;
  background: #1e293b;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-family: monospace;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .process-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
}
.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}
.step-num {
  font-size: 20px;
  font-weight: 800;
  color: #60a5fa;
  background: #0f172a;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 14px;
}
.process-card h3 { font-size: 16px; margin-bottom: 8px; }
.process-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.duration-tag { font-size: 12px; color: var(--success); font-weight: 600; }

/* FAQs */
.faq-container { max-width: 800px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.faq-item summary {
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 15px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-a {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
@media (min-width: 992px) {
  .contact-grid { grid-template-columns: 1fr 1.3fr; }
}
.hotline-card {
  background: #064e3b;
  border: 1px solid var(--success);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 20px;
}
.hotline-number {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  margin: 10px 0;
  font-family: monospace;
}
.btn-full { width: 100%; display: block; text-align: center; }
.info-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}
.info-block h4 { font-size: 16px; margin-bottom: 12px; }
.info-block p { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.maps-link { color: #60a5fa; font-size: 13px; font-weight: 600; text-decoration: none; display: inline-block; margin-top: 8px; }

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}
.contact-form-card h3 { font-size: 18px; margin-bottom: 4px; }
.contact-form-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.contact-form-card label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #cbd5e1;
}
.contact-form-card input, .contact-form-card select, .contact-form-card textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #0f172a;
  color: #fff;
  font-size: 14px;
  margin-bottom: 12px;
  font-family: inherit;
}
.form-feedback {
  margin-top: 12px;
  font-size: 13px;
  padding: 10px;
  border-radius: 6px;
  display: none;
}

/* Final CTA */
.final-cta {
  background: linear-gradient(135deg, #1e3a8a, #0f172a);
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.final-cta h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.final-cta p { color: #cbd5e1; font-size: 16px; max-width: 650px; margin: 0 auto 24px; }

/* Footer */
.footer {
  background: #020617;
  padding: 50px 0 20px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1.5fr; }
}
.footer h3, .footer h4 { color: #fff; margin-bottom: 12px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 6px; }
.footer a { color: var(--text-muted); text-decoration: none; }
.footer a:hover { color: #fff; }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.social-links a {
  background: #0f172a;
  border: 1px solid var(--border);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
}
.footer-disclaimer {
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  font-size: 11px;
  line-height: 1.6;
}

/* Sticky Mobile Bar */
.sticky-mobile {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0f172a;
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  display: flex;
  gap: 10px;
  z-index: 999;
}
@media (min-width: 768px) {
  .sticky-mobile { display: none; }
}
.sticky-call {
  flex: 1;
  background: var(--success);
  color: #fff;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.sticky-quote {
  flex: 1;
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
