/*
Theme Name: One Stop Business Solutions 2026
Theme URI: https://myonestopbiz.com
Author: One Stop Business Solutions
Author URI: https://myonestopbiz.com
Description: Custom block theme for One Stop Business Solutions, designed with Pencil.dev
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: onestop-2026
*/

/* ===== RESET & GLOBAL ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #FAFAFA;
}

/* Sticky footer */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-wrapper > main,
.site-wrapper > .wp-block-group:nth-child(2) {
  flex: 1 1 auto;
}

/* ===== TYPOGRAPHY HELPERS ===== */
.font-newsreader {
  font-family: 'Newsreader', Georgia, serif;
}

.font-inter {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.font-jetbrains {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
}

/* ===== HEADER ===== */
/* White header with dark text */
.wp-block-template-part[data-slug="header"] .wp-block-group:first-child {
  background-color: #FFFFFF !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.wp-block-template-part[data-slug="header"] .wp-block-site-title a {
  color: #0F172A !important;
  text-decoration: none !important;
}

.wp-block-template-part[data-slug="header"] .wp-block-navigation a,
.wp-block-template-part[data-slug="header"] .wp-block-navigation .wp-block-navigation-item__content {
  color: #334155 !important;
  text-decoration: none !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.wp-block-template-part[data-slug="header"] .wp-block-navigation a:hover,
.wp-block-template-part[data-slug="header"] .wp-block-navigation .wp-block-navigation-item__content:hover {
  color: #0D6E6E !important;
}

/* Remove WP navigation default styles */
.wp-block-navigation__responsive-container,
.wp-block-navigation__responsive-container.is-menu-open {
  padding: 0 !important;
}

/* ===== BOOK A CALL BUTTON (Header) ===== */
.book-a-call-btn {
  background-color: #0D6E6E !important;
  color: #FFFFFF !important;
  padding: 10px 16px !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  font-family: 'Inter', sans-serif !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  display: inline-block !important;
  line-height: 1.4 !important;
}

.book-a-call-btn:hover {
  background-color: #0A5B5B !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(13, 110, 110, 0.25) !important;
}

/* ===== HERO PRIMARY BUTTON ===== */
.hero-primary-btn {
  background-color: #0D6E6E;
  color: #FFFFFF;
  padding: 13px 20px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  line-height: 1.4;
}

.hero-primary-btn:hover {
  background-color: #0A5B5B;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 110, 110, 0.25);
}

/* ===== CTA CONSULTATION BUTTON ===== */
.cta-consultation-btn {
  background-color: #0D6E6E;
  color: #FFFFFF;
  padding: 14px 22px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  line-height: 1.4;
}

.cta-consultation-btn:hover {
  background-color: #0A5B5B;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 110, 110, 0.25);
}

/* ===== CONTACT MODAL ===== */
.contact-modal {
  display: none !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.contact-modal.active {
  display: flex !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.contact-modal-content {
  background: #FFFFFF;
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #0F172A;
}

.contact-modal h2 {
  margin: 0 0 8px 0;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  color: #0F172A;
}

.contact-modal p {
  margin: 0 0 32px 0;
  color: #64748b;
  font-size: 16px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #0F172A;
}

.form-group input {
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #0D6E6E;
  box-shadow: 0 0 0 3px rgba(13, 110, 110, 0.1);
}

.form-submit-btn {
  background-color: #0D6E6E;
  color: #FFFFFF;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 8px;
  text-decoration: none;
  display: block;
  text-align: center;
}

.form-submit-btn:hover {
  background-color: #0A5B5B;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 110, 110, 0.25);
}

.form-message {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 16px;
  display: none;
}

.form-message.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-message.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ===== FOOTER ===== */
.wp-block-template-part[data-slug="footer"] .wp-block-site-title a {
  color: #F8FAFC !important;
  text-decoration: none !important;
}

/* ===== FULL-WIDTH LAYOUT FIXES ===== */
/* Force template parts (header/footer) to span full width on all pages */
.wp-site-blocks {
  padding: 0 !important;
  max-width: 100% !important;
}

.wp-site-blocks > .wp-block-template-part,
.site-wrapper > .wp-block-template-part {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Remove any WP-injected content constraints on the outer wrapper */
.wp-site-blocks > *,
.site-wrapper > * {
  max-width: 100% !important;
}

/* ===== WP BLOCK OVERRIDES ===== */
/* Remove default WP margins on headings/paragraphs inside our groups */
.wp-block-group .wp-block-heading,
.wp-block-group .wp-block-paragraph {
  margin-top: 0;
  margin-bottom: 0;
}

/* Fix WP columns to not add extra gap */
.wp-block-columns {
  margin-bottom: 0 !important;
}

/* Ensure hero card fills height */
.wp-block-group.has-white-background-color[style*="min-height:400px"] {
  display: flex;
  flex-direction: column;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .site-header,
  .site-footer {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Reduce section padding on tablet */
  main.wp-block-group > .wp-block-group {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
}

@media (max-width: 768px) {
  .site-header {
    flex-wrap: wrap !important;
    gap: 12px !important;
    padding: 10px 12px !important;
  }

  .site-header > .wp-block-group {
    flex-wrap: wrap !important;
    gap: 10px !important;
    width: 100%;
    justify-content: center !important;
  }

  .site-footer {
    padding: 12px 12px !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    justify-content: center !important;
    text-align: center;
  }

  /* Reduce section padding on mobile */
  main.wp-block-group > .wp-block-group {
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  /* Stack columns on mobile */
  .wp-block-columns {
    flex-direction: column !important;
  }

  .contact-modal-content {
    padding: 32px 24px;
  }

  .contact-modal h2 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 8px 8px !important;
  }

  .site-footer {
    padding: 8px 8px !important;
  }

  /* Tighter padding on small phones */
  main.wp-block-group > .wp-block-group {
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }

  .contact-modal-content {
    padding: 24px 16px;
  }

  .contact-modal h2 {
    font-size: 24px;
  }
}

/* ============================================
   HIRE PACKET — Multi-Step Form
============================================ */

/* Demo banner */
.hp-demo-banner {
  background: #FEF3C7;
  color: #92400E;
  text-align: center;
  padding: 12px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-bottom: 1px solid #FDE68A;
}

/* Container */
.hp-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 0 64px;
}

.hp-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 40px;
  font-weight: 600;
  color: #0F172A;
  margin: 0 0 8px;
  line-height: 1.15;
}

.hp-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #64748B;
  margin: 0 0 32px;
}

.hp-required-star {
  color: #DC2626;
  font-weight: 700;
}

/* Progress bar */
.hp-progress {
  margin-bottom: 32px;
}

.hp-progress-bar {
  height: 4px;
  background: #E2E8F0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
}

.hp-progress-fill {
  height: 100%;
  background: #0D6E6E;
  border-radius: 4px;
  width: 0%;
  transition: width 0.4s ease;
}

.hp-steps {
  display: flex;
  justify-content: space-between;
  gap: 4px;
}

.hp-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
  flex: 1;
}

.hp-step:hover {
  background: #F1F5F9;
}

.hp-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  background: #E2E8F0;
  color: #64748B;
  transition: all 0.3s ease;
}

.hp-step.active .hp-step-num {
  background: #0D6E6E;
  color: #FFFFFF;
}

.hp-step.completed .hp-step-num {
  background: #0D6E6E;
  color: #FFFFFF;
}

.hp-step-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #94A3B8;
  white-space: nowrap;
}

.hp-step.active .hp-step-label {
  color: #0D6E6E;
  font-weight: 600;
}

.hp-step.completed .hp-step-label {
  color: #0F172A;
}

/* Cards */
.hp-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 0;
}

.hp-card-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  color: #0F172A;
  margin: 0 0 24px;
  line-height: 1.2;
}

.hp-card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #64748B;
  margin: -16px 0 24px;
}

.hp-section-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: #0D6E6E;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 28px 0 16px;
  padding-top: 20px;
  border-top: 1px solid #F1F5F9;
}

/* Step panels — hide/show */
.hp-step-panel {
  display: none;
}

.hp-step-panel.active {
  display: block;
}

/* Field grid */
.hp-row {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

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

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

.hp-field-2 {
  grid-column: span 2;
}

.hp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hp-field label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hp-req {
  color: #DC2626;
}

.hp-field input[type="text"],
.hp-field input[type="email"],
.hp-field input[type="tel"],
.hp-field input[type="date"],
.hp-field input[type="number"],
.hp-field select {
  padding: 10px 14px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: #0F172A;
  background: #FFFFFF;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.hp-field input:focus,
.hp-field select:focus {
  outline: none;
  border-color: #0D6E6E;
  box-shadow: 0 0 0 3px rgba(13, 110, 110, 0.12);
}

.hp-field input.hp-error,
.hp-field select.hp-error {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.hp-error-msg {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #DC2626;
  margin-top: 2px;
}

.hp-field-hint {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #94A3B8;
}

.hp-readonly {
  background: #F8FAFC !important;
  color: #64748B !important;
  cursor: default;
}

/* Radio & Checkbox */
.hp-radio-group {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.hp-radio-group-vertical {
  flex-direction: column;
  gap: 12px;
}

.hp-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #0F172A;
  cursor: pointer;
}

.hp-radio input[type="radio"],
.hp-radio input[type="checkbox"] {
  accent-color: #0D6E6E;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.hp-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #0F172A;
  cursor: pointer;
  padding: 12px 16px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  transition: border-color 0.2s;
}

.hp-checkbox-label:hover {
  border-color: #0D6E6E;
}

.hp-checkbox-label input[type="checkbox"] {
  accent-color: #0D6E6E;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

/* File upload zones */
.hp-upload-zone {
  border: 2px dashed #CBD5E1;
  border-radius: 8px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hp-upload-zone:hover,
.hp-upload-zone.hp-drag-over {
  border-color: #0D6E6E;
  background: rgba(13, 110, 110, 0.04);
}

.hp-upload-zone.hp-error {
  border-color: #DC2626;
  background: rgba(220, 38, 38, 0.04);
}

.hp-upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hp-upload-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #64748B;
}

.hp-upload-text strong {
  color: #0D6E6E;
  text-decoration: underline;
}

.hp-upload-preview {
  width: 100%;
}

.hp-file-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}

.hp-file-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.hp-file-name {
  color: #0F172A;
  font-weight: 500;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}

.hp-file-size {
  color: #94A3B8;
  font-size: 12px;
  flex-shrink: 0;
}

.hp-upload-remove {
  background: none;
  border: none;
  font-size: 20px;
  color: #94A3B8;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  flex-shrink: 0;
}

.hp-upload-remove:hover {
  color: #DC2626;
}

/* Review summary */
.hp-review-summary {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.hp-review-section h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: #0D6E6E;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #E2E8F0;
}

.hp-review-section dl {
  margin: 0;
}

.hp-review-row {
  display: flex;
  padding: 6px 0;
  gap: 12px;
}

.hp-review-row dt {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  min-width: 140px;
  flex-shrink: 0;
}

.hp-review-row dd {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #0F172A;
  margin: 0;
}

.hp-disclaimer {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #64748B;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
  text-align: center;
}

/* Navigation buttons */
.hp-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  gap: 12px;
}

.hp-btn {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.hp-btn-prev {
  background: #FFFFFF;
  color: #334155;
  border: 1px solid #CBD5E1;
}

.hp-btn-prev:hover {
  background: #F1F5F9;
  border-color: #94A3B8;
}

.hp-btn-next,
.hp-btn-submit {
  background: #0D6E6E;
  color: #FFFFFF;
  margin-left: auto;
}

.hp-btn-next:hover,
.hp-btn-submit:hover {
  background: #0A5B5B;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 110, 110, 0.25);
}

/* Success overlay */
.hp-success-overlay {
  text-align: center;
  padding: 60px 20px;
}

.hp-success-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 48px 40px;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.hp-success-icon {
  margin-bottom: 20px;
}

.hp-success-card h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: #0F172A;
  margin: 0 0 12px;
}

.hp-success-card p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #64748B;
  margin: 0 0 28px;
  line-height: 1.6;
}

/* ---- Hire Packet Responsive ---- */
@media (max-width: 768px) {
  .hp-container {
    padding: 24px 0 48px;
  }

  .hp-title {
    font-size: 30px;
  }

  .hp-row-2,
  .hp-row-3 {
    grid-template-columns: 1fr;
  }

  .hp-field-2 {
    grid-column: span 1;
  }

  .hp-card {
    padding: 24px 20px;
  }

  .hp-steps {
    gap: 2px;
  }

  .hp-step {
    padding: 4px 2px;
  }

  .hp-step-label {
    font-size: 10px;
  }

  .hp-step-num {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .hp-review-row {
    flex-direction: column;
    gap: 2px;
  }

  .hp-review-row dt {
    min-width: 0;
  }

  .hp-nav {
    flex-direction: column-reverse;
  }

  .hp-btn {
    width: 100%;
    justify-content: center;
  }

  .hp-btn-next,
  .hp-btn-submit {
    margin-left: 0;
  }

  .hp-success-card {
    padding: 36px 24px;
  }
}

@media (max-width: 480px) {
  .hp-title {
    font-size: 26px;
  }

  .hp-card {
    padding: 20px 16px;
    border-radius: 8px;
  }

  .hp-card-title {
    font-size: 22px;
  }

  .hp-step-label {
    display: none;
  }
}

/* =================================
   Hire Packet Form (Template Version)
   ================================= */
.hire-packet-form {
  max-width: 900px;
  margin: 0 auto;
}

.hire-form .form-section {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
}

.hire-form .section-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  color: #0F172A;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #E2E8F0;
}

.hire-form .subsection-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: #0D6E6E;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 28px 0 16px;
  padding-top: 20px;
  border-top: 1px solid #F1F5F9;
}

.hire-form .form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.hire-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hire-form .form-group label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.hire-form .form-group input[type="text"],
.hire-form .form-group input[type="email"],
.hire-form .form-group input[type="tel"],
.hire-form .form-group input[type="date"],
.hire-form .form-group input[type="number"],
.hire-form .form-group select {
  padding: 10px 14px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: #0F172A;
  background: #FFFFFF;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hire-form .form-group input:focus,
.hire-form .form-group select:focus {
  outline: none;
  border-color: #0D6E6E;
  box-shadow: 0 0 0 3px rgba(13, 110, 110, 0.12);
}

.hire-form .form-group input[type="file"] {
  padding: 8px 12px;
  border: 2px dashed #CBD5E1;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.hire-form .form-group input[type="file"]:hover {
  border-color: #0D6E6E;
  background: rgba(13, 110, 110, 0.04);
}

.hire-form .help-text {
  font-size: 12px;
  color: #94A3B8;
  font-family: 'Inter', sans-serif;
}

.hire-form .radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}

.hire-form .radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #0F172A;
  cursor: pointer;
}

.hire-form .radio-label input[type="radio"] {
  accent-color: #0D6E6E;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.hire-form .checkbox-group {
  margin: 16px 0;
}

.hire-form .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #0F172A;
  cursor: pointer;
  padding: 12px 16px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  transition: border-color 0.2s;
}

.hire-form .checkbox-label:hover {
  border-color: #0D6E6E;
}

.hire-form .checkbox-label input[type="checkbox"] {
  accent-color: #0D6E6E;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.hire-form .form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.hire-form .btn-secondary {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 12px;
  background: #FFFFFF;
  color: #334155;
  border: 1px solid #CBD5E1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hire-form .btn-secondary:hover {
  background: #F1F5F9;
  border-color: #94A3B8;
}

.hire-form .btn-primary {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 12px;
  background: #0D6E6E;
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hire-form .btn-primary:hover {
  background: #0A5B5B;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 110, 110, 0.25);
}

.hire-form .form-message {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}

.hire-form .form-message.success {
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  color: #166534;
}

.hire-form .form-message.error {
  background: #FEE2E2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

/* Hide spouse fields by default */
.spouse-info,
.alien-info {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hire-form .form-section {
    padding: 24px 20px;
  }

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

  .hire-form .form-actions {
    flex-direction: column-reverse;
  }

  .hire-form .btn-secondary,
  .hire-form .btn-primary {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hire-form .form-section {
    padding: 20px 16px;
    border-radius: 8px;
  }

  .hire-form .section-title {
    font-size: 22px;
  }
}
/* ===== HIRE PACKET FORM STYLES ===== */
.hire-packet-wrapper {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.hire-packet-demo-banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 16px 24px;
  border-radius: 12px;
  margin-bottom: 32px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.hire-packet-progress {
  background: white;
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hire-packet-progress-bar {
  background: #e0e7ff;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 16px;
}

.hire-packet-progress-fill {
  background: linear-gradient(90deg, #0D6E6E 0%, #0F9D9D 100%);
  height: 100%;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hire-packet-steps {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.hire-packet-step-btn {
  flex: 1;
  padding: 10px 12px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background: white;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
  cursor: not-allowed;
  transition: all 0.2s;
}

.hire-packet-step-btn.active {
  border-color: #0D6E6E;
  background: #0D6E6E;
  color: white;
  box-shadow: 0 4px 12px rgba(13, 110, 110, 0.3);
}

.hire-packet-step-btn.completed {
  border-color: #10b981;
  background: #ecfdf5;
  color: #10b981;
  cursor: pointer;
}

.hire-packet-step-btn.completed:hover {
  background: #d1fae5;
}

.hire-packet-form {
  background: white;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hire-packet-step-content {
  display: none;
}

.hire-packet-step-content.active {
  display: block;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hire-packet-step-content h3 {
  margin: 0 0 24px 0;
  color: #0a0a23;
  font-size: 24px;
  font-weight: 700;
}

.hire-packet-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

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

.hire-packet-form-group {
  display: flex;
  flex-direction: column;
}

.hire-packet-form-group label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
  font-size: 14px;
}

.hire-packet-form-group label .required {
  color: #ef4444;
  margin-left: 2px;
}

.hire-packet-form-group input,
.hire-packet-form-group select,
.hire-packet-form-group textarea {
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.2s;
  font-family: inherit;
}

.hire-packet-form-group input:focus,
.hire-packet-form-group select:focus,
.hire-packet-form-group textarea:focus {
  outline: none;
  border-color: #0D6E6E;
  box-shadow: 0 0 0 3px rgba(13, 110, 110, 0.1);
}

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

.hire-packet-form-group.error input,
.hire-packet-form-group.error select,
.hire-packet-form-group.error textarea {
  border-color: #ef4444;
}

.hire-packet-error-message {
  color: #ef4444;
  font-size: 13px;
  margin-top: 4px;
  font-weight: 500;
}

.hire-packet-upload-zone {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
  background: #f8fafc;
}

.hire-packet-upload-zone:hover,
.hire-packet-upload-zone.drag-over {
  border-color: #0D6E6E;
  background: #ecfdf5;
}

.hire-packet-upload-zone input[type="file"] {
  display: none;
}

.hire-packet-upload-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.hire-packet-file-preview {
  margin-top: 16px;
  padding: 12px 16px;
  background: #f3f4f6;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hire-packet-file-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hire-packet-file-name {
  font-weight: 600;
  color: #1f2937;
}

.hire-packet-file-size {
  color: #6b7280;
  font-size: 13px;
}

.hire-packet-file-remove {
  background: #ef4444;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
}

.hire-packet-file-remove:hover {
  background: #dc2626;
}

.hire-packet-form-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.hire-packet-btn {
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: inherit;
}

.hire-packet-btn-secondary {
  background: #f3f4f6;
  color: #374151;
}

.hire-packet-btn-secondary:hover {
  background: #e5e7eb;
}

.hire-packet-btn-primary {
  background: linear-gradient(135deg, #0D6E6E 0%, #0F9D9D 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(13, 110, 110, 0.3);
}

.hire-packet-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 110, 110, 0.4);
}

.hire-packet-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.hire-packet-btn:disabled:hover {
  transform: none;
}

.hire-packet-review-section {
  margin-bottom: 24px;
  padding: 20px;
  background: #f9fafb;
  border-radius: 8px;
  border-left: 4px solid #0D6E6E;
}

.hire-packet-review-section h4 {
  margin: 0 0 12px 0;
  color: #0a0a23;
  font-size: 18px;
}

.hire-packet-review-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 8px 16px;
}

.hire-packet-review-label {
  font-weight: 600;
  color: #6b7280;
}

.hire-packet-review-value {
  color: #1f2937;
}

.hire-packet-checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
}

.hire-packet-checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.hire-packet-demo-output {
  margin-top: 24px;
  padding: 20px;
  background: #1f2937;
  color: #10b981;
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  max-height: 400px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
}

@media (max-width: 768px) {
  .hire-packet-form-row {
    grid-template-columns: 1fr;
  }

  .hire-packet-steps {
    flex-wrap: wrap;
  }

  .hire-packet-step-btn {
    font-size: 11px;
    padding: 8px 6px;
  }

  .hire-packet-form {
    padding: 20px;
  }

  .hire-packet-review-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hire-packet-review-label {
    font-size: 13px;
    opacity: 0.8;
  }
}

/* ============================================
   TOOLS PAGE CARD STYLING
============================================ */
.tools-card {
  margin: 24px 0;
}

.tools-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.tools-link-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.tools-link:hover .tools-link-inner {
  border-color: #0D6E6E;
  background: #f0fdfa;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 110, 110, 0.15);
}

.tools-link svg {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  stroke: #0D6E6E;
  transition: transform 0.25s ease;
}

.tools-link:hover svg {
  transform: scale(1.1);
}

.tools-link-text h3 {
  margin: 0 0 4px 0;
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
  transition: color 0.25s ease;
}

.tools-link:hover .tools-link-text h3 {
  color: #0D6E6E;
}

.tools-link-text p {
  margin: 0;
  font-size: 15px;
  color: #6b7280;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .tools-link-inner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .tools-link-text h3 {
    font-size: 18px;
  }

  .tools-link-text p {
    font-size: 14px;
  }
}
