/* -------------------------------------------- */

/* QUOTE COMPONENT SPECIFIC STYLES */

/* -------------------------------------------- */

/* Quote Component Container */

.quote-component {
  background-color: var(--bg-deep-solid);
  padding: 5rem 2rem;
}

.quote-container {
  max-width: 1280px;
  margin: 0 auto;
}

/* Page Header */

.quote-page-header {
  text-align: center;
  margin-bottom: 4rem;
}

.quote-badge {
  display: inline-block;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--accent-primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.quote-page-header h1 {
  font-size: 2.5rem;
  color: var(--text-pure);
  font-family: var(--font-mono);
  margin-bottom: 1rem;
}

.quote-page-header p {
  color: var(--text-body-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Quote Grid Layout */

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

/* Quote Info Panel */

.quote-info-panel {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem;
}

.quote-info-header {
  margin-bottom: 2rem;
}

.quote-info-header h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.quote-info-header p {
  color: var(--text-body-muted);
  font-size: 0.9rem;
}

/* Quote Process Steps */

.quote-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.step-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background-color: var(--bg-surface-card);
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.step-item:hover {
  transform: translateX(5px);
  border-left: 3px solid var(--accent-primary);
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: rgba(0, 180, 216, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-primary);
  font-family: var(--font-mono);
}

.step-content h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.step-content p {
  color: var(--text-body-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* Quote Features */

.quote-features-list {
  background-color: var(--bg-surface-card);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
}

.quote-features-list h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quote-features-list h4 i {
  color: var(--accent-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-body-muted);
}

.feature-item i {
  color: var(--accent-primary);
  font-size: 0.7rem;
}

/* Quote Form Panel */

.quote-form-panel {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem;
}

.quote-form-header {
  margin-bottom: 2rem;
}

.quote-form-header h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.quote-form-header p {
  color: var(--text-body-muted);
  font-size: 0.9rem;
}

/* Formique Styles - using default #formique container */

#formique {
  width: 100%;
}

#formique .input-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

#formique label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-pure);
  font-weight: 500;
}

#formique label .required {
  color: var(--accent-primary);
}

#formique .form-input,
#formique .form-control,
#formique select.form-input {
  background-color: var(--bg-deep-solid);
  border: 1px solid var(--border-subtle);
  padding: 0.9rem 1rem;
  border-radius: 8px;
  color: var(--text-pure);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  width: 100%;
}

#formique .form-input:focus,
#formique .form-control:focus,
#formique select.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(0, 180, 216, 0.15);
}

#formique .form-input::placeholder,
#formique .form-control::placeholder {
  color: var(--text-low-contrast);
}

/* Select dropdown styling */

#formique select.form-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2300b4d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

/* Textarea styling */

#formique textarea.form-input {
  resize: vertical;
  min-height: 150px;
}

/* Submit button */

#formique .form-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: var(--accent-primary);
  color: var(--bg-deep-solid);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  width: 100%;
  font-family: var(--font-mono);
  margin-top: 0.5rem;
}

#formique .form-submit-btn:hover {
  background-color: var(--accent-secondary);
  transform: translateY(-2px);
}

#formique .form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Form success/error messages */

#formique .form-success {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  text-align: center;
  background-color: rgba(46, 204, 113, 0.1);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.2);
}

#formique .form-error {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  text-align: center;
  background-color: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.2);
}

/* CTA Banner */

.quote-cta-banner {
  background: linear-gradient(90deg, var(--bg-surface-elevated), var(--bg-surface-card));
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
}

.quote-cta-banner h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.quote-cta-banner p {
  color: var(--text-body-muted);
  margin-bottom: 0;
  font-size: 0.9rem;
}

.quote-cta-banner a {
  color: var(--accent-primary);
  text-decoration: none;
}

.quote-cta-banner a:hover {
  text-decoration: underline;
}

/* -------------------------------------------- */

/* RESPONSIVE FOR QUOTE COMPONENT */

/* -------------------------------------------- */

@media (max-width: 1024px) {
  .quote-grid {
    gap: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 768px) {
  .quote-component {
    padding: 3rem 1.5rem;
  }

  .quote-page-header h1 {
    font-size: 1.8rem;
  }

  .quote-page-header p {
    font-size: 1rem;
  }

  .quote-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .quote-info-panel,
.quote-form-panel {
    padding: 1.5rem;
  }

  .step-item {
    padding: 0.75rem;
  }

  .step-number {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .quote-cta-banner {
    padding: 1.5rem;
  }

  .quote-cta-banner h3 {
    font-size: 1.1rem;
  }

}

