/* ==========================================================================
   HIRE PERMANENT DRIVER - PREMIUM ENTERPRISE DESIGN SYSTEM v3.0
   Aesthetics: Ultra-Modern, Glassmorphic Depth, Rich Visual Cards, Interactive
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Premium Palette */
  --hpd-navy-dark: #070B14;
  --hpd-navy-hero: #0F172A;
  --hpd-navy-card: #141E33;
  --hpd-blue-primary: #1D4ED8;
  --hpd-blue-accent: #2563EB;
  --hpd-blue-gradient: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  --hpd-blue-glow: rgba(37, 99, 235, 0.35);
  --hpd-blue-light: #EFF6FF;

  --hpd-emerald: #059669;
  --hpd-emerald-gradient: linear-gradient(135deg, #10B981 0%, #059669 100%);
  --hpd-emerald-glow: rgba(5, 150, 105, 0.3);
  --hpd-emerald-light: #ECFDF5;

  --hpd-amber: #D97706;
  --hpd-amber-gradient: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  --hpd-amber-light: #FFFBEB;

  --hpd-slate-900: #0F172A;
  --hpd-slate-800: #1E293B;
  --hpd-slate-700: #334155;
  --hpd-slate-600: #475569;
  --hpd-slate-500: #64748B;
  --hpd-slate-400: #94A3B8;
  --hpd-slate-300: #CBD5E1;
  --hpd-slate-200: #E2E8F0;
  --hpd-slate-100: #F1F5F9;
  --hpd-slate-50: #F8FAFC;
  --hpd-white: #FFFFFF;

  /* Typography */
  --hpd-font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --hpd-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevation */
  --hpd-radius-sm: 10px;
  --hpd-radius-md: 18px;
  --hpd-radius-lg: 28px;
  --hpd-radius-full: 9999px;
  --hpd-shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05);
  --hpd-shadow-md: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
  --hpd-shadow-lg: 0 24px 50px -10px rgba(15, 23, 42, 0.16);
  --hpd-shadow-glow: 0 0 35px rgba(37, 99, 235, 0.35);

  --hpd-transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--hpd-font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--hpd-slate-700);
  background-color: var(--hpd-white);
  padding-bottom: 76px;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--hpd-font-heading);
  color: var(--hpd-slate-900);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }

a {
  color: var(--hpd-blue-accent);
  text-decoration: none;
  transition: var(--hpd-transition);
}

a:hover { color: var(--hpd-blue-primary); }

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

/* Container & Layout */
.hpd-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.hpd-container-narrow { max-width: 900px; }

.hpd-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (min-width: 992px) {
  .hpd-section {
    padding-top: 110px;
    padding-bottom: 110px;
  }
}

.hpd-bg-slate { background-color: var(--hpd-slate-50); }
.hpd-bg-navy { background-color: var(--hpd-navy-dark); color: var(--hpd-white); }
.hpd-bg-blue-light { background-color: var(--hpd-blue-light); }

/* Header Component */
.hpd-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hpd-slate-200);
  box-shadow: var(--hpd-shadow-sm);
}

body.admin-bar .hpd-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .hpd-header { top: 46px; }
}

.hpd-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.hpd-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.hpd-logo-icon {
  width: 48px;
  height: 48px;
  background: var(--hpd-blue-gradient);
  border-radius: var(--hpd-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hpd-white);
  font-size: 1.5rem;
  font-weight: 900;
  box-shadow: 0 4px 16px var(--hpd-blue-glow);
}

.hpd-logo-text {
  font-family: var(--hpd-font-heading);
  font-weight: 900;
  font-size: 1.45rem;
  color: var(--hpd-navy-dark);
  line-height: 1.1;
}

.hpd-logo-text span {
  color: var(--hpd-amber);
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.hpd-nav { display: none; }
@media (min-width: 1024px) {
  .hpd-nav {
    display: flex;
    align-items: center;
    gap: 24px;
  }
}

.hpd-nav-list {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
}

.hpd-nav-item { position: relative; }

.hpd-nav-link {
  font-family: var(--hpd-font-heading);
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--hpd-slate-800);
  padding: 10px 14px;
  border-radius: var(--hpd-radius-sm);
  display: flex;
  align-items: center;
  gap: 4px;
}

.hpd-nav-link:hover {
  color: var(--hpd-blue-accent);
  background-color: var(--hpd-blue-light);
}

/* Dropdown */
.hpd-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;
  background-color: var(--hpd-white);
  border-radius: var(--hpd-radius-md);
  box-shadow: var(--hpd-shadow-lg);
  border: 1px solid var(--hpd-slate-200);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--hpd-transition);
  z-index: 101;
}

.hpd-nav-item:hover .hpd-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hpd-dropdown-link {
  display: block;
  padding: 12px 16px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--hpd-slate-700);
  border-radius: var(--hpd-radius-sm);
}

.hpd-dropdown-link:hover {
  background-color: var(--hpd-blue-light);
  color: var(--hpd-blue-primary);
}

/* Mobile Toggle */
.hpd-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--hpd-slate-100);
  border: none;
  border-radius: var(--hpd-radius-sm);
  cursor: pointer;
  color: var(--hpd-slate-900);
  font-size: 1.4rem;
}

@media (min-width: 1024px) {
  .hpd-mobile-toggle { display: none; }
}

.hpd-mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--hpd-white);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.hpd-mobile-nav.is-active { transform: translateX(0); }

.hpd-mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hpd-slate-200);
}

.hpd-mobile-nav-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--hpd-slate-700);
  cursor: pointer;
}

.hpd-mobile-menu { list-style: none; margin-top: 24px; }
.hpd-mobile-menu-item { border-bottom: 1px solid var(--hpd-slate-100); }
.hpd-mobile-menu-link {
  display: block;
  padding: 16px 0;
  font-family: var(--hpd-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--hpd-slate-900);
}

/* Button Components */
.hpd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: var(--hpd-radius-md);
  font-family: var(--hpd-font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--hpd-transition);
  text-align: center;
  white-space: nowrap;
}

.hpd-btn-primary {
  background: var(--hpd-amber-gradient);
  color: var(--hpd-white);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.35);
}

.hpd-btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(217, 119, 6, 0.45);
  color: var(--hpd-white);
}

.hpd-btn-secondary {
  background: var(--hpd-blue-gradient);
  color: var(--hpd-white);
  box-shadow: 0 8px 24px var(--hpd-blue-glow);
}

.hpd-btn-secondary:hover {
  transform: translateY(-3px) scale(1.02);
  color: var(--hpd-white);
}

.hpd-btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--hpd-white);
}

.hpd-btn-outline:hover {
  border-color: var(--hpd-white);
  background: rgba(255, 255, 255, 0.1);
}

.hpd-btn-lg {
  padding: 18px 42px;
  font-size: 1.15rem;
}

.hpd-btn-full { width: 100%; }

/* Hero Section */
.hpd-hero {
  background: radial-gradient(circle at 85% 15%, rgba(37, 99, 235, 0.22) 0%, rgba(7, 11, 20, 0) 65%),
              linear-gradient(135deg, var(--hpd-navy-dark) 0%, var(--hpd-navy-hero) 100%);
  color: var(--hpd-white);
  padding: 72px 0 100px 0;
  position: relative;
  overflow: hidden;
}

.hpd-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 992px) {
  .hpd-hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hpd-hero-content h1 {
  color: var(--hpd-white);
  margin-bottom: 24px;
}

.hpd-hero-content h1 span {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hpd-hero-subtitle {
  font-size: 1.22rem;
  color: var(--hpd-slate-300);
  margin-bottom: 36px;
  line-height: 1.65;
}

.hpd-hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hpd-hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 18px;
  border-radius: var(--hpd-radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--hpd-slate-100);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.hpd-hero-feature-item svg { color: var(--hpd-emerald); }

.hpd-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Stats Bar */
.hpd-stats-bar {
  background: var(--hpd-white);
  border-bottom: 1px solid var(--hpd-slate-200);
  padding: 32px 0;
  box-shadow: var(--hpd-shadow-sm);
}

.hpd-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (min-width: 768px) {
  .hpd-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hpd-stat-box {
  text-align: center;
  padding: 16px;
  border-right: 1px solid var(--hpd-slate-200);
}

.hpd-stat-box:last-child { border-right: none; }

.hpd-stat-number {
  font-family: var(--hpd-font-heading);
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--hpd-blue-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.hpd-stat-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--hpd-slate-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Comparison Matrix Section (Before vs After) */
.hpd-comparison-wrapper {
  background: var(--hpd-white);
  border-radius: var(--hpd-radius-lg);
  border: 1px solid var(--hpd-slate-200);
  box-shadow: var(--hpd-shadow-lg);
  overflow: hidden;
}

.hpd-comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .hpd-comparison-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hpd-comparison-col {
  padding: 40px;
}

.hpd-comparison-col-bad {
  background: #FEF2F2;
  border-right: 1px solid var(--hpd-slate-200);
}

.hpd-comparison-col-good {
  background: #ECFDF5;
}

.hpd-comparison-title {
  font-family: var(--hpd-font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hpd-comparison-list {
  list-style: none;
}

.hpd-comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 1rem;
  font-weight: 600;
}

.hpd-comparison-list li:last-child { margin-bottom: 0; }

.hpd-icon-bad {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #EF4444;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.hpd-icon-good {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #10B981;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Interactive Duty Shift Tabs */
.hpd-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hpd-tab-btn {
  padding: 14px 28px;
  border-radius: var(--hpd-radius-full);
  background: var(--hpd-slate-100);
  border: 1px solid var(--hpd-slate-300);
  font-family: var(--hpd-font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--hpd-slate-700);
  cursor: pointer;
  transition: var(--hpd-transition);
}

.hpd-tab-btn.is-active,
.hpd-tab-btn:hover {
  background: var(--hpd-blue-primary);
  color: var(--hpd-white);
  border-color: var(--hpd-blue-primary);
  box-shadow: 0 4px 16px var(--hpd-blue-glow);
}

.hpd-tab-content {
  display: none;
}

.hpd-tab-content.is-active {
  display: block;
}

/* Rich Cards & Grids */
.hpd-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .hpd-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .hpd-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.hpd-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 640px) {
  .hpd-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .hpd-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.hpd-card {
  background-color: var(--hpd-white);
  border-radius: var(--hpd-radius-md);
  padding: 32px;
  border: 1px solid var(--hpd-slate-200);
  box-shadow: var(--hpd-shadow-sm);
  transition: var(--hpd-transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hpd-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hpd-shadow-lg);
  border-color: var(--hpd-blue-accent);
}

.hpd-card-img-wrapper {
  margin: -32px -32px 24px -32px;
  height: 210px;
  overflow: hidden;
  position: relative;
}

.hpd-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hpd-card:hover .hpd-card-img {
  transform: scale(1.06);
}

.hpd-card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--hpd-radius-md);
  background-color: var(--hpd-blue-light);
  color: var(--hpd-blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
}

.hpd-card h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.hpd-card p {
  color: var(--hpd-slate-600);
  font-size: 0.98rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.hpd-card-link {
  font-family: var(--hpd-font-heading);
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--hpd-blue-accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hpd-card-link:hover {
  gap: 12px;
  color: var(--hpd-blue-primary);
}

/* Form Card */
.hpd-card-form {
  background: var(--hpd-white);
  border-radius: var(--hpd-radius-lg);
  padding: 36px;
  box-shadow: var(--hpd-shadow-lg);
  border: 1px solid var(--hpd-slate-200);
  color: var(--hpd-slate-900);
}

.hpd-card-form h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  text-align: center;
}

.hpd-card-form p {
  font-size: 0.92rem;
  color: var(--hpd-slate-500);
  text-align: center;
  margin-bottom: 28px;
}

.hpd-form-group { margin-bottom: 20px; }

.hpd-form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--hpd-slate-800);
  margin-bottom: 8px;
}

.hpd-form-input,
.hpd-form-select,
.hpd-form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--hpd-slate-300);
  border-radius: var(--hpd-radius-sm);
  font-family: var(--hpd-font-body);
  font-size: 0.98rem;
  color: var(--hpd-slate-900);
  background-color: var(--hpd-white);
  transition: var(--hpd-transition);
}

.hpd-form-input:focus,
.hpd-form-select:focus,
.hpd-form-textarea:focus {
  outline: none;
  border-color: var(--hpd-blue-accent);
  box-shadow: 0 0 0 4px var(--hpd-blue-glow);
}

/* City Cards */
.hpd-city-card {
  background: var(--hpd-white);
  border-radius: var(--hpd-radius-md);
  padding: 24px;
  border: 1px solid var(--hpd-slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--hpd-transition);
}

.hpd-city-card:hover {
  border-color: var(--hpd-blue-accent);
  background-color: var(--hpd-blue-light);
  transform: translateY(-3px);
  box-shadow: var(--hpd-shadow-md);
}

.hpd-city-name {
  font-family: var(--hpd-font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--hpd-slate-900);
}

.hpd-city-subtitle {
  font-size: 0.85rem;
  color: var(--hpd-slate-500);
}

.hpd-city-badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--hpd-emerald-light);
  color: var(--hpd-emerald);
  border-radius: var(--hpd-radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  margin-top: 6px;
}

.hpd-city-arrow {
  width: 40px;
  height: 40px;
  border-radius: var(--hpd-radius-full);
  background: var(--hpd-slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hpd-slate-700);
  transition: var(--hpd-transition);
  flex-shrink: 0;
}

.hpd-city-card:hover .hpd-city-arrow {
  background: var(--hpd-blue-accent);
  color: var(--hpd-white);
}

/* FAQ Accordion */
.hpd-faq-wrapper { max-width: 880px; margin: 0 auto; }

.hpd-faq-item {
  background: var(--hpd-white);
  border: 1px solid var(--hpd-slate-200);
  border-radius: var(--hpd-radius-md);
  margin-bottom: 18px;
  overflow: hidden;
  transition: var(--hpd-transition);
}

.hpd-faq-item.is-open {
  border-color: var(--hpd-blue-accent);
  box-shadow: var(--hpd-shadow-md);
}

.hpd-faq-question {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--hpd-font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--hpd-slate-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 18px;
}

.hpd-faq-icon {
  font-size: 1.3rem;
  color: var(--hpd-blue-accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.hpd-faq-item.is-open .hpd-faq-icon { transform: rotate(180deg); }

.hpd-faq-answer {
  padding: 0 28px 24px 28px;
  font-size: 0.98rem;
  color: var(--hpd-slate-600);
  line-height: 1.7;
  display: none;
}

.hpd-faq-item.is-open .hpd-faq-answer { display: block; }

/* Pricing Table */
.hpd-pricing-table-wrapper {
  overflow-x: auto;
  background: var(--hpd-white);
  border-radius: var(--hpd-radius-lg);
  border: 1px solid var(--hpd-slate-200);
  box-shadow: var(--hpd-shadow-md);
}

.hpd-pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.hpd-pricing-table th,
.hpd-pricing-table td {
  padding: 20px 28px;
  border-bottom: 1px solid var(--hpd-slate-200);
  font-size: 0.98rem;
}

.hpd-pricing-table th {
  background: var(--hpd-slate-50);
  font-family: var(--hpd-font-heading);
  font-weight: 800;
  color: var(--hpd-slate-900);
}

.hpd-pricing-table tr:last-child td { border-bottom: none; }
.hpd-pricing-highlight { font-weight: 800; color: var(--hpd-blue-primary); }

/* Sticky Mobile CTA Bar */
.hpd-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: var(--hpd-navy-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.3);
}

@media (min-width: 769px) {
  .hpd-mobile-bar { display: none; }
}

.hpd-mobile-bar-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 10px;
  border-radius: var(--hpd-radius-sm);
  font-family: var(--hpd-font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  text-align: center;
}

.hpd-mobile-call {
  background-color: var(--hpd-slate-800);
  color: var(--hpd-white);
  border: 1px solid var(--hpd-slate-700);
}

.hpd-mobile-whatsapp {
  background-color: #25D366;
  color: var(--hpd-white);
}

.hpd-mobile-hire {
  background-color: var(--hpd-amber);
  color: var(--hpd-white);
}

/* Modal Popup */
.hpd-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3000;
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--hpd-transition);
}

.hpd-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.hpd-modal-content {
  width: 100%;
  max-width: 520px;
  background: var(--hpd-white);
  border-radius: var(--hpd-radius-lg);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--hpd-shadow-lg);
}

.hpd-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--hpd-slate-100);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: var(--hpd-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  color: var(--hpd-slate-700);
}

/* Footer Component */
.hpd-footer {
  background-color: var(--hpd-navy-dark);
  color: var(--hpd-slate-300);
  padding-top: 80px;
  padding-bottom: 48px;
  border-top: 1px solid var(--hpd-slate-800);
  font-size: 0.92rem;
}

.hpd-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  margin-bottom: 64px;
}

@media (min-width: 640px) {
  .hpd-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .hpd-footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); }
}

.hpd-footer-brand p {
  margin-top: 18px;
  margin-bottom: 24px;
  color: var(--hpd-slate-400);
  line-height: 1.65;
}

.hpd-footer h4 {
  color: var(--hpd-white);
  font-size: 1.1rem;
  margin-bottom: 22px;
}

.hpd-footer-links { list-style: none; }
.hpd-footer-links li { margin-bottom: 14px; }
.hpd-footer-links a { color: var(--hpd-slate-400); }
.hpd-footer-links a:hover { color: var(--hpd-white); }

.hpd-footer-bottom {
  padding-top: 36px;
  border-top: 1px solid var(--hpd-slate-800);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: center;
}

@media (min-width: 768px) {
  .hpd-footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

.hpd-footer-bottom p {
  color: var(--hpd-slate-500);
  font-size: 0.88rem;
}

/* =============================================
   MISSING COMPONENT STYLES (Fixes Breaking)
   ============================================= */

/* Badge Components */
.hpd-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: var(--hpd-radius-full);
  font-family: var(--hpd-font-heading);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hpd-badge-primary {
  background-color: var(--hpd-blue-light);
  color: var(--hpd-blue-primary);
}

.hpd-badge-emerald {
  background-color: var(--hpd-emerald-light);
  color: var(--hpd-emerald);
}

.hpd-badge-amber {
  background-color: var(--hpd-amber-light);
  color: var(--hpd-amber);
}

/* Section Header Block */
.hpd-section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px auto;
}

.hpd-section-header h2 {
  margin-bottom: 16px;
}

.hpd-section-header p {
  font-size: 1.12rem;
  color: var(--hpd-slate-600);
  line-height: 1.65;
}

/* Trust Bar Component */
.hpd-trust-bar {
  background: var(--hpd-white);
  border-bottom: 1px solid var(--hpd-slate-200);
  padding: 40px 0;
}

.hpd-trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .hpd-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .hpd-trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .hpd-trust-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.hpd-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--hpd-radius-md);
  border: 1px solid var(--hpd-slate-200);
  background: var(--hpd-white);
  transition: var(--hpd-transition);
}

.hpd-trust-item:hover {
  border-color: var(--hpd-blue-accent);
  box-shadow: var(--hpd-shadow-sm);
  transform: translateY(-2px);
}

.hpd-trust-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--hpd-radius-sm);
  background: var(--hpd-emerald-light);
  color: var(--hpd-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.hpd-trust-title {
  font-family: var(--hpd-font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--hpd-slate-900);
  line-height: 1.3;
}

.hpd-trust-desc {
  font-size: 0.8rem;
  color: var(--hpd-slate-500);
  line-height: 1.4;
  margin-top: 2px;
}

/* Breadcrumbs */
.hpd-breadcrumbs {
  padding: 16px 0;
  font-size: 0.88rem;
  color: var(--hpd-slate-500);
  background: var(--hpd-slate-50);
  border-bottom: 1px solid var(--hpd-slate-200);
}

.hpd-breadcrumbs a {
  color: var(--hpd-blue-accent);
  font-weight: 600;
}

.hpd-breadcrumbs a:hover {
  color: var(--hpd-blue-primary);
  text-decoration: underline;
}

.hpd-breadcrumbs span {
  margin: 0 8px;
  color: var(--hpd-slate-400);
}

.hpd-breadcrumbs-list {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 0;
  margin: 0;
}

.hpd-breadcrumbs-list li {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  color: var(--hpd-slate-500);
}

.hpd-breadcrumbs-list li a {
  color: var(--hpd-blue-accent);
  font-weight: 600;
}

.hpd-breadcrumbs-list li a:hover {
  color: var(--hpd-blue-primary);
  text-decoration: underline;
}

.hpd-breadcrumbs-separator {
  margin: 0 10px;
  color: var(--hpd-slate-400);
  font-weight: 400;
}

/* Hero Visual Card (for service/city pages with image) */
.hpd-hero-visual-card {
  border-radius: var(--hpd-radius-lg);
  overflow: hidden;
  box-shadow: var(--hpd-shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hpd-hero-visual-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* Content Prose (for page.php / single.php content areas) */
.hpd-prose {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--hpd-slate-700);
}

.hpd-prose h2 {
  margin-top: 48px;
  margin-bottom: 18px;
}

.hpd-prose h3 {
  margin-top: 36px;
  margin-bottom: 14px;
}

.hpd-prose p {
  margin-bottom: 20px;
}

.hpd-prose ul, .hpd-prose ol {
  margin-bottom: 20px;
  padding-left: 28px;
}

.hpd-prose li {
  margin-bottom: 10px;
}

.hpd-prose img {
  border-radius: var(--hpd-radius-md);
  margin: 32px 0;
  box-shadow: var(--hpd-shadow-md);
}

/* Page Hero Banner (for inner pages) */
.hpd-page-hero {
  background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.18) 0%, rgba(7, 11, 20, 0) 60%),
              linear-gradient(135deg, var(--hpd-navy-dark) 0%, var(--hpd-navy-hero) 100%);
  color: var(--hpd-white);
  padding: 64px 0 72px 0;
  text-align: center;
}

.hpd-page-hero h1 {
  color: var(--hpd-white);
  margin-bottom: 16px;
}

.hpd-page-hero p {
  font-size: 1.18rem;
  color: var(--hpd-slate-300);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Steps / Process Section */
.hpd-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  counter-reset: step-counter;
}

@media (min-width: 768px) {
  .hpd-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hpd-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hpd-step {
  text-align: center;
  padding: 32px 24px;
  background: var(--hpd-white);
  border-radius: var(--hpd-radius-md);
  border: 1px solid var(--hpd-slate-200);
  position: relative;
  counter-increment: step-counter;
  transition: var(--hpd-transition);
}

.hpd-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--hpd-shadow-md);
  border-color: var(--hpd-blue-accent);
}

.hpd-step::before {
  content: counter(step-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--hpd-radius-full);
  background: var(--hpd-blue-gradient);
  color: var(--hpd-white);
  font-family: var(--hpd-font-heading);
  font-weight: 900;
  font-size: 1.2rem;
  margin: 0 auto 18px auto;
  box-shadow: 0 4px 14px var(--hpd-blue-glow);
}

.hpd-step h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.hpd-step p {
  font-size: 0.92rem;
  color: var(--hpd-slate-600);
}

/* Testimonial Cards */
.hpd-testimonial-card {
  background: var(--hpd-white);
  border-radius: var(--hpd-radius-md);
  padding: 32px;
  border: 1px solid var(--hpd-slate-200);
  box-shadow: var(--hpd-shadow-sm);
}

.hpd-testimonial-stars {
  color: #FBBF24;
  font-size: 1.2rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.hpd-testimonial-text {
  font-size: 1.02rem;
  font-style: italic;
  color: var(--hpd-slate-700);
  line-height: 1.7;
  margin-bottom: 18px;
}

.hpd-testimonial-author {
  font-family: var(--hpd-font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--hpd-slate-900);
}

.hpd-testimonial-role {
  font-size: 0.82rem;
  color: var(--hpd-slate-500);
}

/* Checklist items (for service/verification pages) */
.hpd-checklist {
  list-style: none;
  padding: 0;
}

.hpd-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--hpd-slate-700);
  font-weight: 600;
}

.hpd-checklist-icon {
  width: 26px;
  height: 26px;
  border-radius: var(--hpd-radius-full);
  background: var(--hpd-emerald);
  color: var(--hpd-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Sidebar CTA Card */
.hpd-sidebar-cta {
  background: linear-gradient(145deg, var(--hpd-navy-dark) 0%, var(--hpd-navy-hero) 100%);
  border-radius: var(--hpd-radius-lg);
  padding: 36px;
  color: var(--hpd-white);
  text-align: center;
}

.hpd-sidebar-cta h3 {
  color: var(--hpd-white);
  margin-bottom: 12px;
}

.hpd-sidebar-cta p {
  color: var(--hpd-slate-300);
  font-size: 0.94rem;
  margin-bottom: 24px;
}

/* Grid 2 Column Layout */
.hpd-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 992px) {
  .hpd-grid-2 {
    grid-template-columns: 1fr 400px;
  }
}
