/* ==========================================================================
   Goshawk Denton County Inmate Search - Official Stylesheet
   Sophisticated Dark Theme - Pure CSS3, Mobile-First, Accessible
   ========================================================================== */

/* --- CSS Variables & Design Tokens (Sophisticated Dark) --- */
:root {
  --color-primary: #f8fafc;        /* High-contrast crisp heading (Slate 50) */
  --color-primary-light: #e2e8f0;  /* Slate 200 */
  --color-accent: #0284c7;         /* Sky 600 Electric Trust Blue */
  --color-accent-hover: #0ea5e9;   /* Sky 500 */
  --color-accent-soft: rgba(2, 132, 199, 0.16); /* Translucent Sky glow */
  --color-accent-text: #38bdf8;    /* Sky 400 */
  --color-secondary: #38bdf8;      /* Sky 400 highlight */
  --color-secondary-hover: #7dd3fc;/* Sky 300 */
  
  --color-bg-main: #020617;        /* Deepest Slate / Slate 950 */
  --color-bg-alt: #0b1120;         /* Slate 900 Canvas */
  --color-bg-subtle: #0f172a;      /* Slate 900 Surface */
  --color-card: rgba(15, 23, 42, 0.72); /* Translucent Matte Dark Surface */
  --color-card-border: #1e293b;    /* Slate 800 subtle edge */
  
  --color-text-main: #e2e8f0;      /* Slate 200 body text */
  --color-text-muted: #94a3b8;     /* Slate 400 muted text */
  --color-text-subtle: #64748b;    /* Slate 500 subtle meta */
  --color-text-inverse: #020617;   /* Inverse dark on light chips */
  
  --color-success: #4ade80;
  --color-success-bg: rgba(34, 197, 94, 0.12);
  --color-border: #1e293b;         /* Slate 800 */
  --color-border-focus: #0ea5e9;   /* Sky 500 */
  
  --font-heading: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 30px -5px rgba(0, 0, 0, 0.8), 0 8px 10px -6px rgba(0, 0, 0, 0.6);
  --glow-sky: 0 0 25px rgba(2, 132, 199, 0.2);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  
  --header-height: 74px;
  --topbar-height: 38px;
}

/* --- Global Reset & Box Sizing --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--topbar-height) + 16px);
  -webkit-text-size-adjust: 100%;
  background-color: var(--color-bg-main);
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-bg-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* --- Container Utility --- */
.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.container-narrow {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
}

/* --- Typography Helpers --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
}

h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
}

p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.section-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--color-accent-soft);
  color: var(--color-accent-text);
  border: 1px solid rgba(56, 189, 248, 0.25);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  max-width: 680px;
  margin: 0.75rem auto 0;
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

/* --- Buttons & Action Links --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover, .btn-primary:focus-visible {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.5);
}

.btn-secondary {
  background-color: #1e293b;
  color: #f8fafc;
  border-color: #334155;
}

.btn-secondary:hover, .btn-secondary:focus-visible {
  background-color: #334155;
  border-color: #475569;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border-color: #334155;
  color: #cbd5e1;
}

.btn-outline:hover, .btn-outline:focus-visible {
  border-color: var(--color-secondary);
  color: #ffffff;
  background-color: rgba(2, 132, 199, 0.12);
  transform: translateY(-1px);
}

.btn-white {
  background-color: #f8fafc;
  color: #020617;
  font-weight: 700;
}

.btn-white:hover, .btn-white:focus-visible {
  background-color: #e2e8f0;
  color: var(--color-accent);
}

.btn-lg {
  padding: 13px 26px;
  font-size: 1rem;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* --- Top Information Bar --- */
.top-bar {
  background-color: #020617;
  color: #94a3b8;
  font-size: 0.8125rem;
  border-bottom: 1px solid #1e293b;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: var(--topbar-height);
  padding: 6px 0;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
}

.top-bar-item a:hover {
  color: #38bdf8;
}

.badge-24h {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.25);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.75rem;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #22c55e;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* --- Main Header & Sticky Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #1e293b;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-fast);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #f8fafc;
  flex-shrink: 0;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.4);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  line-height: 1.1;
  font-size: 1.05rem;
  color: #f8fafc;
}

.brand-sub {
  font-size: 0.7rem;
  color: #38bdf8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Desktop Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #94a3b8;
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover, .nav-link:focus {
  color: #38bdf8;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #f8fafc;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background-color: #0f172a;
  border: 1px solid #334155;
  transition: all var(--transition-fast);
}

.header-phone-btn:hover {
  background-color: #1e293b;
  border-color: #38bdf8;
  color: #38bdf8;
}

/* Hamburger Button */
.hamburger-btn {
  display: none;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  color: #f8fafc;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.hamburger-btn:focus-visible {
  outline: 2px solid var(--color-accent);
}

/* Mobile Nav Drawer */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.mobile-nav-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: -320px;
  width: min(320px, 85vw);
  height: 100vh;
  background-color: #020617;
  border-left: 1px solid #1e293b;
  z-index: 1001;
  box-shadow: -6px 0 25px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal);
  padding: 20px;
  overflow-y: auto;
}

.mobile-nav-overlay.is-active .mobile-nav-panel {
  transform: translateX(-320px);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #1e293b;
  margin-bottom: 16px;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.mobile-nav-links a {
  display: block;
  padding: 12px 14px;
  font-weight: 600;
  color: #e2e8f0;
  border-radius: var(--radius-sm);
  background-color: #0f172a;
  border: 1px solid #1e293b;
  transition: all var(--transition-fast);
}

.mobile-nav-links a:hover, .mobile-nav-links a:active {
  background-color: #1e293b;
  border-color: #38bdf8;
  color: #38bdf8;
}

.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #1e293b;
}

/* --- Hero Section --- */
.hero-section {
  background: radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.12) 0%, rgba(2, 6, 23, 0) 60%),
              radial-gradient(circle at 10% 80%, rgba(14, 165, 233, 0.08) 0%, rgba(2, 6, 23, 0) 50%),
              #020617;
  padding: 3.75rem 0 3.25rem;
  border-bottom: 1px solid #1e293b;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-badge-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(2, 132, 199, 0.16);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.hero-title {
  color: #f8fafc;
  margin: 0;
}

.hero-lead {
  font-size: 1.125rem;
  color: #94a3b8;
  line-height: 1.65;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0.5rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid #1e293b;
}

.highlight-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.highlight-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #f8fafc;
}

.highlight-desc {
  font-size: 0.775rem;
  color: #64748b;
}

/* Hero Card / Quick Inmate Lookup Box */
.hero-card {
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid #1e293b;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(2, 132, 199, 0.1);
  position: relative;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #1e293b;
}

.hero-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-card-title svg {
  color: #38bdf8;
}

.quick-search-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-group-compact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-label-compact {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #cbd5e1;
}

.input-compact {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #334155;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background-color: #020617;
  color: #f8fafc;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input-compact::placeholder {
  color: #64748b;
}

.input-compact:focus {
  outline: none;
  border-color: #0ea5e9;
  background-color: #020617;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.hero-assistance-note {
  font-size: 0.775rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

/* --- Section Styling Generic --- */
.section-py {
  padding: 4.5rem 0;
}

.section-bg-alt {
  background-color: #070d18;
  border-top: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background-color: rgba(15, 23, 42, 0.65);
  border: 1px solid #1e293b;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), 0 0 20px rgba(2, 132, 199, 0.15);
  border-color: #38bdf8;
}

.service-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: rgba(2, 132, 199, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-card h3 {
  margin-bottom: 8px;
  color: #f8fafc;
}

.service-card p {
  font-size: 0.9375rem;
  margin-bottom: 16px;
  flex-grow: 1;
  color: #94a3b8;
}

.service-card-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #1e293b;
}

.service-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #38bdf8;
}

.service-action-link:hover {
  gap: 9px;
  color: #7dd3fc;
}

/* --- Why Choose Us --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-box {
  background-color: rgba(15, 23, 42, 0.65);
  border: 1px solid #1e293b;
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color var(--transition-fast);
}

.feature-box:hover {
  border-color: #334155;
}

.feature-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(2, 132, 199, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-info h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: #f8fafc;
}

.feature-info p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #94a3b8;
}

/* --- Service Areas --- */
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.coverage-text p {
  margin-bottom: 16px;
  color: #94a3b8;
}

.area-tags-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.area-tag-item {
  background-color: #0f172a;
  border: 1px solid #1e293b;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #f8fafc;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.area-tag-item:hover {
  border-color: #38bdf8;
  color: #38bdf8;
}

.area-tag-item svg {
  color: #38bdf8;
  flex-shrink: 0;
}

.coverage-card-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid #334155;
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.coverage-card-box h3 {
  color: #f8fafc;
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.coverage-card-box p {
  color: #cbd5e1;
  margin-bottom: 20px;
  font-size: 0.9375rem;
}

.coverage-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.coverage-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #f1f5f9;
}

.coverage-list li svg {
  color: #38bdf8;
  flex-shrink: 0;
}

/* --- Process Section --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.process-step {
  background-color: rgba(15, 23, 42, 0.65);
  border: 1px solid #1e293b;
  border-radius: var(--radius-md);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.process-step:hover {
  border-color: #38bdf8;
  transform: translateY(-2px);
}

.process-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: #38bdf8;
  margin-bottom: 12px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: rgba(2, 132, 199, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #f8fafc;
}

.process-step p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #94a3b8;
}

/* --- FAQ Section --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: rgba(15, 23, 42, 0.65);
  border: 1px solid #1e293b;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item.is-open {
  border-color: #0284c7;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.faq-question-btn {
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.025rem;
  font-weight: 600;
  color: #f8fafc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 12px;
  transition: color var(--transition-fast);
}

.faq-question-btn:hover {
  color: #38bdf8;
}

.faq-icon-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
  color: #64748b;
}

.faq-item.is-open .faq-icon-arrow {
  transform: rotate(180deg);
  color: #38bdf8;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease;
  padding: 0 20px;
  background-color: #020617;
}

.faq-item.is-open .faq-answer {
  max-height: 500px;
  padding: 14px 20px 18px;
  border-top: 1px solid #1e293b;
}

.faq-answer p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #94a3b8;
}

/* --- Contact / Inquiry Form Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  align-items: start;
}

.contact-info-panel {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid #334155;
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: var(--shadow-md);
}

.contact-info-panel h3 {
  color: #f8fafc;
  font-size: 1.35rem;
}

.contact-info-panel p {
  color: #94a3b8;
  font-size: 0.9375rem;
}

.contact-card-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.contact-card-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background-color: rgba(2, 132, 199, 0.16);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-content {
  display: flex;
  flex-direction: column;
}

.contact-card-label {
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-card-value {
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff;
}

.contact-card-value a:hover {
  color: #38bdf8;
}

.contact-form-container {
  background-color: rgba(15, 23, 42, 0.75);
  border: 1px solid #1e293b;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.contact-form-container h3 {
  margin-bottom: 6px;
  color: #f8fafc;
}

.contact-form-container > p {
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: #94a3b8;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #cbd5e1;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #334155;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  background-color: #020617;
  color: #f8fafc;
  transition: all var(--transition-fast);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: #64748b;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: #0ea5e9;
  background-color: #020617;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25);
}

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

.form-notice {
  font-size: 0.8rem;
  color: #94a3b8;
  background-color: #020617;
  border: 1px solid #1e293b;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.form-feedback {
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  font-size: 0.875rem;
}

.form-feedback.is-visible {
  display: block;
}

.form-feedback.success {
  background-color: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
}

/* --- Final Call To Action Banner --- */
.final-cta-section {
  background: radial-gradient(circle at 50% 50%, rgba(2, 132, 199, 0.15) 0%, rgba(2, 6, 23, 0) 70%),
              linear-gradient(135deg, #070d18 0%, #0f172a 100%);
  border-top: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
  color: #ffffff;
  padding: 4rem 0;
  text-align: center;
  position: relative;
}

.final-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.final-cta-inner h2 {
  color: #f8fafc;
}

.final-cta-inner p {
  color: #94a3b8;
  font-size: 1.05rem;
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 8px;
}

/* --- Footer --- */
.site-footer {
  background-color: #020617;
  color: #94a3b8;
  border-top: 1px solid #1e293b;
  padding: 3.5rem 0 1.5rem;
  font-size: 0.9rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: #f8fafc;
  font-size: 1rem;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer-about p {
  color: #94a3b8;
  font-size: 0.875rem;
  margin-top: 10px;
  line-height: 1.6;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  color: #94a3b8;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.footer-nav-list a:hover {
  color: #38bdf8;
  padding-left: 4px;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-items li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #94a3b8;
  font-size: 0.875rem;
}

.footer-contact-items svg {
  color: #38bdf8;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Social Media Section in Code (Easy to edit) --- */
.social-links-section {
  padding: 20px 0;
  border-top: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
  margin-bottom: 24px;
}

.social-links-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.social-title {
  font-size: 0.875rem;
  color: #f8fafc;
  font-weight: 600;
}

.social-icons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.social-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background-color: #0f172a;
  color: #cbd5e1;
  border: 1px solid #1e293b;
  transition: all var(--transition-fast);
}

.social-link-btn:hover {
  background-color: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8125rem;
  color: #64748b;
}

.footer-disclaimer {
  font-size: 0.775rem;
  color: #64748b;
  margin-top: 14px;
  line-height: 1.5;
  text-align: center;
}

/* --- ZIP Download Helper Widget --- */
.zip-download-bar {
  background-color: #0f172a;
  border-bottom: 1px solid #1e293b;
  color: #e2e8f0;
  padding: 10px 16px;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.zip-download-bar a, .zip-download-bar button {
  background-color: #0284c7;
  color: #ffffff;
  font-weight: 700;
  border: none;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.825rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color var(--transition-fast);
}

.zip-download-bar a:hover, .zip-download-bar button:hover {
  background-color: #0ea5e9;
}

/* ==========================================================================
   Responsive Breakpoints
   1920px, 1440px, 1366px, 1280px, 1200px, 1024px, 768px, 480px, 390px, 375px
   ========================================================================== */

@media (max-width: 1024px) {
  .nav-menu {
    gap: 14px;
  }
  
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet & Mobile Breakpoint (<= 880px) */
@media (max-width: 880px) {
  .nav-menu {
    display: none;
  }
  
  .hamburger-btn {
    display: flex;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .coverage-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 6px 0;
  }
  
  .header-phone-btn {
    display: none;
  }
  
  .hero-highlights {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .area-tags-grid {
    grid-template-columns: 1fr;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .social-links-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Ultra-compact phone adjustments (375px - 390px) */
@media (max-width: 390px) {
  .container, .container-narrow {
    width: calc(100% - 24px);
  }
  
  .btn-lg {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
  
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-cta-group .btn {
    width: 100%;
  }
}
