.enquiry-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.enquiry-overlay.active {
  opacity: 1;
  visibility: visible;
}

.enquiry-modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
  transform: translateY(16px);
  transition: transform 0.3s ease;
  position: relative;
}

.enquiry-overlay.active .enquiry-modal {
  transform: translateY(0);
}

.enquiry-modal-header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
  border-radius: 16px 16px 0 0;
}

.enquiry-modal-header h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2D3436;
  margin: 0 0 4px;
}

.enquiry-modal-header p {
  font-size: 0.88rem;
  color: #636e72;
  margin: 0;
}

.enquiry-context-bar {
  background: #f0fafa;
  border-left: 3px solid #00A5A8;
  padding: 8px 14px;
  font-size: 0.8rem;
  color: #00A5A8;
  font-weight: 600;
  margin-top: 10px;
  border-radius: 4px;
  display: none;
}

.enquiry-context-bar.visible {
  display: block;
}

.enquiry-modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #636e72;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}

.enquiry-modal-close:hover {
  color: #2D3436;
}

.enquiry-modal-body {
  padding: 24px 32px 32px;
}

.enquiry-step {
  display: none;
}

.enquiry-step.active {
  display: block;
}

.enquiry-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

.enquiry-type-btn {
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  padding: 14px 16px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
}

.enquiry-type-btn:hover {
  border-color: #00A5A8;
  background: #f0fafa;
}

.enquiry-type-btn.selected {
  border-color: #00A5A8;
  background: #f0fafa;
}

.enquiry-type-btn-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #2D3436;
  display: block;
  margin-bottom: 2px;
}

.enquiry-type-btn-desc {
  font-size: 0.78rem;
  color: #636e72;
  display: block;
}

.enquiry-form-section {
  margin-bottom: 20px;
}

.enquiry-form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #2D3436;
  margin-bottom: 6px;
}

.enquiry-form-label span.req {
  color: #00A5A8;
  margin-left: 2px;
}

.enquiry-input,
.enquiry-select,
.enquiry-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  color: #2D3436;
  background: #fff;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.enquiry-input:focus,
.enquiry-select:focus,
.enquiry-textarea:focus {
  outline: none;
  border-color: #00A5A8;
}

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

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

.enquiry-form-divider {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b2bec3;
  margin: 20px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #f0f0f0;
}

.enquiry-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.enquiry-btn-primary {
  flex: 1;
  background: linear-gradient(135deg, #00A5A8, #008B8E);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.2s;
}

.enquiry-btn-primary:hover {
  opacity: 0.9;
}

.enquiry-btn-back {
  background: none;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 13px 20px;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  color: #636e72;
  transition: border-color 0.2s, color 0.2s;
}

.enquiry-btn-back:hover {
  border-color: #2D3436;
  color: #2D3436;
}

.enquiry-success {
  text-align: center;
  padding: 20px 0 10px;
  display: none;
}

.enquiry-success.active {
  display: block;
}

.enquiry-success-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #00A5A8, #008B8E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  color: #fff;
}

.enquiry-success h3 {
  font-size: 1.2rem;
  color: #2D3436;
  margin-bottom: 10px;
}

.enquiry-success p {
  font-size: 0.9rem;
  color: #636e72;
  line-height: 1.6;
}

.enquiry-error {
  background: #fff0f0;
  border: 1px solid #ffcccc;
  color: #c0392b;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.85rem;
  margin-bottom: 16px;
  display: none;
}

.enquiry-error.visible {
  display: block;
}

.callback-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.callback-overlay.active {
  opacity: 1;
  visibility: visible;
}

.callback-modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
  transform: translateY(16px);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.callback-overlay.active .callback-modal {
  transform: translateY(0);
}

.callback-modal-header {
  background: linear-gradient(135deg, #00A5A8, #008B8E);
  padding: 24px 28px 20px;
  color: #fff;
  position: relative;
}

.callback-modal-header h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.callback-modal-header p {
  font-size: 0.85rem;
  opacity: 0.85;
  margin: 0;
}

.callback-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.callback-modal-close:hover {
  background: rgba(255,255,255,0.3);
}

.callback-modal-body {
  padding: 24px 28px 28px;
}

.callback-success {
  text-align: center;
  padding: 10px 0;
  display: none;
}

.callback-success.active {
  display: block;
}

.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #e8e8e8;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  z-index: 900;
  padding: 12px 0;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.sticky-cta-bar.visible {
  transform: translateY(0);
}

.sticky-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sticky-cta-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #636e72;
  white-space: nowrap;
  margin-right: 4px;
}

.sticky-cta-product {
  font-weight: 700;
  color: #2D3436;
}

.sticky-cta-actions {
  display: flex;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.sticky-cta-btn {
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: opacity 0.2s, background 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sticky-cta-btn-primary {
  background: linear-gradient(135deg, #00A5A8, #008B8E);
  color: #fff;
}

.sticky-cta-btn-primary:hover {
  opacity: 0.9;
}

.sticky-cta-btn-secondary {
  background: #f5f5f5;
  color: #2D3436;
}

.sticky-cta-btn-secondary:hover {
  background: #ebebeb;
}

.sticky-cta-btn-call {
  background: #f0fafa;
  color: #00A5A8;
  border: 1.5px solid #00A5A8;
}

.sticky-cta-btn-call:hover {
  background: #00A5A8;
  color: #fff;
}

.office-hours-banner {
  background: #fff8e8;
  border-top: 2px solid #f39c12;
  padding: 8px 24px;
  font-size: 0.82rem;
  color: #856404;
  font-weight: 600;
  text-align: center;
  display: none;
}

.office-hours-banner.visible {
  display: block;
}

@media (max-width: 768px) {
  .enquiry-type-grid {
    grid-template-columns: 1fr;
  }

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

  .enquiry-modal-header,
  .enquiry-modal-body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .callback-modal-header,
  .callback-modal-body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .sticky-cta-inner {
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 16px;
  }

  .sticky-cta-label {
    display: none;
  }

  .sticky-cta-actions {
    margin-left: 0;
    width: 100%;
    justify-content: stretch;
  }

  .sticky-cta-btn {
    flex: 1;
    justify-content: center;
    font-size: 0.8rem;
    padding: 10px 10px;
  }

  .sticky-cta-btn .cta-label-desktop {
    display: none;
  }
}

@media (min-width: 769px) {
  .sticky-cta-btn .cta-label-mobile {
    display: none;
  }
}

.admin-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-new { background: #e3f2fd; color: #1565c0; }
.badge-callback { background: #fff3e0; color: #e65100; }
.badge-inprogress { background: #e8f5e9; color: #2e7d32; }
.badge-quoted { background: #f3e5f5; color: #6a1b9a; }
.badge-awaiting { background: #fafafa; color: #546e7a; }
.badge-won { background: #e8f5e9; color: #1b5e20; }
.badge-lost { background: #fce4ec; color: #880e4f; }
.badge-closed { background: #eceff1; color: #546e7a; }
